ErichHeinemann / ESP32-Audio-Tests-ML

This Repository is a collection of modified Repositories created by Marcel License
GNU General Public License v3.0
16 stars 3 forks source link

Drum sample player reads directory but can't open files #5

Open coatsiecoates opened 4 months ago

coatsiecoates commented 4 months ago

Serial monitor is showing me the files and their respective sizes that are loaded by littleFS, but unable to load them.

In order to get the sketch to compile at all, I had to change LITTLEFS.h to LittleFS.h

I've tried Lolin32 and ESP32DEV boards. Both are WROOM-32.

I've used Arduino 1.8.19 and 2.3.2 IDE for sketch upload, and only 1.8.19 for the LittleFS upload.

I've tried LittleFS 1.0.0, 1.0.5, and 1.0.6

I tried enabling and disabling PSRAM

Loading data Firmware started successfully Setup done Listing directory: /0/ FILE: 001_BD9.wav SIZE: 56254 FILE: 002_SD9.wav SIZE: 23666 FILE: 003_LT9.wav SIZE: 58488 FILE: 004_HT9.wav SIZE: 44346 FILE: 005_RM9.wav SIZE: 6058 FILE: 006_CL9.wav SIZE: 39080 FILE: 007_OH9.wav SIZE: 17938 FILE: 008_CH9.wav SIZE: 9918 FILE: 009_RD9.wav SIZE: 78490 FILE: 010_CR9.wav SIZE: 70670 FILE: 011_CO9.wav SIZE: 12158 FILE: 012_CL9.wav SIZE: 2256

ListSamples: s[0]: 001_BD9.wav error openening file! s[1]: 002_SD9.wav error openening file! s[2]: 003_LT9.wav error openening file! s[3]: 004_HT9.wav error openening file! s[4]: 005_RM9.wav error openening file! s[5]: 006_CL9.wav error openening file! s[6]: 007_OH9.wav error openening file! s[7]: 008_CH9.wav error openening file! s[8]: 009_RD9.wav error openening file! s[9]: 010_CR9.wav error openening file! s[10]: 011_CO9.wav error openening file! s[11]: 012_CL9.wav error openening file! ESP.getFreeHeap() 189856 ESP.getMinFreeHeap() 187464 ESP.getHeapSize() 223164 ESP.getMaxAllocHeap() 110580`