feat(sounds): add a spoken "your turn" alert - #8
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A blip competes badly with ambient audio; two spoken words register as directed at you.
yourturnis a pre-rendered clip, so it needs no new machinery —heyis registry-driven end to end (hey_registry→hey_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, voiceaf_sarah), silence-trimmed and normalised to 0.76sconfig.sh— one registry rowREADME.md— the "sound only, no speech" line is now wrong; reworded, plus the sound list and the clip's provenanceVerified
heylistsyourturn;hey beep yourturnplays it (rc 0)hey beep bogusstill errors (rc 1) — lookup unchangedhey whereunchangedNot in scope
config.shhas four pre-existing shellcheck findings (SC2148, SC1091, SC2034, SC2016) — none introduced here. Happy to clean them in a separate PR.