voice: default wake word to "Hey Computer", capture command after a pause
openWakeWord ships no "computer" model, so pin a community openWakeWord-compatible ONNX (Apache-2.0, sha256 in pins.json `wake_word`) and fetch it into .runtime/voice/wake from scripts/voice-models.py. Its scores run lower than the official models (~0.26-0.82 on the phrase, <0.02 on negatives), so the seeded wake.threshold is 0.2 (the official models score ~0.99 at 0.5). Also fix command capture: after the wake word the daemon now waits listen_timeout_s (default 3s) for the command's speech to begin instead of assuming it is glued to the wake word, so a natural pause while the cue beep plays no longer truncates the command.
This commit is contained in:
1 parent
ae37abbc3f
commit
ec39a990e4
7 files changed
+218
-29
No files matched your search
@@ -19,5 +19,13 @@
|
||||
"piper_train_ref": "efffbfb226bfb511ebbcf55d0cecd8b35a89743d",
|
||||
"base_checkpoint_url": "https://huggingface.co/datasets/rhasspy/piper-checkpoints/resolve/main/en/en_US/lessac/medium/epoch=2164-step=1355540.ckpt",
|
||||
"base_checkpoint_sha256": "ab7e5b8dab40f834b7cc58ae4ad7b7009c954b901e4ddbb784bbe11ce379a1cd"
|
||||
},
|
||||
"wake_word": {
|
||||
"_comment": "openWakeWord-compatible wake-word model refs fetched by scripts/voice-models.py into .runtime/voice/wake (deployment-independent, code-owned like the other pins). openWakeWord ships no 'computer' model, so this community-trained ONNX (Apache-2.0, same mel/embedding feature models) is pinned by sha256. 'phrase' is the spoken wake phrase.",
|
||||
"hey_computer": {
|
||||
"url": "https://huggingface.co/Soulcreek2/speechkit-wakeword-models/resolve/main/hey_computer.onnx",
|
||||
"sha256": "3acbd9ffff04beba2d16ebdfd0d4c734d65fecdd22446f25f4d0afa6e5d7606b",
|
||||
"phrase": "Hey Computer"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user