RNBO Objects & Operators where~
Open Help

where~

Report elapsed and remaining time of a phasor

Description

The where~ operator generates two signals: one reports the elapsed time since the reset of a phasor ramp; the other predicts of the remaining time until the phasor resets again. You can use these time values to synchronize events to specific times within a ramp instead of its relative phase. For example, if you want something to happen at 30 milliseconds before the phasor is scheduled to reset, you can wait until the remaining time signal has a value of 30 or less. where~ has a direction detection feature so it can report the elapsed and remaining time of ramps that go from 1 to 0 (as produced by a phasor~ object with negative frequency) in addition to ramps that go from 0 to 1.

Arguments

signal [auto]

Optional

signal

Inlets

signal [auto]

signal

Outlets

out1 [signal]

Elapsed time

out2 [signal]

Remaining time

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

signal [auto]

signal

See Also

Name Description
where~
edge~ detect logical signal transitions