TAPIEx ActiveX Control v3.6 |
The IListen interface provides speech recognition support for your applications. It provides two modes of speech recognition: Voice-Dictation and Voice-Command.
To create the voice command list, use one of the following properties: VoiceCmdList or VoiceCmdFile. To start the Voice-Command recognition, call the IListen.VoiceCmdStart method. Note that before starting the Voice-Command recognition, you must provide the list of commands that IListen will recognize by setting one of the following properties: VoiceCmdList, VoiceCmdFile.
When a phrase is recognized during the Voice-Dictation or the Voice-Command recognitions, the OnSpeechRecognition event is fired passing the text recognized.
Properties | Description |
---|---|
InternalSRInterface | Returns the internal interface ISpRecoContext of SAPI 5.1 |
VoiceCmdFile | Sets this property with the file name containing the control grammar. |
VoiceCmdList | Sets this property with the list of voice commands. |
Methods | Description |
---|---|
DictationStart | Starts the Voice-Dictation recognition. |
DictationStop | Stops the Voice-Dictation recognition. |
VoiceCmdStart | Starts the Voice-Command recognition. |
VoiceCmdStop | Stops the Voice-Command recognition. |
ListenStop | Stops both Voice-Dictation and Voice-Command recognitions. |
IListen 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. ]
In order to use IListen, you also need to have a SR (Speech Recognition) engine installed on your computer. A number of these engines are available from different vendors. Microsoft, for example, offers a freely redistributable SR engine at Microsoft web site.