ReadiVoice Administration & Maintenance Guide
174 Proprietary & Confidential
Running the Build Process
To build an indexed WAVE file, use the
genvoice
utility in the
/rahome/bridge/binaries/tools/
directory as follows:
1 Create or edit the key file as described above.
2 Be sure that all the input WAVE files are located in the proper directory
or directories.
3 At the command prompt, enter:
genvoice -i inputFile -d voiceDir -o outputFile
[-v]
inputFile
specifies the key file to use. If the key file isn’t in the current
directory,
inputFile
must specify its path. InnoVox provides predefined key
files for each language that it supports.
voiceDir
specifies the directory where the source WAVE files are located. If
the source files aren’t in this directory, the entries in the key file must contain
the relative path from this directory.
outputFile
specifies the file name for the indexed WAVE file being created.
If
outputFile
doesn’t specify a path, the file is created in the current directory.
-v
specifies that the WAVE file is generated with µ-law encoding. If
-v
isn’t
specified, IMA ADPCM encoding is used.
InnoVox 480 bridges require IMA ADPCM encoded WAVE files.
InnoVox 4000 bridges require µ-law encoded WAVE files. If you’re upgrading
from an InnoVox 480 bridge and want the same prompt set, you should create
the µ-law encoded WAVE files from the original recordings at
8000 samples/sec., 16-bit mono (or higher quality). Converting a 4-bit IMA
ADPCM into 8-bit µ-law doesn’t provide noticeable quality improvements.
The
genvoice
utility displays an appropriate error message and terminates if:
• A source file is in the wrong format or can’t be found.
• The key file is in the wrong format or can’t be found.
• The number of entries found in the predefined key file doesn’t match the
expected number for the specified language. This check doesn’t apply to
generic key files.
An indexed WAVE file can be played using any program that supports
WAVE, but the indices will be ignored. Some sound editors may not be able to
play the file correctly because of the compression used.