I would suggest you look at [delta] the bigger the difference between two consecutive position measurements, the higher the speed of movement (provided that your measurements occur at regular time intervals) gr, Tim
2010/5/5 Greg Pond gregpond@gmail.com
if you need to measure the time between two events, I think [timer] is what you need. the attached patch might work for you- move the slider all the way to the end to trigger and gauge the speed of the movement. slide it back to zero to reset.
greg
On Wed, May 5, 2010 at 4:59 AM, Andrew Faraday jbturgid@hotmail.comwrote:
Hey all
I've had an idea, using a joystick to symbolically strike a bell, (I.E. when one axis hits a certain figure the bell sound is triggered, possibly with the timbre varied by the other axis). However, does anyone know of a way I can measure the speed of this movement using pd? Basically, the change in velocity in the half second or so before reaching the 'strike'.
I'm not sure if there's anything in PD to do this, but any ideas would be welcome.
Cheers,
Andrew
Get a free e-mail account with Hotmail. Sign-up now.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list