Glossary
Voice activity detection
Voice activity detection (VAD) decides which parts of an audio signal contain human speech and which contain silence, noise or music.
Voice activity detection (VAD) is the process of deciding, moment by moment, whether an audio signal contains human speech. It splits a recording or a live stream into speech and non-speech regions, so that later steps such as transcription, speaker labelling or a voice agent's turn-taking only work on the parts where someone is talking. A VAD usually looks at short frames of audio, often 10 to 30 milliseconds long, gives each one a speech probability, and then smooths those decisions into segments with a start and an end time. It is one of the oldest components in speech technology, going back to telephone systems that saved bandwidth by not transmitting silence, and it still sits near the front of almost every speech pipeline because it is cheap, fast and makes the steps after it more accurate.
Why voice activity detection matters
Most audio is not speech. A one-hour meeting recording contains pauses, chairs scraping, typing and the minutes before everyone joins. A call centre recording has hold music. A podcast has intros, jingles and ad breaks. Sending all of that to a speech-to-text model wastes compute and invites errors, because recognisers fed long stretches of noise sometimes produce text that nobody said. Trimming the non-speech parts first lowers cost, cuts latency and reduces those invented words, which shows up directly as a lower word error rate.
VAD also gives audio a structure. The boundaries it finds are natural places to split long recordings into pieces a model can handle, and they line up with how people speak: a pause usually marks the end of a phrase or a turn. Audio transcription systems use those boundaries to cut audio into segments, speaker diarization uses them to decide which regions need a speaker label, and real-time systems use them to decide when a person has finished talking.
How voice activity detection works
Every VAD follows the same outline. It splits the audio into frames, computes features for each frame, scores each frame as speech or not, then smooths the scores into segments. The approaches differ mainly in the scoring step, and the smoothing step is where most tuning happens.
Energy and threshold methods
The simplest detectors compare each frame’s energy, or loudness, against a threshold, sometimes adding the zero-crossing rate, which counts how often the waveform crosses zero and helps separate voiced speech from hiss. These methods need no training and run on almost any hardware. They work in quiet rooms and break down in noise, because a slammed door or a passing bus is loud too. Adaptive versions track the background noise level and raise the threshold when the room gets louder, which helps with steady noise but still cannot tell speech from other loud sounds.
Statistical models
Statistical detectors model the spectrum of speech and of noise separately, often with Gaussian mixture models, and ask which model better explains each frame. The VAD in the WebRTC project, widely used in browsers and open-source voice software, is a well-known example: it works on 10, 20 or 30 millisecond frames and offers several aggressiveness modes that trade missed speech against false alarms. These detectors are small and fast and cope with steady background noise, though they still struggle with music and with other people talking in the background.
Neural detectors
Modern detectors are small neural networks trained on large amounts of labelled speech and noise. Silero VAD and the segmentation models in pyannote are widely used open-source examples. They take spectral features or raw audio, often look at a window of context around each frame, and output a speech probability. Neural VADs are much better at ignoring music, television and crowd noise, and many still run in real time on an ordinary CPU. Some speech recognisers now include their own speech detection, but a separate VAD stage remains common because it is cheap to run first and easy to tune on its own.
Smoothing and hangover
Raw frame decisions flicker, so every VAD smooths them. A minimum speech duration discards blips shorter than, say, 250 milliseconds. A minimum silence duration stops short pauses between words from splitting a sentence in two. Hangover, also called padding, keeps a segment open for a little after the last speech frame and starts it a little before the first, so quiet word endings and soft consonants are not clipped. In practice these few settings often matter more to the end result than the choice of model.
Measuring VAD accuracy
A VAD makes two kinds of error. A miss labels speech as non-speech, which removes words before any recogniser sees them and cannot be fixed later. A false alarm labels noise as speech, which wastes compute and can lead to invented text. Systems report the miss rate and false alarm rate, or frame-level precision and recall, often as a curve across thresholds. The right balance depends on the job. Transcription for search usually prefers to keep a little extra noise rather than lose words, while a voice agent deciding whether to stop talking needs few false alarms, so that a cough does not cut it off mid-sentence.
Setting | Effect when raised | Typical concern |
|---|---|---|
Speech threshold | Fewer false alarms, more missed quiet speech | Soft-spoken or distant speakers dropped |
Minimum speech duration | Fewer blips from clicks and coughs | Short answers such as yes or no lost |
Minimum silence duration | Fewer split sentences | Separate turns merged into one segment |
Padding (hangover) | Fewer clipped word endings | More noise kept at segment edges |
Measured accuracy depends heavily on the test audio. A detector that scores well on clean read speech can do much worse on far-field meeting audio, phone calls or recordings with background music, so the most useful test is a sample of your own recordings labelled by hand. Audio properties matter as well. Narrowband telephone audio with a low sample rate, and files squeezed hard by a lossy audio codec, give any detector less information to work with.
Voice activity detection in voice agents
In real-time systems, VAD drives the conversation. A voice agent has to know when the user has finished speaking before it can reply, and it has to notice when the user starts talking over it so it can stop. The first job is called endpointing and the second is called barge-in. Endpointing is usually a silence timer on top of the VAD: once speech stops for a set time, often somewhere between a few hundred milliseconds and a second, the turn is treated as over. Set it too short and the agent interrupts people who pause to think. Set it too long and every reply feels slow, on top of the delay already spent waiting for the model’s time to first token and for speech synthesis.
Because a pause is a weak signal that someone has finished a thought, newer systems combine the VAD with a turn-detection model that looks at the words so far and at the speaker’s intonation. The VAD still runs underneath, because it is the component that notices speech starting within tens of milliseconds. The overall LLM latency budget of a voice agent is tight, and VAD and endpointing settings are often where the cheapest improvements are found.
A worked example
A team building call analytics for a support centre receives 4,000 recorded calls a day, averaging 11 minutes each. Roughly a quarter of each call is hold music, ringing or silence. Without VAD, every minute goes to the transcription model, and the hold music sometimes comes back as fragments of invented lyrics in the transcript.
They add a neural VAD before transcription, with a speech threshold of 0.5, a minimum speech duration of 250 milliseconds, a minimum silence of 500 milliseconds and 200 milliseconds of padding. The detector drops most of the hold music and silence, so transcription runs on about three quarters of the audio, and the stray lyrics stop appearing. Spot checks on 50 hand-labelled calls show that a few short customer answers, such as a quiet yes, were being cut, so they lower the minimum speech duration to 150 milliseconds and check again. The speech segments then feed diarization to separate agent from customer, and the transcripts are split into chunks at segment boundaries for search. The figures here are illustrative, but tuning against a small labelled sample of real calls is the usual pattern.
How VAD relates to neighbouring tasks
VAD answers whether someone is speaking. Speaker diarization answers who is speaking, and usually runs on the regions VAD found. Speech-to-text answers what was said. Word-level timestamps answer exactly when each word was said, and depend on the VAD not clipping the edges of words. Sound event detection, a broader task, labels many classes of sound such as music, applause or alarms, and is sometimes run alongside VAD so that non-speech regions are tagged rather than thrown away.
In video, VAD is one of several signals used to segment footage. Video scene detection and shot boundary detection split a video by what is shown, while VAD splits it by when people talk. Combining them gives segments that respect both, which is useful for video indexing and for video captioning, where subtitle cues should begin when speech begins. For retrieval the same principle applies as with chunking text: splitting audio at natural pauses keeps related words together better than cutting at fixed intervals.
Voice activity detection and Exabase
Exabase Extract handles transcription as part of one extraction API. Submit an audio or video file to POST /v2/extract and the result includes a transcript with timestamps, the duration, and text chunks that each carry timeStart and timeEnd in seconds, so you can see where speech falls in the recording. For video, the chunks also carry a visual analysis of each scene. Exabase does not expose a separate voice activity detection endpoint or a list of speech and silence regions, and it does not offer a live streaming speech API, so real-time endpointing for a voice agent belongs in your own audio stack. The extraction guide and the chunks endpoint describe the output in full.
Exabase is most useful after the audio has been transcribed. Recordings stored as Resources are transcribed and indexed automatically, and Deep Search returns the matching chunk with its timestamp range so an application can jump to the moment something was said, which is the basis of the asset search solution. The audio transcription tool and audio to JSON converter run on the same endpoint. The podcast and audio search and meeting assistants use cases show timed transcripts in practice. For dedicated real-time vendors, see the best speech-to-text API roundup and the Exabase vs Deepgram comparison, and for what an agent does once the words are recognised, see why voice agents need memory.
FAQs
What is voice activity detection?
Voice activity detection is the process of deciding which parts of an audio signal contain human speech. It labels short frames as speech or non-speech and joins them into timed segments that transcription, diarization or a voice agent can use.
What is the difference between VAD and speech recognition?
VAD detects whether someone is speaking, while speech recognition works out what they said. VAD usually runs first, so the recogniser only processes the parts of the audio that contain speech.
What is the difference between VAD and speaker diarization?
VAD finds where speech is, and diarization works out who is speaking in each region. Diarization normally runs on the speech regions that VAD returns, so VAD errors carry through to speaker labels.
Which voice activity detector should I use?
For most new projects a small neural detector such as Silero VAD is a sensible default, because it handles music and background noise far better than energy or statistical methods and still runs in real time on a CPU. WebRTC VAD remains a light option for constrained devices. Test any choice on a labelled sample of your own audio.
How does VAD affect voice agent latency?
The silence timeout on top of the VAD sets how long a voice agent waits before it replies. Shorter timeouts feel faster but make the agent interrupt people who pause, so many systems pair VAD with a turn-detection model. The memory for voice agents use case covers the rest of that loop.
Does Exabase provide voice activity detection?
Exabase does not expose a standalone VAD endpoint. Extract returns transcripts with timestamps and timed chunks for audio and video, which show where speech occurs, while real-time endpointing for live calls stays in your own audio pipeline.
Related pages: Speech-to-text, Audio transcription, Speaker diarization, Word-level timestamps, Word error rate, Voice agents, Shot boundary detection, File extraction solution, Deepgram vs AssemblyAI, sample rate