packages feed

hsc3-0.1: Help/UGen/Envelope/pauseSelf.help.lhs

pauseSelf src

Pause enclosing synth when input signal crosses from non-positive to
positive.

> let x = mouseX KR (-1) 1 Linear 0.1
> audition (MRG [pauseSelf x, out 0 (sinOsc AR 440 0 * 0.1)])

Run paused node (assuming no intermediate node is created).

> withSC3 (\fd -> send fd (n_run [(-1, True)]))