Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Midibus Librairy issue in Processing 3

$
0
0

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! :)


Viewing all articles
Browse latest Browse all 2896

Trending Articles