voice: play a multi-note bling once the utterance is transcribed

Add a configurable cue.submit_notes sequence ([frequency_hz, duration_ms],
spaced by note_gap_ms) played after STT returns text, falling back to the
single submit_frequency beep when empty. Two-note chime shipped as the
default in config.example.json; README + tests updated.
This commit is contained in:
gabby committed 2026-10-09 22:30:07 +00:00
1 parent e2cbf74797
commit a388c292bc
4 files changed
+128 -6

No files matched your search

+4 -2
View File
@@ -228,13 +228,15 @@
"follow_up_window_s": 5.0,
"listen_timeout_s": 3.0,
"cue": {
"_comment": "Audible feedback. A short sine beep plays when the wake word fires so you know you're being heard; set submit_frequency > 0 for a second beep once the utterance is transcribed. volume is 0..1.",
"_comment": "Audible feedback. A short sine beep plays when the wake word fires so you know you're being heard; submit_notes is a short multi-note 'bling' played once the utterance is transcribed (each entry [frequency_hz, duration_ms], separated by note_gap_ms of silence). Set submit_notes to [] and submit_frequency > 0 for the older single submit beep, or leave both empty/0 for no submit sound. volume is 0..1.",
"enabled": true,
"frequency": 880,
"duration_ms": 120,
"volume": 0.9,
"submit_frequency": 0,
"submit_duration_ms": 100
"submit_duration_ms": 100,
"submit_notes": [[1046.5, 70], [1568.0, 90]],
"note_gap_ms": 20
},
"wake": {
"_comment": "model is an openWakeWord name/path. The default 'hey_computer' is a pinned community model whose scores run lower than the official models (measured ~0.26-0.82 on the phrase, <0.02 on negatives), so threshold 0.2 is tuned for it; the official models (e.g. hey_mycroft) score ~0.99 and are fine at 0.5.",