Skip to main content
Silero VAD is a pre-trained ONNX model (~2 MB) for real-time voice activity detection. It is the default VAD provider in Rapida. Provider identifier: silero_vad

Source Location


How It Works

  1. Incoming LINEAR16 bytes are converted to float32 samples in the range [-1.0, 1.0]
  2. Samples are fed to the Silero ONNX detector which produces speech segments with start/end timestamps
  3. On speech onset, an InterruptionPacket is emitted (triggers barge-in)
  4. On speech offset, an InterruptionPacket end 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.

Model Path


Local Source Setup

Silero VAD requires ONNX Runtime. The Docker base image includes it. For local builds:
The model file is checked into the repository — no download needed.