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

Re : I'm trying to add sound..

$
0
0
  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.

Viewing all articles
Browse latest Browse all 1768

Trending Articles