Synthesizer SET-PARAMS
The SET-PARAMS synthesizer method, form the client to the server, tells the synthesizer resource to set and modify synthesizer context parameters like speech language.
Many of the parameters in the SET-PARAMS method can also be used in another method like the SPEAK method. If the server accepts these parameters, it will respond with a Status-Code of 200.
The following list describes the headers that can be used in conjunction with SET-PARAMS and GET-PARAMS for the synthesizer resource.
Header | MRCP V1 | MRCP V2 | LumenVox Support |
Jump-Size |
| ||
Jump-Target |
| ||
Speaker-Profile |
|
| |
Completion-Cause |
|
|
|
Completion-Reason |
|
|
|
Voice-Parameter |
|
|
|
Prosody-Parameter |
|
|
|
Speech-Marker |
|
|
|
Speech-Language |
|
|
|
Fetch-Hint |
|
|
|
Auto-Fetch-Hint |
|
| |
Failed-URI |
|
| |
Failed-URI-Cause |
|
| |
Speak-Restart |
|
|
|
Speak-Length |
|
|
|
Load-Lexicon |
| ||
Lexicon-Search-Order |
|
|
|
Note that for voice parameter selections and prosody options, LumenVox maintains default settings in the client_property.conf settings file as well as supporting SSML, which includes a rich set of formatting options, which is therefore recommended wherever possible.
MRCPV1 SET-PARAMS Example:
C->S: SET-PARAMS 543256 MRCP/1.0 Voice-Gender:female S->C: MRCP/1.0 543256 200 COMPLETE |
MRCPV2 SET-PARAMS Example:
C->S: MRCP/2.0 ... SET-PARAMS 543256 Channel-Identifier:32AECB23433802@speechsynth Voice-Gender:female S->C: MRCP/2.0 ... 543256 200 COMPLETE Channel-Identifier:32AECB23433802@speechsynth |