oneShot: free the responder before running user func (avoid error)
[supercollider.git] / HelpSource / Classes / OutputProxy.schelp
blob8248d76bd90d107a0b509b69b1b58bf69a3d16b1
1 class:: OutputProxy
2 summary:: Place holder for multiple outputs
3 categories:: UGens>Base
5 Description::
7 OutputProxy is used by some UGens as a place holder for multiple outputs.
8 There is no reason for a user to create an OutputProxy directly.
10 code::
11 var out;
12 // Pan2 uses an OutputProxy for each of its two outputs.
13 out = Pan2.ar(WhiteNoise.ar, 0.0); 
14 out.postln;
17 classmethods::
18 private:: categories
20 InstanceMethods::
22 method:: source
23 The UGen that is the source for this OutputProxy.
24 discussion::
25 code::
26 var left, right;
27 // Pan2 uses an OutputProxy for each of its two outputs.
28 # left, right = Pan2.ar(WhiteNoise.ar, 0.0); 
29 left.source.postln;
32 The code::source:: method is also defined in Array, so that the source can be obtained this way as well:
34 code::
35 var out;
36 // Pan2 uses an OutputProxy for each of its two outputs.
37 out = Pan2.ar(WhiteNoise.ar, 0.0); 
38 out.postln;
39 out.source.postln;