0 out of 1 rated this helpful - Rate this topic

SpeechRecognitionEngine.BabbleTimeout Property

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

Namespace:  System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)
public TimeSpan BabbleTimeout { get; set; }

Property Value

Type: System.TimeSpan
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.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ