Open Help
zerox~
Detect zero crossings
Description
The zerox~ object detects when incoming values cross the zero point in either direction from one sample to the next. If a crossing is detected from one sample to the next it outputs a click, else a signal value of zero.
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 |