# 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
TextToSpeechSetSpeaker() | Sets the speakers voice which becomes active at the next clause boundary.
TextToSpeechGetSpeaker() | Returns the value of the last speaker to have spoken.
TextToSpeechSetRate() | Sets the speaking rate, which becomes active at the next clause boundary.
TextToSpeechGetRate() | Gets the speaking rate.
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)
TextToSpeechGetLanguage() | Returns the current text-to-speech system language. (not supported)
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.
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.