EasySpeech Controls v2.0 |
The IEasySpeak interface enables an application to perform text synthesis operations.
Properties | Description |
---|---|
AboutLicenseKey | For registered users only. |
AboutLicenseType | |
AboutUserName | |
CurrEngineMode | Specify the desired synthesizer (TTS engine). |
Device | Specify the desired waveform output device (default: sound card). |
DeviceID | Specify the ID of desired waveform output device. |
EngineModes | Returns the reference of enumeration collection interface --IEnumTTSEngineModes which provides COM-standard enumeration methods for the ITTSEngineModeInfo interface. |
Format | Sets/returns currect output wave format. (For SAPI 5.1 only) |
InternalTTSInterface | Returns the internal reference interface of SAPI TTS module. |
IsTaggedText |
|
Rate | Sets/returns the rate of the synthesizer. |
Volume | Sets/returns the synthesizer's output volume. |
Methods | Description |
---|---|
AboutBox | Displays the about info of this control. |
Pause | Pauses the speaking. |
Resume | Resumes paused speaking. |
ShowConfigureDialog | Displays the configure property page dialog. |
Speak | Speaks the given text asynchronously. |
SpeakToFile | Speaks given text to file in WAV-format. |
Stop | Stops the speaking asynchronously. |
Events | Description |
---|---|
OnAudioLevel | Occurs when the SAPI audio object detects a change in audio level. |
OnBookMark | Occurs when the text-to-speech (TTS) engine detects a bookmark while speaking a stream. |
OnDebug | Occurs when debug information is available. |
OnStreamEnd | Occurs when the text-to-speech (TTS) engine reaches the end of a stream while speaking. |
OnStreamStart | Occurs when the text-to-speech (TTS) engine begins speaking a stream. |
OnViseme | Occurs when the text-to-speech (TTS) engine detects a viseme boundary while speaking a stream. |
OnWordBound | Occurs when it reachs the beginning of a word. |
IEasySpeak is compatible with Microsoft SAPI 4.0 or SAPI 5.1. [SAPI (Speech API) is the Microsoft standard interface for Speech Recognition (SR) and Text-to-Speech (TTS) engines. ]
You also need to have a TTS (Text-to-Speech) engine installed on your computer. A number of these engines are available from different vendors. Microsoft, for example, offers a freely redistributable TTS engine at Microsoft web site.