Hallo, Charles Henry hat gesagt: // Charles Henry 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.
[threshold~] will trigger a block too late. Actually everything (in Pd-vanilla) will trigger a block late because message and dsp calculation are handled in turn. If I understood everything right, that is.
Frank