Play audio files with Espruino #7419
Replies: 1 comment
-
Posted at 2020-09-28 by @gfwilliams Maybe take a look at: http://www.espruino.com/Waveform You can't decode MP3s right now but if you write a raw audio file then you can play that. I'm not 100% sure how well it works on ESP32 but it's fine on the official boards anyway Posted at 2020-09-28 by user118421 That is great, sorry for failing to find this information! I don't know very much about raw audio files but as the guide seems very clear this should be perfect and I'll run it on a Pico :) Posted at 2020-10-04 by user118421 I was able to play raw audio files directly from the code and also from an sd card (on the original Espruino board) according to the instructions shown below but I have a speed issue. Placing the raw audio inline it seems to be played at random speed. I should use the Base 64 option when converting? I believe I followed the instructions exactly but when the file is played the speed varies each time. If I instead stream from the sd card it sounds like the file is played at very high speed. I believe I followed the instructions exactly but maybe I need to change some parameters in the streaming example? Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-09-26 by user118421
Hello,
Is it possible to play mp3s (or any other audio files) on an ESP32 (or any other microcontroller) using Espruino?
I have not been able to find any info on this, maybe I can stop looking?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions