I am using a Kinect to track a skeleton which I need to project back onto. I am on a Mac OSX10. Does anyone have any advice on how to calibrate my projector to project successfully back onto the person?
Ideally what I want is for MIDIout to be only sent once every time that mouseX enters the parameters of width/2 and to be sent as one continuos note until x>width/2.
My problem is that when x<width/2 the MIDIout message is constantly repeated depending on frameRate or on the delay I set.
How do I only make it sound once, and every time the mouse enters the <width/2 parameter?
I hope I have explained this clearly. I don't know if this is a specific MIDI issue or maybe I'm just not thinking of code implementation properly.
Thank you.
import themidibus.*;
MidiBus myBus;
void setup() {
size(200,200);
background(0);
myBus = new MidiBus(this, "", "Java Sound Synthesizer");