Automatic Activity Detection
@Serializable
Configures automatic detection of activity.
Constructors
Link copied to clipboard
constructor(disabled: Boolean? = null, startOfSpeechSensitivity: StartSensitivity? = null, endOfSpeechSensitivity: EndSensitivity? = null, prefixPaddingMs: Int? = null, silenceDurationMs: Int? = null)
Properties
Link copied to clipboard
Determines how likely detected speech is ended.
Link copied to clipboard
The required duration of detected speech before start-of-speech is committed. The lower this value the more sensitive the start-of-speech detection is and the shorter speech can be recognized. However, this also increases the probability of false positives.
Link copied to clipboard
The required duration of detected non-speech (e.g. silence) before end-of-speech is committed. The larger this value, the longer speech gaps can be without interrupting the user's activity but this will increase the model's latency.
Link copied to clipboard
Determines how likely speech is to be detected.