input signal to analyze
resets the maximum observed value to the current absolute value of the input signal
input signal to analyze
resets the maximum observed value to the current absolute value of the input signal
A UGen to measure a signal's peak amplitude. Technically, this UGen works like
RunningMaxafter the absolute value of the input signal is taken.The UGen keeps an internal state that reflects the maximum absolute input value observed. When a trigger occurs at the reset input, it first copies the current maximum value to its output and then (quasi-simultaneously) resets its internal state to the current absolute input value. This way, the peak value seen from the outside at trigger time is the correct peak value up to that moment. See the 'illustrate timing' example to understand this timing.
Examples
Amplitude
PeakFollower
RunningSum
RunningMax
RunningMin