Hello.
I want to make a loop with my music, like when she stop she start again.
i’m using the minim library.
here is my code.
import ddf.minim.*;
Minim minim;
AudioSnippet son_musique;
void setup(){
minim = new Minim(this);
son_musique = minim.loadSnippet("test.mp3");
}
void draw(){
if(son_musique.isPlaying() == false){
son_musique.play();
}
}
void stop()
{
son_musique.close();
minim.stop
super.stop();
}