TMRpcm audio recording buffer issues with Uno R3

Hi all,
I have an Uno R3 that records audio when a button is pressed. SD card is an 8GB and formatted at FAT32.

Sample rate: 16000 (doesn't make a difference if it's 8bit)

in pcmConfig.h I have:

#define buffSize 128
#define ENABLE_RECORDING
#define BLOCK_COUNT 100000UL

I've also tried these...

#define SD_FULLSPEED
#define buffSize 254

but I'm still getting skipping in my audio...

There is a note about class 4 cards and skipping in pcmConfig.h, but I'm not sure how to implement SdFat?

Here you may get some clues:TMRpcm SdFat Problem · Issue #77 · TMRh20/TMRpcm · GitHub
Personally, I think this problem will not exist if you use an Arduino Mega instead of UNO.

I was thinking about that, I'm not opposed to replacing the board entirely. Thank you very much.

I got the Mega and the problem is...worse.

After diving into that thread, I saw where it was mentioned that the default Arduino version of SD.h is just an old version of SdFat.h with bugs. I upgraded my sketch to work with SdFat and it works wonderfully. Thanks for your help!

Good to know that it's working now.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.