Platform SDK: Web Telephony Engine

TTSMode.Features Property

The Features property retrieves a set of flags that identify the TTS features that are available.

Syntax

[ lFeatures = ] TTSMode.Features

Possible Values

lFeatures
Integer specifying the flags, which can have a combination of these values:
TTSFEATURE_ANYWORD
The engine can attempt to read any word.
TTSFEATURE_SAPI4
Denotes that the engine is SAPI 4.0a-compliant, meaning that it supports all of required interfaces and can pass the TTSFUNC test included in the SAPI Software Developer's Kit (SDK).
TTSFEATURE_FIXEDAUDIO
The audio destination for the device is fixed, so an audio destination object is not needed for SELECT. If an audio destination is given, it is ignored. Hardware devices, such as an external synthesizer box, support this.
TTSFEATURE_IPATEXTDATA
TextData supports IPA phonemes, so long as CHARSET_IPAPHONETIC is used. Applications can use this to identify TTS engines that can speak words solely from a pronunciation.
TTSFEATURE_IPAUNICODE
The engine's ITTSCentral::Phoneme function supports the CHARSET_IPAPHONETIC voice character set and will return phonemic representations using the IPA in Unicode. Note that the Unicode version of the Phoneme function must be called, even if this flag is set.
TTSFEATURE_PCOPTIMIZED
The voice is optimized to work over the computer, which provides better sound quality.
TTSFEATURE_PHONEOPTIMIZED
The voice is designed to work over the telephone and uses an 8-kHz sampling rate.
TTSFEATURE_PITCH
The engine can adjust the pitch of the voice while it is speaking.
TTSFEATURE_PREFERRED
The voice is one of the preferred voices from the TTS vendor's set, because of its realism and quality. The TTS engine's ITTSFind method will use preferred voices over nonpreferred, so long as they meet the application's search criteria.
TTSFEATURE_SINGLEINSTANCE
The engine is single instance, so only one mode object can exist at a time. TTS engines that are .exe servers use this.
TTSFEATURE_SPEED
The engine can adjust the speed of the voice while it is speaking.
TTSFEATURE_TAGGED
The engine can interpret tagged text to control the voice.
TTSFEATURE_THREADSAFE
The engine is completely thread safe, and can be called from any thread.
TTSFEATURE_TRANSPLANTED
Supports transplanted prosody.
TTSFEATURE_VISUAL
The engine can provide mouth-position information for the voice.
TTSFEATURE_VOLUME
The engine can adjust the volume of the voice.
TTSFEATURE_WORDPOSITION
The engine sends notification of word position.

This property is read-only.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

TTSMode