Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Silero VAD

A voice activity detection (VAD) plugin for OpenVoiceOS that uses the Silero VAD ONNX model. VAD tells the listener when a chunk of audio contains speech, so the assistant knows when the user stops talking.

The plugin registers two components:

  • ovos-vad-plugin-silero, a VADEngine that OVOS uses to detect silence during listening.
  • ovos-ww-verifier-silero, a wake word verifier that checks whether the audio that leads up to a wake word detection contains enough speech to confirm the activation.

Both use the same bundled Silero ONNX model, or a custom model path you provide. Input audio must be 16 kHz, 16-bit mono PCM.

Install

pip install ovos-vad-plugin-silero

Usage

Set ovos-vad-plugin-silero as the VAD module in your listener config:

{
    "listener": {
        "VAD": {
            "module": "ovos-vad-plugin-silero",
            "ovos-vad-plugin-silero": {
                "model": "/optional/path/to/model.onnx",
                "threshold": 0.2
            }
        }
    }
}
  • model is optional. If you leave it out, the plugin uses the Silero ONNX model bundled with the package.
  • threshold is the minimum speech probability (0 to 1) for a chunk to count as speech. The default is 0.2.

To use the wake word verifier instead, set ovos-ww-verifier-silero as a wake word verifier plugin. The verifier scores the audio the listener keeps before the detection in 32 ms frames. It confirms the activation when one second of those frames holds enough speech. Silence before or after the word does not dilute the result. The wake word must be inside that kept audio: with the default 15 chunks, that is 0.96 s at 64 ms chunks and 1.92 s at 128 ms chunks. It takes these options:

  • model is the path to a custom Silero ONNX model.
  • threshold is the minimum speech probability (0 to 1) for a frame to count as speech. The default is 0.5. The stock ovos-config sets 0.1 for this verifier, and that value also applies per frame.
  • min_speech_ratio is the share of frames (0 to 1) in the best window that must be speech to confirm the activation. The default is 0.15.
  • window_seconds is the length of that window in seconds. The default is 1.0.

License

Apache-2.0

Metadata

Release files for ovos-vad-plugin-silero 0.1.5a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-vad-plugin-silero 0.1.5a1
File Size Uploaded Provenance Actions
ovos_vad_plugin_silero-0.1.5a1.tar.gz 659.1 kB Without provenance Details for ovos_vad_plugin_silero-0.1.5a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-vad-plugin-silero 0.1.5a1
File Interpreter ABI Platform Actions
ovos_vad_plugin_silero-0.1.5a1-py3-none-any.whl Python 3 none any Details for ovos_vad_plugin_silero-0.1.5a1-py3-none-any.whl

Total release size: 1.3 MB

Release files / ovos_vad_plugin_silero-0.1.5a1.tar.gz

Download URL ovos_vad_plugin_silero-0.1.5a1.tar.gz
Size 659.1 kB
Tags Source
SHA-256 checksum
How to use checksums
478368cb995e66dff8d0a7887945a73282f3d9fcb8e551167b9cd07134a394ac
BLAKE2b-256 checksum
How to use checksums
b8623a61a2c3330f57870aa8638c320eb18d4571eec342aa940703dc50bf9172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_vad_plugin_silero-0.1.5a1-py3-none-any.whl

Download URL ovos_vad_plugin_silero-0.1.5a1-py3-none-any.whl
Size 655.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b496f1b5007ba8b50e25b719e69ffedc1d45684a2e4f0d435348f7e22778089
BLAKE2b-256 checksum
How to use checksums
112f9f8fac777f067526badc34ed9b464b688ed851d4f07717bcc3fb660b581a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-vad-plugin-silero 0.1.5a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page