Waveform zero crossing