ArithmSeq

final case class ArithmSeq[A, L](start: GE[A], step: GE[A], length: GE[L])(implicit num: Num[A], numL: NumInt[L]) extends SingleOut[A] with ProductWithAdjuncts

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, ....

Value parameters:
length

the number of elements to output

start

the first output element

step

the amount added to each successive element

Companion:
object
trait Serializable
trait ProductWithAdjuncts
trait SingleOut[A]
trait Lazy[A]
trait GE[A]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def adjuncts: List[Adjunct]
Definition Classes
ProductWithAdjuncts

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Implicits

Implicits

implicit val num: Num[A]
implicit val numL: NumInt[L]