1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"824.41">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #ad140d}
15 span
.s1
{color: #001bb9}
16 span
.Apple-tab-span
{white-space:pre
}
20 <p class=
"p1"><b>Gate
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>gate or hold
</b></p>
21 <p class=
"p2"><br></p>
22 <p class=
"p3"><b>Gate.ar(in, gate)
</b></p>
23 <p class=
"p2"><br></p>
24 <p class=
"p3">Allows input signal value to pass when gate is positive, otherwise holds last value.
</p>
25 <p class=
"p2"><br></p>
26 <p class=
"p3"><b>in
</b> - input signal.
</p>
27 <p class=
"p3"><b>gate
</b> - gate. The gate can be any signal. It will be treated as
"on" when its value is greater than zero.
</p>
28 <p class=
"p2"><br></p>
29 <p class=
"p4"><span class=
"s1">Server
</span>.internal.boot;
</p>
30 <p class=
"p5">// Control rate so as not to whack your speakers with DC
</p>
31 <p class=
"p4">{
<span class=
"s1">Gate
</span>.kr(
<span class=
"s1">WhiteNoise
</span>.kr(
1,
0),
<span class=
"s1">LFPulse
</span>.kr(
1.333,
0.5))}.scope(zoom:
20);
</p>