Embedding Sound
in a Webpage

What file formats can I include in my pages? Netscape's <EMBED> tag plays audio files in WAV, AIFF, AU, and MIDI formats. However, the most popular formats are MIDI and WAV.

Good sources of MIDI files include the Harmony Central list, the Wav and Midi Sound Sources list, and The MIDI Farm. Good sources for WAVs include Natalie's Wav Page and Margie's List of Classic Songs. Another way to find a song is to use Google and insert the name of the song in "quotation marks" followed by the word wav.

Once you have located the file you wish to use on your page, download the file to your floppy A. Be sure to put it in the folder where all of your images and the master page are located. If the file is too large for your floppy A, either eliminate some materials from the disk or select another song. Perhaps changing from the MIDI format to the WAV format will save some space on the disk.

Here is how to use an <EMBED> tag. From inside Netscape Composer, place the cursor on the spot where you wish the sound control (console) to be displayed, usually at or near the bottom of the page. Click on "Insert" and "HTML Tag". Type these commands exactly as written, including the symbols and spaces:
<EMBED SRC=yourfile.wav AUTOSTART=true WIDTH=144 HEIGHT=60 LOOP=1> (Of course, the only change you will make is to actually insert the name of your song file in place of the words "yourfile.wav".)


Sorry, your browser does not support this Netscape plug-in!Thanks to Misty for the Osborne Brothers' Rocky Top song!

Explanations of the command codes:

Revised April 23, 2002, by Dr. Bruce Lewis for use in EDU 506.