In order to link to a sound file, just put it between opening and closing <a> tags as a regular link. Because media clips tend to be large, it's a good idea to include information about their size in your Web page. All media files can be linked in a similar way.
The two most widely supported file formats for sound files are MIDI and WAV. As with graphic files, you'll want to keep the size of the file as small as possible while maintaining quality.
The differences between WAV and MIDI are that MIDI files are generally a great deal smaller, however, many types of audio, such as speech, don't work well as MIDI files. MIDI is a good file format for music. A one minute WAV file can be as large as 1MB in size, while a 1 minute MIDI file can be less than 25K. Using software converters, it may be possible to resample WAV files to reduce their file size.
The syntax is:
Example:
| <a href="latin.mid">Latin (23.4K - MIDI)</a> |
Try how it works by clicking on the link or icon:
The syntax is:
Example:
| <a href="surprize.wav">Surprise (96K - WAV)</a> |
Try how it works by clicking on the link or icon:
The syntax is:
Example:
| <a href="thyme.au">Thyme (112K - AU)</a> |
Try how it works by clicking on the link or icon:
The syntax is:
Example:
| <a href="seawaves.mp3">Sea Waves (1.27M - MP3)</a> |
Try how it works by clicking on the link or icon: