M5Atom
M5Atom copied to clipboard
Some example of mp3 playback by http for the module ATOM Speaker Kit (NS4168) ??
Hello, would someone be so kind as to tell me where I can find an example of playing mp3 music via http for this module?
Thank you very much. Fran
https://github.com/m5stack/M5Atom/blob/master/examples/ATOM_BASE/ATOM_SPK/PlayMP3FromSD/PlayMP3FromSD.ino
There is a sample to play from SD.
AudioFileSourceSD -> AudioFileSourceHTTPStream
If you change it to, you may be able to play it.
A more difficult sample. https://github.com/m5stack/M5Unified/blob/master/examples/Advanced/MP3_with_ESP8266Audio/MP3_with_ESP8266Audio.ino