Add Midi Sound to Your
Page 
- NOTE: The
SAME commands will work with a WAV file but WAV files tend to be large
so most people avoid using them as Background sounds!
Both Microsoft Internet Explorer 3.0 and Netscape Navigator 3.0 browsers
support the same command to get a Midi to play.
If you want to set up your page so that people using either of those
browsers can hear a Midi, you can use the following command ...
- Just put the two lines above in your HTML code wherever you want the
Midi Player to show up.
- Change the name of the Midi file ("name.mid" in the above
example) to the name of your chosen Midi File (leave the double quotes
around the filename though).
- Copy the Midi file to your Server (in the same directory as the HTML
file)
AUTOSTART=TRUE will make the music
start as soon as it is loaded.
AUTOSTART=FALSE the music will have
to be started by the listener by clicking the Midi Player.
If you do not want the Midi Player to show up change the HEIGHT
and WIDTH equal to 0 (zero).
What this will do is allow the people with MSIE version 2.0 or 3.0 to
hear the music but it will not show the player. The MSIE listeners will
still be able to stop the music if they wish though by clicking on the
stop button at the top of their browser
Netscape will not show the player.
Be aware, that the listener will not
be able to turn the sound off.
NOTE: for Crescendo - HEIGHT=56
WIDTH=200
LOOP=5 causes the midi to play 5
(five) times. This can be set to any number you want. Setting it to LOOP=TRUE
will make it loop for as long as the listener remains on the page.
- NOTE: Netscape may not allow a
Midi to LOOP if you set the WIDTH and HEIGHT to 0 (zero) and the midi will
play only once. The listener will have to click the Midi Player if they
wish to hear it again. If you wish it to LOOP set the WIDTH
and HEIGHT equal to at least 2.
If you have any questions please e-mail me 