Voice activity detection
Spotting when someone is speaking in an audio stream, often abbreviated VAD.
Voice activity detection, or VAD, is the step that notices when someone is speaking in an audio stream, and when they have stopped. It is what lets a speech pipeline open a microphone, ignore the silence, and close a turn without a push-to-talk button. Get it wrong and the transcript is full of noise, or the product cuts the user off mid-sentence.
A good VAD is conservative about ending a turn, and honest about noisy rooms. Tune the hangover time so a brief pause does not submit the question, and so a long pause does not leave the product hanging. On device, this step also saves you from running a heavier speech model on long stretches of quiet.
Put VAD in front of speech-to-text, and let it inform text-to-speech as well: the product should not talk over a user who has started speaking again. Log the start and end of each detected span so you can debug a bad turn.
If your users are in quiet, single-speaker settings, a simple energy or model-based VAD may be enough. If they are in a crowd, budget time for this step; it is often the difference between a demo and a usable voice product.