final case class ChannelRangeProxy(elem: GE, from: Int, until: Int, step: Int) extends GE.Lazy with Product with Serializable
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 out along with
a standard Scala Range argument can be used
instead of explicitly writing ChannelRangeProxy. Thus
elem out (0 until 4) selects the first four channels and is
equivalent to ChannelRangeProxy(elem, from = 0, until = 4, step = 1).
Behind the scene, ChannelProxy instances are created, thus
ChannelRangeProxy(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.
- elem
a multi-channel element from which to select channels.
- from
the first index (inclusive) of the channel range, counting from zero.
- until
the end index (exclusive) of the channel range, counting from zero.
- step
the increment from index to index in the range. A value of one means all channels from
fromuntiluntilwill 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.
- Alphabetic
- By Inheritance
- ChannelRangeProxy
- Serializable
- Serializable
- Lazy
- GE
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ChannelRangeProxy(elem: GE, from: Int, until: Int, step: Int)
- elem
a multi-channel element from which to select channels.
- from
the first index (inclusive) of the channel range, counting from zero.
- until
the end index (exclusive) of the channel range, counting from zero.
- step
the increment from index to index in the range. A value of one means all channels from
fromuntiluntilwill 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val elem: GE
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val from: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeUGens: UGenInLike
Abstract method which must be implemented by creating the actual
UGens during expansion.Abstract method which must be implemented by creating the actual
UGens during expansion. This method is at most called once during graph expansion- returns
the expanded object (depending on the type parameter
U)
- Definition Classes
- ChannelRangeProxy → Expander
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def range: Range
-
def
rate: MaybeRate
- Definition Classes
- ChannelRangeProxy → GE
- val step: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ChannelRangeProxy → AnyRef → Any
- val until: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )