This command allows users to assign, change, display, and unassign values to the Proxy Text-to-Speech (PTTS) configuration files.
Synopsis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
The tts assign
command creates and populates configuration files with parameters. There are four types of assigns that can be done, and each type changes files as described in the following table:
Assign type ( |
File activity |
|
Also creates the TTS.cfg file. The |
|
Also creates the TTS#.cfg file, where # is the ttstype number 0-9. This assign works only after the TTS.cfg file has been created by doing the |
|
Modifies the TTS#.cfg file, where # is the ttstype number 0-9 |
|
Modifies the TTS#.cfg file, where # is the ttstype number 0-9 |
You can only enter one of the four types of assign commands at a time. The parameters from the four types of assign commands cannot be mixed. All parameter values are validated against the allowable parameter values. After a successful validation, all parameters are saved in the relevant configuration file.
The parameters for these commands are described in the following table:
Parameter |
Description |
Comments |
|
Default voice name if application does not provide a voice name |
Valid voice name |
|
Text-to-Speech type |
TTS0, TTS1, TTS2, TTS3, TTS4, TTS5, TTS6, TTS7, TTS8, TTS9 |
|
Type of TTS engine |
sapi|speechify|realspeak|mrcp |
|
DNS name for the server |
Valid DNS name For IBM WVS servers, the name must be specified as < |
|
IP address of the server or DNS name for the server |
Valid IP address or DNS name |
|
The number of ports supported on a server with a sapi or mrcp engine |
1-number of licensed ports |
|
Starting port number |
1-65000 For MRCP servers, the baseport is typically set to 554. |
|
Voice name |
Valid voice name |
|
Number of ports supported for this voice |
1-number of licensed ports |
|
Starting port number |
1-65000 |
The tts assign
command exits with an error message and the usage statement under the following circumstances:
The tts change
command changes the specified configuration file parameter values for the specified tts type (ttstype), ttstype and server, or ttstype, server, and voice. It creates a backup configuration file. The change command exits with an error message and the usage statement if:
The tts display
command displays the associated configuration file parameters for the specified ttstype, ttstype/server, or ttstype/server/voice. If the configuration file does not exist for the ttstype, the server does not exist for the ttstype, or the voice does not exist for the ttstype/server, the tts display
command exits with an error message and the usage statement.
The tts unassign
command deletes the configuration file and the backup configuration file (if any) for the specified ttstype, if a ttstype is entered as the only parameter. If a ttstype and server are entered, the server information is removed from the configuration file. If a ttstype, server, and voice are entered, the voice information is removed from the configuration file. If the configuration file does not exist for the ttstype, the server does not exist for the ttstype, or the voice does not exist for the ttstype/server, the unassign
command exits with an error message and the usage statement.
After the successful execution of tts assign
, tts change
, and tts unassign
commands, an informational message is displayed to advise you to stop and restart the voice system to activate the configuration file change.
Files
Two types of tts
configuration files get created when a tts assign
is done. The TTSproto.cfg configuration file is installed with the AVttsprxy package. The following table describes the files:
File |
Description |
Comments |
TTS.cfg |
Configuration file |
This file is created when the |
ttstype.cfg |
Configuration file |
This file is created when the |
TTSproto.cfg |
Configuration file |
This file is installed with the AVttsprxy package |
All of the tts
configuration files that are created with the tts assign
command or installed with the AVttsprxy package are located in the /vs/sproxy/cfg directory.
See also