News for hackers. Stuff that matters.
Re:Show HN: Voice bots with 500ms response times by hackerbob on Thursday June 27, 2024 @03:21AM (#40808184)
This is indeed fast! Also seems to be no issue interrupting it while speaking. Is this using WebRTC echo cancellation to avoid microphone and speaker audio mix ups?
Re:Show HN: Voice bots with 500ms response times by makeitmore on Thursday June 27, 2024 @03:51AM (#40808344)
Yes, echo cancellation via the browser (and maybe also at OS-level too, if you're on a Mac with Sonoma.) The accuracy of speech detection vs. noise is largely thanks to Silero (https://github.com/snakers4/silero-vad) which runs on the client via WASM. I'm surprised at how well it works, even in a noisy environments (and a reminder that I should experiment more with AudioWorklet stuff in the future!)