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.42">
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: 18.0px Helvetica
; min-height: 22.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: 12.0px Helvetica
; min-height: 14.0px}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #a71e12}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica
}
17 span
.s1
{color: #0019b7}
18 span
.Apple-tab-span
{white-space:pre
}
22 <p class=
"p1"><b>OutputProxy
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>output place holder
</b></p>
23 <p class=
"p2"><br></p>
24 <p class=
"p3"><b>Superclass: UGen
</b></p>
25 <p class=
"p4"><br></p>
26 <p class=
"p3">OutputProxy is used by some UGens as a place holder for multiple outputs.
</p>
27 <p class=
"p3">There is no reason for a user to create an OutputProxy directly.
</p>
28 <p class=
"p4"><br></p>
30 <p class=
"p5"><span class=
"s1">var
</span> out;
</p>
31 <p class=
"p6">// Pan2 uses an OutputProxy for each of its two outputs.
</p>
32 <p class=
"p5">out =
<span class=
"s1">Pan2
</span>.ar(
<span class=
"s1">WhiteNoise
</span>.ar,
0.0);
<span class=
"Apple-converted-space"> </span></p>
33 <p class=
"p5">out.postln;
</p>
35 <p class=
"p4"><br></p>
36 <p class=
"p7"><b>Methods:
</b></p>
37 <p class=
"p4"><br></p>
38 <p class=
"p3"><b>source
</b><span class=
"Apple-converted-space"> </span></p>
39 <p class=
"p4"><br></p>
40 <p class=
"p3">Get the UGen that is the source for this OutputProxy.
</p>
41 <p class=
"p4"><br></p>
43 <p class=
"p5"><span class=
"s1">var
</span> left, right;
</p>
44 <p class=
"p6">// Pan2 uses an OutputProxy for each of its two outputs.
</p>
45 <p class=
"p5"># left, right =
<span class=
"s1">Pan2
</span>.ar(
<span class=
"s1">WhiteNoise
</span>.ar,
0.0);
<span class=
"Apple-converted-space"> </span></p>
46 <p class=
"p5">left.source.postln;
</p>
48 <p class=
"p4"><br></p>
49 <p class=
"p3">The source method is also defined in Array, so that the source can be obtained this way as well:
</p>
50 <p class=
"p4"><br></p>
52 <p class=
"p5"><span class=
"s1">var
</span> out;
</p>
53 <p class=
"p6">// Pan2 uses an OutputProxy for each of its two outputs.
</p>
54 <p class=
"p5">out =
<span class=
"s1">Pan2
</span>.ar(
<span class=
"s1">WhiteNoise
</span>.ar,
0.0);
<span class=
"Apple-converted-space"> </span></p>
55 <p class=
"p5">out.postln;
</p>
56 <p class=
"p5">out.source.postln;
</p>
58 <p class=
"p4"><br></p>