Specifies synthesizer speech prosody parameters such as pitch, duration, and volume.
DWORD saiTtsSetProsody ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_PROSODY value )
|
Argument |
Description |
|
synthHd |
Handle associated with a synthesizer resource. |
|
value |
SAI_PROSODY structure that defines speaker voice prosody characteristics such as pitch, duration, and volume: typedef struct For more information, refer to SAI_PROSODY. For information about prosody attributes, refer to the SSML specification and to the vendor documentation. |
|
Return value |
Description |
|
SUCCESS |
|
|
SAIERR_INVALID_PARAMETER |
One of the specified arguments is invalid. |
|
SAIERR_UNSUPPORTED_SPEECH_PARAMETER |
Speech engine does not support the specified parameter. |