|
|
|
|
TrueSpeech Developer
5 Steps to Give Your Site a Voice!
Step 1: Create WAVes.
Create PCM-encoded WAV files at an 8KHz sampling rate with 16-bit resolution, mono.
Any multimedia board which is SoundBlaster(tm) 16 compatible will support this format. To achieve the best quality, record with these settings.
Step 2: Convert to TrueSpeech.
To convert PCM-encoded WAV files to TrueSpeech WAV files, use the Microsoft Sound System in Windows 95 or NT.
In Sound Recorder:
-
Select Open from the File menu. Select the desired WAV file, and click OK.
-
Select Save As from the File menu.
-
Click Change to display the Sound Selection dialog box.
-
Select DSP Group TrueSpeech(TM) from the Format list box, and click OK.
-
Specify a new Filename, if desired, and click OK.
The new file is encoded in the TrueSpeech format with a compression rate of 15x.
For those who are using Windows 3.11 or a Macintosh, a TrueSpeech conversion utility may be downloaded from this site. This conversion utility will accept PCM-encoded WAV files only if sampled at 8KHz/16-bit PCM format.
TIP: If you are using IE 3.0, you can link the TrueSpeech *.wav file directly to your page and play streaming audio with its built-in capabilities. IE 3.0 browsers can also begin streaming audio in the background when a page is loading. Simply insert the sample tag below at the top of your webpage:
<BGSOUND src="filename.wav" loop="Infinite">
Step 3: Create a Text File.
Use a standard text editor such as Notepad and give this file a TSP extension. This is done so the browser launches the TrueSpeech Player when a TrueSpeech-encoded WAV file is about to be transmitted. The TSP file associated with a TrueSpeech-encoded WAV file should contain the following (case-sensitive) HTML line:
TSIP>>URL/*.wav
The URL above should not include the "http://" characters. For example, www.dspg.com would be appropriate and http://www.dspg.com would not be.
TSIP>>www.home.com/audio/test.wav
You can simply name this file test.tsp
Step 4: Link.
Link the *.tsp text file to any image or text you specify on your page. When a visitor clicks on this link, the TrueSpeech Player starts. Upon spawning the player, the TrueSpeech Player reads the location of the TrueSpeech *.wav file from the *.tsp file. The Player then accesses and plays the file as it is being downloaded, in real time.
Step 5: Configure the Server.
Edit the server's configuration file MIME.TYPE as follows:
application/dsptype tsp
On the CERN HTTP Server, the configuration line should read:
AddType.tsp application/dsptype binary 1.0
If your homepage is located on a remote HTTP server, contact your service provider and have them make the configuration additions listed above.
IMPORTANT: After the changes have been made, you will need to RESTART your server so that the changes take effect.
|
|