mikael-lovqvists-claude-agent 9d2ffd1b0d Fix silence timeout never firing — gate on audio amplitude
on_audio was resetting the timer on every chunk including silence,
so the timeout never fired. Now passes the raw chunk and checks RMS;
only resets if energy is above 0.02 (speech, not ambient silence).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 05:09:20 +00:00
Description
Voice pipeline experiment: local STT/TTS interface for Claude Code. Published for transparency — work in progress.
108 KiB
Languages
JavaScript 78.8%
Python 14.4%
Shell 6.8%