[PD] pulling inverse values from timer
Claude Heiland-Allen
claudiusmaximus at goto10.org
Tue Mar 11 17:53:47 CET 2008
Hi Ben,
Ben Carney wrote:
> What I need to happen is this: if a short amount of time passes the
> number that is output is a large one and the inverse, if a lot of time
> passes,
bangs
| |
[timer]
|
[+ 1] // to prevent division by zero
|
[swap 1] // adjust this number if you like
| |
[/ ]
|
number
Reciprocals have this property:
1/x -> +0 as x->+inf
1/x -> +inf as x->+0
which I think is what you require.
Claude
--
http://claudiusmaximus.goto10.org
More information about the Pd-list
mailing list