rsc3/doc/help/ugen/envelopes/pause-self.help.scrbl
2022-08-28 12:27:01 +02:00

18 lines
367 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(pause-self src)}
pause enclosing synth when input signal crosses from non-positive
to positive. If the synth is restarted and the gate reset the
synthesis *not* paused a second time.
@racketblock[
(audition
(mrg2 (pause-self (mouse-x kr -1 1 0 0.1))
(out 0 (mul (sin-osc ar 440 0) 0.1))))
]