[PD] max value of last n samples
timvets at gmail.com
Fri Feb 2 16:30:12 CET 2018
is this any good?
[ fexpr~ if($x1>$y1[-1], $x1, $y1[-1]) ]
not sure how to reset it though...
2018-02-02 15:58 GMT+01:00 martin brinkmann <mnb at martin-brinkmann.de>:
> On 02/02/18 14:52, Roman Haefeli wrote:
> > Can this be done in vanilla? I'd like to output the maximum value of
> > the last N input samples in the signal domain. Ideally N would be
> > adjustable.
> i have used cascaded samphold~ objects in a similar situation.
> though n is not exactly adjustable this way...
> for bigger n (> blocksize) the bang~/tabread-solution is probably better.
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list