player = minim.loadFile("GhostBusters.mp3");
minim = new Minim("GhostBusters.mp3");
So, you init minim after you started to use it...
Invert these two lines.
Beside, the Minim constructor must be called with a this parameter, not with the file name.
So, you init minim after you started to use it...
Invert these two lines.
Beside, the Minim constructor must be called with a this parameter, not with the file name.