packages feed

hsc3-0.8: Help/UGen/Trigger/peak.help.lhs

peak trig reset

Outputs the maximum value read at the `trig' input until `reset' is
triggered.

> import Sound.SC3.ID

> let { t = dust 'α' AR 20
>     ; r = impulse AR 0.4 0
>     ; f = peak t r * 500 + 200 }
> in audition (out 0 (sinOsc AR f 0 * 0.2))