atomic14 / atomic14/esp32_audio

Spiky audio capture

Open
#24 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
467
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Hello!
I am trying to listen to the audio recorded by the ESP32, but it just sounds like a bunch of clicks. I looked at the raw audio data with Audacity and the audio waveform indeed is almost exclusively formed out of spikes. What could be causing this and how would one go about fixing it? I experimented with whether lowering the gain on the MAX9814 module by tying its gain pin high (40dB gain), but it did not help.
![Waveform](https://i.imgur.com/AMGyGrA.png) |
|:--:|
| The raw audio data in Audacity |

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the capture through the ESP32 ADC/I2S sample path and inspect the raw samples in Audacity, using the MAX9814 gain setting as a comparison point. Trace the audio-capture configuration to identify why the waveform consists of spikes, then confirm the result with a recording that produces usable audio samples rather than clicks.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.