linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / ToggleFF.schelp
blobb06c91e0cacbbbfec357db11d906b9b07e6fe309
1 class:: ToggleFF
2 summary:: Toggle flip flop.
3 related:: Classes/SetResetFF
4 categories::  UGens>Triggers
7 Description::
9 Toggles between 0 and 1 upon receiving a trigger.
12 classmethods::
14 method::ar, kr
16 argument::trig
18 Trigger input.
21 Examples::
23 code::
26 play({
27         SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1,1000,60))) * 400) + 800, 0, 0.1)
28 }))