feat(plip): voice-activated two-phase capture #27

Merged
electron merged 1 commits from fix/plip-voice-capture into main 2026-06-17 12:40:30 +00:00
Owner

Two-phase listen capture (wait for sustained voice, then record to silence); empty captures not posted; DC-block + VAD tuning for the quiet SLIC handset mic; PA kept on during capture; /debug/miccap raw-capture diagnostic. Validated at the bench: handset voice transcribes (speech-band energy 1%->68% after a connection fix), playback clean at 0dB DAC + vol 90.

Two-phase listen capture (wait for sustained voice, then record to silence); empty captures not posted; DC-block + VAD tuning for the quiet SLIC handset mic; PA kept on during capture; /debug/miccap raw-capture diagnostic. Validated at the bench: handset voice transcribes (speech-band energy 1%->68% after a connection fix), playback clean at 0dB DAC + vol 90.
electron added 1 commit 2026-06-17 12:40:12 +00:00
feat(plip): voice-activated two-phase capture
CI / platformio (push) Failing after 9m50s
CI / platformio (pull_request) Failing after 10m14s
82759ee536
Listen-loop capture now only commits when the caller actually speaks:
phase A waits for a sustained voice onset (3 frames above threshold,
rejecting the PA-mute click), phase B records until silence. Empty
captures are no longer posted, so the NPC never replies to silence.
Also: DC-blocking high-pass on the captured mono, VAD thresholds tuned
to the quiet SLIC handset mic (onset ~1.4%, silence ~0.6%), keep the
PA on during capture (muting it collapsed the mic), and add a
/debug/miccap diagnostic endpoint (raw fixed-duration mic capture).
electron merged commit 82759ee536 into main 2026-06-17 12:40:30 +00:00
Sign in to join this conversation.