saiTtsSetSpeakerProfile

Sets the URL where the profile of the speaker is kept.

Prototype

DWORD saiTtsSetSpeakerProfile ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_URL url )

Argument

Description

synthHd

Handle associated with a synthesizer resource.

url

URL that indicates where the speaker profile is located.


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.


Details

The speaker profile consists of a set of voice parameters such as gender and accent. For information about the speaker profile format, refer to the vendor documentation.

See also

saiTtsGetSpeakerProfile