Outputs the peak amplitude of the signal received at the input. If level is below maximum, the level decreases by the factor given in decay
.
Internally, the absolute value of the signal is used, to prevent underreporting the peak value if there is a negative DC offset. To obtain the minimum and maximum values of the signal as is, use the RunningMin and RunningMax UGens.
in |
The input signal. |
decay |
Decay factor. |