Metro

final case class Metro[A](period: GE[A], phase: GE[A])(implicit num: NumInt[A]) extends SingleOut[Boolean] with ProductWithAdjuncts

Metronome (repeated dirac) generator. For a single impulse that is never repeated, use a period of zero. Unlike Impulse which uses a frequency and generates fractional phases prone to floating point noise, this is UGen is useful for exact sample frame spacing. Unlike Impulse, the phase cannot be modulated.

Value parameters:
period

number of frames between impulses. Zero is short-hand for an infinitely long period. One value is read per output period.

phase

phase offset in frames. One value is read per output period.

Companion:
object
trait Serializable
trait ProductWithAdjuncts
trait SingleOut[Boolean]
trait Lazy[Boolean]
trait GE[Boolean]
trait Expander[UGenInLike[Boolean]]
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