Home Forums Sparkfun MP3 Shield Library Support Forum MPFlaga's Random Play Code

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #3492

    Hi all –
    I’m currently trying to run Michael’s Random Audio code that he was generous enough to share on GitHub (https://gist.github.com/mpflaga/5800889)

    The code is compiling, but I’m not hearing any playback.. Any suggestions for what might be the issue?

    I was also curious if there was a way to make the next random track playback after the current track finished playing. I’m new to this stuff, so I’m sorry if I’m asking the wrong question in the wrong place..

    Thank you!



    refer to the trouble shooting section of http://mpflaga.github.io/Sparkfun-MP3-Player-Shield-Arduino-Library/ it has several steps to investigate.

    That sketch will continuously play random tracks, back to back.


    I’m having a little trouble understanding everything here.. I have found that the regular “MP3 Shield Library Demo” code plays audio and operates as specified.
    The “Simple Example of Playing Random Tracks” code, however, is silent – and it does not send any error messages.
    I’m not sure how to debug in this situation..I apologize again, if this is not an appropriate question for this forum.




    Ah, it seems that the code on github needed a “sd.begin” line.



    I see, that was an old GIST, and had not updated it when the library changed.

    So I have updated it, to include the missing sd.begin() and in a few other GIST’s.


Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.