MP3 from internal memory? Core2
-
Hello, I am currently using tone generation in my code, and would like to switch it out for mp3 files. I am so lost on how to do this. every mp3 example I find errors out at compiling usualy saying something like from is not a valid (something) cant remember.
This is my current code:
if( cfg.dev_mode )
play_tone(3000, 100, 1);
else
play_tone(3000, 100, cfg.warning_volume);I would like to replace this with mp3 files stored in internal memory. Does anyone have an example or walkthrough I can try?
-
No, currently Micropython only supports .wav files
-
Here are a couple from excellent postings that should get you stared:
-
-
@oscillator said in MP3 from internal memory? Core2:
https://forum.m5stack.com/topic/143/lesson-6-1-speaker-mp3-player
That was written for the original M5Stack in Arduino and so due to so many changes in Arduino does not work any more.
@dimi are you still around?