final case classPeak(rate: Rate, in: GE, trig: GE) extends SingleOut with Product with Serializable
A UGen to measure a signal's peak amplitude. Technically, this UGen works like
RunningMax after 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.
in
input signal to analyze
trig
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
RunningMax
after 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.
input signal to analyze
resets the maximum observed value to the current absolute value of the input signal
Amplitude
PeakFollower
RunningSum
RunningMax
RunningMin