Metro

final case
class Metro(period: GE, phase: GE) extends SingleOut

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 Params
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 SingleOut
trait SomeOut[StreamOut]
trait Lazy
trait GE
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

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