Claims
- 1. In a telephone including an audio frequency circuit having a transmit channel and a receive channel, an acoustic echo canceling circuit, a line echo canceling circuit, and a noise reduction circuit coupled to the channels, and wherein each channel includes a filter bank for dividing the channel into a plurality of sub-bands, the improvement comprising:
a plurality of voice activity detectors coupled one to each sub-band filter, wherein each voice activity detector produces a signal indicative of the energy content of an input signal to the detector; a plurality of variable gain amplifiers coupled one each to a voice activity detector in the receive channel; a plurality of comparators coupled one each to a pair of voice activity detectors, wherein each pair includes a voice activity detector from the transmit channel and the variable gain amplifier from the corresponding voice activity detector coupled to the receive channel; means for controlling the gain of said variable gain amplifiers to provide a predetermined balance between the channels.
- 2. The telephone as set forth in claim 1 wherein said means includes:
a first averaging circuit coupled to the output of the acoustic echo canceller; a second averaging circuit coupled to the output of the line echo canceller; and a ratio detector coupled to the first averaging circuit and the second averaging circuit; wherein said means controls gain in accordance with the ratio of the averages of the outputs of the acoustic echo canceling circuit and the line echo canceling circuit.
- 3. The telephone as set forth in claim 2 wherein each averaging circuit averages an input signal only when the input signal exceeds a predetermined threshold.
- 4. The telephone as set forth in claim 3 wherein the predetermined thresholds are determined separately for each averaging circuit.
- 5. The telephone as set forth in claim 2 wherein each averaging circuit averages amplitude.
- 6. The telephone as set forth in claim 2 wherein each averaging circuit averages energy.
- 7. In a telephone including an audio frequency circuit having a transmit channel having variable gain and a receive channel having variable gain, an acoustic echo canceling circuit, and a line echo canceling circuit, the improvement comprising:
a first averaging circuit coupled to the output of the acoustic echo canceller; a second averaging circuit coupled to the output of the line echo canceller; and a ratio detector coupled to the first averaging circuit and the second averaging circuit; wherein the output of the ratio detector controls gain in each channel.
- 8. The telephone as set forth in claim 7 wherein each averaging circuit averages an input signal only when the input signal exceeds a predetermined threshold.
- 9. The telephone as set forth in claim 8 wherein the predetermined thresholds are determined separately for each averaging circuit.
- 10. The telephone as set forth in claim 9 and further including:
a first broad band voice activity detector coupled to said acoustic echo canceller and to said first averaging circuit for controlling the averaging of the output signal from the acoustic echo canceller; a second broad band voice activity detector coupled to said line echo canceller and to said second averaging circuit for controlling the averaging of the output signal from the line echo canceller.
- 11. The telephone as set forth in claim 10 wherein each broad band voice activity detector includes:
a plurality of threshold detectors; an AND circuit having a plurality of inputs coupled one to each of said threshold detectors; a ratio detector coupled to an echo canceling circuit for calculating the following ratio 1Ei n·EoutEi n2+Eecho2;where Ein is the signal at the input to the echo canceling circuit, Eout is the signal output from the echo canceling circuit, and Eecho is the echo estimate generated by the echo canceling circuit; and wherein a first of said threshold detectors is coupled to the output of said ratio detector.
- 12. The telephone as set forth in claim 11 wherein a second of said threshold detectors is coupled to Ein, a third of said threshold detectors is coupled to both Ein and Eout.
- 13. The telephone as set forth in claim 12 wherein a fourth of said threshold detectors is coupled to Eout and compares Eout with a noise threshold.
- 14. The telephone as set forth in claim 13 wherein said telephone is a cellular telephone and further includes radio frequency circuitry coupled to said audio frequency circuitry.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application relates to copending application Ser. No. 09/326,864, filed Jun. 7, 1999, entitled Noise Reduction Circuit for Telephones, assigned to the assignee of this invention, and herein incorporated by reference in its entirety. This application also relates to copending application Ser. No. 10/057,160 filed Jan. 25, 2002, entitled Telephone Having Four VAD Circuits, assigned to the assignee of this invention, and herein incorporated by reference in its entirety.