This topic has not yet been rated - Rate this topic

SpeechRecognitionEngine.InitialSilenceTimeout Property

Gets and set the maximum amount of silence that can precede audio input before a recognition engine generates an error.

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

Property Value

Type: System.TimeSpan
Gets and sets a valid instance of TimeSpan specifying the maximum amount of time a recognition engine should accept silence before generating an error.

If a recognition engine receives only silence -- as opposed to background noise-- for longer than the time specified by InitialSilenceTimeout an error will occur.

For asynchronous recognition operations and emulation (initiated by calls to RecognizeAsync and EmulateRecognizeAsync), a RecognizeCompleted is generated receiving an instance of RecognizeCompletedEventArgs with its InitialSilenceTimeout 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