Skip to main content

ovos-audio-transformer-plugin-bandpass

License: Apache-2.0 Python

A band-pass filter audio transformer for OpenVoiceOS. It runs on the captured speech audio before STT and attenuates energy outside a configurable pass-band.

The default 300–3400 Hz band is the telephone speech band: it removes low-frequency rumble (HVAC, handling noise) and high-frequency hiss that carry no phonetic information, which can improve recognition on noisy inputs without touching the speech formants.

Install

pip install ovos-audio-transformer-plugin-bandpass

Configure

Enable it in mycroft.conf under audio_transformers (any component that runs the audio-transformer pipeline — the listener, or the STT server — will apply it):

{
  "audio_transformers": {
    "ovos-audio-transformer-plugin-bandpass": {
      "low_hz": 300,
      "high_hz": 3400,
      "order": 4,
      "sample_rate": 16000
    }
  }
}
Option Default Meaning
low_hz 300 Lower edge of the pass-band, in Hz.
high_hz 3400 Upper edge of the pass-band, in Hz.
order 4 Butterworth filter order; higher is a steeper roll-off.
sample_rate 16000 Sample rate of the incoming PCM audio, in Hz.

Edges are clamped into the open interval below Nyquist, so an aggressive band on a low sample rate degrades gracefully instead of failing.

Metadata

Release files for ovos-audio-transformer-plugin-bandpass 0.0.1

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-audio-transformer-plugin-bandpass 0.0.1
File Size Uploaded
ovos_audio_transformer_plugin_bandpass-0.0.1.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-audio-transformer-plugin-bandpass 0.0.1
File Interpreter ABI Platform
ovos_audio_transformer_plugin_bandpass-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / ovos_audio_transformer_plugin_bandpass-0.0.1.tar.gz

Download URL ovos_audio_transformer_plugin_bandpass-0.0.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c47c61bf1535f3c35dc0389af483046ed9310bb661a44f76708e9501ecc614f2
BLAKE2b-256 checksum
How to use checksums
9aeb3db2e34e0c8e17145145f0fbbdaa96fc3e0d37341cd8cca3d66d57f7b6fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / ovos_audio_transformer_plugin_bandpass-0.0.1-py3-none-any.whl

Download URL ovos_audio_transformer_plugin_bandpass-0.0.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
038066c32b12de1cc450f4f856de6a197705dfa009c7196b53c6cb50210dfb89
BLAKE2b-256 checksum
How to use checksums
d1003f671ce5499e5b6b9c0fd4634f41300d28dca488d865ae52699fa4abf940
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12
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