Streaming Audio
Primer (Part 1):
How to Put Streaming Audio on the Internet
Introduction
"What is this all about?" Well, this page describes a procedure
that enables you, a web page designer, to either record or copy
audio files from cassettes or CDs and place them on your web page,
available for downloading and streaming. This procedure will provide
a web-surfer the opportunity to download high quality audio files
and listen to them with a free player. A second option can also
be provided that would allow someone to listen to the audio file
immediately, similar to streaming audio, such as Real Audio. However,
the process that is described here is different than audio streaming
technologies, such as Real Audio, in that once a surfer has downloaded
the file, he or she can listen to it as much as they want without
having to be connected to the web. Another key difference is that
it is almost free for the web page designer. The costs will vary
depending on what software you choose to accomplish the translation
procedure. The key to all of this is the magic of MP3 (or VQF)
encoding.
Overview
There are 5 basic steps to creating audio files and putting them
on your Web site:
- Setting up recording
hardware.
- Record the material
as a WAV file.
- Remove Noise and
Static (optional) from WAV file.
- Compress and Encode
the created WAV file into the MP3 format.
- Update your web
page with the new files and appropriate links.
But first, a glossary of terms for the beginners:
What is . . .
Comparison to Streaming
Audio
"Sounds great, but how does this compare to the Real Audio Player
and other streaming Audio?" That's a good question. The
MP3 and VQF formats and the above described system is logistically
different than streaming audio, but a web page can be configured
so that there is almost no difference to the listener.
With dynamically streaming audio, a listener's computer decodes
the file as it arrives via their modem, and if their modem is
too slow, then the server will automatically compensate by reducing
the quality (bandwidth) of the audio. So, they can begin listening
immediately and terminate at any time. This allows for immediate
and easy listening regardless of your modem speed. That's the
advantages of dynamic streaming audio. Here's the disadvantages:
A streaming audio delivery system is not quite free, or even almost
free. It's can be more like $10,000 shy of free! You would
need your own computer (dedicated server) with special equipment
and a high bandwidth connection, devoted to constantly exporting
files. The computer would be mega-expensive; the setup labor could
be expensive; and the Internet connection would definitely be
expensive. It's the oldest and most well known technique, but
it's too expensive for most churches or an individual to attempt.
Of course, one could also pay to have all of this done, rather
than doing this themselves. Also, Real Audio files are often 2-5
times bigger than a comparable MP3 or VQF!
But what about MP3 and VQF? Obviously, MP3 and VQF have
the clear advantage in file size. So, they can have much better
quality in a smaller size. But, there is no way to stream MP3
or VQF - or is there? MP3 and VQF can be dynamically
streamed like Real Audio if a server is setup for that,
but whenever people post a MP3 or VQF, it is usually
not on a server devoted to streaming MP3 and VQF. However,
it is possible to begin listening to MP3 and VQF files
immediately using pseudo-streaming techniques. The advantage of
this technique is that it requires no special server software
or configuring. Anybody can take advantage of this without having
to contact their web-site host or know anything about servers.
Any MP3 or VQF player can be used to listen the streaming audio.
This makes it just as good as Real Audio, except that it does
not support dynamic bandwidth compensation. Since the server does
not try to compensate for smaller connection bandwidths, small
pauses may occur while a listener's computer waits on downloading
more of the file. However, this usually only a problem for really
slow modems, much slower than 28.8 kbps. Test out your modem on
my page
where you can try out NetPlayer on the MP3 files that I have posted.
Without having the overhead of the dynamic bandwidth compensation,
MP3 files can be streamed at higher quality for the same bandwidth.
So, for almost all cases, the MP3 files sound much better than
Real Audio.
Also, this whole setup allows you to check it out for free. All
of the software is free for trying out, and the few one-time registration
fees are feasible. Also, once a user has downloaded your files,
then he or she retains them. It physically exists on their hard
drive, unlike streaming audio, where the audio file is preserved
on the server's hard drive (the web). So using the either the
MP3 or VQF system, a user can repeatedly listen to a sound byte,
once its downloaded, without having to connect to the Internet.
They can pass it to friends on ZIP disk. For more information,
please see Web Page Updating
and Pseudo-Streaming Players.
Now that you have had a good introduction to the whole process,
let's proceed to the first step: Making the initial Digital
Recording.
Part 1: Introduction
Part 2: Digital Recording
Part 3: Reducing Noise
Part 4: Encoding
Part 5: Web Pages
Reprinted with permission
from author Trevor Bowen,
whose Web
site contains good information on utilizing the digital medium.
|