People have come to perceive audio integration on websites as old-fashioned – after all, isn’t everyone into video these days?
Sure, many people have switched to video, but there are still some problems with that approach that render audio a superior alternative in a majority of cases. Some of the notable advantages of audio over video are accessibility and simplicity to set up and use. Think about it – almost anyone can crank out an audio file in no time – even on dial-up lines. And considering that a large segment of internet users are still on dial-up, making sure your message gets through to them properly is paramount.
Streaming audio capabilities – with Mp3 streaming at the forefront – have the power to drive traffic, as well as increase signups and sales over the internet dramatically. For that reason, many ambitious webmasters are now looking for viable ways to integrate streaming Mp3s on their websites.
• Streaming Technology – A Closer Look at the Concept
Streaming refers to the decoding of a file in parallel with its download, i.e. rendering the contents of the file as they become available, without the need for the entire file to complete its download. This makes streaming very useful in applications involving live content (such as radio transmissions, or newscasts) or in accessing very large media files progressively, to minimize waiting times.
The important thing to remember is that not all file formats allow streaming. A number of common media formats/ compressions that we use everyday, including GIF and WAV, require the entire file to be available before decoding can begin. Formats such as MPEG-3 or RealAudio on the other hand, do allow progressive decoding. Such formats are called collectively streaming formats.
• Leveraging the Streaming Properties of a File
If you begin downloading Metal Mp3s files for instance, and interrupt the transfer prematurely, with some players you will still be able to hear the song that you have downloaded perfectly ok, up to the point where the download was stopped. Similarly, if you start the download and have your Mp3 player play the file that is being written to right now, you will notice that the decoder plays the file just fine. What’s more, as long as your network connection can maintain a satisfactory throughput, you could listen to the entire song as it is being downloaded with absolutely no disruptions or any loss in sound quality.
However, since most network connections aren’t particularly stable, you may want to give the stream a few seconds head start before playing the file. Letting the download do some progress first and then starting the decoder ensures that, even if your network throughput stutters for a while, there will be some data read ahead for the decoder to use as the network catches up. This is a common technique for achieving a smooth audio rendering, similar to that used by the look-ahead buffer in car stereo CDs to ensure proper sound continuity when the road gets bumpy.