Or with [rzero~ 1], you have a pd-vanilla way to calculate the current
sample minus the previous sample, and use trigger~ as before.

On Fri, Dec 5, 2008 at 11:50 AM, Charles Henry <[EMAIL PROTECTED]> wrote:
> How about you compare the current value with the previous value?
>
> ex.
>
> [fexpr~ $x[0] < $x[-1] ]
>
> The result is zero everywhere, except when the phasor~ resets itself.
> Then, you can use [threshold~ 0.5] to trigger a bang.
>
> Chuck

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to