Converting OSC to MIDI
in
Contributed Library Questions
•
5 months ago
Hi - I'm trying to use OSCP5 (
http://www.sojamo.de/libraries/oscP5/) to format an OSC message for the leap motion controller and route it as MIDI via OSCulator for use in Ableton, but I don't think my message is being constructed properly. Processing successfully broadcasts to OSCulator (I can see the proper messages being triggered) but I cannot choose an event type of MIDI, and Ableton doesn't recognize any MIDI signals. Anyone know what I might need to do? The message is constructed as follows:
myMessage = new OscMessage("/" + "finger" + idHand + "-" + idPointable);
myMessage.add(pointType);
myMessage.add(idHand);
myMessage.add(idPointable);
myMessage.add(p.x/sW);
myMessage.add(p.y/sH);
myMessage.add(p.z/sD);
where myMessage traces out like this:
null:0 | /finger0-2 siifff
I'm not sure why it looks like this, as, for example, p.x/sW renders a numerical value.
Thanks if anyone has any ideas. The project I'm trying to manipulate is this one:
1