You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: VAD gate clips beginning of phrases — first words lost in transcription #5265
Bug: VAD gate clips the beginning of phrases — first words not transcribed
Platform: Android (latest app version)
Problem
The Voice Activity Detection (VAD) gate is too slow to activate, causing the beginning of phrases to be missed. When a user starts speaking, the first few words are clipped and never reach the transcription service. This results in incomplete transcripts missing the start of sentences.
Expected Behavior
VAD should activate fast enough that no audible speech is lost. A pre-roll audio buffer should capture audio before VAD triggers, so the beginning of speech is always included.
Actual Behavior
The first words of phrases are cut off and don't appear in the transcription. The VAD gate only starts sending audio after it detects speech, but by then the initial words are already gone.
Suggested Fix
Add a pre-roll ring buffer (e.g. 300-500ms) that continuously stores audio. When VAD triggers, send the buffered audio first, then continue streaming. This ensures the start of speech is never lost.
Tune VAD sensitivity/threshold to trigger faster on speech onset
Consider a shorter VAD activation delay
Reported by community member on Discord (Android, latest version).
Related: VAD gate feature (#4644, PR #4931). This appears to be a regression from the VAD gate implementation — the gate activates after speech starts, clipping initial words. A pre-roll audio buffer may be needed. cc #5235 (keepalive fix already merged).
One more thing — to help us look up your account and logs, please share your user ID (open Omi app → Settings → Profile → scroll to bottom). For privacy, redact the middle — e.g. abc...xyz.
Also @aaravgarg — can we link the original Discord thread to this issue? Helps us follow up with the reporter.
Activity
beastoin commentedon Mar 2, 2026
Related: VAD gate feature (#4644, PR #4931). This appears to be a regression from the VAD gate implementation — the gate activates after speech starts, clipping initial words. A pre-roll audio buffer may be needed. cc #5235 (keepalive fix already merged).
beastoin commentedon Mar 2, 2026
Needs more info to reproduce:
Please provide the above so we can reproduce. Adding
needs-infolabel.beastoin commentedon Mar 2, 2026
One more thing — to help us look up your account and logs, please share your user ID (open Omi app → Settings → Profile → scroll to bottom). For privacy, redact the middle — e.g.
abc...xyz.Also @aaravgarg — can we link the original Discord thread to this issue? Helps us follow up with the reporter.
undivisible commentedon Jul 20, 2026
VAD pre-roll — confirmed: vad_gate.py has VAD_GATE_PRE_ROLL_MS, _pre_roll_ms, _pre_roll deque for 300ms pre-roll.