Timer

object Timer extends ProductReader[Timer]

A UGen that returns time since last triggered. The time returned is in seconds and is measured from the last received trigger. Note that currently it seems the initial memory is at -1 sample, so for Impulse.ar(1) the result (at 44.1 kHz) is 2.26757e-05, followed strangely by 1.00002, and then (as expected) 1.0.

See also
Companion
class
trait Product
trait Mirror
trait ProductReader[Timer]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(trig: GE): Timer
Value Params
trig

the trigger to update the output signal. A trigger occurs when trig signal crosses from non-positive to positive.

def kr(trig: GE): Timer
Value Params
trig

the trigger to update the output signal. A trigger occurs when trig signal crosses from non-positive to positive.

def read(in: RefMapIn, key: String, arity: Int): Timer