Additional Audio Player Example #2116
-
I've been experimenting with your player-sdfat-a2dp.ino example and I've gotten it to work fine. What I need, however, is an AudioSource class where I can call a function with an MP3 file name on the SD card and it will be played until complete and then return to be given another file to play. I don't need or want auto incrementing indices. This new AudioSource class should also have methods for playing status, starting, stopping, pausing, unpausing, etc. Does anyone out there have code to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you dont want to sequentially play all files, then the AudioPlayer might not be the best class. |
Beta Was this translation helpful? Give feedback.
If you dont want to sequentially play all files, then the AudioPlayer might not be the best class.
If you want to stick with it, just implement your own AudioSource or use the AudioSourceCallback as described in the documentation