a multi-channel element from which to select channels.
the first index (inclusive) of the channel range, counting from zero.
the end index (exclusive) of the channel range, counting from zero.
the increment from index to index in the range. A value of one
means all channels from from
until until
will be selected. A
value of two means, every second channel will be skipped. A negative
value can be used to count down from high to low indices.
a multi-channel element from which to select channels.
the first index (inclusive) of the channel range, counting from zero.
Abstract method which must be implemented by creating the actual UGen
s
during expansion.
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
the expanded object (depending on the type parameter U
)
the increment from index to index in the range.
the increment from index to index in the range. A value of one
means all channels from from
until until
will be selected. A
value of two means, every second channel will be skipped. A negative
value can be used to count down from high to low indices.
the end index (exclusive) of the channel range, counting from zero.
A helper graph element that selects a particular range of output channel of another element. The range is specified with integers and thus cannot be determined at graph expansion time. If this is desired, the
Select
UGen can be used.Usually the graph element operator
\
(backlash) along with a standard ScalaRange
argument can be used instead of explicitly writingChannelRangeProxy
. Thuselem \ (0 until 4)
selects the first four channels and is equivalent toChannelRangeProxy(elem, from = 0, until = 4, step = 1)
.Behind the scene,
ChannelProxy
instances are created, thusChannelRangeProxy(x, a, b)
is the same as(a until b).map(ChannelProxy(x, _)): GE
.Because ScalaCollider allows late-expanding graph elements, we have no direct way to get some array of a UGen's outputs.
a multi-channel element from which to select channels.
the first index (inclusive) of the channel range, counting from zero.
the end index (exclusive) of the channel range, counting from zero.
the increment from index to index in the range. A value of one means all channels from
from
untiluntil
will be selected. A value of two means, every second channel will be skipped. A negative value can be used to count down from high to low indices.RepeatChannels
ChannelProxy
Select
NumChannels