LastValue:
Filter:
Classes | UGens > Triggers

LastValue : UGen : AbstractFunction : Object

Output the last value before the input changed
Source: Trig.sc

Description

Output the last value before the input changed more than a threshold.

Class Methods

LastValue.ar(in: 0.0, diff: 0.01)

LastValue.kr(in: 0.0, diff: 0.01)

Arguments:

in

The input signal.

diff

Difference threshold.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Return the difference between current and the last changed: