voicebuild
Use the voicebuild
program to create audio .wav files based on a vocal script .txt file using SAPI.
Usage
voicebuild.exe [<options>]
Argument | Description |
---|---|
-f <folder> | The output folder to store the newly-created .wav files. |
-o | Overwrite existing .wav files. |
-r <rate> | The rate of the speech. This value can range from -10 to 10; the default value is 0. |
-d <speech api dll> | Speech API dynamic load library, which can load either |
-i <speechinit> | Specifies a KVG file to load speech API initialization configuration. |
-s <vocal-script> | The vocal script file, read from standard input by default. |
-c <voice> | The voice used to speak the vocal script. |
-a | Enumerate available voices. |
-l <volume> | The volume of the speech. This value can range from 0 to 100; the default value is 100. |
Examples
List all the installed voices on the current system:
voicebuild.exe -a
Create .wav audio files in the \tmp directory, using the listing file vocal-script.txt, and the voice "Cepstral William-8kHz":
voicebuild.exe -f tmp -s ..\audio\en-us\vocal-script.txt -c "Cepstral William-8kHz"
Re-create a set of .wav audio files, and change the volume and rate:
voicebuild -l 30 -r 5 -o -f tmp -s ..\audio\en-us\vocal-script.txt -c "Cepstral William-8kHz"