Play specific files on condition #944
-
Hello everyone, thanks for the great library, setup was easy and very well documented. I got the player-sdfat-i2s example up and running. My main goal is to have a function (something like
Result: I can listen to this file, once. So far, so good. What I prefer to have is
Can someone please point me in the right direction, how to implement this? I think the Best |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no reason why calling player.setPath() in the loop should not work. |
Beta Was this translation helpful? Give feedback.
There is no reason why calling player.setPath() in the loop should not work.
Just make sure that it is only called once (and not constantly which would disturb the processing).