Creating Audio (Sound) Files for a Web Page
|
If you're using Windows 95+ and have
a microphone and speakers, you can create your own audio files to place on
your web page.
In Windows XP+, click on "Start" and go to "All Programs" -
"Accessories" - "Entertainment" - "Sound
Recorder."
In Windows Vista, click on the round Windows logo button on the bottom left
hand side of your desktop and go to "All Programs" -
"Accessories" - "Sound Recorder."
You can record your own .wav files to be placed within your web page for
your visitors to hear.
Once you've created your sound file and uploaded it to your server, place
the following code within your web page where you would like the control
panel to appear. This code is compatible with both Internet Explorer and
Netscape Navigator.
<EMBED
src="yourfile.wav" autostart="false" loop="false"
hidden="false">
<noembed>
<bgsound src="yourfile.wav" loop="1">
</noembed> |
Change the text
indicated in red to your sound file.
The "autostart" determines whether or not the sound will play when
the page loads. "True" specifies that the sound will start on load and "False"
specifies that the sound will not start on load.
The "loop" determines how the sound should be played. "False" specifies
that the sound should not loop and will play it through one time. "True"
specifies that the sound should loop and play continuously. It is highly
recommended that you leave this set on false.
The "hidden" specifies whether or not the music's control panel should
be displayed. "True" specifies that the control panel should be hidden. "False"
specifies that the control panel should be displayed. It is highly recommended
that you leave this set on false. This will enable your visitors to stop
the sound if they prefer.
More Web Design
Tips |