Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech g...

@show

Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech github.com · 5 points · 0 comments · HN thread

TL;DR RealtimeVAD is a Python library that wraps Silero VAD with a faster 10 ms energy-based check that adapts to room noise, emitting a 'pause' event about 100 ms before Silero's probability drops and an 'end' event about 0.24 s after speech-off. The author reports the lead on about 3,279 real voice-assistant turns, with the trade-off that pause events fire roughly ten times as often as Silero's, so they must be used for cancellable speculative work. The post is a Show HN with 5 points and no comments yet.

  • Keeps Silero VAD for speech classification and adds a 10 ms energy detector that compares the audio level with room noise and the speaker's own level.
  • Pause (speech-off) fires a median 100 ms before Silero's probability falls below 0.5, measured on 3,279 real turns; the end event comes before Silero's in 82% of turns, by a median 70 ms.
  • Pause fires about 1.5 times per second of speech versus 0.14 for Silero, so it is intended for speculative work that can be cancelled, not as the end of a turn.
  • Quiet speakers and noisy quiet lines were a weakness; since 0.0.5 a speaker-relative floor is used, and on noisy quiet input the lead disappears.
  • Runs on one CPU thread with only numpy and onnxruntime; the Silero model is bundled, and there is a LiveKit plugin.
  • Status is alpha (0.0.5), and results come from one speaker and one capture chain, mostly in quiet rooms.

Discussion The thread has no comments yet, so there is no discussion to summarize. The only signal is the author's own post, which asks for feedback on other people's data and points to a benchmark script.

#voiceAssistants #vad #speechRecognition #python #latency