[PD] max value of last n samples

Roman Haefeli reduzent at gmail.com
Fri Feb 2 16:59:30 CET 2018


On Fre, 2018-02-02 at 16:30 +0100, tim vets wrote:
> is this any good?
> [ fexpr~ if($x1[0]>$y1[-1], $x1[0], $y1[-1]) ]

This will never return from the highest value ever experienced. I
really need the output to return after N samples.

> not sure how to reset it though...

Exactly.

Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180202/a149eb6e/attachment.sig>


More information about the Pd-list mailing list