hsc3-0.8: Help/UGen/Trigger/runningMax.help.lhs
runningMax in trig
Track maximum level. Outputs the maximum value received at the
input. When triggered, the maximum output value is reset to the
current value.
in - input signal
trig - reset the output value to the current input value
> import Sound.SC3.ID
> let { n = dust 'α' AR 20
> ; t = impulse AR 0.4 0
> ; f = runningMax n t * 500 + 200 }
> in audition (out 0 (sinOsc AR f 0 * 0.2))