Zero crossing rate calculation. This rate corresponds to the number of times that the sound value (waveform) passes through the zero.
Typically, the more the sound is harmonically complex, the more the zero crossing rate value is high.
You can use it to make differences between vowels or consonants sounds, or the difference between snare, bass or cymbals on drums.
In the example below, we can see on the panel-oscilloscope-data module the result of the zero crossing rate analysis on a simple drum loop.
Audio input flow(s).
Detection threshold. The calculation is done only if the input sound intensity is greater than the threshold value.
Average time. The calculation is done during a time interval.
Use small values for quick variations or high for slow variations.
Zero crossing rate output in Hz.
Calculated zero crossing rate maximum value.
As in the example above, it's often more interesting to get the relative variations rather than the absolute. You can use the division math module to achieve this.
Silence indicator. Sends a 1 value when the audio input intensity is under the detection threshold and a 0 when above.
Resets to 0 the calculated Max Zero Crossing value.
version 5.2.221206
Edit All Pages