silero_vad
Source Location
How It Works
- Incoming LINEAR16 bytes are converted to
float32samples in the range[-1.0, 1.0] - Samples are fed to the Silero ONNX detector which produces speech segments with start/end timestamps
- On speech onset, an
InterruptionPacketis emitted (triggers barge-in) - On speech offset, an
InterruptionPacketend event is emitted so EOS can release any pending final transcript
Parameters
Internally,
start_secs and stop_secs are rounded to Silero’s native frame windows: 512 samples at 16 kHz or 256 samples at 8 kHz.