The Zero crossing tool generates a binary sequence indicating where the input signal crosses the zero amplitude level. The output signal consists of values 0 and 1, where a value of 1 marks a zero-crossing event (i.e., a change of sign between consecutive samples), and 0 indicates no crossing.

This tool is implemented as a Julia-based custom signal processing script and produces a standard signal window as output.

Background and usage:

Zero-crossing analysis is a simple yet powerful method for estimating signal properties. It is commonly used for:

Estimating signal frequency, especially for near-sinusoidal signals

Detecting periodicity or oscillatory behavior

Identifying transitions or events in time-domain signals

Preprocessing for more advanced analyses such as pitch detection or timing analysis

Because the output is a binary sequence, it can also be further processed using other SIGVIEW tools (e.g., statistics, averaging, or “instrument values over time”) to analyze crossing density or timing variations.