Text-to-speech interfaces allow an application to play text over an audio destination using a text-to-speech engine. There are the following interfaces.
Interface | Description |
ITTSAttributes | Controls the attributes of a text-to-speech engine, such as the pitch, talking speed, and the volume of a voice. |
ITTSBufNotifySink | Used by a text-to-speech engine to notify an application of changes to the buffer that contains the text being spoken. |
ITTSCentral | Controls the playback of text by a text-to-speech engine, including sending text to the engine, pausing and resuming playback, getting information about the engine or the text being played, and registering a notification sink. |
ITTSDialogs | Displays Windows dialog boxes that allow the user to configure the text-to-speech engine. |
ITTSEnum | Enumerates and selects a text-to-speech mode. |
ITTSFind | Finds and selects the text-to-speech mode that most closely matches the requested characteristics. |
ITTSNotifySink | Used by a text-to-speech engine to notify an application that the audio has started or stopped or to notify an application of the phoneme being spoken. |
In addition to the interfaces described in this section, each object supports IUnknown, which is a common interface supported by all OLE component objects. A text-to-speech engine may also support ILexPronounce, an optional interface that allows the user to correct words in the engine's pronunciation lexicon. For more information about IUnknown and ILexPronounce, see the section, "Common Elements of the Speech Application Programming Interface."