1. Technical Field.
This disclosure relates to communication systems, and more specifically to communication systems that mediates gating.
2. Related Art.
In telecommunication systems, entire speech and noise segments may not pass through a speech enhancement system. Prior to digital transmissions, the noisy speech may be encoded by the speech codec. At a high level, when speech lulls are detected a codec may transmit comfort noise. To select a noise segment, the spectral shape of the input signal may be compared against spectral entries retained in a lookup table.
Spectral entries may be derived from samples of clean speech in a low noise environment. In high noise environments, an input may not resemble stored entry. This may occur when a spectral tilt is greater than an expected spectral tilt.
A speech enhancement system enhances transitions between speech and non-speech segments. The system includes a background noise estimator that approximates the magnitude of a background noise of an input signal that includes a speech and a non-speech segment. A slave processor is programmed to perform the specialized task of modifying a spectral tilt of the input signal to match a plurality of expected spectral shapes selected by a Codec.
Other systems, methods, features and advantages of the invention will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views.
The transmission and reception of information may be conveyed through electrical or optical wavelengths transmitted through a physical or a wireless medium. Speech and noise may be received by one or more devices that convert sound into analog signals or digital data. In the telecommunication system 100 of
In some telecommunication systems a user on a far side of a conversation may hear noise in the low frequencies when the near-side person is talking, but may not hear that noise when the person stops talking (disrupting the natural transition between a speech and non-speech segment). Noise transmitted during speech may also become correlated with speech, further degrading a perceived or subjective speech quality by making a speech segment sound rough or coarse. This phenomenon may occur in hands-free communication systems that may receive or place calls from vehicles, such as vehicles traveling on highways. The interference may be noticeable in vehicles with mid-engine mounts.
Some telecommunication systems may mitigate the interference through noise removal. While some noise removal systems may reduce the magnitude of the interference, the telecommunication systems may not eliminate it or dampen the affect to a desired level. In some hands-free systems, it may be undesirable to reduce the noise by more than a predetermined level (e.g., about 10 dB to about 12 dB) to minimize changes in speech quality. In the lower frequencies, noise may be substantial and require more noise removal than is desired to reduce gating effects.
To reduce the noticeable effects of gating, some systems ensure that residual noise generated by the speech enhancement system is consistent with a comfort noise range generated by Codecs. In these telecommunication systems, a residual noise may comprise the noise that remains after performing noise removal on an input or noisy signal. The residual noise level and its color (e.g., spectral shape) comprise characteristics that may determine when the output signal of a speech enhancement system may be susceptible to gating such as speech codec gating on a CDMA network.
Some systems that eliminate or minimize noise may render good speech quality when the noise suppression reduces the background noise by a predetermined level (e.g., about 10 dB to about 12 dB.) Speech quality may suffer when background noise is suppressed by an attenuation level exceeding an upper limit (e.g., more than about 15 dB). However, for many applications, such as in-vehicle hands-free communication systems, suppressing noise by a predetermined level may not render good speech quality and the residual noise may cause noise gating that may be heard by far-side talkers. Some noise suppression may cause speech distortion and generate musical tones.
Controlling the residual noise color (e.g., spectral shape) may prevent some noise gating. Some Codecs such as the EVRC, EVRC-WB, and EVRC-B, for example, may support only a limited number of spectral shapes to encode a background noise. The retained spectral shapes may be constrained by the spectral tilts that may not match the noise color detected in vehicle or other environments. Some speech enhancement systems may control noise gating by monitoring and modifying the spectral tilt of an input signal to render a better match with the Codec's retained spectral shapes. Rather than applying a maximum attenuation level across a wide frequency range, some speech enhancement systems prevent gating (e.g., Code Division Multiple Access gating) by applying variable or dynamically changing attenuation levels at different frequencies or frequency ranges that may include an adaptive gain floor. Dynamic noise reduction techniques such as the systems and methods disclosed in U.S. Ser. No. 11/923,358, entitled Dynamic Noise Reduction, filed Oct. 24, 2007, which is incorporated by reference, may pre-condition the input signals.
In some speech enhancement systems, noisy speech may be expressed by Equation 1
y(t)=x(t)+d(t) (1)
where x(t) and d (t) denote the speech and the noise signal, respectively.
|Yn,k|, |Xn,k|, and |Dn,k| may designate the short-time spectral magnitudes of noisy speech, clean speech, and noise at the n th frame and the k th frequency bin. In this enhancement system 200, the noise suppressor may apply a spectral gain factor Gn,k to each short-time spectrum value. The estimated clean speech spectral magnitude may be expressed by Equation 2.
|{circumflex over (X)}
n,k
|=G
n,k
·|Y
n,k| (2)
In Equation 2, Gn,k comprises the spectral suppression gain.
To eliminate or mask the musical noise that may occur when attenuating spectrum, the spectral suppression gain may be constrained by an adaptive floor or alternatively by a fixed floor (e.g., not allowed to decrease below a minimum value, σ). When based on a fixed floor, the spectral suppression gain may be expressed by Equation 3.
G
n,k=max(σ, Gn,k) (3)
In Equation 3, σ comprises a constant that establishes the minimum gain value, or correspondingly the maximum amount of noise attenuation in each frequency bin. For example, when σ is programmed or configured to about 0.3, the system's maximum noise attenuation may be limited to about 20 log 0.3 or about 10 dB at frequency bin k.
When the time domain speech signal is buffered in a local or remote database or memory and transformed into the frequency domain by the time-to-frequency converter 202, background noise may be measured or estimated by the noise estimator 204 and a dynamic noise floor established by the dynamic noise controller 206. An exemplary dynamic noise controller 206 may comprise a back-end (or slave) processor that performs the specialized task of establishing an adaptive (or dynamic) noise floor. Such a task may be considered “back-end” because some exemplary dynamic noise controller 206 may be subordinate to the operation of a Codec. Other exemplary dynamic noise controllers 206 are not subordinate to the operation of a Codec. An exemplary dynamic noise controller 206 may comprise the systems or methods disclosed in Ser. No. 11/923,358, entitled “Dynamic Noise Reduction” filed Oct. 24, 2007, variations thereof, and other systems.
Some dynamic noise controllers 206 estimate the background noise power Bn at the n th frame that may be converted into dB domain through Equation 4.
φn=10log10 Bn. (4)
An exemplary average dB power at low frequency range bL around an exemplary low frequency (e.g., about 300 Hz) and the average dB power at an exemplary high frequency range bH around a high frequency (e.g., about 3400) may be measured or derived.
The dynamic suppression factor for a given frequency below the cutoff frequency fo (ko bin) may be established by Equation 5.
Alternatively, for each bin below the cutoff frequency bin ko, the dynamic suppression factor may be expressed by Equation 6.
In some exemplary speech enhancement systems 200, C comprises a constant between about 15 to about 25, which limits the maximum dB power difference between low frequencies and high frequencies of a residual noise.
The cutoff frequency fo may be selected or established based on the application. For example, it may be chosen to lie between about 1000 Hz to about 2000 Hz. Above the cutoff frequency, the dynamic suppression factor, λ, may be established as 1 (or about 1), to ensure a constant attenuation floor may be applied. Below a cutoff frequency, λ may comprise less than 1, which allows the minimum gain value, η, to be smaller than σ. In some applications, the maximum attenuation at lower frequencies may be greater than at higher frequencies.
As shown by Equation 7, the dynamic noise controller may establish a dynamic (or adaptive) noise floor based on frequency ranges or bin positions.
By combining the dynamic floor with a spectral suppression, the speech enhancement system may maintain the spectral tilt of the residual noise within a certain range. More aggressive noise suppression may be imposed on low frequencies when an input noise tilt surpasses the maximum tilt limitation. The maximum tilt limitation may be based on an actual (or estimated) spectral shape selected by the codec. Through this enhancement a maximum tilt may be based on a Codec's allowable spectral shapes.
A digital signal processor such as an exemplary Weiner filter whose frequency response may be based on the signal-to-noise ratios may be modified in view of the speech enhancement. An unmodified suppression gain of the Weiner filter is described in Equation 8.
In
S{umlaut over (N)}R
prior
=G
n−1,k
S{circumflex over (N)}R
post
−1. (9)
S{circumflex over (N)}Rpost
In Equation 10, |{circumflex over (D)}n,k| comprises the noise estimate. The recursive gain may be expressed by Equation 11
The final gain is floored
G
n,k=max(σ,Gn,k). (12)
As the maximum amount of attenuation increases and the filter activation threshold increases, low level SNR speech signals may be substantially rejected or attenuated. Additionally, the relatively gently sloping attenuation curves to the right of the activation thresholds may cause weak and/or delayed response during speech onsets. To overcome these conditions, the Wiener filter may be constrained.
By constraining the filter activation threshold to be a nearly constant level, a constrained recursive Weiner filter may preserve the natural transitions between a speech and a non-speech segment.
The gain function of the constrained recursive Wiener filter may be described by Equation 13.
In Equation 13, β may comprise the ratio shown in Equation 14.
In Equation 14, parameter ξ may comprise a constant in the range of about 0-5.
The adaptive or dynamic gain may be limited by the floor expressed in Equation 15.
G
n,k=max(η(k),Gn,k). (15)
To enhance the performance of the noise reduction process, the multiplicative gain may be estimated in a two step process. Through this streamlined process, delays are reduced that may causes bias in the gain estimation and degrade the performance of the noise suppression.
In a 1st step, a multiplicative gain Rn,k may be estimated using the constrained recursive Wiener filter described by Equation 13.
In Equation 13 β is described by the ratio of Equation 14.
Conditional temporal smoothing may be applied to the SNR estimation though Equation 17.
In Equation 17, a comprises a smoothing factor in the range between about 0.1 to about 0.9 that may be based on the frame shift of the system, and also the frequency range when applying smoothing.
The multiplicative gain obtained in the 1st step may then be processed as an over-estimation factor to derive the final gain Gn,k in the 2nd step described by Equation 18.
In Equation 18 β comprises the ratio described in Equation 19.
Variations to the speech enhancement systems are applied in alternative systems. In some alternative systems performing more than 10 dB of noise reduction in lower frequencies may not be desirable unless a speech reconstruction is performed to reconstruct weak speech. The alternative speech enhancement systems may include reconstructions such as the systems and methods described in Ser. No. 60/555,582, entitled “Isolating Voice Signals Utilizing Neural Networks” filed Mar. 23, 2004; Ser. No. 11/085,825, entitled “Isolating Speech Signals Utilizing Neural Networks” filed Mar. 21, 2005; Ser. No. 09/375,309, entitled “Noisy Acoustic Signal Enhancement” filed Aug. 16, 1999; Ser. No. 61/055,651, entitled “Model Based Speech Enhancement,” filed May 23, 2008; and Ser. No. 61/055,859, entitled “Speech Enhancement System,” filed May 23, 2008, all of these applications are incorporated by reference. In this description, the term about encompasses measurement errors or variances that may be associated with a particular variable.
To minimize over-attenuation of low frequency content, the spectral tilt constraint may be met by reducing the amount of attenuation at high frequency ranges as shown in
Other alternate systems and methods may include combinations of some or all of the structure and functions described above or shown in one or more or each of the figures. These systems or methods are formed from any combination of structure and function described or illustrated within the figures or incorporated by reference. Some alternative systems are compliant with one or more of the transceiver protocols may communicate with one or more in-vehicle displays, including touch sensitive displays. In-vehicle and out-of-vehicle wireless connectivity between the systems, the vehicle, and one or more wireless networks provide high speed connections that allow users to initiate or complete a communication or a transaction at any time within a stationary or moving vehicle. The wireless connections may provide access to, or transmit, static or dynamic content (live audio or video streams, for example).
The methods and descriptions above may also be encoded in a signal bearing medium, a computer readable medium such as a memory that may comprise unitary or separate logic, programmed within a device such as one or more integrated circuits, or processed by a specialized controller, computer, or an automated speech recognition system. If the disclosure are encompassed in software, the software or logic may reside in a memory resident to or interfaced to one or more specialized processors, controllers, wireless communication interfaces, a wireless system, an entertainment and/or comfort controller of a vehicle or non-volatile or volatile memory. The memory may retain an ordered listing of executable instructions for implementing logical functions.
A logical function may be implemented through digital circuitry, through analog circuitry, or through an analog source such as through an analog electrical, or audio signals. The software may be embodied in a computer-readable medium or signal-bearing medium, for use by, or in connection with an instruction executable system or apparatus resident to a vehicle or a hands-free or wireless communication system. Alternatively, the software may be embodied in media players (including portable media players) and/or recorders. Such a system may include a processor-programmed system that includes an input and output interface that may communicate with an automotive or wireless communication bus through any hardwired or wireless automotive communication protocol, combinations, or other hardwired or wireless communication protocols to a local or remote destination, server, or cluster.
A computer-readable medium, machine-readable medium, propagated-signal medium, and/or signal-bearing medium may comprise any medium that contains, stores, communicates, propagates, or transports software for use by or in connection with an instruction executable system, apparatus, or device. The machine-readable medium may selectively be, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. A non-exhaustive list of examples of a machine-readable medium would include: an electrical or tangible connection having one or more links, a portable magnetic or optical disk, a volatile memory such as a Random Access Memory “RAM” (electronic), a Read-Only Memory “ROM,” an Erasable Programmable Read-Only Memory (EPROM or Flash memory), or an optical fiber. A machine-readable medium may also include a tangible medium upon which software is printed, as the software may be electronically stored as an image or in another format (e.g., through an optical scan), then compiled by a controller, and/or interpreted or otherwise processed. The processed medium may then be stored in a local or remote computer and/or a machine memory.
While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.
This application is a continuation of U.S. Patent Application Ser. No. 12/454,841, entitled “Speech Enhancement with Minimum Gating,” filed May 22, 2009, which is a continuation-in-part of U.S. patent application Ser. No. 11/923,358, entitled “Dynamic Noise Reduction,” filed Oct. 24, 2007, and U.S. patent application Ser. No. 12/126,682, entitled “Speech Enhancement Through Partial Speech Reconstruction,” filed May, 23 2008, and claims the benefit of priority from U.S. Provisional Application No. 61/055,949, entitled “Minimization of Speech Codec Noise Gating,” which are all incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12454841 | May 2009 | US |
Child | 13676463 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11923358 | Oct 2007 | US |
Child | 12454841 | US | |
Parent | 12126682 | May 2008 | US |
Child | 11923358 | US |