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.
  • silence_method (string, default "all"): method the plugin uses to decide if a chunk contains silence or speech. See Methods below.

Methods

  • 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.

Related projects

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_vad_plugin_noise-0.1.3a7.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_vad_plugin_noise-0.1.3a7-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file ovos_vad_plugin_noise-0.1.3a7.tar.gz.

File metadata

  • Download URL: ovos_vad_plugin_noise-0.1.3a7.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_vad_plugin_noise-0.1.3a7.tar.gz
Algorithm Hash digest
SHA256 63b23a0af7e2a0fe05f10dee6bc4a18ceda5adddaa9cb4e0bb544b0934be34fd
MD5 230b6b0dc2b481e7dbfb3f91aaf71219
BLAKE2b-256 1937b60a80e678a6ab6bfd462cc2db38f445752f5e5a95292ca3e0146c0aec3d

See more details on using hashes here.

File details

Details for the file ovos_vad_plugin_noise-0.1.3a7-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_vad_plugin_noise-0.1.3a7-py3-none-any.whl
Algorithm Hash digest
SHA256 5eeaa36d4f4c7c060442b59f143319f840585c8cbc1fae2714506ea91233905a
MD5 026207fd4923757e7995903afcdb0eb8
BLAKE2b-256 24a7d47355d278d3c0653c625b35e54f51aa08a4f575582528dfb380d9472eb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page