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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login