Gesture Volume Control

Jan 2, 2013 at 8:15pm

Gesture Volume Control

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

#65886
Jan 3, 2013 at 7:11pm

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!

#237290
Jan 4, 2013 at 7:17pm

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

#237291
Jan 4, 2013 at 7:25pm

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

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

cheers,
J

#237292

You must be logged in to reply to this topic.