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.com> wrote:
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