Voice Activity Detection

Voice Activity Detection

Identifies speech and silence segments in a classical way: frame energy (dB) and zero-crossing rate with an adaptive threshold and temporal smoothing, then shows the timeline and the start, end, and duration of each segment.

Runs in the Browser

Learning Objective

Understand energy-based VAD and its limits in noise, and compare it with neural classifiers.

Experiment

Audio is processed inside your browser and is not sent to the server. The microphone is opened only when you press it.

Experiment Details

Prerequisites

  • Audio file or recording

Inputs

An audio file you upload from your device or a microphone recording; processing happens inside your browser and nothing is sent to the server.

Method

Energy of each frame $E=10\log_{10}(\mathrm{RMS}^2)$, noise floor = the 10th percentile, threshold = floor + margin (dB), then merging short segments.

Results

A list of segments (speech/silence) with Start/End/Duration, and the ratio of speech to the total.

Charts

A Timeline above the waveform.

Scientific Interpretation

The method works in low, stationary noise and fails with high noise or whispered speech; this is not the result of a neural model.

Questions for Reflection

  • Why is an adaptive threshold better than a fixed threshold?

References

  1. Silero Team. Silero VAD (software repository). GitHub. Source
  2. Rabiner. A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of the IEEE 77(2):257-286 (1989). DOI

Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy