Adding Sound to your Web Site - the good, the bad and the ugly

Adding Sound to your Web Site - the good, the badaltogether. Also, MP3 files don't loop cleanly.
and the uglyPROS: Smaller File Sizes, Good Quality Possible
Many webmasters like the idea of adding backgroundCONS: Needs external player software, not loopable
music to their web sites but most shy away from4) Flash
doing it worrying about slow loading pages and largeIf you own a program that can create Flash files, you
file sizes. There are many different ways to addwill have lots of flexibility in adding sound to your site.
background music to your site and some of themFlash lets you import WAV as well as MP3 Files and
don't require large files to achieve professional results.then creates quite small files from these sounds that
Let's examine all the different ways to addwill load automatically on your site. You can set the
background music to your site and rate them to findquality level and therefore decide how large you
the best solution for you.want the Flash file to be. Flash also allows you to
1) MIDI Filesloop short pieces of sound to create 'continuous'
MIDI files are very small because they actually usebackground music files that can be quite small. But
your sound card's built-in instruments to create theplease note that only imported WAV files can be
sounds. The problem is that most sound cards don'tlooped in Flash, MP3 files will not loop cleanly.
have any decent sounds to start with, plus no twoPROS: Great Flexibility, Small File Sizes, expecially
sound cards sound alike and therefore the results arewhen looping sounds
very unpredictable. MIDI files usually sound like they'reCONS: You need to buy expensive Flash software to
coming from one of those cheap Casio keyboards.create Flash Files
Using MIDI for background music is very likely to5) Pre-Made Flash Loops
make your site seem amateurish. Want to know howThe newest thing on the market are pre-built Flash
to do it anyway? Just add the line to your site.Music Loops. These files are professionally recorded,
(Replace xyz with the name of the MIDI file youloop almost indefinitely and most of these Flash Music
want to use!) The Autostart command will play theLoops are only about 20k in size so they load almost
file automatically when the page is loaded.instantly. Flash Music Loops are available at and
PROS; Very small file size, easy to implementcurrently there are three different loop packages
CONS: Unpredictable results, amateurish soundsavailable in all kinds of music styles from classical to
2) WAV Filestechno. Using these pre-built Flash files is easy. Simply
Using the WAV file format allows you to addupload the "xyz.swf" Flash file to your server and add
professional sounding recordings to your site but thea few lines from the corresponding "xyz.html" file to
problem is that even if you use a low quality settingyour web page and presto...instant professional
like 11k/8bit, the file sizes are still very large and it willsounding background music.
take a long time for your music to load. And slowPROS: Extremely small file size, professional quality
loading pages are the worst thing that can happen tomusic
a site. Implementing a WAV file on a web page isCONS: None
easy. Just add the line to your page's HTML code.As you can see there are many different ways to
There's an additional command to loop the WAV fileadd background music to your web pages and you
but WAV files do not loop cleanly with the embeddon't have to worry about slow loading pages if you
command.choose the right file format.
PROS: Many Quality Levels, Easy to implementArticle by Alan Steward, a professional recording
CONS: Large File Sizes, WAV Files do not loopengineer and producer who worked with many
3) MP3 FilesGrammy award winning groups and musicians.
MP3 files are highly compressed and don't take that(c)2004 Alan Steward -
long to load but the problem is that MP3s need toYou may freely redistribute or use this article on your
bring up an external player program and which inwebsite or in your newsletter as long as the article is
some cases takes your visitors away from your siteunaltered and unedited.