Zero-crossing rate

The zero-crossing rate (ZCR) is the rate at which a signal changes from positive to zero to negative or from negative to zero to positive.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

The zero-crossing rate (ZCR) is the rate at which a signal changes from positive to zero to negative or from negative to zero to positive. Its value has been widely used in both speech recognition and music information retrieval, being a key feature to classify percussive sounds.

ZCR is defined formally as : zcr = \frac{1}{T-1}\sum_{t=1}^{T-1}\left| \mathrm{sgn}[s(t)]-\mathrm{sgn}[s(t-1)]\right| where s is a signal of length T and \mathrm{sgn}(x) is a sign function defined as: : \mathrm{sgn}(x)=\begin{cases}1,\quad x\geq 0\\0, \quad x In some cases only the "positive-going" or "negative-going" crossings are counted, rather than all the crossings, since between a pair of adjacent positive zero-crossings there must be a single negative zero-crossing. For monophonic tonal signals, the zero-crossing rate can be used as a primitive pitch detection algorithm.

Zero crossing rates are also used for Voice activity detection (VAD), which determines whether human speech is present in an audio segment or not.

The zero-crossing rate (ZCR) is the rate at which a signal changes from positive to zero to negative or from negative to zero to positive. Its value has been widely used in both speech recognition and music information retrieval, being a key feature to classify percussive sounds.

ZCR is defined formally as zcr = \frac{1}{T-1}\sum_{t=1}^{T-1}\left| \mathrm{sgn}[s(t)]-\mathrm{sgn}[s(t-1)]\right| where s is a signal of length T and \mathrm{sgn}(x) is a sign function defined as: \mathrm{sgn}(x)=\begin{cases}1,\quad x\geq 0\\0, \quad x In some cases only the "positive-going" or "negative-going" crossings are counted, rather than all the crossings, since between a pair of adjacent positive zero-crossings there must be a single negative zero-crossing. For monophonic tonal signals, the zero-crossing rate can be used as a primitive pitch detection algorithm.

Zero crossing rates are also used for Voice activity detection (VAD), which determines whether human speech is present in an audio segment or not.

See also

Zero crossing Digital signal processing

Text derived from https://en.wikipedia.org/w/index.php?oldid=1324405925 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

1 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.