ISpeechVoiceStatus Interface (SAPI 5.4)
Microsoft Speech API 5.4
The ISpeechVoiceStatus automation interface defines the types of information returned by the SpVoice.Status method.
Most ISpeechVoiceStatus properties consist of real-time feedback from the text-to-speech (TTS) engine. These properties are equivalent to parameters returned by voice events, and like voice events, they are used only with asynchronous speech. It may be advantageous for some applications to retrieve these elements by calling Status occasionally, rather than by receiving events constantly.
It should be noted that voice status and voice events are closely associated with the status of the audio output device. A voice speaking to a file stream produces no audio output and has no audio output status. As a result, ISpeechVoiceStatus always displays the voice as inactive.
Use of the ISpeechVoiceStatus is demonstrated in a code example at the end of this section.
Automation Interface Elements
The ISpeechVoiceStatus automation interface contains the following elements: