Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : minim and brigtest x

$
0
0

correct.

you can also invent your own var
  1. boolean playing = false;

always when you want to start any song (toc.trigger(); etc.)
check if playing is true
  • if yes, don't start the song
  • if no, start the song and set playing to true
  • when the song stops (because it's over, song.isPlaying() is false for all songs) make sure to set playing to false again


Greetings, Chrisir    

If you need an answer, please send me a personal message since this forum doesn't notify.

Viewing all articles
Browse latest Browse all 1768

Trending Articles