A newer version of Max is available. Click here to access the latest version of the Max documentation

delta Reference

The discrete derivative of the input

delta

Examples

Arguments

x [number]

Optional

The input value to be used for delta calculations.

Inlets

x [number]

The input value to be used for delta calculations.

Outlets

out1 [number]

Outputs the delta (the most recent incoming value minus the previous value).

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: false)

Trigger computation on all inlets.

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.

x [number]

The input value to be used for delta calculations.

See Also

Name Description
average Maintain a running average of incoming values
change Filter out repetitions
delta~ The discrete derivative of the input
sub Subtract inputs