# saiTtsSetProsody

Specifies synthesizer speech prosody parameters such as pitch, duration, and volume.

#### Prototype

DWORD saiTtsSetProsody ( SAI_SYNTHESIZER_HANDLE synth H d, 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 { INT32 pitch; INT32 contour; INT32 range; INT32 rate; INT32 duration; INT32 volume; } SAI_PROSODY; For more information, refer to SAI_PROSODY. For information about prosody attributes, refer to the SSML specification and to the vendor documentation.

#### Return values

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.

#### See also

saiTtsGetProsody