A helper graph element that selects a particular output channel of another element.
A scalar constant used as an input to a UGen.
A scalar constant used as an input to a UGen. These constants are stored in a separate table of the synth graph.
A ControlOutProxy is similar to a UGenOutProxy in that it denotes an output channel of a control UGen.
A ControlOutProxy is similar to a UGenOutProxy in that it denotes an output channel of a control UGen. However it refers to a control-proxy instead of a real control ugen, since the proxies are synthesized into actual ugens only at the end of a synth graph creation, in order to clump several controls together. ControlOutProxy instance are typically returned from the ControlProxyFactory class, that is, using the package implicits, from calls such as "myControl".kr.
A UGen that multiplies an input with another signal and then adds a third signal.
A UGen that multiplies an input with another signal and then adds a third signal. This can be used to translate an element into a different value range.
Usually the graph element operator madd
is used
instead of explicitly writing MulAdd
.
MulAdd(in, mul, add) == in.madd(mul, add) == in * mul + add
// scale value range play { // input range -1 to +1, // output range ((-1 * 100) + 300) = 200 // to ((+1 * 100) + 300) = 400 val freq = SinOsc.kr(1).madd(100, 300) // or MulAdd(..., 100, 300) freq.poll(label = "freq") SinOsc.ar(freq) * 0.1 }
the input signal to scale and offset
the scaling factor, applied first to the input
the offset, added after applying the multiplication
A helper graph element equivalent to SampleRate.ir * 0.5
.
A helper graph element equivalent to SampleRate.ir * 0.5
.
SampleRate
A UGen to efficiently add three signals together.
A UGen to efficiently add three signals together.
Usually used indirectly through Mix
.
first of the three inputs
second of the three inputs
third of the three inputs
A UGen to efficiently add four signals together.
A UGen to efficiently add four signals together.
Usually used indirectly through Mix
.
first of the four inputs
second of the four inputs
third of the four inputs
fourth of the four inputs
A trait that can be either a group of UGenInLike
or a UGen.MultiOut
A UGenOutProxy refers to a particular output of a multi-channel UGen.
A UGenOutProxy refers to a particular output of a multi-channel UGen. A sequence of these form the representation of a multi-channel-expanded UGen.
Binary operations are generally constructed by calling one of the methods of GEOps
.
Binary operations are generally constructed by calling one of the methods of GEOps
.
UnaryOpUGen
GEOps
This object was generated by sbt-buildinfo.
A helper graph element equivalent to SampleRate.ir * 0.5
.
A helper graph element equivalent to SampleRate.ir * 0.5
.
// as frequency argument play { Dust.ar(Nyquist()).pow(8) }
SampleRate
A UGen to efficiently add three signals together.
A UGen to efficiently add three signals together.
Usually used indirectly through Mix
.
A UGen to efficiently add four signals together.
A UGen to efficiently add four signals together.
Usually used indirectly through Mix
.
Unary operations are generally constructed by calling one of the methods of GEOps
.
Unary operations are generally constructed by calling one of the methods of GEOps
.
GEOps @see BinaryOpUGen
A helper graph element that selects a particular output channel of another element. The index is an
Integer
and thus cannot be determined at graph expansion time. If this is desired, theSelect
UGen can be used.Usually the graph element operator
\
(backlash) can be used instead of explicitly writingChannelProxy
. Thuselem \ index
is equivalent toChannelProxy(elem, index)
. UGens with a fixed number of outputs often have auxiliary methods to access the channels in meaningful way, e.g.Pitch
has methodfreq
andhasFreq
, which are equivalent topitch \ 0
andpitch \ 1
.Because ScalaCollider allows late-expanding graph elements, we have no direct way to get some array of a UGen's outputs.
Examples
a multi-channel element from which to select a channel.
channel index starting at zero. It automatically wraps around the actual number of channels the input
elem
expands to.Select
NumChannels