Skip to main content
RunAnywhere.vad answers “is someone talking right now”. It is what a voice interface uses to decide when a turn has ended.

Signatures

There is no reset() on Web. Close the stream and open a new one between unrelated recordings.

Streaming from the microphone

Streaming from an iterable

Options

minSilenceMs is the one to tune. Too short and the assistant interrupts someone who paused; too long and it feels sluggish. prefixPaddingMs matters because detection lags the first syllable. Without padding, “hello” reaches the transcriber as “ello”.

You may not need this

For a spoken conversation, use the voice session. It runs VAD, transcription, generation, and speech together, with turn-taking and interruption already wired up.