Expand description
Sherpa ONNX’s Silero VAD behind pipecrab’s edge-emitting detector trait.
SherpaVad is a handle to a dedicated actor thread. The actor constructs,
exclusively owns, accesses, and drops one
sherpa_onnx::VoiceActivityDetector. Audio is accumulated into exact
512-sample Silero windows, and state changes around each window become
VadEvent::SpeechStarted and
VadEvent::SpeechStopped.
Sherpa’s completed segment audio is discarded. VadStage
owns pre-roll and forwards the original shared audio chunks.
Structs§
- Sherpa
Vad - A worker-backed Sherpa ONNX Silero voice-activity detector.
- Sherpa
VadConfig - Configuration for
SherpaVad.
Enums§
- Sherpa
VadBuild Error - Why a Sherpa VAD worker could not be constructed.
Traits§
- Backend
- The serialized engine operations used by the Sherpa VAD actor.