Rate

sealed abstract
class Rate extends MaybeRate with Ordered[Rate]

The server calculation rate of a UGen or a UGen output.

The following rates are known:

  • scalar (only calculated once when a Synth is initialized.
  • control (one value per block)
  • audio (full audio sample rate)
  • demand (calculation specially triggered on demand)
Companion
object
trait Ordered[Rate]
trait Comparable[Rate]
class MaybeRate
trait Product
trait Equals
class Object
trait Matchable
class Any
class Bus
object audio
object control
object demand
object scalar

Value members

Abstract methods

def methodName: String

Concrete methods

final
def compare(that: Rate): Int

Compares this and another rate, based on their identifiers (e.g., scalar compare control == -1 and audio compare audio == 0).

Compares this and another rate, based on their identifiers (e.g., scalar compare control == -1 and audio compare audio == 0).

final
def getOrElse(r: => Rate): Rate

Returns this object without resolving the argument.

Returns this object without resolving the argument.

final
def max(that: Rate): Rate

Returns the maximum of this and another rate, based on their identifiers (e.g., control > scalar).

Returns the maximum of this and another rate, based on their identifiers (e.g., control > scalar).

final
def min(that: Rate): Rate

Returns the minimum of this and another rate, based on their identifiers (e.g., scalar < control).

Returns the minimum of this and another rate, based on their identifiers (e.g., scalar < control).

Inherited methods

def <(that: Rate): Boolean
Inherited from
Ordered
def <=(that: Rate): Boolean
Inherited from
Ordered
def >(that: Rate): Boolean
Inherited from
Ordered
def >=(that: Rate): Boolean
Inherited from
Ordered
def canEqual(that: Any): Boolean
Inherited from
Equals
def compareTo(that: Rate): Int
Inherited from
Ordered
def id: Int

The identifier of a MaybeRate is either -1 (undefined) or the identifier of a defined rate (>= 0).

The identifier of a MaybeRate is either -1 (undefined) or the identifier of a defined rate (>= 0).

Inherited from
MaybeRate
final
def name: String
Inherited from
MaybeRate
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product

Concrete fields

final
val toIndexedSeq: IndexedSeq[Rate]
final
val toOption: Option[Rate]

Returns Some(this).

Returns Some(this).