SpeechRecognitionEngine.InitialSilenceTimeout Property

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

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

Syntax

'Declaration

Property Value

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

Remarks

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.

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