Platform SDK: Web Telephony Engine |
The TTSMode object provides access to the mode information of the selected TTS engine. All the fields of the TTSMODEINFO structure are accessible through read-only properties of the TTSMode object. An application uses the object to identify the currently selected TTS engine and learn its capabilities and current configuration parameters. For example, the configuration parameters set by the WTE administration tool could direct WTE to use an English TTS engine, and the application could use the TTSMode object to discover the engine that was selected by SAPI.
An application retrieves a reference to the TTSMode object by using the TTSMode property of the ExOM object. The following table lists and describes the properties of the TTSMode object.
Property | Description |
---|---|
Age | Flag indicating age of the voice. |
Dialect | Retrieves name of the dialect specific to the language. For example, "Texas" or "New York City." |
EngineFeatures | Flags that identify features specific to the TTS engine. These values are defined by the engine author. |
EngineID | Globally unique identifier (GUID) for the TTS engine. |
Features | Flags that identify the available TTS features. |
Gender | Flag indicating gender of the voice. |
Interfaces | Flags that identify interfaces that the TTS engine supports. |
LanguageID | Win32® language identifier. |
MfgName | Name of the TTS engine manufacturer. |
ModeName | Name of the TTS mode. |
ModeID | GUID that uniquely identifies TTS mode. |
ProductName | Product name of the TTS engine. |
Speaker | Name of the voice. |
Style | Name of the personality of the voice. For example: "Business", "Casual", "Computer", "Excited", and "Singsong". |