zerox Reference

Detect zero crossings

zerox

Examples

Arguments

x [number]

Optional

The input that is analyzed for zero-crossings.

Inlets

x [number]

The input that is analyzed for zero-crossings.

Outlets

out1 [number]

Outputs a 0 when the last two received values do not cross the zero point or a 1 when they do.

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 that is analyzed for zero-crossings.

See Also

Name Description
zerox~ Detect zero crossings
change Filter out repetitions
zerox_count Count zero crossings
delta The discrete derivative of the input