vad_plus library

Classes

VadConfig
Configuration options for the Voice Activity Detection.
VadError
Emitted when an error occurs.
VadEvent
Base class for all VAD events.
VadFrameProcessed
Emitted for each processed audio frame.
VadInitialized
Emitted when VAD is initialized successfully.
VadMisfire
Emitted when detected speech was too short (misfire).
VadPlus
Voice Activity Detection using Silero VAD ONNX model.
VadRealSpeechStart
Emitted when real speech is confirmed (after minSpeechFrames).
VadSpeechEnd
Emitted when speech ends with recorded audio.
VadSpeechStart
Emitted when speech starts (initial detection).
VadStopped
Emitted when VAD is stopped.

Functions

floatToPcm16(Float32List floatSamples) Int16List
Convert float32 audio samples to PCM16.
pcm16ToFloat(Int16List pcm16Samples) Float32List
Convert PCM16 audio samples to float32.