Skip to main content
Pre-release

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

Noise VAD

Noise VAD is a voice activity detection (VAD) plugin for OpenVoiceOS. It decides if an audio chunk contains speech by looking at its energy level, not its content.

The plugin comes from the old ovos-listener project. Use it as a fallback VAD. It runs on all platforms, including 32-bit systems, because it needs no machine learning model.

Install

pip install ovos-vad-plugin-noise

Usage

Set ovos-vad-plugin-noise as the VAD module in your listener configuration.

{
    "listener": {
        "VAD": {
            "module": "ovos-vad-plugin-noise",
            "ovos-vad-plugin-noise": {
                "method": "all",
                "max_current_ratio_threshold": 2.0,
                "energy_threshold": 1000.0
            }
        }
    }
}

Arguments

  • max_energy (float, optional): maximum denoise energy value. If not set, the plugin sets it dynamically from the observed audio.
  • max_current_ratio_threshold (float, default 2.0): ratio of max energy to current energy below which the plugin treats the audio as speech.
  • energy_threshold (float, optional): energy threshold above which the plugin treats the audio as speech. If not set, the plugin sets it dynamically from the observed audio.
  • method (string, default "all"): method the plugin uses to decide if a chunk contains silence or speech. See Methods below.

Methods

The values are lowercase. An unrecognized value, including an uppercase spelling such as "ALL", is not rejected. It silently falls back to ratio-only detection.

  • "ratio": use only the max/current energy ratio threshold.
  • "threshold": use only the current energy threshold.
  • "all": use both the max/current energy ratio and the current energy threshold.

License

Apache-2.0

Metadata

Release files for ovos-vad-plugin-noise 0.1.3a8

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-noise 0.1.3a8
File Size Uploaded
ovos_vad_plugin_noise-0.1.3a8.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-vad-plugin-noise 0.1.3a8
File Interpreter ABI Platform
ovos_vad_plugin_noise-0.1.3a8-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / ovos_vad_plugin_noise-0.1.3a8.tar.gz

Download URL ovos_vad_plugin_noise-0.1.3a8.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43a90f8fbc63f36052f9da7a59c527b4d299b3ead92714264f4a2b6bd89bbfa5
BLAKE2b-256 checksum
How to use checksums
9c8d02d5625b107c8c27526109c0ae6d3649a810e37c815ca2d8878bceed909f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_vad_plugin_noise-0.1.3a8-py3-none-any.whl

Download URL ovos_vad_plugin_noise-0.1.3a8-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4930b3d365bcf2a8bd93fc7e2963f52e8a264c1bea98d86cfdc9516d426a9df4
BLAKE2b-256 checksum
How to use checksums
d18e0044ef634a0657dea649c59321b1e873097048cc467693e42723bb5dfc5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
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