Interface: VADResult
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:17
Represents the result of VAD processing for an audio frame.
Properties
confidence?
optionalconfidence:number
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:27
Confidence score (0-1) in the isSpeech detection. Can be basic for now.
currentSilenceThreshold
currentSilenceThreshold:
number
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:25
The silence detection threshold used for this frame.
currentSpeechThreshold
currentSpeechThreshold:
number
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:23
The speech detection threshold used for this frame, adapted from the noise profile.
frameEnergy
frameEnergy:
number
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:21
The calculated energy (RMS) of the current audio frame.
isSpeech
isSpeech:
boolean
Defined in: packages/agentos/src/core/audio/AdaptiveVAD.ts:19
Indicates whether speech is currently detected in the frame.