There are two tags for adding sound to your document, Internet Explorer 3.0′s
HERE IS HOW TO USE AN
AUTOSTART=true means automatically play sound when document is loaded. This way, the sound will play as a background sound. You can also set the value to false. The sound will play when the “play” button is clicked.
LOOP=n This tells browser how many times to play sound. n could be an integer, true, or false. Setting LOOP=true, browser will continue playing your sound until the stop button on the console is clicked.
WIDTH and HEIGHT This is how the sound control (console) will be displayed. Setting them as the given numbers, browsers will display a full console. Setting the width=0 and height=2, the console will not displayed by the browsers. Other values that too small will cause the browsers display uncompleted image. You might also hide it by placing HIDDEN=true like this:
It’s a good idea to give an alternative to people who using browsers that do not support the embedded sound. Here is what I did on this page:
Browsers that do not support EMBED will display the link inside
Here is how to use
LOOP can be specified as any positive number, infinite, or -1 which equals infinite.
NOW, I WOULD LIKE TO TELL YOU SOMETHING.
The differences of two browsers brought headaches to us. I would like to correct what I described here in last version of this page. You’d better use both
Internet Explorer does not support
—————————————————–
The error tag will be something like:
DEBUG
Unable to start midi
OK
Or
Midi Error
Unable to start playing midi sound
OK
—————————————————–
Anyway, these boxes are not a big deal, users can click “OK” to process to the next step. I recommend using both tags to make sure that your visitors will surely hear background sound. If you’re planning for giving the option for users to click from the sound console to hear sound, you only have one alternative — using
TIPS FOR PEOPLE WHO INSTALLED NETSCAPE 4.0 ON THE MACHINE THAT HAVE INTERNET EXPLORER INSTALLED:
Netscape 4.0 will disable your plugins installed by its previous version. If you have IE installed in your system, IE will no longer be able to play midi file (in case that IE shared plugins with Netscape). You’d better back up the plugins previously installed by Netscape 3.0 and copy them back to plugins directory. If you have IE installed, you can use those files in IE’s plugins directory.
WHAT FILE FORMATS CAN I INCLUDE IN MY PAGES?
The
1. MIDI (.mid) format give you a high quality of digital sound.
2. WAV (.wav) format was developed for used with Microsoft’s Window. You can record .wav using Windows. The sound quality is not as good as MIDI, but the file is smaller.
3. AU (.au) was developed by Sun. The sound quality is poor, but the file is quite small, used for recording short speech.
4. AIFF (.aiff) was developed by Apple for music and high quality sound.
The most popular is MIDI for music and WAV for short message. If you own a PC running Windows, you are ready to plug a microphone and start recording.