Replies: 2 comments
-
|
Hey @cknic, This is a great idea. The change is pretty straight forward to implement. Please share your testing results. edit fix typo in branch name # Testing: Configurable OpenWakeWord Threshold (branch: `configurable_oww_thresholds`)
This branch adds **configurable OpenWakeWord sensitivity** (activation threshold) to LVA.
The OpenWakeWord trigger check used to be hardcoded to `p > 0.5`. It’s now configurable via:
- a **global** setting in `config.json`, and/or
- an optional **per-model** override in the wakeword model’s `*.json` file.
1) Clone the branchgit clone --branch configurable_oww_thresholds --single-branch https://github.com/imonlinux/linux-voice-assistant2) Global threshold via
|
Beta Was this translation helpful? Give feedback.
-
|
I just merged the sendspin and configurable_oww_thresholds branches into main. Feel free to open issue if you run into anything. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now threshold is hardcoded to > 0.5 in audio_engine.py. (Line 165ish). Can we make this be configurable in config.json. My house is loud since i have a bunch of kids and i'm getting a bunch of false positives on "Alexa" (i know it might just be a poor wake word model) but so i don't have to hack the .py file i'd love if this is configurable. I know the old way of running the LVA command allowed the --wake-word-threshold option.
Beta Was this translation helpful? Give feedback.
All reactions