RealtimeVAD
RealtimeVAD is a voice activity detection approach that uses a 10 ms energy detector with a threshold adapting to room noise to detect end of speech about 110 ms earlier than Silero VAD, accepting more false positives in exchange for lower latency in a speculative-generation voice assistant pipeline. It was benchmarked over ~3200 turns from the author's assistant logs and is published on GitHub with a benchmark script.
What it addresses
Silero's speech-off signal lags visibly, delaying end-of-speech detection in the author's local voice assistant.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
RealtimeVAD
RealtimeVAD is a voice activity detection approach that uses a 10 ms energy detector with a threshold adapting to room noise to detect end of speech about 110 ms earlier than Silero VAD, accepting more false positives in exchange for lower latency in a speculative-generation voice assistant pipeline. It was benchmarked over ~3200 turns from the author's assistant logs and is published on GitHub with a benchmark script.
Problem: Silero's speech-off signal lags visibly, delaying end-of-speech detection in the author's local voice assistant.
Posted by @koljab · Original source ↗
Story title · @koljab · · Source ↗
Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech
Submitted URL · @koljab · · Source ↗
https://github.com/KoljaB/RealtimeVAD
Source text · @koljab · · Source ↗
I recently watched the latency reports for my local voice assistant, which show a waveform plus silero probability for voice activity. I noticed silero lags visibly on the speech off signal.
Source text · @koljab · · Source ↗
My idea was to use a 10 ms energy detector with a threshold that adapts to environment or room noise. Which worked amazingly well. It created more false positives but in my speculative generation pipeline that would not matter.
Source text · @koljab · · Source ↗
I benchmarked my solution over ~3200 turns from my assistant logs and it came out ~110 ms faster initially. Still 100 ms now after some a fix which was needed for quiet speech.
Source text · @koljab · · Source ↗
I made it public if you want to have a look. If you measure it on your data I really appreciate any feedback. There's a benchmark script in the repo.