Control and Status Calls

The calls described in the following table provide additional control and status information for the text-to-speech system.

API Control and Status Calls

Call

Description

btn_mini.gif TextToSpeechSetSpeaker()

Sets the speaker’s voice which becomes active at the next clause boundary.

btn_mini.gif TextToSpeechGetSpeaker()

Returns the value of the last speaker to have spoken.

btn_mini.gif TextToSpeechSetRate()

Sets the speaking rate, which becomes active at the next clause boundary.

btn_mini.gif TextToSpeechGetRate()

Gets the speaking rate.

btn_mini.gif TextToSpeechSetLanguage()

Sets the text-to-speech system language. Refer to the ttsapi.h file for a list of valid languages, e.g. TTS_AMERICAN_ENGLISH. (not supported)

btn_mini.gif TextToSpeechGetLanguage()

Returns the current text-to-speech system language. (not supported)

btn_mini.gif TextToSpeechGetStatus()

Returns various text-to-speech system parameters, such as the number of characters in the text pipe, the ID of the wave output device, and a Boolean value that indicates whether the text-to-speech system is currently speaking or silent.

btn_mini.gif TextToSpeechGetCaps()

Returns the capabilities of the text-to-speech system, which includes the version number of the system, the number of speakers, the maximum and minimum speaking rate, and the supported languages.