0

How to check if mp3 file is still playing.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to check if mp3 file is still playing.

by DanlB on Fri Oct 30, 2020 2:31 pm

I have a music player shield running on an Arduino Uno. Works great. I need to occasionally check if a file is still playing/not playing. I suspect there is a way to do this in the VS1053 library but haven't found it yet. Would be grateful if someone could show me where to look, tell me how to do it.

DanlB
 
Posts: 2
Joined: Fri Oct 30, 2020 2:24 pm

Re: How to check if mp3 file is still playing.

by DanlB on Fri Oct 30, 2020 3:46 pm

Well lol. The answer was under my nose. "if (musicPlayer.playingMusic)..." I'm humbled. On to greater challenges.

DanlB
 
Posts: 2
Joined: Fri Oct 30, 2020 2:24 pm

Please be positive and constructive with your questions and comments.