Hi, I am trying to play a sound by using the library: minim when a variable becomes true. The problem occurs when I want to loop the sound when it is done playing so it would be nice if I could get a simple example to see how it works
Have you seen this (python). Loop function works the same in java mode.
minim = Minim(this) minim.loop()
Also take a look at the bundled examples for the library: File > Examples…
Here is AudioPlayer.loop() in the minim documentation: