SpeechRecoEvents (SAPI 5.3)
Microsoft Speech API 5.3
SpeechRecoEvents Enum
The SpeechRecoEvents enumeration lists speech recognition (SR) events.
Used in ISpeechRecoContext.VoicePurgeEvent and ISpeechRecoContext.EventInterests.
Definition
Enum SpeechRecoEvents
SREStreamEnd = 1
SRESoundStart = 2
SRESoundEnd = 4
SREPhraseStart = 8
SRERecognition = 16
SREHypothesis = 32
SREBookmark = 64
SREPropertyNumChange = 128
SREPropertyStringChange = 256
SREFalseRecognition = 512
SREInterference = 1024
SRERequestUI = 2048
SREStateChange = 4096
SREAdaptation = 8192
SREStreamStart = 16384
SRERecoOtherContext = 32768
SREAudioLevel = 65536
SREPrivate = 262144
SREAllEvents = 393215
End Enum
Elements
- SREStreamEnd
SR engine has reached the end of an input stream. - SRESoundStart
SR engine has detected the start of non-trivial audio data. - SRESoundEnd
SR engine has detected the end of non-trivial audio data. - SREPhraseStart
SR engine has detected the start of a recognizable phrase. - SRERecognition
SR engine's best hypothesis for the audio data. - SREHypothesis
SR engine's interim hypothesis for the result of the audio data. - SREBookmark
SR engine has reached the specified point in the audio stream. - SREPropertyNumChange
LPARAM points to a string WPARAM that is the attribute value. - SREPropertyStringChange
LPARAM pointer to a buffer. Two concatenated null-terminated strings. - SREFalseRecognition
Apparent speech with no valid recognition. - SREInterference
LPARAM is any combination of SpeechInterference flags. - SRERequestUI
LPARAM is string. - SREStateChange
WPARAM contains new recognition state. - SREAdaptation
The adaptation buffer is now ready to be accepted. - SREStreamStart
SR engine has reached the start of an input stream. - SRERecoOtherContext
Phrase finished and recognized but for other context. - SREAudioLevel
Input audio volume level - SREPrivate
Private engine-specific event. - SREAllEvents
All events listed above.