Featured

How to play MP3 files without a codec chip on the ESP32



Published
We're playing MP3 files with no additional hardware! As always, big thanks to PCBWay for sponsoring this video - check them out at www.PCBWay.com.

We're messing around with more audio in this video. This time we're looking at decoding and playing back MP3 files on the ESP32 - all done in software, no fancy codec chips required.

0:00 Why MP3?
2:55 Decoding MP3 Data
3:40 Headphone output using the built-in DAC
5:58 I2S Output to the MAX98537 Amplifier
8:06 Bonus content - volume control!

Here's a link to the record-breaking shortest published song: https://www.youtube.com/watch?v=ybGOT4d2Hs8

Here's my ESP32 audio playlist - there's a lot of gems in there for you to watch: https://www.youtube.com/playlist?list=PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD

And here's the code: https://github.com/atomic14/esp32-play-mp3-demo

You can get a headphone jack breakout board here (Amazon affiliate link): https://amzn.to/3wdinpW
Category
Audio
Be the first to comment