| RealAudio is available with the
Commerce and higher plans. To add a RealAudio file to
your web site:
Step 1: create a sound file
If you want to create a sound
file from an external source (e.g. your CD player, VCR,
or Microphone), you can use a program called Sound Recorder
which comes with Windows95 (usually located in the Windows
directory as "Sndrec32.exe") or you can download
an audio editing program called Cool Edit which is available
in shareware and full release versions. You will need
to consult your sound card manual to learn how to send
audio from your source into the computer.
For best results, encode the
audio in the highest possible setting (16-bit 44.1MHz).
Consult the software's documentation to find out how
to make these settings. The RealAudio Encoder will eventually
compress it down, so it is recommended to start with
the highest quality source. Once you create the sound
file, save it as either a .wav, .au, or .pcm file.
Step 2: get RealAudio software
In order to create and listen
to RealAudio files, you will need to download and install
the RealAudio Player and RealAudio Encoder from the
RealAudio web site which affords better quality playback
and may include other features.
Step 3: turn your sound file
into a RealAudio file
Follow theses steps to create a RealAudio file:
1.Open the RealAudio Encoder
program.
2.Select the file that you want to encode by hitting
the "Browse" button.
3.Select the sound file (e.g. .wav, .au, .pcm).
4.Select the desired compression and file name on the
right side of the screen. (e.g. "14.4 Mono",
"28.8 Mono", "28.8 Stereo", and
"ISDN")
5.Select START ENCODING from the Encode menu at the
top of the screen. The original sound file will be scanned
and copied to a compressed format. You have just created
an RA file.
Step 4: upload the .ra file to
your web site
Upload the .ra file to the root directory of your web
site in binary transfer mode.
Step 5: creating the .ram file
You need to create a text file with a ".ram"
extension. This text file contains a URL to the realaudio
file in the following format: pnm://yourdomainname/audiofile/audiofilename.ra
Note the "pnm:" prefix.
Substitute your domain name and userID above. This file
can reside in the root directory of your account. The
audio file name must have a ".ra" extension.
Once the .ram text file is created, save it and upload
it to your web site in ASCII transfer mode. We suggest
using the same file naming convention. (e.g. "audiotest.ram"
will launch the "audiotest.ra" file)
Step 6: creating the html for
the real audio file
The HTML document does NOT reference the .ra file itself;
it must call the .ram file which, in turn, launches
the RealAudio file as represented below.
<a href="http://www.yourdomain.com/audiofile.ram">Listen
to Audio</a>
If you reference the .ra file
directly from your HTML code, the audio file may play,
but you will not benefit from the streaming audio effect.
|