Call An Event When a SoundFile Finishes Playing

edited March 2016 in Library Questions

I am using sound files, and I want to, when a sound file is finished playing, call an event that chooses another sound file and plays it. I can get the duration of the file, but since what I'm running doesn't have a perfect frame rate, it is hard to find how long it actually takes. I can use millis(), but is there a better way?

Tagged:
Sign In or Register to comment.