Go Down

Topic: Using Lilypad mp3 to play multiple tracks per trigger (Read 392 times) previous topic - next topic


I'm trying to modify code that goes along with the Lilypad mp3 board. There are two examples, "Trigger" and "Player". I'm trying to take the "Trigger" sketch and make it so that instead of playing one file, it will randomly select a file from storage and play it. This has proved much more difficult than I anticipated because my understanding of code is very simple and I don't quite grasp how the files are being read from the sd card into the code. Here is a link to the library I'm trying to figure out.


If anyone has experience with reading from sd cards through arduino, or has any input, I would greatly appreciate it. I have attached my own chopped up version of code, which I'm sure will end up being quite laughable. Hopefully it gets across my intentions.

Go Up