RNBO Objects & Operators change~
Open Help

change~

Report signal direction

Description

Analyzes the input signal's general contour. Returns values of -1, 0, and 1 depending on the input signal's direction.

Inlets

input [auto]

The signal to analyze for direction

Outlets

out [signal]

Returns 0 if the direction is unchanged, -1 if the signal is decreasing in amplitude, and 1 if the signal is increasing in amplitude.

Dynamic Attributes

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

input [auto]

The signal to analyze for direction

See Also

Name Description
fract~ Return only the fractional component of the input
floor~ Round an input value down to the next lower integer (toward negative infinity)
ceil~ Round an input value up to the next higher integer (toward positive infinity)
clip~ Clip an input to a range within an upper and lower bound.
wrap~ Wrap input to a range within an upper and lower bound
fold~ Fold input to a range within an upper and lower bound