Processing.js: Unable to execute pjs sketch: ReferenceError: Minim is not defined
in
Processing with Other Languages
•
3 months ago
Hi, I have a problem with Minim and I can't make it work in Processing 2.0.1 (21 June 2013) environment and Javascript mode. I am using Chrome
Version 27.0.1453.110 m.
Library is installed in my Sketchbook_location\libraries\minim\library and all the JAR files are there
In fact, I can import minim library from Sketch menu.
I get the error:
Uncaught Processing.js: Unable to execute pjs sketch: ReferenceError: Minim is not defined
This is the code:
- import ddf.minim.*;
Minim minim;
AudioPlayer born;
void setup()
{
size(480, 800);
minim = new Minim(this);
born = minim.loadFile("Bubble.wav");
born.play();
}
void draw() {
stroke(255,255,255);
text("HI",10,10);
}
Any advice will be welcome!
PS: I'm sorry because I had posted this problem on the "Contributed Library Questions" when I realized that Minim is a "Core Library Questions"
1