There's an implementation of a peak holder in this blog post:
I remember testing it but please let me know if you find a bug.

The current peak is replaced to whatever the input is after a desired time,
and the counter is reset whenever a new peak is found. It should be easy to
change it so that the peak is reset periodically.

I hope it helps.


On 2 February 2018 at 13:52, Roman Haefeli <> wrote:

> Hey all
> 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.
> It bugs my mind, but I can't think of a solution for this simply
> problem.
> Roman
> _______________________________________________
> mailing list
> UNSUBSCRIBE and account-management ->
> listinfo/pd-list
_______________________________________________ mailing list
UNSUBSCRIBE and account-management ->

Reply via email to