Converting OSC messages from my LeapMotion controller to MIDI
Hey guys!
This is my first ever forum post. I'm fairly new to max and still trying to figure out some stuff.
I'm working on a project, in which I want to control a kslider, which is hooked into a comb filter kinda thing with my Leap Motion.
So far, I've gotten my LeapMotion to talk to Max via Wekinator and I'm getting my specified 3 output numbers into max using udpreceive.
Now, the question is... how do I take these values coming in and convert them to MIDI notes that max can understand. I also want to divide the 3 or 2 outputs coming from my leap motion to play the ranges 0-127.
So lets say:
(0.259031 & 0.275496) coming in from the LeapMotion, which is a certain hand gesture correspond to MIDI note 0... and (0.359041 & 0.175496) correspond to 127....
Does this make any sense?
Hi there . You want to use the scale object for that , scale 0. 1. 0 127, see the scale help ;-)
im also trying out wekinator