Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Call An Event When a SoundFile Finishes Playing

$
0
0

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?


Viewing all articles
Browse latest Browse all 2896

Trending Articles