Duty

object Duty extends ProductReader[Duty]

A UGen which polls results from demand-rate ugens in intervals specified by a duration input. A value from the level ugen is demanded and output according to a stream of duration values. When there is a trigger at the reset input, the level and the dur input are reset.

See also

DoneAction

Note

The argument order is different from its sclang counterpart.

Companion
class
trait Product
trait Mirror
trait ProductReader[Duty]
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(dur: GE, level: GE, reset: GE, doneAction: GE): Duty
Value Params
doneAction

a doneAction that is evaluated when the duration stream ends.

dur

the provider of time values. Can be a demand-rate ugen or any signal. The next poll is acquired after the previous duration.

level

a demand-rate ugen providing the output values.

reset

a trigger which resets the dur input (if demand-rated) and the the level input ugen. The reset input may also be a demand-rate ugen, in this case providing a stream of reset times.

def kr(dur: GE, level: GE, reset: GE, doneAction: GE): Duty
Value Params
doneAction

a doneAction that is evaluated when the duration stream ends.

dur

the provider of time values. Can be a demand-rate ugen or any signal. The next poll is acquired after the previous duration.

level

a demand-rate ugen providing the output values.

reset

a trigger which resets the dur input (if demand-rated) and the the level input ugen. The reset input may also be a demand-rate ugen, in this case providing a stream of reset times.

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