Skip to content
47% off: the complete course for $79 (reg. $149)Order now →
AI Builder

AI builder glossary

Voice activity detection (VAD)

Detecting when someone is speaking in an audio stream, used to decide when a user's turn has ended and to skip silence before transcription.

Voice activity detection classifies short slices of audio as speech or not speech. It's a small, fast component that sits in front of heavier models. In a voice assistant it decides when the user has finished talking; in transcription it can drop long silences and split recordings at natural pauses.

In realtime voice features, VAD settings shape how the conversation feels. Basic VAD ends the user's turn after a fixed stretch of silence, which cuts off people who pause to think, while a long silence window makes the assistant feel sluggish. Semantic turn detection, offered by some realtime APIs, uses a model to judge whether the user sounds finished instead of counting milliseconds. VAD also drives barge-in: when the user starts talking over the assistant, playback has to stop immediately.

Background noise, other people's voices, and echo from the device's own speaker can all register as speech and trigger false turns. Echo cancellation, a push-to-talk option for noisy settings, and testing with slow and non-native speakers catch most of these problems. Make the state visible, listening versus thinking versus speaking, so users understand what the system heard.

Example

A kitchen voice assistant kept cutting users off while they read ingredient labels aloud. The team switched from fixed-silence VAD to semantic turn detection with low eagerness and added a hold-to-talk button for noisy kitchens.

Learn more in the course

Related terms

Go from definitions to doing

Learn to build AI-powered apps in 132 practical lessons.