How to Stream Audio from Your Website for Free
Posted by David Grant on: 2006-05-01 15:51:08
Self SEO > Streaming Media Articles
This article is a simple introduction to Streaming Audio and how it can be added to your website or CD ROM without expensive software, hardware or dedicated streaming web hosting.
Lets start at the beginning.
What is Streaming?
Streamed audio, be it MP3 or any other types of audio you may want to stream enables you to start listening to audio long before the file has downloaded completely. It's a bit like reading a letter while someone is still writing it!
What are the advantages of Streaming Audio?
There are several advantages to streaming. Firstly, your visitor will be able to listen to your audio very quickly. This is important, as we all know how impatient web surfers are. Visitors to your site want to be able to listen to your audio as soon as possible.
Let's look at what happens when a visitor arrives at your web site and wants to listen to an MP3 audio that isn't set up to stream.
In a non-streaming set up the link on your web site points directly to the audio file on the server. When the link is clicked, a window will appear asking where the file is to be saved, and once that's been decided, the download commences.
Audio files tend to be large so the chances are it's going to take some time to download, especially if the visitor is using a slow Internet connection. The end result is that if your visitor waits around long enough for the download to finish - all well and good, but the downside is they have a copy of your audio saved on their computer.
This may not be what you want, as it could be your copyrighted material you have given away. Although it is much easier to record streaming audio with readily available software these days, there’s no point in making it easier than necessary for people to save your audio, plus they may not want large files saved on their computer.
If you were to set that same file up to stream, and someone clicks on the link, Windows Media Player, Real Audio Player, or which ever player your visitor uses to listen to audio would open, the file would start streaming, and within a very short time your visitor would be listening to your audio. NB; The time taken between a visitor clicking on the link and hearing some sound will still depend on their Internet connection speed but it will be much quicker than a non-streamed file.
Is Stream Audio Difficult to Set Up?
No! It's very easy, it just involves a simple text file that contains a link pointing to the MP3 you want to stream. The file is then saved with an '.m3u' extension. (without the quotation marks). In other words this little m3u text file acts as a ‘go between’ to link, the link on your website, to the audio file to be listen to. All the support for streaming is already built into your visitor's computer.
How do I Set Up Audio Streaming?
Here is how you configure your files. I will assume you know how to make an HTML link or have a WYSIWYG software program to allow you to create one, although the easiest way is to use Notepad.
Imagine your audio file is called 'reggae.mp3' and it's in a folder called 'mp3s' it’s saved in a website folder called ‘website’ and it’s on the 'C' drive. The file path would look like this C:website/mp3s/reggae.mp3 and this file has been uploaded to your web site in the normal way.
Now we have to create the m3u file (our ‘go between’) to link reggae.mp3 to the link on your website. To create this file, open notepad, and type in your full web address (URL) file path, and name of your mp3 file. In our example it would look like this:
http://www.website.net/mp3s/reggae.mp3
Now save the file as C:websitemp3sreggae.m3u (make sure it's saved with
the .m3u extension) and upload to your web site.
The next thing to do is to add the link on your web page that will point to the m3u file (our ‘go between’ file) not the mp3 file. In our case it will be http://www.website.net/mp3s/reggae.m3u
Now when someone clicks on your link, the m3u file comes into action, the default player opens and your mp3 starts to stream.
Can I Set Up More than one Audio File to Stream?
If you have more than one MP3 you want to steam, create another 'm3u' notepad file for each MP3 you have, upload the files to your site and point your link to the new 'm3u' file.
Can I stream MP3's continuously?
If you want one mp3 to follow on straight after another, then create a file with the .m3u extension as normal but instead of just one file, you list the mp3 file paths under each other like this:
http://www.website.net/mp3s/reggae.mp3
http://www.website.net/mp3s/reggae2.mp3
http://www.website.net/mp3s/reggae3.mp3
So in this case when someone clicked on the link in your web page it would open reggae.mp3 followed by reggae2.mp3 followed by reggae3.mp3
(NB: This works fine for me, but if you have problems with this method you can set up a file using #EXTM3U extensions which will create a play list. I haven't tried this but this alternative is explained at http://hanna.pyxidis.org/tech/m3u.html )
I hope this introduction has helped you with your audio streaming.
David Grant is an audio electronics engineer and owner of http://www.soundabout.net which is a professional format transfer service. Transferring Vinyl LP's to CD, 78 to CD, Tape to CD and even removing unwanted noises from ‘live’ recordings. For more information on SoundAbout's Professional Services visit our website http://www.soundabout.net
Print this article
Tell a friend
 | Related Articles |
 | User comments: |
cagenicolus
-
Posted on: 2011-02-16 14:22:46
Quality article to know about audio streaming and how to implement it on website. Thanks
Golf Training Aids
jimb45
-
Posted on: 2011-06-10 22:25:51
Having this option to stream audio on your site is so good. IT definitely makes the site nicer with this. Having the option that is is free is so good.
jacksonville family dentist
jerremy255
-
Posted on: 2011-06-17 06:33:06
Login with your Grooveshark Plus or Anywhere account to use Grooveshark without ads or interruptions, and all Grooveshark's latest features.
__________________
Link Building
Link Building Services
lilycollins
-
Posted on: 2011-07-25 18:27:18
I find myself coming to your blog more and more often to the point where my visits are almost daily now!
--------------------------------------
online marketing company(
Seo Services,
PPC Services)
aymenbnr
-
Posted on: 2011-08-10 04:55:14
Very good article,there are plenty of useful infos at selfseo
Advantages of solar energy
seocorporation
-
Posted on: 2011-08-22 17:46:56
I was finding information about audio streaming. Your post helped me immensely to set up audio streaming on my website without any extra cost.
SEO Company India
abodeofseo
-
Posted on: 2011-09-02 21:22:34
Designing a network protocol to support streaming media raises many issues, such as:
Datagram protocols, such as the User Datagram Protocol (UDP), send the media stream as a series of small packets. This is simple and efficient; however, there is no mechanism within the protocol to guarantee delivery. It is up to the receiving application to detect loss or corruption and recover data using error correction techniques. If data is lost, the stream may suffer a dropout.
The Real-time Streaming Protocol (RTSP), Real-time Transport Protocol (RTP) and the Real-time Transport Control Protocol (RTCP) were specifically designed to stream media over networks. RTSP runs over a variety of transport protocols, while the latter two are built on top of UDP.
Another approach that seems to incorporate both the advantages of using a standard web protocol and the ability to be used for streaming even live content is the HTTP adaptive bitrate streaming. HTTP adaptive bitrate streaming is based on HTTP progressive download, but contrary to the previous approach, here the files are very small, so that they can be compared to the streaming of packets, much like the case of using RTSP and RTP.[5]
Reliable protocols, such as the Transmission Control Protocol (TCP), guarantee correct delivery of each bit in the media stream. However, they accomplish this with a system of timeouts and retries, which makes them more complex to implement. It also means that when there is data loss on the network, the media stream stalls while the protocol handlers detect the loss and retransmit the missing data. Clients can minimize this effect by buffering data for display. While delay due to buffering is acceptable in video on demand scenarios, users of interactive applications such as video conferencing will experience a loss of fidelity if the delay that buffering contributes to exceeds 200 ms.[6]
Unicast protocols send a separate copy of the media stream from the server to each recipient. Unicast is the norm for most Internet connections, but does not scale well when many users want to view the same television program concurrently.
SEO Company India
SEO Agency
SEO Consulting Services
xingxing
-
Posted on: 2011-10-26 08:27:06
A woman's first love are her
chanel slippers wholesale! They mold to fit her, and don't talk back. What more could you ask for? They are better than your guy! Shoes show off your style, your personality, and are your visible signature, they are you! Among some of the most loved
chanel boots fall 2011. This designer collection is the epitome of style, elegance, and class.The Chanel line is beautiful, traditional and elegant. The
chanel coco sandals replica collection is comfortable, elegant, chic and one of the highest status symbols around. Although this year's popular colors tend to be yellow, orange, and pink,
chanel pumps online has not gone all out on the trend, but kept their classic style with neutral colors. They have managed to keep up with this years new shoe trends by going white.Another new trend on the Chanel runway, just as on other
chanel women shoes sale runways is the use of "DUAL." By dual we mean mixing of fabrics, materials, colors and patterns.
cagenicolus
-
Posted on: 2012-01-31 11:41:08
thank you very much to share this article with us .. i would like to share this article with one of my friend.
high end speakers
power amplifiers
 | Post New Comment |
This site does not allow anonymous comments. Registered members can
login to participate.
Registration is free and takes only a few seconds