Skip to content

feat(sounds): add a spoken "your turn" alert - #8

Merged
42piratas merged 2 commits into
mainfrom
chore/alberto-20260819-spoken-alert
Aug 19, 2026
Merged

feat(sounds): add a spoken "your turn" alert#8
42piratas merged 2 commits into
mainfrom
chore/alberto-20260819-spoken-alert

Conversation

@42piratas

Copy link
Copy Markdown
Collaborator

A blip competes badly with ambient audio; two spoken words register as directed at you.

yourturn is a pre-rendered clip, so it needs no new machinery — hey is registry-driven end to end (hey_registryhey_lookup_hey_emit), and nothing in that path cares whether the wav is a synthesized blip or a voice. That also means the reverse-beep channel is untouched: it still forwards only the sound name over SSH, never text, and no TTS runs on the remote box.

Changes

  • assets/yourturn.wav — rendered offline with johnny (Kokoro, voice af_sarah), silence-trimmed and normalised to 0.76s
  • config.sh — one registry row
  • README.md — the "sound only, no speech" line is now wrong; reworded, plus the sound list and the clip's provenance

Verified

  • hey lists yourturn; hey beep yourturn plays it (rc 0)
  • hey beep bogus still errors (rc 1) — lookup unchanged
  • hey where unchanged

Not in scope

config.sh has four pre-existing shellcheck findings (SC2148, SC1091, SC2034, SC2016) — none introduced here. Happy to clean them in a separate PR.

A blip competes badly with ambient audio; two spoken words register as
directed at you. `yourturn` is a pre-rendered clip, so it is just another
registry row — no synthesis at alert time, and the reverse channel keeps
forwarding only the sound NAME, never text.

assets/yourturn.wav: rendered offline with johnny (Kokoro, af_sarah),
silence-trimmed and normalised to 0.76s.
johnny's _voice_play touches $VOICE_OUT.spoke as a session marker; pointing
VOICE_OUT at assets/ during the render left an empty yourturn.spoke behind.
@42piratas
42piratas merged commit 0d9663f into main Aug 19, 2026
1 check passed
@42piratas
42piratas deleted the chore/alberto-20260819-spoken-alert branch August 19, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant