OutputProxy: table of contents
Filter:
Classes | UGens > Base

OutputProxy : UGen : AbstractFunction : Object

Place holder for multiple outputs
Source: UGen.sc

Description

OutputProxy is used by some UGens as a place holder for multiple outputs. There is no reason for a user to create an OutputProxy directly.

var out;
// Pan2 uses an OutputProxy for each of its two outputs.
out = Pan2.ar(WhiteNoise.ar, 0.0);
out.postln;

Class Methods

Inherited class methods

Undocumented class methods

OutputProxy.new(rate, itsSourceUGen, index)

Instance Methods

.source

.source = value

The UGen that is the source for this OutputProxy.

Discussion:

var left, right;
// Pan2 uses an OutputProxy for each of its two outputs.
# left, right = Pan2.ar(WhiteNoise.ar, 0.0);
left.source.postln;

The source method is also defined in Array, so that the source can be obtained this way as well:

var out;
// Pan2 uses an OutputProxy for each of its two outputs.
out = Pan2.ar(WhiteNoise.ar, 0.0);
out.postln;
out.source.postln;

Inherited instance methods

Undocumented instance methods

.addToSynth

.dumpName

.name

.name = value

.outputIndex

.outputIndex = value