rsc3/doc-schelp/HelpSource/Classes/ToggleFF.schelp

32 lines
351 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
class:: ToggleFF
summary:: Toggle flip flop.
related:: Classes/SetResetFF
categories:: UGens>Triggers
Description::
Toggles between 0 and 1 upon receiving a trigger.
classmethods::
method::ar, kr
argument::trig
Trigger input.
Examples::
code::
(
play({
SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1,1000,60))) * 400) + 800, 0, 0.1)
}))
::