Forums > MaxMSP

Max Kinect drums project

November 24, 2011 | 7:58 pm

Hi guys!!!!

I’m working on a kinect virtual drum kit. I was wondering if any of you guys had any idea on how i could achieve velocity when using the kinect??

Cheers
Ed


May 2, 2012 | 9:20 am

Hi,
You have to compute the distance between two position.
distance = sqrt((x0 – y0)2 + (x1 – y1)2)
(if you want an external look at my tools or the zsa objects, there are objects that compute distances)
then compute the velocity :
velocity = distance/time
The most difficult is to know wich values to take. I think the best is to take the values when y is highest for time 0 and lowest for time 1.

Pierre


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