frame-codebase icon indicating copy to clipboard operation
frame-codebase copied to clipboard

Audible "pop" at the start of Frame microphone audio data

Open CitizenOneX opened this issue 1 year ago • 1 comments

Frame firmware: v24.276.1359

First mentioned by halfprice06 in Discord: https://discord.com/channels/963222352534048818/1242455966713253979/1293032517997432894

I reproduced the same on when I get audio data from the Frame mic: https://github.com/CitizenOneX/frame_audio_clip In this app, recording is initiated by a button press on the phone, so the obvious idea that this could be due to tapping the side of Frame is not applicable.

Not sure where it's coming from, but only seems to be present in the first ~1500 samples (in my case, 16-bit samples at 8kHz), so if I trim the first 3000 bytes before playing the audio, the pop goes away.

CitizenOneX avatar Oct 11 '24 05:10 CitizenOneX

I also ran into this when I was working on the initial prototypes of the developer SDKs, but I assumed I was doing something wrong with the wav audio processing since that’s not something I’m super familiar with. I got around it by just discarding the initial data as you suggested.

OkGoDoIt avatar Jan 07 '25 19:01 OkGoDoIt