final case class ArithmSeq[A, L](start: GE[A] = 0, step: GE[A] = 1, length: GE[L] = Long.MaxValue)(implicit num: Num[A], numL: NumInt[L]) extends SingleOut[A] with ProductWithAdjuncts with Product with Serializable
A UGen that produces an arithmetic sequence of values.
If both start
and step
are of integer type (Int
or Long
),
this produces an integer output, otherwise it produces a floating point output.
E.g. ArithmSeq(start = 1, step = 2)
will produce a series 1, 3, 5, 7, ...
.
- start
the first output element
- step
the amount added to each successive element
- length
the number of elements to output
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArithmSeq
- Serializable
- ProductWithAdjuncts
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- def adjuncts: List[Adjunct]
- Definition Classes
- ArithmSeq → ProductWithAdjuncts
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val length: GE[L]
- def makeUGen(args: IndexedSeq[UGenIn[_]])(implicit b: Builder): UGenInLike[A]
- Attributes
- protected
- Definition Classes
- ArithmSeq → UGenSource
- def makeUGens(implicit b: Builder): UGenInLike[A]
Abstract method which must be implemented by creating the actual
UGen
s during expansion. - final def name: String
- Definition Classes
- UGenSource
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit val num: Num[A]
- implicit val numL: NumInt[L]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val start: GE[A]
- val step: GE[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated