Skip to content

Bug Report: Voice Detection Delay Causes Missed Conversation Start #7206

Open

Description

@hugoaap-code

Bug Report: Voice Detection Delay Causes Missed Conversation Start

Voice detection battery-saving mode misses the first seconds of conversations after silence

There seems to be a bug with the new voice detection feature designed to save battery.

When the device has been in silence for a while and a conversation starts, the device does not begin recording immediately. Instead, it only starts recording after a delay, which causes the beginning of the conversation to be missed.

In my testing, I have noticed that up to 10 seconds of conversation can be missed before recording starts.

Steps To Reproduce

  1. Enable the new voice detection / battery-saving mode.
  2. Leave the device in a silent environment for a while.
  3. Start a conversation normally.
  4. Check the recording/transcription afterward.

Expected Behavior

The device should detect the beginning of the conversation quickly and start recording immediately, or at least preserve the first few seconds using a buffer.

Actual Behavior

The device starts recording only after a delay, causing the first phrase or first few seconds of the conversation to be missing.

Impact

This makes the feature unreliable for real conversations because important context can be lost at the beginning. Missing the first sentence often makes the rest of the conversation harder to understand or less useful.

Additional Notes

A short pre-roll buffer could help prevent this issue by capturing a few seconds before voice detection fully triggers recording.

Activity

  1. added
    p2
    bug
    on May 8, 2026
  2. aryanorastar commented on Aug 6, 2026

    @aryanorastar
    Collaborator

    VERIFY (2026-08-06) — DEVICE / firmware (no app-only residual)

    Checked against current main before pickup:

    • “Battery-saving voice detection” is pendant hardware AAD, not the app/backend Silero toggle (vadGateEnabled). After CONFIG_OMI_VAD_HOLD_MS (10s) of silence, enter_hw_aad() in omi/firmware/omi/src/mic.c pauses PDM and puts the T5838 into hardware sleep — mic off ⇒ zero PCM, so conversation onset is lost until WAKE + resume (+ SD remount offline).
    • Software VAD + ~800ms pre-roll lived in aad.c (feat - add VAD feature for Omi device and improve power consumption #6950) and was removed by #9048 in favor of hardware-only AAD. CONFIG_OMI_ENABLE_VAD_GATE=y is still set but does not gate PCM on current main.
    • App/backend 300ms streaming pre-roll cannot restore audio that never left the device.
    • No open PR claims Bug Report: Voice Detection Delay Causes Missed Conversation Start #7206. Fix requires restoring a bounded PCM pre-roll / gate (or delaying mic-off deep sleep) in firmware + OTA flash.

    Parking until hardware kit / firmware lane — not opening a duplicate app PR. Label app is misleading for this symptom.

  3. axAilotl commented on Aug 10, 2026

    @axAilotl
    Contributor

    Additional stock-firmware evidence from a freshly paired CV1 on 3.0.21 shows this can progress from a wake delay into a persistent no-wake state. The black-box trace entered AAD sleep at 79.136 s and recorded zero AAD wake events through 14,170,240 ms of uptime. Across two exports about 1 h 52 min apart, audio_frame stayed at 3,895, mic_buffer at 779, and storage-write counters at 17 even while the user was speaking. On a cold iOS app launch, BLE/GATT and the transcription WebSocket became ready, but the app then hit legacy_live_first_audio_timeout with audio_path_ready=false; speaking still did not wake the pendant. A pendant power/reset has historically restored audio, which points to the firmware AAD/microphone wake transition rather than the transcription backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugp2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions