I am wanting to set up a project to store MP3 files in ESP32 SPIFFS or NVS and then send them to Decoder via I2S.
I can find info on I2S and examples where people have used SD cards but I want to do away with the SD card.
Can anyone help please?
I don’t have experience with I2S. So, I can’t help with that part.
If you want to save the files in SPIFFS, you just need to follow the “regular” procedure to save any file in SPIFFS. You can check this tutorial: https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/.
Reading the SPIFFS files is very similar to what you do with the SD card if you’re using the FS.h library. I think all the functions are the same. You need to specify that your filesystem is SPIFFS and not the SD card.
I hope this helps a bit.