zero crossing in sound signal

is there a bulit in function for zero crossing in sound signal and if there isn't can you teach me one

답변 (1개)

Gita
Gita 2012년 10월 21일

0 개 추천

Write your code using diff and sign functions

댓글 수: 3

Walter Roberson
Walter Roberson 2012년 10월 21일
That algorithm does not appear to account for noise or measurement error
Gita
Gita 2012년 10월 22일
Filtering might be helpful
Walter Roberson
Walter Roberson 2012년 10월 22일
Consider the case of successive approximations to a square wave by adding more frequencies. The "top" of the square wave starts sinusoidal with low frequencies, and the relative period and amplitude of the sinusoids gets lower and lower, with the top more and more closely approximating a straight line to the level of our visual acuity. But at any stage before the infinite, examine with sufficient resolution and you will still see many increases and decreases on a local level along the top. None of those increases or decreases has anything to do with zero crossing of the signal.
Thus, purely local algorithms (including local smoothers) cannot be used to detect zero crossings with any reliability.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

태그

질문:

2012년 10월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by