[PD] direction

Claude Heiland-Allen claudiusmaximus at goto10.org
Thu Apr 24 21:48:18 CEST 2008


Ben Carney wrote:
> I need to be able to tell direction the slider is being "slid"
> relative to the direction it started from.

((slider value) - (previous slider value)) > 0


slider
  |
[t f f]
   \ /
    X
   / \
[-    ]
  |
[>   0]
  |
[select 0 1]
  |        |
decrease increase



Hope this helps,


Claude
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list