SpeechRecognitionEngine.BabbleTimeout Property

Gets and set a time out period for only background noise inputs.

Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration




Property Value

Gets and sets a valid instance of TimeSpan used to define the period of time a recognition engine will accept input consisting of background noise before generating an error.

Remarks

Recognition engine have algorithms which allow them to distringuish between speech and background noise, even if the speech cannot be recognized.

This is capacity is used generate an error if no speech is detected within a certain timeframe and to generate SpeechDetected events.

If a recognition engine received only background noise -- as opposed to just silence -- for longer than the time specified by BabbleTimeout an error will be occure.

For asynchronous recognition operations and emulation (initiated by calls to RecognizeAsync and EmulateRecognizeAsync), a RecognizeCompleted is generated receiving an instance of RecognizeCompletedEventArgs with its BabbleTimeout set to true.

For synchronous recognition operations and emulation (initiated by calls to Recognize and EmulateRecognize a null value rather than a valid RecognitionResult is returned.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SpeechRecognitionEngine Class
SpeechRecognitionEngine Members
Microsoft.Speech.Recognition Namespace