change~ Reference

Report signal direction

change~

Examples

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