[PD] Getting a signal's slope

Krzysztof Czaja czaja at chopin.edu.pl
Tue Aug 27 12:36:17 CEST 2002


hi Frank,

"fexpr~ $x1[-2] - $x1[-1]" should work.  Btw, the same calc could
be done more efficiently with the z~ from zexy, or, even, with the
biquad~.

Krzysztof

Frank Barknecht wrote:
...
 > I tried something like "fexpr~ $x1[2]-$x1[1]" but that gave me only a
 > stream of "0"s when printed out with print~, even if I feed it a
 > phasor~, which never has two values the same in its signal vector, so





More information about the Pd-list mailing list