repo.or.cz
/
supercollider.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
class library: SynthDef - lazy implementation of removeUGen
[supercollider.git]
/
HelpSource
/
Classes
/
ToggleFF.schelp
blob
b06c91e0cacbbbfec357db11d906b9b07e6fe309
1
class:: ToggleFF
2
summary:: Toggle flip flop.
3
related:: Classes/SetResetFF
4
categories:: UGens>Triggers
5
6
7
Description::
8
9
Toggles between 0 and 1 upon receiving a trigger.
10
11
12
classmethods::
13
14
method::ar, kr
15
16
argument::trig
17
18
Trigger input.
19
20
21
Examples::
22
23
code::
24
25
(
26
play({
27
SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1,1000,60))) * 400) + 800, 0, 0.1)
28
}))
29
30
::
31