This in an extract from from the NCH Swift Sound Software guide to using voice
overs.
Contents:
- Obtain a Wav File
· Recording and Editing Wav
Files · Downloading Wav Files · Professional Voice Over Services
- Embeding Wav Files
· Embeding Wav Files · Autostart and Loop features
- Real Audio
· Advantages/Disadvantages · Encoding Real Audio
Files · Embeding Real Audio Files
- Add Music to your Site
· Download Midi Files · Embed Midi Files on Hypertext
Pages · Synchronising music and sound
together
Obtain
a Wav File
Record and Edit Wav Files
Wav is currently the most popular audio file format because
it is the format defined and endorsed by Microsoft and used by Windows
based computers. Today wav files are supported by most platforms and by
Netscape and the Internet Explorer.
Wav files can have a range of
sample rates and different sample types. Without going into the technical
detail, PCM is the purest audio format, and offers much better sound
quality than other compressed formats such as ADPCM or Real Audio. The
downside is that file sizes are large. A high sample rate provides better
quality audio but has a much larger file size. Similarly, 16 bit PCM gives
less hiss but has a file size double that of 8 bit PCM. As a general rule,
you will not viably be able to embed an autostart file which is longer
than 10 seconds. To have longer recordings you will need to use Real
Audio (see below).
For a reasonable quality short voice prompts we
recommend 11.025kHz, 8 bit PCM Wav Files.
To record and edit a wav
file download a sound editor. You can download the WavePad software free
Download
WavePad Sound Editor Software or see the
Voice Record Software Download Guide.
Downloading Audio Files
There are many sites on the net where wav files can be
downloaded.
Take care to avoid any breaches of copyright. Note that
it is also fair that you copy the audio file on your server and do
not link to a file on another server. Not only will this avoid the
possibility that your sound suddenly disappears, it saves servers being
overloaded.
Professional Voice Overs
If you want to give your site a professional sound, by using
professional voice artists to record messages, http://www.world-voices.com/ is a database of
professional voice over artists (including voices from all over the
world).
Embed the Wav File Using the EMBED tags
To add the wav file to your html page use the
following:
<EMBED src="file.wav" autostart=true loop=false
volume=100 hidden=true><NOEMBED><BGSOUND
src="file.wav"></NOEMBED>
Where the a file named file.wav
has been uploaded to your site in the same directory as the page which
contains the EMBED tags.
Using autostart and loop
In the above example where autostart=true, the file will
automatically start playing. Use this tag for background sound which
should start immediately once it is downloaded.
You can also use
loop=true where you want the sound to repeat over and over. By editing a
short sound and using the loop=true option you can create continuous audio
from a very short audio cut. For example: waves, applause, engine sounds
and so on.
Real Audio Advantages/Disadvantages
Real Audio is audio compression and streaming technology
that is frequently used on the internet. The technology is not in the
public domain and as such you must download the plugin player and encoder
from www.real.com.
Advantages: · Almost immediate and real time audio.
· Long audio files are viable.
· Streaming audio so it will play as it
downloads.
Disadvantages: · Many casual surfers cannot play real audio
(this is improving because Real Audio is supplied with Internet Explorer
5). It is because of this that we supply alternative wav files on our
voice over index - we want the voice samples to be playable by all users.
· Poor quality audio. High compression
results in loss of quality. · A special server is required for live
streaming audio. · Your server has to be set up for the real
audio MIME type. · Streaming audio will not play through some
server firewalls.
Encoding Real Audio
To encode real audio, you need to download the real audio
encoder from www.real.com. The real audio encoder will convert your
wav file to a real audio (.ra) file.
Embed Real Audio Files
Most simply, try to embed your real audio files in a similar
manner to wav files:
<EMBED src="file.ra" autostart=true
hidden=true>
This works on some servers (It depends on the MIME
configuration). If this does not work properly visit the Support Pages of
www.real.com which describes how to set up the server MIME
configuration.
For better streaming (more immediate play) use a
text editor to write a "rpm" file with one line something like this:
<a href="http://www.yoursite.com/file.ra"
eudora="autourl"<http://www.yoursite.com/file.ra></a>
Save
the file as 'file.rpm' and upload it to your site. On your web page, embed
the real audio file like this:
<EMBED src="file.rpm"
autostart=true hidden=true>
Note: Using 'rpm' makes your sound
start to play faster.
Music
To add music files to your site, use midi files (.mid). Midi
files are much smaller than wav files and, if the user has a good sound
card, the quality can be much better.
Download Music Files
There are thousands of midi files available on the Internet.
Again, take care to avoid breaching any composer's copyrights.
Note
that the sound of the music depends very much on the quality of the midi
player that the user has. Listen to your selected music on a variety of
sound cards before embedding the audio since some sounds that sound very
good on good sound sources can sound awful on cheaper players.
Embed Midi Files
To embed midi files use the following:
<EMBED
src="file.mid" autostart=true loop=false volume=100
hidden=true><NOEMBED><BGSOUND
src="file.mid"></NOEMBED>
You can use the autostart and
loop features as you can with wav files. Please remember to copy to midi
file to your site and do not reference another site's midi file
directly.
Synchronising Music and Sound Files
Most systems accommodate simultaneous sound and music. It is
common to want to have a voice introduction announcement followed by
music. The difficulty is that it is almost impossible to time the voice
and music together.
Sometimes it is possible to assume that the
music and voice will begin to play at approximately the same time. Using
this you can insert a gap at the start of the mid file so that it starts
at exactly the end of the voice prompt. This works sometimes but depends
on the speed of the link, number of elements downloading and other
factors. Importantly, never assume that it will work and always have
the music much softer than the voice.
An example follows:
<EMBED src="file.wav"
autostart=true loop=false volume=100
hidden=true><NOEMBED><BGSOUND
src="file.wav"></NOEMBED> <EMBED src="file.mid"
autostart=true loop=false volume=30
hidden=true><NOEMBED><BGSOUND
src="file.mid"></NOEMBED>
For more information about adding audio to a web site, see the resources
section of NCH Swift Sound Software.
© 1996 - 1999
NCH Swift Sound
|