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

zerox~ Reference

Detect zero crossings

zerox~

Examples

Arguments

x [auto]

Optional

The input that is analyzed for zero-crossings.

Inlets

x [auto]

The input that is analyzed for zero-crossings.

Outlets

out1 [signal]

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

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 [auto]

The input that is analyzed for zero-crossings.

See Also

Name Description
zerox Detect zero crossings
change~ Report signal direction
zerox_count~ Count zero crossings
delta~ The discrete derivative of the input