M5Atom icon indicating copy to clipboard operation
M5Atom copied to clipboard

Some example of mp3 playback by http for the module ATOM Speaker Kit (NS4168) ??

Open franciscogimeno2000 opened this issue 3 years ago • 1 comments

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

franciscogimeno2000 avatar Feb 23 '22 08:02 franciscogimeno2000

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

tanakamasayuki avatar Feb 24 '22 02:02 tanakamasayuki