Web Design - Embedded MIDI Files Don't Have to be Evil

How many times have you read in an online forum orwonderful times they had with their pup. Who do
a web design tutorial that embedded midi (Musicalyou think they're going to buy from? Exactly.
Instrumental Digital Interface) files are "bad"?The previous example may be a bit over-dramatized,
Probably more times than you care to remember. Forbut the theory is sound. Sometimes, little
the most part, embedded sound files of any kindpsychological nudges in the right direction can mean
have been categorized as web site "bling-bling", rightthe difference between a two-week vacation in
along side animated gifs, flashing banners andCancun and a day trip to the local water park.
complex frames layouts. Essentially, they justThe real problems with embedded midi files arise
contribute to unnecessary glitz and clutter that doeswhen webmasters do not give their visitors any
nothing more than distract visitors and significantlycontrol over the sounds emanating from their web
slow page download times.pages. Most people become frustrated and annoyed
There is historical justification for this stereotype, aswhen they are forced to listen to music that they
many beginning webmasters tend to go overboardcannot shut off at leisure. Using the example above, I
with the bells and whistles on their first web designimagine that even John and Jane would be getting
attempts. This is just part of the learning process andpretty annoyed around the 10th time the background
should not be judged too harshly.music loops as they are still trying to decide between
With all the bad press that embedded midi files get,the granite and the obsidian plaque.
some of the more accomplished web designers tendThe IE browser makes it a bit easier in cases like this
to avoid using them. This is unfortunate, because ifbecause the toolbar stop button is capable of
implemented and managed properly, midi files can addstopping midi play, along with page download and all
benefit to some types of web sites, both for theother animation, of course. However, other browsers
visitors and the web site owners. In fact, I'm goinglike Mozilla Firefox that have to rely on a QuickTime
to go as far as to say that an appropriatelyor other third party plug-ins do not have this luxury.
implemented midi file can actually drive more trafficIf the site designer does not supply a control console
and even increase sales! Sound fishy? Maybe so, butof some type, the visitors are held prisoner and will
just hear me out.likely escape at the first chance they get.
The key to using a midi file effectively is to helpThere is no voodoo involved with displaying a midi
create a desired mood in conjunction with the colorconsole on a web page. The basic EMBED code is
scheme, graphics, and layout of a given web page.fairly standard. You've probably seen or used
Let me give you an example.something similar to this in the past:
Let's pretend that John and Jane have just lost theirThe trick is getting the darn console to display
precious little Maltese of 12 years to kidney failure.properly across all browsers using different plug-ins.
They are surfing the Web, looking for a perfect petThe embed statement shown above, for example,
memorial to celebrate the life of their dear friend.will not display properly in Firefox or Netscape using
They have narrowed their search to your site 'A' andthe QuickTime plug-in.
a competitor site 'B'. Site 'B' has a professional lookingI have had decent success implementing midi
site, reasonable prices, adorable pictures of otherconsoles using BGSOUND with the following
pets whose owners have bought from andjavascript. I make no guarantees, but I've seen this
recommend them, and detailed descriptions andwork in the newer Firefox and Netscape browsers
images of the various memorials. It almost brings ausing the QuickTime plug-in as well as in IE with
tear to your eye. Almost.QuickTime or Windows Media
Now, your site 'A' has comparable professionalism,Player.x="midifilename.mid";document.write(' ')
prices, emotional design, etc., but in addition, you'veDon't be afraid to experiment. If you have an
included an embedded midi file that plays a sad little,existing web site or are in the process of building one
heart-tugging, piece of music in the background.that you think might benefit from a bit of midi
Those eyes that were almost ready to tear up atpsychology, then track down an appropriate file and
your competitor's site now start watering full tilt asgive it a whirl. You may be pleasantly surprised.
the background music helps them remember all the