[PD] add or subtract value every N ms?

PROTMAN protman.makes.music at gmail.com
Fri Jul 27 00:45:20 CEST 2007

Using a joystick pad to send a +1 or -1; when the value changes to +1, I
want to increment a value every N ms, and when it is -1, I want it to
subtract from the value every N ms.

This will, in effect, cause the value to slide, at speed of N, between  0
and 127. I would also need to have these values limited so they do not slide
lower than zero or above 127.

any hints on how to implement this?


joe j hahn
joehahn at gmail.com
773.818.2762 cell

"All is fair in lunch and robot wars." ~Джо петух
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070726/9ac8c870/attachment.htm>

More information about the Pd-list mailing list