VadOptions class
Sensitivity and timing controls for vad.
Constructors
- VadOptions({double? activationThreshold, int? minSpeechMs, int? minSilenceMs, int? prefixPaddingMs})
- Override any subset of the detection defaults.
Properties
- activationThreshold → double?
-
Speech-probability cutoff. Null uses the model's calibrated default.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minSilenceMs → int
-
Shortest run of silence that closes a segment.
no setter
- minSpeechMs → int
-
Shortest run of speech that opens a segment.
no setter
- prefixPaddingMs → int
-
Audio retained ahead of a segment so onsets are not clipped.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toProto(
) → VADOptions - Build the generated VAD options.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited