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, default2.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
- ovos-plugin-manager loads and manages this plugin.
- ovos-dinkum-listener is the OVOS listener that uses VAD plugins like this one.
- ovos-listener is the original project this plugin's code came from.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63b23a0af7e2a0fe05f10dee6bc4a18ceda5adddaa9cb4e0bb544b0934be34fd
|
|
| MD5 |
230b6b0dc2b481e7dbfb3f91aaf71219
|
|
| BLAKE2b-256 |
1937b60a80e678a6ab6bfd462cc2db38f445752f5e5a95292ca3e0146c0aec3d
|
File details
Details for the file ovos_vad_plugin_noise-0.1.3a7-py3-none-any.whl.
File metadata
- Download URL: ovos_vad_plugin_noise-0.1.3a7-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eeaa36d4f4c7c060442b59f143319f840585c8cbc1fae2714506ea91233905a
|
|
| MD5 |
026207fd4923757e7995903afcdb0eb8
|
|
| BLAKE2b-256 |
24a7d47355d278d3c0653c625b35e54f51aa08a4f575582528dfb380d9472eb2
|