omi icon indicating copy to clipboard operation
omi copied to clipboard

Microphone Clicking & Time Slippage Issue

Open skywinder opened this issue 11 months ago • 1 comments

Issue:

  • Persistent clicking noise in audio recordings on multiple Omi Dev Kits.
  • Audio clip durations are inconsistent (e.g., set for 10s, but files are 25–50s long).
  • Occurs on various smartphones (e.g., OnePlus, Samsung Galaxy S24 Ultra) with firmware v2.02.
  • Direct Bluetooth connection (laptop_client.py) does not exhibit the issue.
  • Backend logs show occasional Opus frame decoding errors suggesting data corruption.

Steps to Reproduce:

  1. Record audio using an Omi Dev Kit on different smartphones.
  2. Observe the clicking noise and incorrect clip lengths.
  3. Compare recordings using direct Bluetooth connection to a computer.

References:

Notes:

  • The issue may be linked to backend buffering logic causing time slippage.
  • Affects transcription quality and audio processing reliability.

skywinder avatar Apr 07 '25 16:04 skywinder

This partially fixes it by making the phone clear the ring buffer faster, by using a lower connection interval #2348 As mentioned on the PR though, this is half the story, proper ring buffer overflow management is required and on the app side proper "received delayed packet" logic needs to be implemented.

AnkushMalaker avatar May 15 '25 06:05 AnkushMalaker