Max Kinect drums project

Nov 24, 2011 at 7:58pm

Max Kinect drums project

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

#60225
May 2, 2012 at 9:20am

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

#216796

You must be logged in to reply to this topic.