Patent ID: 7558729

Claim:
A method executable by a processor for using music detection to enhance an operation of an echo canceller and a speech encoder including a noise suppressor, the echo canceller including an adaptive filter and a nonlinear processor, the method comprising: receiving an input signal including an echo signal by the echo canceller from a near end device; filtering the input signal using the adaptive filter to eliminate linear components of the echo signal in the input signal and generate an error signal; analyzing the error signal using a music detector to determine existence of a music signal in the error signal; bypassing the nonlinear processor if the analyzing determines the music signal exists in the error signal; eliminating nonlinear components of the echo signal from the error signal using the nonlinear processor if the analyzing determines the music signal does not exist in the error signal; gradually reducing an attenuation gain of the noise suppressor to zero if the analyzing determines the music signal exists in the error signal; and attenuating the error signal using the noise suppressor if the analyzing determines the music signal does not exist in the error signal.