ATM playing music

So I’m using the atm library, and I opened up the example ‘song1’. I know how to change the music, I know how to change the image, but I want to know if there’s a way to wait until the music stops, then to start another song/loop the song. Thanks!

1 Like

ATMLib2 has atm_synth_is_score_stopped() (see ATMLib doesn’t have a function you can call but I believe it should be possible to establish if song playback is done by looking at the state bits in the library global struct.

(oops I got mixed up with my last reply) Got it. Thank you!