zerox_count
Count zero crossings
Description
The zerox_count object detects and reports the total number of zero-crossings in an incoming value stream over a specified sample window.
Arguments
windowSize [number]
Sets the number of individual values that are sampled for zero-crossings. Once this value is reached, the total number of zero-crossings in the sample-window is output.
Inlets
x [number]
The input that is analyzed for zero-crossings over the specified sample window.
windowSize [number]
Sets the number of individual values that are sampled for zero-crossings. Once this value is reached, the total number of zero-crossings in the sample-window is output.
Outlets
out1 [number]
out1Fixed 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.
windowSize [number]
Sets the number of individual values that are sampled for zero-crossings. Once this value is reached, the total number of zero-crossings in the sample-window is output.
x [number]
The input that is analyzed for zero-crossings over the specified sample window.
See Also
Name | Description |
---|---|
zerox_count~ | Count zero crossings |
zerox | Detect zero crossings |