• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 MP3 storage and play via I2s

Q&A Forum › Category: ESP32 › ESP32 MP3 storage and play via I2s
0 Vote Up Vote Down
David Huisman asked 2 months ago

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?

Question Tags: mp3 i2s
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi David.

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.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (version 2.1) April 14, 2021
  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2021 · RandomNerdTutorials.com · All Rights Reserved