Silence / noise floor User voice detected Barge-in frame Assistant thinking Assistant speaking

Voice Assistant Endpointing & Barge-In Lab (2D)

Before a conversational-AI system can generate a reply, it has to solve a much older and stricter problem: knowing exactly when the human stopped talking. This simulator renders that decision loop as two scrolling 2D waveform lanes — a live microphone track and the assistant's own speech track — driven by a real short-term-energy voice activity detector with exponential smoothing and hangover, a silence-timeout endpointing rule that decides when to hand the turn to the assistant, and a barge-in monitor that can cancel the assistant's speech mid-sentence the moment the user starts talking again. Drag the energy threshold and endpoint delay to see how a real voice assistant balances snappy turn-taking against cutting people off, and toggle barge-in to compare full-duplex and half-duplex conversation design.