Forums > MaxMSP

Gesture Volume Control

January 2, 2013 | 8:15 pm

Hey guys

I am building a gesture controlled granulator, but I want the volume to be controlled by how close the hands are together

I am using cv.jit_OSX_v1.7.2 but modified to utilise the data capture of two dots rather than one.

So what method would be best to analyise the distance between each dot and effect the volume according to this?

Cheers, J

January 3, 2013 | 7:11 pm

Pythagorean ?

But, instead of dong it yourself, which is not that difficult, i prefer this way

— Pasted Max Patch, click to expand. —

I have used this for finding the distance between the barycenter f two figures, and it works fine!
Hope it helps!

January 4, 2013 | 7:17 pm

cheers pal,

but where it has the two inlets for the incoming coordinates, if I am tracking two different points, will do I put the x and y of one, both in the same inlet and use the other inlet for the x and y of the other?

or do I need to build a separate one for the other tracked gesture?

cheers, J

January 4, 2013 | 7:25 pm

hey, dude forget that last post, I have it working

cant thank you enough, was racking my brain for ages on that ha.


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP