# Patent

## Title
Dynamic noise reduction using linear model fitting

## Abstract

A speech enhancement system improves the speech quality and intelligibility of a speech signal. The system includes a time-to-frequency converter that converts segments of a speech signal into frequency bands. A signal detector measures the signal power of the frequency bands of each speech segment. A background noise estimator measures a background noise detected in the speech signal. A dynamic noise reduction controller dynamically models the background noise in the speech signal. The speech enhancement renders a speech signal perceptually pleasing to a listener by dynamically attenuating a portion of the noise that occurs in a portion of the spectrum of the speech signal.

## Background
PRIORITY CLAIM
This application is a continuation of prior U.S. patent application Ser. No. 11/923,358, filed Oct. 24, 2007, which is incorporated by reference.


BACKGROUND OF THE INVENTION
1. Technical Field
This disclosure relates to a speech enhancement, and more particularly to enhancing speech intelligibility and speech quality in high noise conditions.
2. Related Art
Speech enhancement in a vehicle is a challenge. Some systems are susceptible to interference. Interference may come from many sources including engines, fans, road noise, and rain. Reverberation and echo may also interfere in speech enhancement systems, especially in vehicle environments.
Some noise suppression systems attenuate noise equally across many frequencies of a perceptible frequency band. In high noise environments, especially at lower frequencies, when equal amount of noise suppression is applied across the spectrum, a higher level of residual noise may be generated, which may degrade the intelligibility and quality of a desired signal.
Some methods may enhance a second formant frequency at the expense of a first formant. These methods may assume that the second formant frequency contributes more to speech intelligibility than the first formant. Unfortunately, these methods may attenuate large portions of the low frequency band which reduces the clarity of a signal and the quality that a user may expect. There is a need for a system that is sensitive, accurate, has minimal latency, and enhances speech across a perceptible frequency band.
SUMMARY
A speech enhancement system improves the speech quality and intelligibility of a speech signal. The system includes a time-to-frequency converter that converts segments of a speech signal into frequency bands. A signal detector measures the signal power of the frequency bands of each speech segment. A background noise estimator measures a background noise detected in the speech signal. A dynamic noise reduction controller dynamically models the background noise in the speech signal. The speech enhancement renders a speech signal perceptually pleasing to a listener by dynamically attenuating a portion of the noise that occurs in a portion of the spectrum of the speech signal.
Other systems, methods, features, and advantages 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.



BRIEF DESCRIPTION OF THE DRAWINGS
The system may 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.
FIG. 1 is a spectrogram of a speech signal and a vehicle noise of medium intensity.
FIG. 2 is a spectrogram of a speech signal and a vehicle noise of high intensity.
FIG. 3 is a spectrogram of an enhanced speech signal and a vehicle noise of medium intensity processed by a static noise suppression method.
FIG. 4 is a spectrogram of an enhanced speech signal and a vehicle noise of high intensity processed by a static noise suppression method.
FIG. 5 are power spectral density graphs of a medium level background noise and a medium level background noise processed by a static noise suppression method.
FIG. 6 are power spectral density graphs of a high level background noise and a high level background noise processed by a static noise suppression method.
FIG. 7 is a flow diagram of a speech enhancement system.
FIG. 8 is a second flow diagram of a speech enhancement system.
FIG. 9 is an exemplary dynamic noise reduction system.
FIG. 10 is an alternative exemplary dynamic noise reduction system.
FIG. 11 is a filter programmed with a dynamic noise reduction logic.
FIG. 12 is a spectrogram of a speech signal enhanced with dynamic noise reduction that attenuates vehicle noise of medium intensity.
FIG. 13 is a spectrogram of a speech signal enhanced with dynamic noise reduction that attenuates vehicle noise of high intensity.
FIG. 14 are power spectral density graphs of a medium level background noise, a medium level background noise processed by a static noise suppression method, and a medium level background noise processed by a dynamic noise suppression method.
FIG. 15 are power spectral density graphs of a high level background noise, a high level background noise processed by a static suppression, and a high level background noise processed by a dynamic noise suppression method.
FIG. 16 is a speech enhancement system integrated within a vehicle.
FIG. 17 is a speech enhancement system integrated within a hands-free communication device, a communication system, or an audio system.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Hands-free systems, communication devices, and phones in vehicles or enclosures are susceptible to noise. The spatial, linear, and non-linear properties of noise may suppress or distort speech. A speech enhancement system improves speech quality and intelligibility by dynamically attenuating a background noise that may be heard. A dynamic noise reduction system may provide more attenuation at lower frequencies around a first formant and less attenuation around a second formant. The system may not eliminate the first formant speech signal while enhancing the second formant frequency. This enhancement may improve speech intelligibility in some of the disclosed systems.
Some static noise suppression systems (SNSS) may achieve a desired speech quality and clarity when a background noise is at low or below a medium intensity. When the noise level exceeds a medium level or the noise has some tonal or transient properties, static suppression systems may not adjust to changing noise conditions. In some applications, the static noise suppression systems generate high levels of residual diffused noise, tonal noise, and/or transient noise. These residual noises may degrade the quality and the intelligibility of speech. The residual interference may cause listener fatigue, and may degrade the performance of automatic speech recognition (ASR) systems.
In an additive noise model, the noisy speech may be described by equation 1.

y(t)=x(t)+d(t)  (1)

where x(t) and d(t) denote the speech and the noise signal, respectively. In equation 2, |Yn,k| designate the short-time spectral magnitudes of noisy speech, |Xn,k| designates the short-time spectral magnitudes of clean speech, |Dn,k| designate the short-time spectral magnitudes noise, and Gn,k designates short-time spectral suppression gain at the n th frame and the k th frequency bin. As such, an estimated clean speech spectral magnitude may be described by equation 2.

|{circumflex over (X)}n,k|=Gn,k·|Yn,k|  (2)

Because some static suppression systems create musical tones in a processed signal, the quality of the processed signal may be degraded. To minimize or mask the musical noise, the suppression gain may be limited as described by equation 3.

Gn,k=max(σ,Gn,k)  (3)

The parameter σ in equation 3 is a constant noise floor, which establishes the amount of noise attenuation to be applied to each frequency bin. In some applications, for example, when σ is set to about 0.3, the system may attenuate the noise by about 10 dB at frequency bin k.

Noise reduction systems based on the spectral gain may have good performance under normal noise conditions. When low frequency background noise conditions are excessive, such systems may suffer from the high levels of residual noise that remains in the processed signal.
FIGS. 1 and 2 are spectrograms of speech signal recorded in medium and high level vehicle noise conditions, respectively. FIGS. 3 and 4 show the corresponding spectrograms of the speech signal shown in FIGS. 1 and 2 after speech is processed by a static noise suppression system. In FIGS. 1-4, the ordinate is measured in frequency and the abscissa is measured in time (e.g., seconds). As shown by the darkness of the plots, the static noise suppression system effectively suppresses medium (and low, not shown) levels of background noise (e.g., see FIG. 3). Conversely, some of speech appears corrupted or masked by residual noise when speech is recorded in a vehicle subject to intense noise (e.g., see FIG. 4).
Since some static noise suppression systems apply substantially the same amount of noise suppression across all frequencies, the noise shape may remain unchanged as speech is enhanced. FIGS. 5 and 6 are power spectral density graphs of a medium level or high level background noise and a medium level or high level background noise processed by a static noise suppression system. The exemplary static noise suppression system may not adapt attenuation to different noise types or noise conditions. In high noise conditions, such as those shown FIGS. 4 and 6, high levels of residual noise remain in the processed signal.
FIG. 7 is a flow diagram of a real time or delayed speech enhancement method 700 that adapts to changing noise conditions. When a continuous signal is recorded it may be sampled at a predetermined sampling rate and digitized by an analog-to-digital converter (optional if received as a digital signal). The complex spectrum for the signal may be obtained by means of a Short-Time Fourier transform (STFT) that transforms the discrete-time signals into frequency bins, with each bin identifying a magnitude and a phase across a small frequency range at act 702.
At 704, signal power for each frequency bin is measured and the background noise is estimated at 706. The background noise estimate may comprise an average of the acoustic power in each frequency bin. To prevent biased background noise estimations during transients, the noise estimation process may be disabled during abnormal or unpredictable increases in detected power in an alternative method. A transient detection process may disable the background noise estimate when an instantaneous background noise exceeds a predetermined or an average background noise by more than a predetermined decibel level.
At 708, the background noise spectrum is modeled. The model may discriminate between a high and a low frequency range. When a linear model or substantially linear model are used, a steady or uniform suppression factor may be applied when a frequency bin is almost equal to or greater than a predetermined frequency bin. A modified or variable suppression factor may be applied when a frequency bin is less than a predetermined frequency bin. In some methods, the predetermined frequency bin may designate or approximate a division between a high frequency spectrum and a medium frequency spectrum (or between a high frequency range and a medium to low frequency range).
The suppression factors may be applied to the complex signal spectrum at 710. The processed spectrum may then be reconstructed or transformed into the time domain (if desired) at optional act 712. Some methods may reconstruct or transform the processed signal through a Short-time Inverse Fourier Transform (STIFT) or through an inverse sub-band filtering method.
FIG. 8 is a flow diagram of an alternative real time or delayed speech enhancement method 800 that adapts to changing noise conditions in a vehicle. When a continuous signal is recorded it may be sampled at a predetermined sampling rate and digitized by an analog-to-digital converter (optional if received as a digital signal). The complex spectrum for the signal may be obtained by means of a Short-Time Fourier Transform (STFT) that transforms the discrete-time signals into frequency bins at act 802.
The power spectrum of the background noise may be estimated at an n th frame at 804. The background noise power spectrum of each frame Bn, may be converted into the dB domain as described by equation 4.

φn=10 log10Bn  (4)

The dB power spectrum may be divided into a low frequency portion and a high frequency portion at 806. The division may occur at a predetermined frequency fo such as a cutoff frequency, which may separate multiple linear regression models at 808 and 810. An exemplary process may apply two substantially linear models or the linear regression models described by equations 5 and 6.

YL=aLXL+bL  (5)

YH=aHXH+bH,  (6)

In equations 5 and 6, X is the frequency, Y is the dB power of the background noise, aL,aH are the slopes of the low and high frequency portion of the dB noise power spectrum, bL,bH are the intercepts of the two lines when the frequency is set to zero.

A dynamic suppression factor for a given frequency below the predetermined frequency fo (ko bin) or the cutoff frequency may be described by equation 7.




  
    
      
        
          λ
          ⁡
          
            (
            f
            )
          
        
        =
        
          {
          
            
              
                
                  
                    10
                    
                      0.05
                      *
                      
                        (
                        
                          
                            b
                            H
                          
                          -
                          
                            b
                            L
                          
                        
                        ⁢
                        
                          
                        
                        )
                      
                      *
                      
                        
                          (
                          
                            
                              f
                              o
                            
                            -
                            f
                          
                          )
                        
                        /
                        
                          f
                          o
                        
                      
                    
                  
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      b
                      H
                    
                  
                  <
                  
                    b
                    L
                  
                
              
            
            
              
                
                  1
                  ,
                
              
              
                otherwise
              
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




Alternatively, for each bin below the predetermined frequency or cutoff frequency bin ko, a dynamic suppression factor may be described by equation 8.





  
    
      
        
          λ
          ⁡
          
            (
            k
            )
          
        
        =
        
          {
          
            
              
                
                  
                    10
                    
                      0.05
                      *
                      
                        (
                        
                          
                            b
                            H
                          
                          -
                          
                            b
                            L
                          
                        
                        )
                      
                      *
                      
                        
                          (
                          
                            
                              k
                              o
                            
                            -
                            k
                          
                          )
                        
                        /
                        
                          k
                          o
                        
                      
                    
                  
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      b
                      H
                    
                  
                  <
                  
                    b
                    
                      L
                      ⁢
                      
                        
                      
                    
                  
                
              
            
            
              
                
                  1
                  ,
                
              
              
                otherwise
              
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




A dynamic adjustment factor or dynamic noise floor may be described by varying a uniform noise floor or threshold. The variability may be based on the relative position of a bin to the bin containing the predetermined bin as described by equation 9




  
    
      
        
          η
          ⁡
          
            (
            k
            )
          
        
        =
        
          {
          
            
              
                
                  
                    σ
                    *
                    
                      λ
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                  ,
                
              
              
                when
              
              
                
                  k
                  <
                  
                    k
                    o
                  
                
              
            
            
              
                
                  σ
                  ,
                
              
              
                when
              
              
                
                  k
                  ≥
                  
                    k
                    o
                  
                
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




The speech enhancement method may minimize or maximize the spectral magnitude of a noisy speech segment by designating a dynamic adjustment Gdynamic,n,k that designates short-time spectral suppression gains at the n th frame and the k th frequency bin at 812.

Gdynamic,n,k=max(η(k),Gn,k)  (10)

The magnitude of the noisy speech spectrum may be processed by the dynamic gain Gdynamic,n,k to clean the speech segments as described by equation 11 at 814.

|{circumflex over (X)}n,k|=Gdynamic,n,k·|Yn,k|  (11)

In some speech enhancement methods the clean speech segments may be converted into the time domain (if desired). Some methods may reconstruct or transform the processed signal through a Short-Time Inverse Fourier Transform (STIFT); some methods may use an inverse sub-band filtering method, and some may use other methods.
In FIG. 8, the quality of the noise-reduced speech signal is improved. The amount of dynamic noise reduction may be determined by the difference in slope between the low and high frequency noise spectrums. When the low frequency portion (e.g., a first designated portion) of the noise power spectrum has a slope that is similar to a high frequency portion (e.g., a second designated portion), the dynamic noise floor may be substantially uniform or constant. When the negative slope of the low frequency portion (e.g., a first designated portion) of the noise spectrum is greater than that of the slope of the high frequency portion (e.g., a second designated portion), more aggressive or variable noise reduction methods may be applied at the lower frequencies. At higher frequencies a substantially uniform or constant noise flow may apply.
The methods and descriptions of FIGS. 7 and 8 may 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 controller or a computer. If the methods are performed by software, the software or logic may reside in a memory resident to or interfaced to one or more processors or controllers, a wireless communication interface, a wireless system, an entertainment and/or comfort controller of a vehicle or types of non-volatile or volatile memory interfaced or resident to a speech enhancement system. The memory may include an ordered listing of executable instructions for implementing logical functions. A logical function may be implemented through digital circuitry, through source code, through analog circuitry, or through an analog source such through an analog electrical, or audio signals. The software may be embodied in any computer-readable medium or signal-bearing medium, for use by, or in connection with an instruction executable system, apparatus, device, resident to a hands-free system or communication system or audio system shown in FIG. 17 and also may be within a vehicle as shown in FIG. 16. Such a system may include a computer-based system, a processor-containing system, or another 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 or other hardwired or wireless communication protocols.
A “computer-readable medium,” “machine-readable medium,” “propagated-signal” medium, and/or “signal-bearing medium” may comprise any means 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 connection “electronic” having one or more wires, a portable magnetic or optical disk, a volatile memory such as a Random Access Memory “RAM” (electronic), a Read-Only Memory “ROM” (electronic), an Erasable Programmable Read-Only Memory (EPROM or Flash memory) (electronic), or an optical fiber (optical). 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, and/or interpreted or otherwise processed. The processed medium may then be stored in a computer and/or machine memory.
FIG. 9 is a speech enhancement system 900 that adapts to changing noise conditions. When a continuous signal is recorded it may be sampled at a predetermined sampling rate and digitized by an analog-to-digital converter (optional device if the unmodified signal is received in a digital format). The complex spectrum of the signal may be obtained through a time-to-frequency transformer 902 that may comprise a Short-Time Fourier Transform (STFT) controller or a sub-band filter that separates the digitized signals into frequency bin or sub-bands.
The signal power for each frequency bin or sub-band may be measured through a signal detector 904 and the background noise may be estimated through a background noise estimator 906. The background noise estimator 906 may measures the continuous or ambient noise that occurs near a receiver. The background noise estimator 906 may comprise a power detector that averages the acoustic power in each or selected frequency bands when speech is not detected. To prevent biased noise estimations at transients, an alternative background noise estimator may communicate with an optional transient detector that disables the alternative background noise estimator during abnormal or unpredictable increases in power. A transient detector may disable an alternative background noise estimator when an instantaneous background noise B(f,i) exceeds an average background noise B(f)Ave by more than a selected decibel level ‘c.’ This relationship may be expressed by equation 12.

B(f,i)>B(f)Ave+c  (12)

A dynamic background noise reduction controller 908 may dynamically model the background noise. The model may discriminate between two or more intervals of a frequency spectrum. When multiple models are used, for example when more than one substantially linear model is used, a steady or uniform suppression may be applied to the noisy signal when a frequency bin is almost equal or greater than a pre-designated bin or frequency. Alternatively, a modified or variable suppression factor may be applied when a frequency bin is less than a pre-designated frequency bin or frequency. In some systems, the predetermined frequency bin may designate or approximate a division between a high frequency spectrum and a medium frequency spectrum (or between a high frequency range and a medium to low frequency range) in an aural range.
Based on the model(s), the dynamic background noise reduction controller 908 may render speech to be more perceptually pleasing to a listener by aggressively attenuating noise that occurs in the low frequency spectrum. The processed spectrum may then be transformed into the time domain (if desired) through a frequency-to-time spectral converter 910. Some frequency-to-time spectral converters 910 reconstruct or transform the processed signal through a Short-Time Inverse Fourier Transform (STIFT) controller or through an inverse sub-band filter.
FIG. 10 is an alternative speech enhancement system 1000 that may improve the perceptual quality of the processed speech. The systems may benefit from the human auditory system's characteristics that render speech to be more perceptually pleasing to the ear by not aggressively suppressing noise that is effectively inaudible. The system may instead focus on the more audible frequency ranges. The speech enhancement may be accomplished by a spectral converter 1002 that digitizes and converts a time-domain signal to the frequency domain, which is then converted into the power domain. A background noise estimator 906 measures the continuous or ambient noise that occurs near a receiver. The background noise estimator 906 may comprise a power detector that averages the acoustic power in each frequency bin when little or no speech is detected. To prevent biased noise estimations during transients, a transient detector may disables the background noise estimator 906 during abnormal or unpredictable increases in power in some alternative speech enhancement systems.
A spectral separator 1004 may divide the power spectrum into a low frequency portion and a high frequency portion. The division may occur at a predetermined frequency such as a cutoff frequency, or a designated frequency bin.
To determine the required noise suppression, a modeler 1006 may fit separate lines to selected portions of the noisy speech spectrum. For example, a modeler 1006 may fit a line to a portion of the low and/or medium frequency spectrum and may fit a separate line to a portion of the high frequency portion of the spectrum. Through a regression, a best-fit line may model the severity of the vehicle noise in the multiple portions of the spectrum.
A dynamic noise adjuster 1008 may mark the spectral magnitude of a noisy speech segment by designating a dynamic adjustment factor to short-time spectral suppression gains at each or selected frames and each or selected k th frequency bins. The dynamic adjustment factor may comprise a perceptual nonlinear weighting of a gain factor in some systems. A dynamic noise processor 1010 may then attenuate some of the noise in a spectrum.
FIG. 11 is a programmable filter that may be programmed with a dynamic noise reduction logic or software encompassing the methods described. The programmable filter may have a frequency response based on the signal-to-noise ratio of the received signal, such as a recursive Wiener filter. The suppression gain of an exemplary Wiener filter may be described by equation 13.




  
    
      
        
          G
          
            n
            ,
            k
          
        
        =
        
          
            
              S
              ⁢
              
                N
                ^
              
              ⁢
              
                R
                
                  priori
                  
                    n
                    ,
                    k
                  
                
              
            
            
              
                S
                ⁢
                
                  N
                  ^
                
                ⁢
                
                  R
                  
                    priori
                    
                      n
                      ,
                      k
                    
                  
                
              
              +
              1
            
          
          .
        
      
    
    
      
        (
        13
        )
      
    
  




S{circumflex over (N)}Rpriorin,k is the a priori SNR estimate described by equation 14.

S{circumflex over (N)}Rpriorin,k=Gn-1,kS{circumflex over (N)}Rpostn,k−1.  (14)

The S{circumflex over (N)}Rpostn,k is the a posteriori SNR estimate described by equation 15.





  
    
      
        
          S
          ⁢
          
            N
            ^
          
          ⁢
          
            R
            
              post
              
                n
                ,
                k
              
            
          
        
        =
        
          
            
              
                
                
                  Y
                  
                    n
                    ,
                    k
                  
                
                
              
              
                2
                ⁢
                
                  
                
              
            
            
              
                
                
                  
                    D
                    ^
                  
                  
                    n
                    ,
                    k
                  
                
                
              
              2
            
          
          .
        
      
    
    
      
        (
        15
        )
      
    
  




Here |{circumflex over (D)}n,k| is the noise magnitude estimates. |Yn,k| is the short-time spectral magnitudes of noisy speech,

The suppression gain of the filter may include a dynamic noise floor described by equation 10 to estimate a gain factor:

Gdynamic,n,k=max(η(k),Gn,k)  (10)

A uniform or constant floor may also be used to limit the recursion and reduce speech distortion as described by equation 16.

S{circumflex over (N)}Rpriorin,k=MAX(Gdynamic,n-1,k,σ)S{circumflex over (N)}Rpostn,k−1  (16)

To minimize the musical tone noise, the filter is programmed to smooth the S{circumflex over (N)}Rpostn,k as described by equation 17.





  
    
      
        
          S
          ⁢
          
            N
            ^
          
          ⁢
          
            R
            
              post
              
                n
                ,
                k
              
            
          
        
        =
        
          
            
              β
              ⁢
              
                
                  
                  
                    
                      Y
                      ^
                    
                    
                      
                        n
                        -
                        1
                      
                      ,
                      k
                    
                  
                  
                
                2
              
            
            +
            
              
                (
                
                  1
                  -
                  β
                
                )
              
              ⁢
              
                
                  
                  
                    Y
                    
                      n
                      ,
                      k
                    
                  
                  
                
                2
              
            
          
          
            
              
              
                
                  D
                  ^
                
                
                  n
                  ,
                  k
                
              
              
            
            2
          
        
      
    
    
      
        (
        17
        )
      
    
  




where β may be a factor between about 0 to about 1.

FIGS. 12 and 13 show spectrograms of speech signals enhanced with the dynamic noise reduction. The dynamic noise reduction attenuates vehicle noise of medium intensity (e.g., compare to FIG. 1) to generate the speech signal shown in FIG. 12. The dynamic noise reduction attenuates vehicle noise of high intensity (e.g., compare to FIG. 2) to generate the speech signal shown in FIG. 13.
FIG. 14 are power spectral density graphs of a medium level background noise, a medium level background noise processed by a static suppression system, and a medium level background noise processed by a dynamic noise suppression system. FIG. 15 are power spectral density graphs of a high level background noise, a high level background noise processed by a static suppression system, and a high level background noise processed by a dynamic noise suppression system. These figures shown how at lower frequencies the dynamic noise suppression systems produce a lower noise floor than the noise floor produced by some static suppression systems.
The speech enhancement system improves speech intelligibility and/or speech quality. The gain adjustments may be made in real-time (or after a delay depending on an application or desired result) based on signals received from an input device such as a vehicle microphone. The system may interface additional compensation devices and may communicate with system that suppresses specific noises, such as for example, wind noise from a voiced or unvoiced signal such as the system described in U.S. patent application Ser. No. 10/688,802, entitled “System for Suppressing Wind Noise” filed on Oct. 16, 2003, which is incorporated by reference.
The system may dynamically control the attenuation gain applied to signal detected in an enclosure or an automobile communication device such as a hands-free system. In an alternative system, the signal power may be measured by a power processor and the background nose measured or estimated by a background noise processor. Based on the output of the background noise processor multiple linear relationships of the background noise may be modeled by the dynamic noise reduction processor. The noise suppression gain may be rendered by a controller, an amplifier, or a programmable filter. The devices may have a low latency and low computational complexity.
Other alternative speech enhancement systems include combinations of the structure and functions described above or shown in each of the Figures. These speech enhancement systems are formed from any combination of structure and function described above or illustrated within the Figures. The logic may be implemented in software or hardware. The hardware may include a processor or a controller having volatile and/or non-volatile memory that interfaces peripheral devices through a wireless or a hardwire medium. In a high noise or a low noise condition, the spectrum of the original signal may be adjusted so that intelligibility and signal quality is improved.
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.

## Claims

1. A noise attenuation system, comprising:
a modeler configured to fit a first line to a first portion of a sound signal and a second line to a second portion of the sound signal;
a dynamic noise adjuster configured to calculate a difference in slope or coordinate intercept between the first line and the second line, and calculate a dynamic adjustment factor based on the difference; and
a dynamic noise processor configured to attenuate a portion of a noise detected in the sound signal based on the dynamic adjustment factor.

2. The system of claim 1, where the first portion of the sound signal comprises a frequency portion below a cutoff frequency threshold and the second portion of the sound signal comprises a frequency portion above the cutoff frequency threshold.

3. The system of claim 2, where the dynamic noise processor is configured to attenuate the first portion of the sound signal below the cutoff frequency threshold based on a constant attenuation factor and the dynamic adjustment factor.

4. The system of claim 3, where the dynamic noise processor is configured to attenuate the second portion of the signal above the cutoff frequency threshold based on the constant attenuation factor without the dynamic adjustment factor.

5. The system of claim 1, where the first line is a first linear regression model and the second line is a second linear regression model.

6. The system of claim 1, where the dynamic noise adjuster is configured to calculate the difference by calculating a difference between a slope of the first line and a slope of the second line.

7. The system of claim 1, where the dynamic noise adjuster is configured to calculate the difference by calculating a difference between a coordinate intercept of the first line and a coordinate intercept of the second line.

8. A noise attenuation system, comprising:
a modeler configured to fit a first line to a first portion of a sound signal and a second line to a second portion of the sound signal;
a dynamic noise adjuster configured to calculate a difference between the first line and the second line, and calculate a dynamic adjustment factor based on the difference; and
a dynamic noise processor configured to attenuate a portion of a noise detected in the sound signal based on the dynamic adjustment factor;
where the first line is a first linear regression model and the second line is a second linear regression model; and
where the modeler is configured to fit the first linear regression model to the first portion of a power spectrum of the sound signal, and fit the second linear regression model to the second portion of the power spectrum of the sound signal.

9. A noise attenuation method, comprising:
fitting a first line to a first portion of a sound signal;
fitting a second line to a second portion of the sound signal;
calculating a difference in slope or coordinate intercept between the first line and the second line;
calculating a dynamic adjustment factor based on the difference; and
attenuating a portion of a noise detected in the sound signal based on the dynamic adjustment factor.

10. The method of claim 9, where the first portion of the sound signal comprises a frequency portion below a cutoff frequency threshold and the second portion of the sound signal comprises a frequency portion above the cutoff frequency threshold.

11. The method of claim 10, where the step of attenuating comprises attenuating the first portion of the sound signal below the cutoff frequency threshold based on a constant attenuation factor and the dynamic adjustment factor.

12. The method of claim 11, further comprising attenuating the second portion of the signal above the cutoff frequency threshold based on the constant attenuation factor without the dynamic adjustment factor.

13. The method of claim 9, where the first line is a first linear regression model and the second line is a second linear regression model.

14. The method of claim 9, where the step of calculating the difference comprises calculating a difference between a slope of the first line and a slope of the second line.

15. The method of claim 9, where the step of calculating the difference comprises calculating a difference between a coordinate intercept of the first line and a coordinate intercept of the second line.

16. A noise attenuation method, comprising:
fitting a first line to a first portion of a sound signal;
fitting a second line to a second portion of the sound signal;
calculating a difference between the first line and the second line;
calculating a dynamic adjustment factor based on the difference; and
attenuating a portion of a noise detected in the sound signal based on the dynamic adjustment factor;
where the first line is a first linear regression model and the second line is a second linear regression model, where the step of fitting the first line comprises fitting the first linear regression model to the first portion of a power spectrum of the sound signal, and where the step of fitting the second line comprises fitting the second linear regression model to the second portion of the power spectrum of the sound signal.

17. A non-transitory computer-readable medium with instructions stored thereon, where the instructions are executable by a processor to cause the processor to perform the steps of:
fitting a first line to a first portion of a sound signal;
fitting a second line to a second portion of the sound signal;
calculating a difference in slope or coordinate intercept between the first line and the second line;
calculating a dynamic adjustment factor based on the difference; and
attenuating a portion of a noise detected in the sound signal based on the dynamic adjustment factor.

18. The non-transitory computer-readable medium of claim 17, where the first portion of the sound signal comprises a frequency portion below a cutoff frequency threshold and the second portion of the sound signal comprises a frequency portion above the cutoff frequency threshold;
where the step of attenuating comprises attenuating the first portion of the sound signal below the cutoff frequency threshold based on a constant attenuation factor and the dynamic adjustment factor; and
where the instructions are further executable by the processor to cause the processor to perform the step of attenuating the second portion of the signal above the cutoff frequency threshold based on the constant attenuation factor without the dynamic adjustment factor.

19. The non-transitory computer-readable medium of claim 17 where the step of calculating the difference comprises calculating a difference between a slope of the first line and a slope of the second line.

20. The non-transitory computer-readable medium of claim 17 where the step of calculating the difference comprises calculating a difference between a coordinate intercept of the first line and a coordinate intercept of the second line.