Minim: Play a random song out of an array

-a- learn to make a good ?toggle? button ( mousePressed ) logic
-b- at setup start all song with .loop and .pause
and the toggle logic for one song would be

  if ( groove.isPlaying() )     groove.pause();
  else                          groove.loop();

while still need to pause all others.

1 Like