Zero Crossing Rate Python

zero_crosses_rate = np.nonzero(np.diff(audioData > 0)))[0]
coder