KIOSVadParameter Constants Reference

Declared in KIOSRecognizer.h

KIOSVadParameter

These constants correspond to different Voice Activity Detection parameters that are used for endpointing during recognition.

You can change values of these parameters using setVadParameter method.

Definition

typedef NS_ENUM(NSInteger, KIOSVadParameter ) {
   KIOSVadTimeoutForNoSpeech = 0,
   KIOSVadTimeoutEndSilenceForGoodMatch,
   KIOSVadTimeoutEndSilenceForAnyMatch,
   KIOSVadTimeoutMaxDuration,
};

Constants

KIOSVadTimeoutForNoSpeech

Timeout after this many seconds even if nothing has been recognized. Default is 10 seconds.

Declared In KIOSRecognizer.h.

KIOSVadTimeoutEndSilenceForGoodMatch

Timeout after this many seconds if we had a good (high probability) match to the final state. Default is 1 second.

Declared In KIOSRecognizer.h.

KIOSVadTimeoutEndSilenceForAnyMatch

Timeout after this many seconds if we had any match (even if final state has not been reached). Default is 2 seconds.

Declared In KIOSRecognizer.h.

KIOSVadTimeoutMaxDuration

Timeout after this many seconds regardless of what has been recognized. This is effectively upper bound on the duration of recognition. Default value is 20 seconds.

Declared In KIOSRecognizer.h.

Declared In

KIOSRecognizer.h