This release is a pre-release and may not be stable for production use.
ovos-audio-transformer-plugin-overheard-manners
An OpenVoiceOS audio transformer that gives the assistant good manners about what it overhears: someone in the room says "av for helvede!", and the assistant gently remarks that swearing makes you sound a bit simple. Think of the friendly grandparent in the corner, not the moral police.
It is part of Emkay and works on any OpenVoiceOS. It is the companion of ovos-good-manners-pipeline-plugin, which reacts to how you talk to the assistant. This plugin listens to the room, and it uses good manners' word lists. Its icon is the thumbs-up's sibling: an ear that just heard a "#!@".
Everything stays on the device
- The room audio is held in a 3-second ring buffer in memory and nothing else. Nothing is recorded, saved or sent.
- Speech to text only runs on the device. If the only STT available is a server (OpenVoiceOS' public servers, a cloud service), the plugin stays off and says so in the log.
- The transcript is only used for the verdict. It is not logged and not put on
the bus; the bus only gets
ovos.overheard_manners.heardwith the kind (foulorslur). - It is off unless you turn it on (see Setup).
How it listens: two stages
While the listener waits for the wake word, OVOS hands all room audio to audio transformers. This one listens in two stages:
- A sensitive first ear. A few long phrases per language ("what the fuck", "av for helvede", "verdammte Scheiße", …) are spotted from their phones with WakePhoneHuBERT, zero-shot, using the scoring of ovos-ww-plugin-wakeforge's zero-shot engine. The English phrases are listened for in every language, also with the local pronunciation, because people swear in English everywhere. A hit here only means "worth a closer look".
- Local STT decides. Only then is the last 2.5 seconds transcribed on the device, and the text is checked against good manners' word lists, short words like "lort" and "shit" included. Only if something foul was really said does the assistant comment, and then not again for 10 minutes.
The first stage alone gives far too many false hits to comment on; the second removes them. In tests on 23 hours of ordinary speech it made 0 false comments in English and German and 1 in Danish (STT heard "frugtjuicer" as a swear word). The numbers and how to rerun them are in evaluation/.
It is quiet while the device itself speaks, while music or a story plays, and it can be paused on the bus.
Setup
pip install ovos-audio-transformer-plugin-overheard-manners
Name it in mycroft.conf (that is the opt-in):
{
"audio_transformers": {
"ovos-audio-transformer-plugin-overheard-manners": {
"stt": {"module": "ovos-stt-plugin-fasterwhisper", "model": "small"}
}
}
}
| key | default | |
|---|---|---|
stt |
the listener's STT, if it is a known local one | a local STT plugin and its config; naming one here is your statement that it runs on the device |
lang |
the device's lang |
the room's language |
cooldown_sec |
600 |
least time between two comments |
sensitivity_offset |
0.07 |
first-ear threshold offset, higher is stricter (fewer STT runs, fewer catches) |
confirm_blocks |
2 |
windows in a row a phrase must hold |
enabled |
true |
start listening right away; "active": false turns the plugin off entirely |
On the bus:
| message | |
|---|---|
ovos.overheard_manners.disable / .enable |
pause and resume (for example at night) |
ovos.overheard_manners.heard |
emitted with {"kind": "foul" | "slur"} when it comments |
ovos.overheard_manners.status |
answers with whether it listens, its state, language and STT |
ovos.overheard_manners.reload |
new settings: {"config": the plugin's section} |
The model (3.5 MB) is fetched from Hugging Face on first use, as the wakeforge plugin does.
Speech to text: shared, or loaded when needed
There has to be a speech-to-text engine on the device that runs locally. It does not have to be the one OVOS uses for your commands. The plugin never pays for a second model it does not need:
- A listener can hand over its own STT with
use_stt(stt, lock). Emkay's listener does this, so there is only one model in memory. The lock keeps the listener and the plugin from transcribing at the same time. - Otherwise the model is loaded on the first hit, the first time something in the room sounds like swearing. A quiet house never loads it, and the first comment just comes a few seconds later.
In the control panel
With ovos-control-panel
on the device, the plugin has its own page, Overheard manners, under
Everyday. It is described in controlpanel.json (strings in
locale/<lang>/controlpanel.json, 11 languages) and drawn by the panel; no
code of the plugin runs in the panel. It shows whether it is listening, and
why not if it isn't (no local STT, paused). It can pause and resume, and it
sets enabled, the cool-down and the sensitivity, which take effect at once
(ovos.overheard_manners.reload), no restart.
Languages
The phrases and replies cover Emkay's languages: Catalan, Danish, Dutch,
English, French, Galician, German, Basque, Italian, Portuguese and Spanish.
Good manners has word lists for English, Danish and German; for the other
languages this plugin carries a short list (locale/<lang>/foul_words.voc),
meant to move into good manners. The lists for Catalan, Basque, Galician and
Portuguese need a native speaker's review.
The phrases live in scripts/phrases.json.
scripts/build_phrases.py turns them into the model's phones (eSpeak NG, at
build time only) and scripts/heard_phones.py adds the phones the model itself
hears when Piper voices say them, which helps a lot for Danish. CI checks that
the phrase files are up to date.
Emkay
In Emkay the browser owns the microphone and Emkay's listener does what
ovos-dinkum-listener does. It does not feed audio transformers yet; that is
emkay#105, and this plugin
waits for it there. Emkay's speech to text is on the device by default, so its
listener hands it over (use_stt) and the plugin costs no extra model.
License
Apache-2.0
Metadata
Release files for ovos-audio-transformer-plugin-overheard-manners 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_audio_transformer_plugin_overheard_manners-0.1.0a2.tar.gz | 40.9 kB | With provenance | Details for ovos_audio_transformer_plugin_overheard_manners-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_audio_transformer_plugin_overheard_manners-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for ovos_audio_transformer_plugin_overheard_manners-0.1.0a2-py3-none-any.whl |
Total release size: 91.4 kB
Release files / ovos_audio_transformer_plugin_overheard_manners-0.1.0a2.tar.gz
| Download URL | ovos_audio_transformer_plugin_overheard_manners-0.1.0a2.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
630e61e3faec48449e7f8c63558d8023e265a234ce44b717307c377fc832e957
|
|
BLAKE2b-256 checksum How to use checksums |
d3398333d7f3bd5b73b9714826bc509c5fff91f8bad055e8f06257068457818a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / ovos_audio_transformer_plugin_overheard_manners-0.1.0a2-py3-none-any.whl
| Download URL | ovos_audio_transformer_plugin_overheard_manners-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 50.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e9693e3c06fe7f216b7c0e06f28281d4f8ce0ca910c363cd7b4f60da6336ff1
|
|
BLAKE2b-256 checksum How to use checksums |
6858346dd4295f6ad5c3566d019b1e5670c2d2b484d5488f265077cd6c8bc8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for ovos-audio-transformer-plugin-overheard-manners 0.1.0a2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ovos_audio_transformer_plugin_overheard_manners-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.