#include <envelopes.h>
Peak-decay filter with a linear shape and fixed-time return to constant value.
This is equivalent to a BoxFilter
which resets itself whenever the output would be less than the input.
Methods | |
PeakDecayLinear (int maxLength) | |
void | resize (int maxLength) |
void | set (double length) |
void | reset (Sample start=lowest) |
Sample | operator() (Sample v) |