Hello! I hope somebody can help me. I'm experiencing an issue with processing 3. So the idea is basically to display something when receiving some midi in. It works like a charm with processing2 but when i run it in processing 3 it doesn't work anymore. Any idea where the problem come from? Did anything changed in processing 3 related to that? The code:
import themidibus.*; MidiBus myBus;
void setup() { size(400, 400); background(255); myBus = new MidiBus(this, "LoopBe Internal MIDI", "LoopBe Internal MIDI"); }
void draw() {
}
void noteOn(int channel, int pitch, int velocity) { fill (0); ellipse (200,200,100,100);
}
void noteOff(int channel, int pitch, int velocity) { background(255);
}
Thanks a lot! :)