SDK Reference · Type
STVADSensitivity
Selects voice activity detection sensitivity.
Overview
Select how readily voice activity detection responds to candidate speech. A more sensitive setting can detect quieter speech but may also react to background noise. Tune it alongside silence thresholds for the recording environment.
public enum STVADSensitivity: Sendable {
case high
case moderate
case low
case veryLow
}
STVADParams defaults to .low.
Cases
.high— High option..moderate— Moderate option..low— Low option..veryLow— Very low option.
Swift example
let selection: STVADSensitivity = .high