Closed jremington closed 5 months ago
Audacity showing of a typical glitch at buffer boundary, 440 Hz tone recorded. The recording sounds terrible when played back!
Resolved. The dropped samples appear to be a timing conflict between PDM buffer copying and the QSPI flash writes. Increase PDM microphone buffer size to 1024 samples (2048 bytes), and write 2048 byte frames to the QSPI flash.
Operating System
Windows 10
IDE version
Arduino 1.8.19
Board
Adafruit Clue
BSP version
github latest
Sketch
What happened ?
I'm using the Adafruit Clue as a recorder of audio clips, and discovered that audio samples are dropped every 2048 samples (as I have presently coded it).
Please see complete code and complete description of the problem at https://forums.adafruit.com/viewtopic.php?t=205785
How to reproduce ?
run posted sketch, record continuous tone and check example data output.
Debug Log
No response
Screenshots
See screenshots in post https://forums.adafruit.com/viewtopic.php?t=205785