Skip to main content
TEN VAD is a native C library from the TEN Framework that provides frame-level speech probability scores with a fixed 256-sample hop size (16 ms at 16 kHz). Provider identifier: ten_vad

Source Location


How It Works

  1. Incoming LINEAR16 bytes are converted to int16 samples
  2. Samples are processed in fixed 256-sample frames (16 ms each)
  3. Each frame produces a speech probability score
  4. Speech onset/offset is tracked with Pipecat-style start_secs and stop_secs debounce windows
  5. Same packet emission pattern: InterruptionPacket start/end events on speech onset and offset

Parameters

Internally, start_secs and stop_secs are rounded to TEN VAD’s native 256-sample frames.

Shared Library

TEN VAD does not use an ONNX model. It requires the libten_vad shared library at both build and runtime. Docker: The Dockerfile copies the library from the source tree:
From source (Linux):
The pre-compiled shared library is for Linux x86_64 only. TEN VAD is not available for macOS local development. Use Silero VAD or FireRed VAD instead when developing on macOS.