Abstract:
An echo canceller can be arranged to receive an input signal and to receive a reference signal. The echo canceller can subtract a linear component of the reference signal from the input signal. A noise suppressor can suppress non-linear effects of the reference signal in the input signal in correspondence with a large number of selectable parameters. Such suppression can be provided on a frequency-by-frequency basis, with a unique set of tunable parameters selected for each frequency. A degree of suppression provided by the noise suppressor can correspond to an estimate of residual echo remaining after the one or more linear components of the reference signal have been subtracted from the input signal, to an estimated double-talk probability, and to an estimated signal-to-noise ratio of near-end speech in the input signal for each respective frequency. A speech recognizer can receive a processed input signal from the noise suppressor.

Description:
RELATED APPLICATIONS 
       [0001]    This application claims the benefit of and priority to U.S. Patent Application No. 61/893,147, filed Oct. 18, 2013, U.S. Patent Application No. 61/937,522, filed Feb. 8, 2014, U.S. Patent Application No. 61/973,155, filed Mar. 31, 2014, and U.S. Patent Application No. 61/989,995, filed May 7, 2014, the contents of which are hereby incorporated by reference as if fully recited herein, for all purposes. 
     
    
     BACKGROUND 
       [0002]    This application, and the innovations and related subject matter disclosed herein, (collectively referred to as the “disclosure”) generally concern digital signal processing techniques and digital signal processors (DSPs) implementing such techniques. More particularly but not exclusively, this disclosure pertains to speech enhancers and speech enhancement techniques for improving speech components in an observed signal, speech recognition techniques, DSPs implementing such enhancement and/or recognition techniques, and systems incorporating such speech enhancers, speech recognition techniques and/or speech enhancement techniques. As but one particular example, objective measures of perceived speech quality can be used for automatically tuning a speech enhancement system applied to an automatically generated speech database. Such a speech enhancement system can be automatically tuned over a substantial number (e.g., thousands or tens of thousands) of combinations of operating conditions (e.g., noise levels and types, full-duplex speech patterns, room impulse response), making disclosed speech enhancers, techniques, and related systems suitable for use in a variety of real-world applications involving full-duplex communications. By contrast, conventional tuning approaches using expert listeners cannot, as a practical matter, be based on such large numbers of combinations of operating conditions given the time and effort required by manual tuning. Consequently, disclosed enhancers, enhancement techniques, and systems can save substantial resources over manual tuning procedures, and can speed development and deployment cycles. 
         [0003]    Parameters of a single-microphone speech enhancement system for hands-free devices can be formulated as a large-scale nonlinear programming problem can be selected automatically. A conversational speech database can be automatically generated by modeling interactivity in telephone conversations, and perceptual objective quality measures can be used as optimization criteria for the automated tuning over the generated database. Objective tests can be performed by comparing the automatically tuned system based on objective criteria to a system tuned by expert human listeners. Evaluation results show that disclosed tuning techniques greatly improve enhanced speech quality, potentially saving resources over manual evaluation, speeding up development and deployment time, and guiding the speech enhancer design. A speech enhancement system tuned according to disclosed techniques can improve a perceived quality of a variety of speech signals across computing environments having different computational capabilities, or limitations. Speech recognizers and digital signal processors based on such speech enhancement systems are also disclosed, together with related acoustic (e.g., communication) systems. 
         [0004]    Speech enhancers (SE) can serve as a preprocessing stage for a variety of different speech-centric applications, for example, mobile communication, speech recognition, and hearing aids. Speech enhancement can have a fundamental role in extending the usage of such devices to scenarios with severe acoustical disturbances. Given the substantial variety of applications and use scenarios, it is often impractical to design speech enhancers capable of covering all possible interferences. Thus, finding suitable values for the parameters associated with the speech enhancement system to fit a given scenario becomes a central aspect for the proper deployment of speech-centric applications in the real world. Conventional tuning procedures have relied on subjective listening tests. Although well-trained ears may remain a reliable approach for measuring perceived quality of a system, relying on manual tuning of speech enhancers can be very time consuming and resource intensive, commonly taking longer than the design and implementation phases associated with new speech enhancers. Further, the human component in conventional tuning procedures makes them error-prone and bound to cover only a relatively small number of scenarios expected in use. 
         [0005]    Automatic tuning of a speech enhancement system using measures such as word error rate or perceptual objective quality measure can efficiently find optimized parameters for a given system instead of relying on human expert for hand-tuning. However, when the speech enhancement system needs to be deployed on a target platform, the computational power of the platform is often limited. The automatic tuning methods in the past oftentimes do not take this limitation of the target platform into consideration. 
         [0006]    As but one particular example, speech recognition techniques for distant-talking control of music playback devices are disclosed, together with related DSPs and associated systems. 
         [0007]    The human interaction paradigm with music playback devices has seen a dramatic shift with their increased in portability and miniaturization. Well-established interaction media like remote controls are no longer an option and new solutions are needed. Automatic speech recognition (ASR) interfaces offer a natural solution to this problem, considering also the hands-busy, mobility-required, scenarios where these devices are typically used. These scenarios make the ASR technology embedded in these small devices particularly exposed to highly challenging conditions, due to the music playback itself, environmental noise, and general environmental acoustics, e.g., reverberation. In particular, the level of degradation in the input signal, and the consequent drop in ASR performance, can be very significant when the distance between user and microphone increases. In the past decade, the literature on distant-talking speech interfaces suggested several solutions to the problem, e.g., the DICIT project. However, to the inventors&#39; knowledge, the only available solutions to this problem rely heavily on microphone arrays having a plurality of microphones spaced apart from the loudspeakers to provide a relatively high signal-to-echo ratio, making their application unfeasible in portable loudspeakers, and other commercial applications. 
         [0008]    Therefore, there remains a need for improved signal processing techniques to enhance speech. In particular, there remains a need for speech enhancers that can be tuned automatically. There also remains a need for objective measures of perceived sound quality as it relates to speech, and there remains a need for automatically generated databases of conversational speech. And, a need remains for digital signal processors implementing automatically tunable speech enhancers. There further remains a need for telephony systems, e.g., speaker phones, having such digital signal processors. A portable stereo speaker having a built-in microphone is but one example of many possible speaker phones. As well, a need remains for an optimization framework to tune a speech enhancement system to maximize the system&#39;s performance while constraining its computational complexity in accordance with one or more selected target platforms. There further remains a need for speech enhancement systems which can be tuned either as a speech recognizer front-end or as a full-duplex telephony system. In addition, a need exists for techniques to solve such a nonlinear optimization problem. Further, a need exists for such constrained optimization systems suitable for real-time implementation on one or more selected target platforms. As well, there remains a need for speech recognition techniques suitable for single-microphone systems. There also remains a need for speech-recognition techniques suitable for such systems having the microphone positioned in close proximity to one or more loudspeakers. Further, there remains a need for speech recognition techniques suitable for controlling playback of music on such systems. And, a need exists for DSPs and associated systems configured to implement such speech recognition techniques. 
       SUMMARY 
       [0009]    The innovations disclosed herein overcome many problems in the prior art and address the aforementioned or other needs. In some respects, the innovations disclosed herein are directed to methods for tuning output effective parameters of a speech enhancement system, and more particularly, but not exclusively to automatically tuning speech enhancement systems. Some disclosed methods can tune such parameters across a relatively wider range of impaired speech signals much more quickly and, at least potentially, more accurately, as compared to conventional manual tuning approaches. As an example, some disclosed technologies pertain to speech enhancement, for example, in a distant-talking situation, e.g., where the near-end speech-to-echo ratio (SER) is low, e.g., between about −35 dB and about −15 dB, such as between about −30 dB and about −20 dB, with between about −28 dB and about −22 dB being but one particular SER range. More particularly, but not exclusively, this disclosure presents robust front-end active speech recognition (ASR) solutions. To demonstrate the robustness and quality of disclosed ASR techniques, an embodiment of disclosed techniques is described for a single-microphone, limited-vocabulary system during continuous monaural music playback, which is a particularly challenging problem. Nonetheless, disclosed techniques are applicable to multichannel audio systems, and systems having a plurality of microphones. In contrast to previous works, a single-microphone can be placed very close to the loudspeakers, thus making the ratio between the energy of the uttered command and the music playback, near-end speech to echo ratio (SER), very low. Even with a low SER, disclosed techniques can resolve uttered commands and enable speech control of devices. 
         [0010]    Some disclosed methods and systems address distant-talking speech interaction for remote control of a music playback device, providing a natural interation with the device using a plurality of commands. The device can be a portable speaker with a close proximity among four loudspeakers and one microphone where talkers are assumed to be within about two meters of the device. In some instances, a speech-to-echo ratio can be as low as about −30 dB. A speech enhancement approach can combine robust methods for echo cancellation, double talk detection, and noise suppression, and an adaptive quasi-binary mask, well suited for recognition purposes. System parameters can be optimized using a large scale nonlinear programming formulation in which a recognition probability is maximized, and corresponding optimal values of different system parameters can be found with a genetic algorithm. Disclosed methods were validated by testing over the TIMIT database for different music playback and noise types. 
         [0011]    Media devices are disclosed. Such a media device can include a loudspeaker, a microphone, and a digital signal processor. The media device, and in some instances the digital signal processor, can include an echo canceller, a noise suppressor, and a speech recognizer. The speech recognizer can be arranged to receive a processed input signal from the noise suppressor. 
         [0012]    Some echo cancellers are arranged to receive an input signal from the microphone and to receive a reference signal, e.g., a signal supplied to the loudspeaker. Such an echo canceller can be configured to subtract one or more linear components of the reference signal from the input signal. 
         [0013]    Some noise suppressors are configured to suppress non-linear effects of the reference signal in the input signal. For example, a noise suppressor can provide such suppression on a frequency-by-frequency basis. A degree of suppression provided by the noise suppressor for each frequency can correspond to an estimate of residual echo remaining after the one or more linear components of the reference signal have been subtracted from the input signal, to an estimated double-talk probability, and/or to an estimated signal-to-noise ratio of near-end speech in the input signal for each respective frequency. 
         [0014]    Some noise suppressors can suppress non-linear effects of the reference signal in the input signal based on selected values of a large number of selectable parameters. For example, an estimate of residual echo, an estimate of double-talk probability and an estimate signal-to-noise ratio can correspond to at least 20 different tunable parameters. Some noise suppressors include between about 10 tunable parameters and about 100 tunable parameters, with between about 20 tunable parameters and about 50 tunable parameters being a particular exemplary range. Values for such large numbers of selectable (or “tunable”) parameters can be selected using automate techniques as disclosed herein. Given the combinatorial nature of tuning, previous, manual tuning techniques could not provide the degree of parameter refinement possible using techniques as disclosed herein. 
         [0015]    Some noise suppressors apply a spectral gain or a binary mask to the input signal in correspondence with the estimated signal-to-noise ratio of near-end speech in the input signal. Some noise suppressors apply a selected one of a spectral gain and a binary mask to the input signal responsive to the estimated signal-to-noise ratio of near-end speech in the input signal exceeding a predefined signal-to-noise threshold. In other instances, such noise suppressors apply a selected one of a spectral gain and a binary mask to the input signal responsive to the estimated signal-to-noise ratio of near-end speech in the input signal falling below a predefined signal-to-noise threshold. In some instances, the spectral gain or the binary mask applied to the input signal can be applied to the input signal in relation to a selected first frequency, and a different spectral gain (or binary mask) can be applied to the input signal in relation to a different frequency, e.g., to provide frequency-by-frequency noise suppression. 
         [0016]    Tangible, non-transitory computer-readable media including instructions that, when executed, cause a computing environment to implement a method pertaining to voice quality enhancement, speech recognition, or both. For example, such instructions can cause a computing environment to subtract linear components of a reference signal from an input signal emitted from a microphone. As well, such instructions can cause the computing environment to estimate one or more of a residual echo remaining in the input signal after the linear components of the reference signal have been subtracted from the input signal, a double-talk probability, and a signal-to-noise ratio of near-end speech in the input signal. Non-linear effects of the reference signal in the input signal can be suppressed on a frequency-by-frequency basis in correspondence with the estimated one or more of the estimated residual echo, the estimated double-talk probability, and the estimated signal-to-noise ratio for each respective frequency. As well, the instructions can cause the computing environment to recognize near-end speech in the input signal after non-linear effects of the reference signal have been suppressed in the input signal. 
         [0017]    The act of estimating the double-talk probability can include comparing an estimated echo signal to the input signal from the microphone, on a frequency-by-frequency basis. The act of estimating residual echo can include determining a coherence of the input signal to a signal representative of the reference signal when the double-talk probability exceeds a selected threshold probability in some embodiments, or falls below a selected threshold probability in other embodiments. 
         [0018]    In some embodiments, the act of suppressing non-linear effects of the reference signal in the input signal includes applying a spectral gain or a binary mask to the input signal in correspondence with the estimated signal-to-noise ratio of near-end speech in the input signal, on a frequency-by-frequency basis. For example, a selected one of a spectral gain and a binary mask can be applied to the input signal responsive to an estimated signal-to-noise ratio of near-end speech in the input signal exceeding a predefined signal-to-noise threshold. In other examples, the selected spectral gain or binary mask can be applied to the input signal responsive to the estimated signal-to-noise ratio of near-end speech in the input signal falling below a predefined signal-to-noise ratio. A unique spectral gain or binary mask can be selectively applied to each of a variety of frequencies (or frequency bins). 
         [0019]    The foregoing and other features and advantages will become more apparent from the following detailed description, which proceeds with reference to the accompanying drawings. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0020]    Unless specified otherwise, the accompanying drawings illustrate aspects of the innovative subject matter described herein. Referring to the drawings, wherein like numerals refer to like parts throughout the several views and this specification, several embodiments of presently disclosed principles are illustrated by way of example, and not by way of limitation, wherein: 
           [0021]      FIG. 1  shows a schematic illustration of a typical hands-free communication system, together with various acoustic inputs to the microphone, as well as a schematic illustration of but one possible model of such a communication system. 
           [0022]      FIG. 2  shows a block diagram of one particular example of many possible speech enhancement systems of the type disclosed herein. 
           [0023]      FIG. 3  shows a block diagram of a residual echo and noise suppressor in the exemplary speech enhancement system shown in  FIG. 2 . 
           [0024]      FIG. 4  shows an exemplary sequence of speech states in one example of conversational speech. 
           [0025]      FIG. 5  shows a schematic illustration of an example of a Markov chain showing four possible conversational states, available transitions among the states, and associated probabilities for such transitions. The illustrated Markov chain (or others) can be used to generate artificial conversational speech. 
           [0026]      FIG. 6  shows another block diagram of one particular example of many possible speech enhancement systems of the type disclosed herein. 
           [0027]      FIG. 7  shows a scatterplot of an initial population (squares) and a final population (circles) in a constrained optimization as disclosed herein over ΔMOS on a selected SE system training database. The initial solution p INIT  and the optimal final solution that respects the constraint are shown. 
           [0028]      FIG. 8  shows a scatterplot of an initial population (squares) and a final population (circles) in a constrained optimization as disclosed herein over PAR on a selected SE system training database. The initial solution p INIT  and the optimal final solution that respects the constraint are shown. 
           [0029]      FIG. 9  shows yet another block diagram of one particular example of many possible speech enhancement systems of the type disclosed herein. 
           [0030]      FIG. 9A  shows a schematic illustration of a speech enhancement system having multichannel echo cancellation; 
           [0031]      FIG. 9B  shows a schematic illustration of a speech enhancement system having a plurality of microphones, a source tracker, and a beamformer; 
           [0032]      FIG. 10  shows a comparison plot of speech-recognition rates using different speech recognition techniques for various use scenarios; comparison of recognition rates on noisy TIMIT for our proposed direct masking with direct binary masking and MMSE-based LSA gain for different speech-to-noise ratios (SNRs) and a constant SER of −20 dB. Recognition rate for the bigram model with an ideal binary mask is around 65% throughout the SNR range; 
           [0033]      FIG. 11  shows a schematic illustration of an experimental setup for voice recording; 
           [0034]      FIG. 12  shows a comparison plot of unprocessed and processed speech signals, with an original, unprocessed signal shown and a processed signal shown after processing according to techniques disclosed herein; 
           [0035]      FIG. 13  shows a schematic illustration of various states within a command flow for a music playback device; 
           [0036]      FIG. 14  shows a plot of phone accuracy rates for various tuning approaches; 
           [0037]      FIG. 15  shows command accuracy rates for various tuning approaches; and 
           [0038]      FIG. 16  shows a schematic illustration of a computing environment suitable for implementing one or more technologies disclosed herein. 
       
    
    
     DETAILED DESCRIPTION 
       [0039]    The following describes various innovative principles related to signal processing by way of reference to specific examples of techniques for cancelling acoustic echo, enhancing speech, and/or recognizing speech, particularly but not exclusively in instances with low speech-to-echo ratio (SER), and systems related to such techniques. More particularly but not exclusively, disclosed subject matter pertains to techniques for filtering acoustic signals in real time, with techniques for controlling music playback devices using uttered commands being but one specific example. Nonetheless, one or more of the disclosed principles can be incorporated in various other filters to achieve any of a variety of corresponding system characteristics. Techniques and systems described in relation to particular configurations, applications, or uses, are merely examples of techniques and systems incorporating one or more of the innovative principles disclosed herein and are used to illustrate one or more innovative aspects of the disclosed principles. 
         [0040]    Thus, speech enhancement and speech recognition techniques (and associated systems) having attributes that are different from those specific examples discussed herein can embody one or more of the innovative principles, and can be used in applications not described herein in detail, for example, in “hands-free” automobile communication systems, in aviation communication systems, in conference room speaker phones, in auditorium sound systems, in hand-held or other gaming consoles, home theater systems, etc. Accordingly, such alternative embodiments also fall within the scope of this disclosure. 
       Section 1 
     Overview 
       [0041]    The tuning problem in SE systems is often overlooked in the literature and very little work has been done to formalize this procedure. This is, arguably, due to the intrinsic combinatorial nature of the tuning problem and the related optimization criterion which relates to the fuzzy concept of perceptually better quality. An approach to get around the subjective and combinatorial nature of the design and tuning problem is to consider a component of the speech enhancer at the time and find locally optimal and near-optimal solution to the problem by approximating the concept of perceived quality with an approach that is easier to describe mathematically, e.g., the mean squared error (MSE) or maximum likelihood (ML). However, it is well known that such types of measure, as well as the assumptions behind them, are hardly related to the auditory system or user-perceived sound quality. This makes the tuning solution based on such conventional measures necessarily suboptimal from a user-perception standpoint. 
         [0042]    The mean opinion score (MOS) measure is the current standardize measure which ranks the degradation of a speech enhancement system compared to a high quality fixed reference from “inaudible” to “very annoying” on a five-point scale. This score can be calculated using automated techniques that mimic the human hearing process. Another measure is the Perceptual Evaluation of the Speech Quality (PESQ). However, given its limited scope to speech codecs evaluation, a new model called Perceptual Objective Listening Quality Assessment (POLQA) was developed. POLQA addresses many of the issues and limitations of PESQ and can produce reliable scores for evaluating speech enhancement output (e.g., filtered speech signals). 
         [0043]    A desirable aspect to a developing effective speech enhancement systems is to have a good amount of data on which to reliably test the systems. Recent work has focused on providing a common framework for some of the problems related to speech enhancement, e.g., noise suppression and dereverberation, however, to the inventors&#39; knowledge, there are currently no databases for evaluating speech enhancement techniques and related systems in full-duplex communications, which is often the end goal of real-world systems. Thus, conventional evaluation files are often “handmade” and, commonly, tailored over few, arguably unrealistic scenarios. 
         [0044]    According to one aspect of the present disclosure, a formal procedure for tuning a plurality of parameters of a selected speech enhancement system is disclosed. As but one particular example for illustrating disclosed tuning principles, a speech enhancement system suitable for hands-free communication devices is selected for tuning, though other speech-enhancement system configurations can be tuned using principles disclosed herein. 
         [0045]    For purposes of illustration, the exemplary system comprises an acoustic echo canceler (AEC), residual echo power estimator (RPE), noise power estimator (NPE), residual echo suppressor (RES), and noise suppressor (NS). Other suitable systems can include one or more of the foregoing acoustic enhancers, and/or one or more of a microphone array beamformer, a blind-source separation system, an artificial bandwidth extension system, a dereverberation system, and a packet-loss concealment system. The tuning problem can be cast as an optimization problem where the cost function is an objective measure of perceived speech quality, and the optimization variables are the parameters of the speech enhancement system. 
         [0046]    A nonlinear program is presented to determine a global solution to the optimization problem. 
         [0047]    According to another aspect of the present disclosure, a large multi-condition database can be automatically generated by considering characteristics of human conversational speech. Such a database can encompass different key factors including room impulse responses (RIRs), noise types, speakers, and echo return losses (ERLs) and signal-to-noise ratios (SNRs), to model a real full-duplex communication scenario, as shown in  FIG. 1 . In addition (or alternative) to the foregoing types of acoustic impairments, such a database can encompass other impairments, for example, reverberation nonlinearities, loudspeaker nonlinearities, and other typical distortions found in full-duplex communication. For validation purposes, a plurlaity of objective measures of perceived speech quality were used as optimization criteria and the filtered speech results were compared using a subjective listening test. 
         [0048]    According to yet another aspect of the present disclosure, parameters of a speech enhancement (SE) system can be determined to maximize the SE system&#39;s performance when constrained according to computational costs imposed by one or more selected target platforms. 
         [0049]    In Section 2, the different components of one exemplary speech enhancement system are presented and the tuning parameters outlined. In Section 3, we formalize tuning as an optimization problem and we present a minimization technique proposed to find a global solution. In Section 4, we define a method to generate a large scale database to design and test our illustrative speech enhancer embodiment. In Section 5, we present results in terms of objective and subjective quality testing for different optimization criteria. In Section 6, we present observations relating to perceptual objective based tuning and methodology design, suggest future directions for perceptual objective based tuning and methodology design and review approaches for automatically tuning SE systems. In Section 7, we present several components of an example of an SE system along with several corresponding parameters. In Section 8, we introduce a constrained optimization framework and a related technique used to tune the exemplary SE system. In Section 9, we give a thorough explanation of the experimental setup and present the results of the computationally constrained optimization for several different scenarios considered. In Section 10, we describe computing environments suitable for implementing disclosed techniques, and in Section 11 we describe alternative embodiments of disclosed innovations. 
       Section 2 
     Speech Enhancement Methods 
       [0050]    Let y[n] be the near-end microphone signal, which consists of the near-end speech s[n] and noise v[n] mixed with the acoustic echo d[n]=h[n]*x[n], where h[n] is the impulse response of the system, x[n] is the far-end reference signal, and * is the convolution operator. The overall block diagram of one example of a speech enhancer is shown in  FIGS. 2 and 3 . The exemplary enhancer has an acoustic echo canceler (AEC), a residual echo power estimator (RPE), a noise power estimator (NPE), a residual echo suppressor (RES), and a noise suppressor (NS). Other speech enhancers can have one or more of the foregoing components, and/or one or more of a microphone array beamformer, a blind-source separation system, an artificial bandwidth extension system, a dereverberation system, and a packet-loss concealment system 
         [0051]    In the exemplary enhancer, the RES and the NS can be combined by using only one NS unit while taking the estimated noise power from both the RPE and the NPE as shown in  FIG. 3 . The AEC subtracts the linear part of the echo while the RESNS suppresses the nonlinear part of the echo and noise. Due to the modeling mismatch between the estimated room impulse response ĥ and the actual room impulse response h, the error signal of the AEC is given by 
         [0000]        e[n]=s[n]+v[n]+b[n],   Equation (1)
 
         [0000]    where b[n]=d[n]−{circumflex over (d)}[n] is the true, noise-free, residual echo. Therefore, the output of the AEC can be further enhanced through RESNS, which is usually implemented in the short-time Fourier transform (STFT) domain. 
       2.1 Robust Acoustic Echo Canceler 
       [0052]    Since strong near-end interference may corrupt the error signal of the AEC and cause the adaptive filter to diverge, a robust acoustic echo canceler (RAEC) system can be used, where the error recovery nonlinearity (ERN), batch iterative adaptation, and the noise-robust adaptive step-size are used to allow for continuous update of the adaptive filter without the use of a double-talk detector to freeze the adaptation. To reduce the delay of the frequency-domain adaptive filter, the multi-delay adaptive filter structure can be used, as but one example. 
       2.2 Residual Echo Power Estimator 
       [0053]    A coherence based method can be used for the RPE. The residual echo is modeled as (omitting the frame index m whenever necessary for simplicity) 
         [0000]        B   k   =ΔH   T   k   X   k ,  Equation (2)
 
         [0000]    where ΔH k =[ΔH k [0], . . . , ΔH k [M RPE −1]] T  (system distance in the STFT domain) and X k =[X k  [m], . . . , X k [m−M RPE +1]] T  for the k th  frequency bin. The system distance can be estimated using a minimum mean-square error (MMSE) approach: 
         [0000]      Δ Ĥ   k   =E{X*   k   X   k   T } −1   E{*   k   B   k }≡Φ XX   −1   [k]Φ   XB   [k].   Equation (3)
 
         [0054]    Using only the diagonal terms of the autocorreltion matrix Φ XX  the error signal E in place of the true residual echo B, the residual echo power is estimated by 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         λ 
                         B 
                       
                        
                       
                         [ 
                         k 
                         ] 
                       
                     
                     = 
                     
                       
                          
                         
                           
                             
                               
                                 
                                   Φ 
                                   ^ 
                                 
                                 XE 
                                 T 
                               
                                
                               
                                 [ 
                                 k 
                                 ] 
                               
                             
                              
                             
                               X 
                               k 
                             
                           
                           
                             
                               
                                 Φ 
                                 ^ 
                               
                               XX 
                             
                              
                             
                               [ 
                               k 
                               ] 
                             
                           
                         
                          
                       
                       2 
                     
                   
                   , 
                   
                     
 
                   
                    
                   where 
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     4 
                     ) 
                   
                 
               
             
             
               
                 
                   
                     
                       
                         
                           Φ 
                           ^ 
                         
                         XE 
                       
                        
                       
                         [ 
                         
                           k 
                           , 
                           m 
                         
                         ] 
                       
                     
                     = 
                     
                       
                         
                           α 
                           RPE 
                         
                          
                         
                           
                             
                               Φ 
                               ^ 
                             
                             XE 
                           
                            
                           
                             [ 
                             
                               k 
                               , 
                               
                                 m 
                                 - 
                                 1 
                               
                             
                             ] 
                           
                         
                       
                       + 
                       
                         
                           ( 
                           
                             1 
                             - 
                             
                               α 
                               RPE 
                             
                           
                           ) 
                         
                          
                         
                           X 
                           k 
                           * 
                         
                          
                         
                           E 
                           k 
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     5 
                     ) 
                   
                 
               
             
             
               
                 
                   
                     
                       
                         Φ 
                         ^ 
                       
                       XX 
                     
                      
                     
                       [ 
                       
                         k 
                         , 
                         m 
                       
                       ] 
                     
                   
                   = 
                   
                     
                       
                         α 
                         RPE 
                       
                        
                       
                         
                           
                             Φ 
                             ^ 
                           
                           XX 
                         
                          
                         
                           [ 
                           
                             k 
                             , 
                             
                               m 
                               - 
                               1 
                             
                           
                           ] 
                         
                       
                     
                     + 
                     
                       
                         ( 
                         
                           1 
                           - 
                           
                             α 
                             RPE 
                           
                         
                         ) 
                       
                        
                       
                         
                           
                              
                             
                               X 
                               k 
                             
                              
                           
                           2 
                         
                         . 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     6 
                     ) 
                   
                 
               
             
           
         
       
     
       2.3 Noise Power Estimator 
       [0055]    A low complexity MMSE noise power estimator that implicitly accounts for the speech presence probability (SPP) is used for the NPE. The MMSE estimation of a noisy periodogram under speech presence uncertainty results in 
         [0000]        E{λ   V   [k]|E   k   }=P ( H   1   |E   k )λ V   [k]+P ( H   0   |E   k )| E   k | 2 ,  Equation (7)
 
         [0000]    where the a posteriori SPP is calculated by 
         [0000]    
       
         
           
             
               
                 
                   
                     P 
                      
                     
                       ( 
                       
                         
                           H 
                           1 
                         
                          
                         
                           E 
                           k 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         [ 
                         
                           1 
                           + 
                           
                             
                               ( 
                               
                                 1 
                                 + 
                                 
                                   ξ 
                                   
                                     H 
                                     1 
                                   
                                 
                               
                               ) 
                             
                              
                             
                               exp 
                               ( 
                               
                                 
                                   - 
                                   
                                     
                                       
                                          
                                         
                                           E 
                                           k 
                                         
                                          
                                       
                                       2 
                                     
                                     
                                       
                                         λ 
                                         V 
                                       
                                        
                                       
                                         [ 
                                         
                                           k 
                                           , 
                                           
                                             m 
                                             - 
                                             1 
                                           
                                         
                                         ] 
                                       
                                     
                                   
                                 
                                  
                                 
                                   
                                     ξ 
                                     
                                       H 
                                       1 
                                     
                                   
                                   
                                     1 
                                     + 
                                     
                                       ξ 
                                       
                                         H 
                                         1 
                                       
                                     
                                   
                                 
                               
                               ) 
                             
                           
                         
                         ] 
                       
                       
                         - 
                         1 
                       
                     
                     . 
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     8 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    The noise power spectral density is then updated by 
         [0000]      λ V   [k,m]=α   NPE λ V   [k,m− 1]+(1−α NPE ) E{λ   V   [k]|E   k }.  Equation (9)
 
         [0000]    To avoid stagnation due to an underestimated noise power, a smoothing is performed 
         [0000]          P =α   P     P   +(1−α P ) P ( H   1   |E   k ),  Equation (10)
 
         [0000]    and the following ad-hoc procedure is used for the update: 
         [0000]    
       
         
           
             
               
                 
                   
                     P 
                      
                     
                       ( 
                       
                         
                           H 
                           1 
                         
                          
                         
                           E 
                           k 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     { 
                     
                       
                         
                           
                             
                               min 
                                
                               
                                 { 
                                 
                                   
                                     P 
                                      
                                     
                                       ( 
                                       
                                         
                                           H 
                                           1 
                                         
                                          
                                         
                                           E 
                                           k 
                                         
                                       
                                       ) 
                                     
                                   
                                   , 
                                   
                                     P 
                                     TH 
                                   
                                 
                                 } 
                               
                             
                             , 
                           
                         
                         
                           
                             
                               
                                 P 
                                 _ 
                               
                               &gt; 
                               
                                 P 
                                 TH 
                               
                             
                             , 
                           
                         
                       
                       
                         
                           
                             
                               P 
                                
                               
                                 ( 
                                 
                                   
                                     H 
                                     1 
                                   
                                    
                                   
                                     E 
                                     k 
                                   
                                 
                                 ) 
                               
                             
                             , 
                           
                         
                         
                           
                             otherwise 
                             . 
                           
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     11 
                     ) 
                   
                 
               
             
           
         
       
     
       2.4 Noise Suppressor 
       [0056]    The Ephraim and Malah log-spectral amplitude (LSA) MMSE estimator can be used for the NS: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       G 
                       k 
                       LSA 
                     
                     = 
                     
                       
                         
                           ξ 
                           k 
                         
                         
                           1 
                           + 
                           
                             ξ 
                             k 
                           
                         
                       
                        
                       
                         exp 
                          
                         
                           ( 
                           
                             
                               1 
                               2 
                             
                              
                             
                               
                                 ∫ 
                                 
                                   
                                     
                                       ξ 
                                       k 
                                     
                                      
                                     
                                       γ 
                                       k 
                                     
                                   
                                   
                                     1 
                                     + 
                                     
                                       ξ 
                                       k 
                                     
                                   
                                 
                                 ∞ 
                               
                                
                               
                                 
                                   
                                      
                                     
                                       - 
                                       t 
                                     
                                   
                                   t 
                                 
                                  
                                 
                                    
                                   t 
                                 
                               
                             
                           
                           ) 
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     12 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    where the a priori SNR ξ k  and the a posteriori SNR γ k  are 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       ξ 
                       k 
                     
                     = 
                     
                       
                         
                           E 
                            
                           
                             { 
                             
                               
                                  
                                 
                                   S 
                                   k 
                                 
                                  
                               
                               2 
                             
                             } 
                           
                         
                         
                           
                             E 
                              
                             
                               { 
                               
                                 
                                    
                                   
                                     V 
                                     k 
                                   
                                    
                                 
                                 2 
                               
                               } 
                             
                           
                           + 
                           
                             E 
                              
                             
                               { 
                               
                                 
                                    
                                   
                                     B 
                                     k 
                                   
                                    
                                 
                                 2 
                               
                               } 
                             
                           
                         
                       
                       = 
                       
                         
                           
                             λ 
                             S 
                           
                            
                           
                             [ 
                             k 
                             ] 
                           
                         
                         
                           
                             
                               λ 
                               V 
                             
                              
                             
                               [ 
                               k 
                               ] 
                             
                           
                           + 
                           
                             
                               λ 
                               B 
                             
                              
                             
                               [ 
                               k 
                               ] 
                             
                           
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     13 
                     ) 
                   
                 
               
             
             
               
                 
                   
                     γ 
                     k 
                   
                   = 
                   
                     
                       
                         E 
                          
                         
                           { 
                           
                             
                                
                               
                                 E 
                                 k 
                               
                                
                             
                             2 
                           
                           } 
                         
                       
                       
                         
                           E 
                            
                           
                             { 
                             
                               
                                  
                                 
                                   V 
                                   k 
                                 
                                  
                               
                               2 
                             
                             } 
                           
                         
                         + 
                         
                           E 
                            
                           
                             { 
                             
                               
                                  
                                 
                                   B 
                                   k 
                                 
                                  
                               
                               2 
                             
                             } 
                           
                         
                       
                     
                     = 
                     
                       
                         
                           
                             λ 
                             E 
                           
                            
                           
                             [ 
                             k 
                             ] 
                           
                         
                         
                           
                             
                               λ 
                               V 
                             
                              
                             
                               [ 
                               k 
                               ] 
                             
                           
                           + 
                           
                             
                               λ 
                               B 
                             
                              
                             
                               [ 
                               k 
                               ] 
                             
                           
                         
                       
                       . 
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     14 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    The estimation of the a priori SNR is done, by way of example, using the decision-directed (DD) approach: 
         [0000]    
       
         
           
             
               
                 
                   
                     ξ 
                     k 
                     DD 
                   
                   = 
                   
                     
                       
                         α 
                         DD 
                       
                        
                       
                         
                           
                              
                             
                               
                                 
                                   S 
                                   ^ 
                                 
                                 k 
                               
                                
                               
                                 [ 
                                 
                                   m 
                                   - 
                                   1 
                                 
                                 ] 
                               
                             
                              
                           
                           2 
                         
                         
                           
                             
                               λ 
                               V 
                             
                              
                             
                               [ 
                               
                                 k 
                                 , 
                                 m 
                               
                               ] 
                             
                           
                           + 
                           
                             
                               λ 
                               B 
                             
                              
                             
                               [ 
                               
                                 k 
                                 , 
                                 m 
                               
                               ] 
                             
                           
                         
                       
                     
                     + 
                     
                       
                         ( 
                         
                           1 
                           - 
                           
                             α 
                             DD 
                           
                         
                         ) 
                       
                        
                       max 
                        
                       
                         
                           { 
                           
                             
                               γ 
                               k 
                             
                             - 
                             
                               1 
                               , 
                               0 
                             
                           
                           } 
                         
                         . 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     15 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    To further reduce the musical noise, the suppression gain is limited to a certain minimum value 
         [0000]        Ŝ   k =[(1− G   min ) G   k   LSA   +G   min   ]E   k .  Equation (16)
 
       Section 3 
     Tuning as an Optimization Problem 
     3.1 Cost Function 
       [0057]    A general mathematical optimization problem has the form 
         [0000]      minimize  D ( p ) 
         [0000]      subject to  L   i ≦ƒ i ( p )≦ U   i   , i= 1, . . . , C.   Equation (17)
 
         [0058]    Here the vector p={p 1 , p 2 , . . . , p N } ε R N  is the optimization variable of the problem, the function D(•):R N →R is the objective function, the functions ƒ i (•):R N →R are the C inequality constraint functions, and the pair of constants {U i ,L i } are the limits, or bounds, for the constraints. 
         [0059]    The tuning problem can be easily formalized as the above optimization problem. In this case, the objective function to maximize is the speech quality, or MOS, produced by the speech enhancement system. Since most are full-reference measures, they will be calculated when compared to the clean speech signal. The measure in this case is the increase in quality, or ΔMOS, and will be calculated as follows: 
         [0000]      ΔMOS( ŝ[n],y[n ])=MOS( ŝ[n],s[n ])MOS( y[n],s[n ]),
 
         [0000]    where y[n], s[n], and ŝ[n] are the signals considered in Section 2. We can reasonably assume that inequality constraint functions are linear and univariate, thus the constraints simplify to determine lower and upper bounds limit for the components of the solution vector. Our optimization problem then becomes: 
         [0000]      maximize ΔMOS( ŝ[n,p],s[n ])
 
         [0000]      subjectto  U≦p≦L.   Equation (18)
 
         [0000]    where p is now the vector of the parameters that need tuning, ŝ[n,p] is the speech enhancement system output obtained with these parameters, and L and U represent, respectively, lower and upper bounds for the values each variable. While not strictly necessary, explicitly defining these bounds in our formulation allows us to obtain faster and more reliable solutions. 
       3.2 Optimization Methods 
       [0060]    Since the objective function is not linear and not known to be convex, there are no effective methods for solving Equation (18). Performing a brute force search with as few as ten variables can be extremely challenging, while problems with a few hundreds of variables can be intractable. Methods for the general nonlinear programming problem therefore take several different approaches, each of which involves some compromise. So-called Genetic Algorithms (GA) have been successfully applied to this type of non-convex mixed-integer optimization. Various steps of a GA methodology are outlined below. 
         [0061]    Step 1—An initial population of values Π (0) ={p m   (0) , m=1, . . . , M}, where M is the number of possible value sets in a single generation, is generated randomly with a uniform distribution over the space of feasible values [L,U]: 
         [0000]        p   m   (0) :∪( L,U ).  Equation (19)
 
         [0000]    The terms L and U can be determined through a preliminary analysis based on an educated guess done by observing the function&#39;s behavior during the method&#39;s implementation phase. 
         [0062]    Step 2—The cost function in Equation (18) is evaluated for each set of values at the k th generation, Π (0) ={p m   (0) , m=1, . . . , M}, and the best N sets are migrated to the next generation Π (k+1) . The remaining M−N sets of values of Π (k+1)  are generated from Π (k)  either through crossover (p c ) or mutation (p m =1−p c ). 
         [0063]    The sets that go through crossover/mutation are chosen in a series of tournament selections: a random set of ω parameter sets is extracted from the population, Ω⊂Π (k) , and the set p m   (k) εΩ with the best ΔMOS(ŝ[n,p m   (k) ],y[n]) is then selected. 
         [0064]    Crossover—Given two sets of parameters from a previous generation p n   (k) ,p l   (k) εΠ (k) , a good but not optimum value of their cost function may be due to the fact that both sets approximate well some but not all parameters p. However, as the function {circumflex over (v)}[n,p] is not invertible, we are unable to determine which parameters have a good/bad match. As a consequence, the crossover function Φ makes a random weighted mean of the two set of parameters 
         [0000]        p   m   (k+1) =Φ( p   n   (k)   ,p   l   (k) )=β ep   n   (k) +(1−β) ep   l   (k)   Equation (20)
 
         [0000]    where β:∪(0,1) and e denotes element-wise multiplication. 
         [0065]    Mutation—The mutation p m   (k+1) =Ψ(p n   (k) ) of the set of values has the objective of) prevent falling of all elements in the population to a local minimum. Different heuristic approaches can be used to design a mutation function and are often associated to the type of problem. Given that strategies like variable value swapping and other nonlinearities do not really apply to our case, we will use two of the most common types of perturbations. The Uniform perturbation replaces the value of a chosen element with a uniform random value selected between the upper and lower bounds for that element. The Gaussian perturbation adds a unit Gaussian distributed random value a chosen vector element. If the value falls outside of the user-specified lower or upper bounds for that element, the value is clipped. 
         [0066]    Step 3—The Step 2 is repeated until a halting criterion is reached, e.g., the best cost function does not changes for Δk generations or a prescribed number of generations is reached. The set of parameters p m   (K) εΠ (K)  with the largest value of the cost function will provide our estimate: 
         [0000]    
       
         
           
             
               
                 
                   p 
                   = 
                   
                     
                       argmax 
                       
                         
                           P 
                           m 
                           
                             ( 
                             K 
                             ) 
                           
                         
                         ∈ 
                         
                           Π 
                           
                             ( 
                             K 
                             ) 
                           
                         
                       
                     
                      
                     
                         
                     
                      
                     Δ 
                      
                     
                         
                     
                      
                     
                       MOS 
                        
                       
                         ( 
                         
                           
                             
                               s 
                               ^ 
                             
                              
                             
                               [ 
                               
                                 n 
                                 , 
                                 
                                   p 
                                   m 
                                   
                                     ( 
                                     K 
                                     ) 
                                   
                                 
                               
                               ] 
                             
                           
                           , 
                           
                             y 
                              
                             
                               [ 
                               n 
                               ] 
                             
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     21 
                     ) 
                   
                 
               
             
           
         
       
     
       Section 4 
     Database Generation 
       [0067]    Several studies address the characteristics of human conversational speech, including the importance on understanding and quantifying them, e.g., for optimizing and guiding the design of conventional echo cancelers. The ITU-T P.59 Recommendation is a good starting point to understand and define the so-called “conversational events”: talk-spurt, pause, mutual silence, and double-talk. The methodology to generate speech presented in is rather simple and relies on hand-coded expert knowledge, thus it does not lend itself easily to automatic generation of conversation speech. In order to generate a large database, we need a more effective method. 
         [0068]    Conventional methodologies are focused on human-machine turn-taking with very little mutual social interaction. We therefore propose a flexible model of conversational behavior using a 4-stated Markov chain model where state corresponds to, respectively, mutual silence (MS), near-end talk (NE), far-end talk (FE), and double-talk (DT), defining all the possible combination of the components of y[n], as described in Section 2. 
         [0069]    The Markov chain model is uniquely described by its transition matrix T to model the generation model and the related distributions of the conversational events. According to the distribution of the single talk duration T ST , double talk duration T DT , and mutual silence duration T MS , we are able to use a Markov chain Monte Carlo (MCMC) sampling technique to find the transition matrix T of a 4-state Markov chain. An example of the sequence to be modeled is shown in  FIG. 4 . 
         [0070]    In the example discussed herein, the following constraints were imposed on the Markov chain:
       transitions from NE to FE and FE to NE are not allowed;   transitions from MS to DT and DT to MS are not allowed;   the transition probabilities of going from MS to NE and MS to FE are equivalent.       
 
         [0074]    The Markov chain obtained is represented in  FIG. 5  and its transition matrix can be expressed as follows: 
         [0000]    
       
         
           
             
               
                 
                   T 
                   = 
                   
                     
                       [ 
                       
                         
                           
                             
                               1 
                               - 
                               
                                 2 
                                  
                                 
                                   p 
                                   1 
                                 
                               
                             
                           
                           
                             
                               p 
                               1 
                             
                           
                           
                             
                               p 
                               1 
                             
                           
                           
                             0 
                           
                         
                         
                           
                             
                               p 
                               2 
                             
                           
                           
                             
                               1 
                               - 
                               
                                 p 
                                 3 
                               
                               - 
                               
                                 p 
                                 2 
                               
                             
                           
                           
                             0 
                           
                           
                             
                               p 
                               3 
                             
                           
                         
                         
                           
                             
                               p 
                               2 
                             
                           
                           
                             0 
                           
                           
                             
                               1 
                               - 
                               
                                 p 
                                 3 
                               
                               - 
                               
                                 p 
                                 2 
                               
                             
                           
                           
                             
                               p 
                               3 
                             
                           
                         
                         
                           
                             0 
                           
                           
                             
                               p 
                               4 
                             
                           
                           
                             
                               p 
                               4 
                             
                           
                           
                             
                               1 
                               - 
                               
                                 2 
                                  
                                 
                                   p 
                                   4 
                                 
                               
                             
                           
                         
                       
                       ] 
                     
                     . 
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     22 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    Thus, the model is represented by only four parameters. This makes it very easy to modify to fit different types of conversation scenarios with different levels of interactivity. 
         [0075]    The NE and FE speech databases shown in  FIG. 1  can be composed by continuous speech with no pauses as the conversational model will handle the creation of the conversational events. 
       Section 5 
     Experimental Analysis 
       [0076]    The optimization framework presented in Section 3 was used to tune and evaluate the speech enhancement technique presented in Section 2. Here we provide details for the method proposed and the results obtained. 
       5.1 Setup 
       [0077]    The speech databases were generated using the ITU-T P-Series test signals. This set includes 16 recorded sentences in each of 20 languages and sentences recorded in the anechoic environment, sampled at 16 kHz. From these, we generated two single-channel signal, NE and FE, with continuous activity (i.e. without pauses). The total duration of the speech data is about one hour per channel. The NE (near end) and FE (far end) speech segments were generated using the Markov chain presented in Section 4 with p 1 =0.04, p 2 =0.03, p 3 =0.05, p 4 =0.25, generating the same statistical behavior of conversational events as specified above. 
         [0078]    A noise database was used which included babble (e.g., airport, cafeteria, exhibition, and restaurant) noise, white and pink noise, impulsive noise (e.g., hammering), airplane cabin noise, car noise from a variety of car models, and street noise. 
         [0079]    The room impulse responses were calculated in real environments using the Audio Precision APx525 log-swept chirp signal through the Beats by Dr. Dre Pill Portable Speaker and truncated to the desired length (ƒ s =48 kHz, resampled at 16 kHz). The average RT 60  was 0.28 s. 
         [0080]    In order to generate the NE and FE segments, a starting and ending point were chosen randomly within the NE and FE channels. The 1000 generated segments were between 6 to 8 seconds in length, taken generally to be ideal for objective quality measures. The two segments were then normalized to −26 dBov to avoid clipping, following the ITU-T Recommendation P.835, and convolved with their respective impulse response with normalized unitary energy. The microphone signal was created as follows. The NE signal was mixed with the FE signal at a Signal to Echo Ratio (SER) uniformly distributed between −30 and 5 dB. The scaling was done by calculating the energy of the signals. The noise was then mixed at a SNR uniformly distributed between −5 to 10 dB, according to the noise RMS and the mixed speech signal energy. 
         [0081]    Considering the speech enhancement techniques presented in Section 2 and the problem in Equation (18), we define the parameter vector as 
         [0000]        p={M   AEC   ,N   AEC ,μ AEC ,α AEC   ,M   RPE ,α RPE ξ H     1     ,P   TH ,α P ,α NPE ,α DD   ,G   min },  Equation (23)
 
         [0000]    and empirically determine reasonable upper and lower bounds for each variable. The genetic algorithm had a population of M=20 possible candidates. The best N=4 were migrated to the next generation. Of the remaining sets, half went through crossover and half went through mutation (Uniform mutation was chosen). The perceptual objective quality measures used were PESQ, POLQA, and the recently introduced ViSQOL. For reference purposes, we include the manually tuned reference where the parameters were set during design of the speech enhancer. 
         [0082]    The tuning parameters discussed above are frequency independent, i.e. the same parameter is used for all frequency bins as an example used for clarity. However, the tuning parameters can be expanded such that for each frequency bin there is a frequency-bin dependent tuning parameter. For frequency-bin-dependent tuning, the tuning parameters become 
         [0000]        p={M   AEC   ,N   AEC ,μ AEC ,α AEC   ,M   RPE ,α RPE ξ H     1     ,P   TH ,α P ,α NPE ,α DD   ,G   min }, μ AEC =[μ AEC [0], . . . ,μ AEC   [K− 1]] T  
 
         [0000]    where μ is a vector of parameters, one or more (or all) of which is frequency dependent, for example. Solutions for the various frequency-dependent tuning parameters can be reached in accordance with approaches discussed above. 
       5.2 Results 
       [0083]    We obtained four sets of parameters: p POLQA , p PESQ , and p ViSQOL , and p MANUAL . For comparison, we include four other objective measures that do not account for perceptual measures, Log-Spectral Distortion (LSD), true Echo Return Loss Enhancement (Echo Gain), Mean Square Error (MSE), and a combined measure where the AEC block is optimized using tERLE and the RPE, NPE, and NS blocks are optimized with LSD (with fixed AEC parameters). These will be p LSD , p MSE , and p tERLE , and p tERLE+LSD . We divide the database in two parts, 80% is used to estimate the parameters, 20% is used for testing. The results in terms of ΔMOS calculated using PESQ, POLQA, and ViSQOL are shown in Table 1. The results show a net improvement in MOS over the manually tuned method, which, in turn, outperforms all the objective measures. This proves that, in general, a trained ear is much better at determining proper values for the various parameters than objective approaches, even if the testing is done on a limited set. However, the strength of large-scale optimization and the reliability of perceptual measures like POLQA, increases greatly the performance of the approach with a ΔMOS POLQA, arguably the most reliable objective measure for speech enhancement performance evaluation, increase of 0.35. The PESQ and ViSQOL measures, even in different ratios, agree with the POLQA-based evaluation. The rest of the results agree with the intuition, with measures like tERLE and LSD, and the combination of the two, outperforming MSE. All the perceptual measures give good performance, curiously p POLQA  achieves slightly better results than n p ViSQOL  in terms of ΔMOS ViSQOL, this means that the optimal solution in the ViSQOL optimization was not optimal in the testing scenario. 
         [0000]    
       
         
               
             
               
               
               
               
               
             
           
               
                 TABLE 1 
               
             
             
               
                   
               
               
                 Comparison between the objective improvements in MOS 
               
               
                 calculated with POLQA, PESQ, and ViSQOL obtained with  
               
               
                 different sets of parameters calculated with different criteria.  
               
               
                 A 95% confidence interval is given for each value. 
               
             
          
           
               
                   
                 METHOD 
                 ΔMOS PESQ 
                 ΔMOS POLQA 
                 ΔMOS ViSQOL 
               
               
                   
                   
               
               
                   
                 p POLQA   
                 .455 ± .021 
                 .654 ± .042 
                 .387 ± .021 
               
               
                   
                 p PESQ   
                 .475 ± .035 
                 .442 ± .050 
                 .342 ± .053 
               
               
                   
                 p ViSQOL   
                 .358 ± .028 
                 .487 ± .450 
                 .369 ± .032 
               
               
                   
                 p MANUAL   
                 .276 ± .083 
                 .296 ± .121 
                 .201 ± .089 
               
               
                   
                 p LSD   
                 .139 ± .042 
                 .221 ± .046 
                 .154 ± .043 
               
               
                   
                 p tERLE   
                 .147 ± .053 
                 .234 ± .067 
                 .121 ± .025 
               
               
                   
                 p tERLE+LSD   
                 .194 ± .061 
                 .246 ± .049 
                 .173 ± .082 
               
               
                   
                 p MSE   
                 .138 ± .089 
                 .179 ± .134 
                 .104 ± .091 
               
               
                   
                   
               
             
          
         
       
     
       Section 6 
     Summary of Speech Enhancement Systems 
       [0084]    We have presented a methodology to tune the parameters of different components of a speech enhancer. The values of the parameters can often be chosen empirically in the deployment stage of the enhancer design, thus they are likely suboptimal. We have proven that optimizing over an objective criterion that embeds aspect of human perception seems to work reasonably well in determining better solutions to the tuning problem. In particular, a subjective test showed a fairly significant preference over a system manually tuned. Furthermore, using standardized objective quality measures like PESQ and POLQA, we have seen a net increase in MOS, usually not easily obtained without significant methodology changes. In order to perform the large scale optimization, we implemented one example of a method to determine a database for full-duplex communication which creates realistic communication scenarios. The methodology presented can be a first step toward a more elegant way to handle the tuning problem, helping in the deployment process as well as suggesting shortcomings of the tested technique. 
         [0085]    As noted, an aspect of research and development efforts in SE systems design is to integrate different approaches to maximize, or minimize, a given measure which reflects the purpose of the approach. When the SE systems are used in full-duplex speech communications, the perceptual quality of the approach can be maximized, where the mean opinion score (MOS) is one standard measure of perceptual quality. This score can be calculated using automated techniques that mimic the human hearing process. The ITU-T standardized model is a Perceptual Objective Listening Quality Assessment (POLQA), which can produce reliable scores for evaluating SE approaches and can overcome several limitations of predecessor objective measures of perceived sound quality, e.g, the Perceptual Evaluation of Speech Quality (PESQ). 
         [0086]    When SE systems are used as a pre-processor for automatic speech recognition (ASR), maximizing the accuracy of the recognizer is the target of the design approach. While model-domain enhancement methods have shown to better account for mismatch between training condition and application scenario, methods relying on fixed acoustic models (e.g., Hidden Markov Models, HMMs, defined with Gaussian Mixture Models, GMMs) are still the most common methods for embedded limited-vocabulary applications. Therefore, these methods rely heavily on SE approaches before extracting a set of features for recognition as they need to match the training conditions of the ASR. Accurate ways to asses ASR reliability are still a matter of debate as heavily application and context dependent, however in embedded systems scenarios, the Phone Accuracy Rate (PAR) or, at a higher semantic level, Word Accuracy Rate (WAR) are generally appropriate quality measures. 
         [0087]    A commercially viable design and prototyping of a SE system can, and desirably will, take into account the type of platform in which the approach will be deployed. While other type of integrated circuits can be used, e.g., field-programmable gate array (FPGAs), dedicated digital signal processors (DSPs) are the most common choice for audio related applications, generally providing lower-cost solution, with lower latency and lower energy consumption. Meeting the specified requirements of the number of instructions that the DSP can handle, often quoted in MIPS (million instructions per second), is generally a nonnegotiable condition. Determining the computational cost of an approach is done by counting the number of simple mathematical operation, i.e., multiplications and additions, particular arithmetic operations, e.g., multiply-accumulate (MAC), different logic operations (AND, XOR, etc.), as well as the usage of predefined highly-optimized subroutines already embedded in the processor, e.g., the fast Fourier transform (FFT). 
         [0088]    The objective of maximizing the perceptual quality or the recognition accuracy often collides with the computational constraints imposed by the platform. While a good practice is to profile each component of a SE system as it is being developed to avoid overly complex solutions, the optimization and tuning of the system is done only at an advanced stage of the development often considering each computational component independently. Furthermore, the optimization of its components is often done by means of measures that are easier to handle mathematically, e.g., the mean squared error (MSE) or log-spectral distortion (LSD), but do not relate well with the real goal of the SE system. The results of this approach are obviously suboptimal. 
         [0089]    In our currently pending U.S. Patent Application No. 61/893,147, filed Oct. 18, 2013, and 61/937,522, filed Feb. 8, 2014, we formalized the tuning of a SE system for a full-duplex communications by casting it as an optimization problem where the cost function was a perceptual objective measure and the optimization variables were its parameters. Our currently pending U.S. Patent Application No. 61/973,155, filed Mar. 31, 2014, discloses extensions of that work, including an optimization of a ASR front-end where the imposed cost function is the back-end recognizer accuracy. In those disclosures, the optimization problem was unconstrained. Accordingly, any solution satisfying the maximization of the perceptual objective quality or recognition accuracy satisfied the optimization problem. 
         [0090]    Subsequent Sections in this disclosure introduce, by way of example, a penalty function accounting for the computational cost in the optimization problem. A system to be optimized, by way of example, includes several computational blocks. Two large databases of conversation speech that cover a large number of scenarios are derived from the TIMIT database for training and testing. The system is then optimized for the applications scenarios mentioned above: full-duplex communication and ASR front-end. 
       Section 7 
     An Example of a Speech Enhancement System 
       [0091]    As with the SE system presented in Section 2, above, let y[n] be the near-end microphone signal, which consists of the near-end speech s[n] and noise v[n] mixed with the acoustic echo d[n]=h[n]*x[n], where h[n] is the impulse response of the system, x[n] is the far-end reference signal, and * is the convolution operator. The overall block diagram of one example of a speech enhancement system used for purposes of illustrating presently disclosed constrained optimization techniques is shown in  FIG. 6 . In particular, the exemplary SE system has two RAEC, a DTP estimator, two RPE, a NPE, and a combined NS and binary mask. 
         [0092]    In  FIG. 6 , e pri [n] represents the error signal before the adaptive filter update, while e 1 [n] and e 2 [n] are the error signals after the filter update. λ V,k [m] and λ B,k [m] are respectively the noise power estimate and the residual echo power estimate of the m th  frame in the k th  frequency bin. 
         [0093]    Here we briefly describe the parameters and the computational complexity of the system. The tuning parameters for each of the RAEC include the frame size N RAEC , the number of partitioned blocks M RAEC , the number of iterations N iter , the step-size μ RAEC , the tuning parameter γ RAEC  for the robust adaptive step-size, and the smoothing factor α RAEC  for the power spectral density estimation. The tuning parameters for the DTP consists of the transition probabilities a 01 , a 10 , b 01 , and b 10 , the smoothing factors α DTP  and β DTP , the frequency bin range [k begin ,k end ], the frame duration T DTP , and the adaptation time constants τ. The tuning parameters for the RPE consist of the numbers of partitions M RPE     H    and M RPE     L    to calculate the coherence and the smoothing factors α RPE     H    and α RPE     L    for the power spectral density estimation. The tuning parameters of the NPE consist of the fixed a priori SNR ξ H     1   , the threshold p TH , and the smoothing factors α P  and α NPE  The tuning parameters of the NS include a smoothing factor for the SNR estimator α DD . The tuning parameters for the direct masking include the minimum gain G min , the SNR thresholds θ 1  and θ 2 , the tuning parameter α, and a binary variable b m  that chooses the type of masking applied. 
         [0094]    Table 2 shows the computational complexity per sample for each block, where “mply” stands for multiplication, “add” stands for addition, “sqrt” stands for square root, “if-else” stands for the if-else statement, “div” stands for division, “log” stands for the logarithm function, “exp” stands for the exponential function, “MAC” stands for multiply-accumulation, “cplx” stands for complex number, and “pwrSpectr” stands for the square of the magnitude of a complex number. Eventually, the actual complexity is platform dependent, but each of the fundamental operations such as the FFT can be estimated in terms of DSP cycles, which in turn allows us to estimate the computation on an actual platform in terms of MCPS. Note that FFT RAEC  and FFT STFT  represent the FFT cost per sample by dividing the FFT cost by its block size. Also note that some of the tuning parameters, such as the number of partitioned blocks M RAEC  and M RPE , the 2N RAFC -point FFT of the RAEC, the N STFT -point FFT of the STFT block, and the number of iterations N iter , will influence directly the complexity. Given the computational complexity of each block, the total computational complexity in terms of MCPS is given by 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       C 
                        
                       
                         ( 
                         p 
                         ) 
                       
                     
                     = 
                     
                       
                         ( 
                         
                           
                             C 
                             
                               RAEC 
                               1 
                             
                           
                           + 
                           
                             C 
                             
                               RAEC 
                               2 
                             
                           
                           + 
                           
                             7 
                              
                             
                               C 
                               STFT 
                             
                           
                           + 
                           
                             C 
                             DTP 
                           
                           + 
                           
                             C 
                             
                               RPE 
                               H 
                             
                           
                           + 
                           
                             C 
                             
                               RPE 
                               L 
                             
                           
                           + 
                           
                             C 
                             NPE 
                           
                           + 
                           
                             C 
                             NS 
                           
                         
                         ) 
                       
                        
                       
                         
                           
                             f 
                             s 
                           
                           
                             10 
                             6 
                           
                         
                          
                         
                           [ 
                           MCPS 
                           ] 
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     24 
                     ) 
                   
                 
               
             
           
         
       
     
         [0000]    where p is the vector of optimization parameters and ƒ s  is the sampling rate. Additionally, there is an on-off flag to either turn on or off the second RAEC block to determine whether using the cascaded structure of two RAEC blocks or running only one RAEC block for a higher number of iterations is more beneficial. 
         [0000]    
       
         
               
             
           
               
                 TABLE 2 
               
               
                   
               
               
                 The computational complexity per sample for each block. 
               
               
                   
               
             
             
               
                 C RAEC  = (3N iter  + 2) − FFT RAEC  + (5N iter  + 3) − mply + (3N iter  + 1) − MAC + 
               
               
                 (2N iter  + 1) − cplx − pwrSpectr + (2N iter  + 1)M RAEC  − cplx −  
               
               
                   
               
               
                 mply + N iter  (M RAEC  + 1) − add + N iter  − Sqrt + 2N iter  − div + 
               
               
                   
               
               
                 N iter  − if − else + N iter M RAEC  − real − cplx − mply 
               
               
                 C STFT  = 2 − mply + FFT STFT   
               
               
                 C DTP  = 3 − cplx − pwrSpectr + 18 − mply + 12 − MAC + 1 − cplx −  
               
               
                 mply + 6 − div + 9 − add + 1 − exp +1 − sqrt +1 − log 
               
               
                 C RPE  = 1 − cplx − pwrSpectr + 4 − mply + 3 − MAC + (M RPE  + 1) −  
               
               
                 cplx − mply + (M RPE  + 1) − add + 1 − div 
               
               
                 C NPE  = 1 − cplx − pwrSpectr + 3 − div + 3 − add + 5 − mply +  
               
               
                 1 − exp + 3 − MAC + 2 − if − else 
               
               
                 C NS  = 2 − cplx − pwrSpectr + 2 − add + 1 − if − else + 3 − mply + 2 −  
               
               
                 MAC + 3 − div 
               
               
                   
               
             
          
         
       
     
       Section 8 
     Optimization Framework 
     8.1 Optimization Problem 
       [0095]    The SE system tuning can be formalized mathematically as an optimization problem associateD with an objective function to maximize, depending on the application scenario, under a constraint function accounting for selected implementation requirements (e.g., system-imposed computational limitations imposed by a selected computational system, or computing environment). Defining p as a vector of optimization parameters and ŝ[n,p] as the SE system output obtained with p, the problem can be rewritten as: 
         [0000]      maximize Q ( ŝ[n,p ]), 
         [0000]      subject  to C ( p )≦ C   max ,
 
         [0000]        L≦p≦U.   Equation (25)
 
         [0000]    where Q(•) is the optimization criterion, C(•) is the constraint function that calculates the computational cost associated with the choice of p, and L and U represent, respectively, the selected lower and upper bounds in each element of p. 
         [0096]    Since the objective function is nonlinear and not known to be convex, there is no effective method for solving Equation (25). However, nonlinear programming problem can still be solved by several approaches, each of which involves some compromises. The combinatorial nature of the problem might suggest performing a brute force search, however, even with as few as a dozen variables this problem can be intractable. 
       8.2 Example Approach to Solving Optimization Problem 
       [0097]    As but one example of a suitable approach for solving the described optimization problem, so-called Genetic Algorithms (GAs) have been successfully applied to this type of non-convex mixed-integer optimization problems. The basic idea is to apply genetic operators, such as mutation and crossover, to evolve a set of initial solutions, or population, in order to find the solution that maximizes the cost function. A key element of the evolutionary process of the GA in dealing with nonlinear constraints is determined by the so-called tournament selections. These allow for several random pairwise comparison between sets of parameters which quickly determine the boundary of the feasible region. Several examples of intermediate method acts of the exemplary GA are summarized below: 
         [0000]    Step 1—An initial population of M solutions can first be generated by randomly choosing the values of each set from the feasible region: 
         [0000]        p   m   (0) :∪( L,U ).  Equation (26)
 
         [0098]    The terms L and U can be determined empirically based on the observation of the system behavior during the implementation phase. As a general remark, the feasibility region determined by the bounds in Equation (25) is larger than the one allowed by the constraint, e.g., the complexity of the U solution might be much higher than C max . However, a methodology will be used in the evolutionary process to enforce the feasibility of the solution. 
         [0000]    Step 2—Sets that go through crossovermutation can be selected in a series of tournament selections: a random set of ω parameter sets is extracted from the population, Ω⊂Π (k) , and the set p m   (k) εΩ with the best Q(ŝ[n,p m   (k) ]) can then be selected. The constraint is imposed in the pairwise comparison used in tournament selection by making sure that when one feasible and one infeasible solutions are compared, the feasible solution is chosen, and when two infeasible solutions are compared, the one with smaller constraint violation is chosen.
 
Crossover—Given two sets of parameters from a previous generation p n   (k) , p l   (k) εΠ (k) , a good but not optimum value of their cost function may be due to the fact that both sets approximate well some but not all parameters p. However, as the function Q(ŝ[n,p] is not invertible, we are unable to determine which parameters have a good/bad match. As a consequence, the crossover function is based on a random weighted mean of the two set of parameters
 
         [0000]        p   m   (k+1)   =Φp   n   (k)   ,p   l   (k)   =βep   n   (k) +(1−β) ep   l   (k)   Equation (27)
 
         [0000]    where β:∪(0,1) and e denotes element-wise multiplication.
 
Mutation—The mutation p m   (k+1) =Ψ(p n   (k) ) of the set of values has the objective of prevent falling of all elements in the population to a local minimum. Different heuristic approaches can be used to design a mutation function and are often associated to the type of problem. Given that strategies like variable value swapping and other nonlinearities do not really apply to our case, we will use only the Uniform perturbation which replaces the value of a l-th element with a uniform random value selected between the upper and lower bounds of that particular element:
 
         [0000]      Ψ a ( p   n     l     (k) )=δ,δ:∪( L   l   ,U   l ).  Equation (28)
 
         [0000]    Step 3—The Step 2 is repeated until a halting criterion is reached, e.g., the best cost function does not changes for Δk generations or a prescribed number of generations is reached. The set of parameters p m   (K) εΠ (K)  with the largest value of the cost function will provide our estimate: 
         [0000]    
       
         
           
             
               
                 
                   p 
                   = 
                   
                     
                       argmax 
                       
                         
                           P 
                           m 
                           
                             ( 
                             K 
                             ) 
                           
                         
                         ∈ 
                         
                           Π 
                           
                             ( 
                             K 
                             ) 
                           
                         
                       
                     
                      
                     
                         
                     
                      
                     
                       Q 
                        
                       
                         ( 
                         
                           
                             s 
                             ^ 
                           
                            
                           
                             [ 
                             
                               n 
                               , 
                               
                                 p 
                                 m 
                                 
                                   ( 
                                   K 
                                   ) 
                                 
                               
                             
                             ] 
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   
                     ( 
                     29 
                     ) 
                   
                 
               
             
           
         
       
     
         [0099]    Note that not necessarily all the solutions in the K-th generation might fall within the feasible region, however, their percentage over the complete set will be quite small as long as K is large enough. 
       Section 9 
     Experimental Analysis 
       [0100]    In the experimental evaluation, the optimization framework presented in Section 7 was used to find an appropriate solution for the parameter of the SE system presented in Section 6 used in the two scenarios considered, ASR front-end and full-duplex communications. Here we provide details for the method proposed for evaluation and the results obtained. 
       9.1 Experimental Setup 
     9.1.1 Example of Experimental Dataset Generation 
       [0101]    A key element to any data driven approach is to have a large and well structured amount of data for training and testing. In our case, to properly optimize and evaluate the SE system, we require a large amount of conversational speech. In order to do so, two speech databases were generated using the TIMIT database 1 , one for the optimization process and one for testing. We formalized in the ITU-T P.59 standard to generate Near-End (NE) and Far-End (FE) signal and to determine the duration and patterns of conversational events such as the length of the talk-spurt (TS), pause (PAU), double-talk (DT), and mutual silence (MS), shown by way of example in  FIG. 4 . Suitable choices of Signal-to-Echo Ratio (SER) and Signal-to-Noise Ratio (SNR) need also to be determined depending on the targeted application scenario.  1  The TIMIT database contains a total of 6,300 sentences (≈5.4 hours), sampled at 16 kHz, consisting of 10 sentences spoken by 630 native English speakers from 8 major dialect regions of the United States. 
         [0102]    An instance of the full-duplex database is created as follows. We combine two TIMIT sentences to form the NE speech by concatenating them. These are randomly chosen from the 6,300 sentences by sampling without replacement (to avoid not choosing some utterance). We then extract their voice activity from their phonetic transcription (given on a sample by sample basis) thus determining the speech and non-speech sections duration. Since the TIMIT samples have little non-speech sections, we randomly zero-pad the beginning and the end of the concatenated speech file as well as between the two TIMIT sentences for the speech activity to have a uniform duration distribution between 30 and 45%, thus making the non-speech probability between 55 and 70%, in line with previous studies on conversational speech. 
         [0103]    The FE speech pattern was generated using a 2-state Markov chain which is a collapsed version of a 4-state Markov chain discussed above in Section 4, given that the NE pattern is already fixed. In particular, from the FE side, MS will coincides with NE, creating a PAU state, and DT will coincide with FE itself, creating a TS state. We tune the transition probabilities that define the transition matrix of the Markov chain to match the above mentioned statistics of the NE speech using a Markov chain Monte Carlo (MCMC) sampling approach. The FE speech databases was generated concatenating and removing pauses from the ITU-T P-Series signals 2 . Once the on-off speech pattern of the FE was created, we randomly choose the starting and ending point in the FE channel, and then we overlap it with the NE. Given that certain transitions are not allowed in the conversational model, we run several instances of the Markov chain until the DT probability ranges from 7% to 17% and MS probability from 20% to 30% and no DT-MS and NE-FE transitions occur. An example of the on-off pattern and conversational events for an element of the conversational database is shown in  FIG. 4 , described above.  2  The ITU-T P-Series test signals are composed of 320 sentences (16 sentences per 20 languages), sampled at 16 kHz, making for about one hour of speech. 
         [0104]    A noise database comprised of babble (e.g., airport, cafeteria, exhibition, and restaurant) noise, white and pink noise, impulsive noise (e.g., hammering), airplane cabin noise, car noise from a variety of car models, and street noise was used. The RIRs were calculated in office environments using the Audio Precision APx525 log-swept chirp signal through the Beats Pill portable speaker and truncated to the desired length (ƒ s =48 kHz, resampled at 16 kHz). A set of 10 RIRs was then chosen with average reverberation time, RT 60 , of 0.28 s. 
         [0105]    The 3,150 NE and FE segments were then normalized to −26 dBov to avoid clipping, following ITU-T Recommendations, and convolved with their respective RIR with normalized unitary energy. The microphone signal was created as follows. The NE signal was mixed with the FE signal at SER uniformly distributed between −30 and 5 dB. The scaling was done by calculating the energy of the signals. The noise was then mixed at an SNR uniformly distributed between −5 to 10 dB, according to the noise and the mixed speech signal energies. the choices of RIRs, SER, and SNR were considered empirically appropriate given the possible usage scenarios considered for the Beats Pill portable speaker. 
       9.1.2 Example of Cost Functions 
       [0106]    Several different types of cost function can be used depending on the application targeted. For the full-duplex communication scenario, we used the standardized POLQA algorithm to measure the improvement in Mean Opinion Score (MOS). Since POLQA is a full-referenced measurement system, our objective function is the difference in MOS compared to a clean reference: 
         [0000]    
       
         
           
             
               
                 
                   
                     Q 
                      
                     
                       ( 
                       
                         
                           s 
                           ^ 
                         
                          
                         
                           [ 
                           
                             n 
                             , 
                             p 
                           
                           ] 
                         
                       
                       ) 
                     
                   
                   = 
                     
                    
                   
                     
                       Δ 
                        
                       
                           
                       
                        
                       
                         MOS 
                          
                         
                           ( 
                           
                             
                               
                                 s 
                                 ^ 
                               
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                             , 
                             
                               y 
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                           
                           ) 
                         
                       
                     
                     = 
                   
                 
               
             
             
               
                 
                   
                     = 
                       
                      
                     
                       
                         MOS 
                          
                         
                           ( 
                           
                             
                               
                                 s 
                                 ^ 
                               
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                             , 
                             
                               s 
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                           
                           ) 
                         
                       
                       - 
                       
                         MOS 
                          
                         
                           ( 
                           
                             
                               y 
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                             , 
                             
                               s 
                                
                               
                                 [ 
                                 n 
                                 ] 
                               
                             
                           
                           ) 
                         
                       
                     
                   
                   , 
                 
               
             
           
         
       
     
         [0000]    which has been shown to provide better objective and subjective results for the tuning purpose. 
         [0107]    Since ΔMOS (ŝ[n],y[n]) is defined for only a set of files, we need to assess the quality measure over the whole training or testing dataset to obtain a ΔMOS score for the dataset. Accordingly, ΔMOS (ŝ[n],y[n]) is calculated for each s i [n] file, where i is the index of each file. The ΔMOS score for the dataset can be computed from any meaningful function pertaining to the ensemble of speech samples. Such meaningful functions can include, for example, functions like “min” (e.g., determining the minimum ΔMOS score for the dataset), “max” (e.g., determining the maximum ΔMOS score for the dataset), “mean” (e.g., determining the mean ΔMOS score for the dataset), “median” (e.g., ΔMOS score for the dataset), etc. 
         [0108]    For the ASR front-end scenario, the capability of the recognizer can be examined by measuring its accuracy in recognizes phones, the building blocks of words and utterances, through Phone Accuracy Ratio (PAR). 
         [0109]    Another example is hearing aids, where the speech intelligibility, as measured through, e.g., short-time objective intelligibility measure (STOI) is often the preferred quality measure. 
         [0110]    We use the HTK toolkit to train an acoustic model composed of 61 phones. A set of 13 Mel-frequency cepstral coefficients (MFCCs) with their first and second derivatives, for a total of 39 coefficients, are generated and used as features for our experimental analysis. We used 5-state Hidden Markov Models (HMMs) with a 8-mixture Gaussian Mixture Model (GMM) for each phone. We normalized the mean of the MFCCs for properly applying the direct masking. We trained our HMMs with clean speech only. A better approach would have been to train over speech processed by our front-end and other conditions (e.g., different noise conditions), however we wanted to decouple the tuning phase in order to obtain the set of parameter that best reduces the mismatch between clean and corrupted speech. The recognition accuracy is also dependent on the design of the language model. We chose a simple bigram model. 
       9.1.3 Optimization Process 
       [0111]    Considering the optimization problem in Equation (25), we can define the optimization vector as composed by the 36 parameters comprising the SE system presented in Section 2. The total cost was fixed to C max =50. The genetic algorithm used had a population of M=100 possible candidates and we ran it for K=10 generations, which we observed to be a good trade-off between accuracy of the solution and speed of the optimization process. Given the relatively small size of the population, we chose a deterministic tournament selection by calculating the fitness function Q(•) for all the elements of the population. A seed was given to generate the initial population by biasing this towards a known hand-tuned solution that achieved reasonable values in the computational design phase, p INIT . This was done with the same operator used in the crossover operation Equation (27), where each randomly generate solution is weighted with p INIT  and β:∪(0.3,0.7). 
         [0112]    The best M= 20  or less sets of parameters in each generation that fulfill the constraint were migrated to the next generation, of the remaining sets half went through crossover and half through mutation. The optimization process took about 72 to 90 hours on a 16-core Intel Xeon machine with highly parallelized scripts. Note that while the tuning database is fixed, calculating (ŝ[n,p]) requires to run all 3,150 for each population element p at each iteration. The Analysis-Modification-Scheme as well as the different computational components operated all on a 16 ms frame size with 50% overlap. 
       9.2 Experimental Results 
       [0113]    In  FIGS. 7 and 8 , we show a scatterplot of mean fitness values Q(•) for each element of the initial population and final population of the evolutionary optimization process. Our initial hand-tuned estimate p INIT  achieves a PAR ( FIG. 8 ) of 50.62% and a ΔMOS of 0.36 ( FIG. 7 ) calculated over the training database and a PAR to 51.04% and ΔMOS of 0.32 over the testing database, confirming the rough similarity in statistics between the two datasets. The population at the K=10 iteration, only slightly different from the population at the K=9 iteration proving convergence, shows the effectiveness of the optimization framework. 
         [0114]    The solution optimized for ASR, p ASR  and the solution optimized for MOS, p MOS , on the training database, not only achieve much higher PAR and ΔMOS, they also achieve a net 20% reduction in computational complexity. The sets of parameters are then evaluated on the testing database and the results are shown in Table 2 where the improvement are still very significant. Another strength of this optimization framework is that a large number of solutions are in the neighborhood of the optimal solution. These not only fulfill the constraint, but can achieve similar performance at just slightly lower quality. Therefore, from a SE system pre-deployment perspective, having a handful of possible solution is beneficial and exploring a few other solution through, e.g., listening tests can be beneficial. Note that a few solution violate the constraint, this is because we allow the constraint to be violated during the evolution of the population, as noted in Section 7. 
         [0115]    Another interesting point is that a subset of all the parameters actually affect the complexity. However, the nonlinearity of the cost function does not allow us to separate these variables. The values resulting from the optimization methods for these parameters follow known differences in SE when targeting recognition and intelligibility of speech versus perceived quality. In particular, p ASR  privileges solutions where the signal would sound distorted but most of the background noise and FE speech is removed, while p MOS  uses choices of parameters that are less aggressive, allowing more noise and echo to go through, more effectively exploiting the masking properties of speech itself in mild background noise conditions. A clear example of this is the binary optimization parameter where we allow the choice of post-processing masking, optimizing with PAR privileges the quasi-binary mask which introduces artifacts but increases accuracy, while optimizing with ΔMOS privileges the LSA mask, well known to be a better soft decision gain more related to perception. 
         [0000]    
       
         
               
             
               
               
               
               
               
             
               
               
               
               
               
             
           
               
                 TABLE 3 
               
             
             
               
                   
               
               
                 Results of the Exemplary GA optimization. 
               
             
          
           
               
                   
                 PAR 
                 ΔMOS 
                 C(.) 
                 C max   
               
               
                   
               
             
          
           
               
                 p INIT   
                 51.04 
                 0.32 
                 49.14 
                 50 
               
               
                 p ASR   
                 62.94 
                 0.65 
                 41.17 
                 50 
               
               
                 p MOS   
                 60.07 
                 0.87 
                 42.56 
                 50 
               
               
                   
               
             
          
         
       
     
       Section 10 
     Overview of Active Speech Recognition 
       [0116]    In the following sections, we disclose robust front-end ASR techniques, with such techniques applied to a single microphone limited-vocabulary system during continuous monaural music playback being a useful example for illustration of the techniques. In contrast to previous techniques, the microphone is placed very close to the loudspeakers, thus making the ratio between the energy of the uttered command and the music playback, near-end speech to echo ratio (SER), very low, e.g., between about −35 dB and about −15 dB, such as between about −30 dB and about −20 dB, with between about −28 dB and about −22 dB being but one particular SER range. 
         [0117]    The front-end technique can be divided in two parts. Firstly, we disclose double-talk robust solutions for echo cancellation to retrieve a first estimate of the command. Secondly, residual noise reduction methods allow us to combine a mean-squared error (MSE) approach with an estimate of an ideal binary mask. A resulting ASR technique can be defined by several parameters which can be tuned to achieve a suitable (e.g., a high) recognition rate by casting the tuning problem as a nonlinear program solved efficiently through, for example, a genetic algorithm (GA). Although a genetic algorithm can be used as an example, other suitable methods for solving non-linear problems can be used. For example, grid search and other optimization methods can be applied to solve such combinatorial problems. 
         [0118]    A similar approach was previously disclosed in commonly assigned U.S. Patent Application No. 61/893,147 and in U.S. Patent Application No. 61/937,522, each of which patent applications is hereby incorporated by reference as fully as if it was reproduced fully, for all purposes, to improve objective measures of perceptual quality of a speech enhancement system in a full-duplex communication context. The training and evaluation corpora in our example are a synthetic mixture of clean speech (from the TIMIT database) and playback music, both convolved with different impulse responses and further mixed with background noise to cover a suitably large range of deployment scenarios. The acoustic models of the ASR engine can be trained by using speech processed by the front-end, an effective way to learn and exploit the typical distortions of the system itself. 
         [0119]    The following sections are organized as follows. In Section 11, we describe a suitable speech enhancement technique and outline the corresponding parameters to be tuned. The tuning and optimization methodology of these parameters is presented in Section 12. Section 13 discloses aspects of speech recognizers and related experimental results from tuning such recognizers. The experimental results in Section 13 are divided in two parts. Firstly, we present the results of the training and evaluation of the front-end and acoustic models using the TIMIT database. Secondly, we change the language model and implement our ASR system for a limited vocabulary command recognizer in very adverse conditions. 
       Section 11 
     Example of a Speech Enhancement Systems 
       [0120]    This section presents an example front-end technique and outlines several speech enhancement/speech recognition tuning parameters that will have values selected. Referring now to  FIG. 9 , let y[n] be the near-end microphone signal, which consists of the near-end speech s[n] and noise v[n] mixed with the acoustic echo d[n]=h[n]*x[n], where h[n] is the impulse response of the system, x[n] is the far-end reference signal, and * is the convolution operator. An overall block diagram of a speech enhancement system is shown in  FIG. 9 . As shown, a speech enhancement system can include two robust acoustic echo cancellers (RAEC), a double-talk probability (DTP) estimator, two residual power estimators (RPE), a noise power estimator (NPE), a noise suppressor (NS), and a voice activity detector (VAD). 
       11.1 Robust Acoustic Echo Canceler 
       [0121]    Since strong near-end interference may corrupt the error signal of the AEC and cause the adaptive filter to diverge, a RAEC system can be used, where an error recovery nonlinearity (ERN) and robust adaptive step-size control allows for continuous tracking of the echo path during double talk. To reduce the delay of the frequency-domain adaptive filter, a multi-delay adaptive filter structure can be used. A cascaded structure can be used, for example, where the output of the first RAEC is fed to the input of the second RAEC, which is different from techniques where the input to the second RAEC is still the microphone signal (parallel structure instead of the cascaded structure) and a different ERN is used for the RAEC. 
         [0122]    The RAEC computation for each RAEC block is summarized in Table 4, where ∘ denotes element-wise operation, {•} T  is the transpose operator, and diag {•} forms a diagonal matrix. In previous work, the power spectral density estimate of the error signal is estimated in (Equation 30) using the ERN: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         ρ 
                         _ 
                       
                       ee 
                     
                      
                     
                       [ 
                       m 
                       ] 
                     
                   
                   = 
                   
                     
                       
                         α 
                         AEC 
                       
                        
                       
                         
                           
                             ρ 
                             _ 
                           
                           e 
                         
                          
                         
                           [ 
                           
                             m 
                             - 
                             1 
                           
                           ] 
                         
                       
                     
                     + 
                     
                       
                         ( 
                         
                           1 
                           - 
                           
                             α 
                             AEC 
                           
                         
                         ) 
                       
                        
                       
                         ( 
                         
                           
                             
                               ɛ 
                               _ 
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                           · 
                           
                             
                               
                                 ɛ 
                                 _ 
                               
                               * 
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     30 
                   
                   ) 
                 
               
             
             
               
                 
                   
                     
                       φ 
                       old 
                     
                      
                     
                       ( 
                       
                         
                           E 
                           k 
                         
                          
                         
                           [ 
                           m 
                           ] 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     { 
                     
                       
                         
                           
                             
                               
                                 
                                   
                                     
                                       P 
                                       
                                         ee 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                                 
                                    
                                   
                                     
                                       E 
                                       k 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                 
                               
                                
                               
                                 
                                   E 
                                   k 
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                             
                             , 
                           
                         
                         
                           
                             
                                
                               
                                 
                                   E 
                                   k 
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                                
                             
                             ≥ 
                             
                               
                                 
                                   P 
                                   
                                     ee 
                                     , 
                                     k 
                                   
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                             
                           
                         
                       
                       
                         
                           
                             
                               
                                 E 
                                 k 
                               
                                
                               
                                 [ 
                                 m 
                                 ] 
                               
                             
                             , 
                           
                         
                         
                           
                             otherwise 
                             , 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     31 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    where p ee  is the elements in the vector ρ ee  in (Equation 30). The ERN in this work is experimentally chosen to be 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         ρ 
                         _ 
                       
                       e 
                     
                      
                     
                       [ 
                       m 
                       ] 
                     
                   
                   = 
                   
                     
                       
                         α 
                         AEC 
                       
                        
                       
                         
                           
                             ρ 
                             _ 
                           
                           e 
                         
                          
                         
                           [ 
                           
                             m 
                             - 
                             1 
                           
                           ] 
                         
                       
                     
                     + 
                     
                       
                         ( 
                         
                           1 
                           - 
                           
                             α 
                             AEC 
                           
                         
                         ) 
                       
                        
                       
                         
                           ( 
                           
                             
                               
                                 ɛ 
                                 _ 
                               
                                
                               
                                 [ 
                                 m 
                                 ] 
                               
                             
                             · 
                             
                               
                                 
                                   ɛ 
                                   _ 
                                 
                                 * 
                               
                                
                               
                                 [ 
                                 m 
                                 ] 
                               
                             
                           
                           ) 
                         
                         
                           · 
                           
                             ( 
                             
                               1 
                               / 
                               2 
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     32 
                   
                   ) 
                 
               
             
             
               
                 
                   
                     
                       φ 
                       new 
                     
                      
                     
                       ( 
                       
                         
                           E 
                           k 
                         
                          
                         
                           [ 
                           m 
                           ] 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     { 
                     
                       
                         
                           
                             
                               
                                 
                                   
                                     
                                       P 
                                       
                                         e 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                                 
                                    
                                   
                                     
                                       E 
                                       k 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                 
                               
                                
                               
                                 
                                   E 
                                   k 
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                             
                             , 
                           
                         
                         
                           
                             
                                
                               
                                 
                                   E 
                                   k 
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                                
                             
                             ≥ 
                             
                               
                                 
                                   P 
                                   
                                     e 
                                     , 
                                     k 
                                   
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                             
                           
                         
                       
                       
                         
                           
                             
                               
                                 E 
                                 k 
                               
                                
                               
                                 [ 
                                 m 
                                 ] 
                               
                             
                             , 
                           
                         
                         
                           
                             otherwise 
                             , 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     33 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    for both the RAEC, where the statistical parameter for the error signal is updated using the magnitude ( ε [m]∘ ε *[m])° (1/2)  instead of the signal power of the error signal. 
         [0000]    
       
         
               
             
           
               
                 TABLE 4 
               
               
                   
               
               
                 Robust acoustic echo canceler. 
               
               
                   
               
             
             
               
                 Definitions 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     
                                       ( 
                                       ℱ 
                                       ) 
                                     
                                     
                                       
                                         k 
                                         + 
                                         1 
                                       
                                       , 
                                       
                                         n 
                                         + 
                                         1 
                                       
                                     
                                   
                                   ≡ 
                                     
                                    
                                   
                                     e 
                                     
                                       
                                         - 
                                         j 
                                       
                                        
                                       
                                         π 
                                         
                                           N 
                                           AEC 
                                         
                                       
                                        
                                       kn 
                                     
                                   
                                 
                                 , 
                               
                             
                           
                           
                             
                               
                                 k 
                                 , 
                                 
                                   n 
                                   = 
                                     
                                    
                                   0 
                                 
                                 , 
                                 … 
                                  
                                 
                                     
                                 
                                 , 
                                 
                                   
                                     2 
                                      
                                     
                                       N 
                                       AEC 
                                     
                                   
                                   - 
                                   1 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   Γ 
                                   01 
                                 
                                 ≡ 
                                   
                                  
                                 
                                   diag 
                                    
                                   
                                     { 
                                     
                                       
                                         [ 
                                         
                                           
                                             0 
                                             
                                               
                                                 N 
                                                 AEC 
                                               
                                               × 
                                               1 
                                             
                                             T 
                                           
                                           , 
                                           
                                             1 
                                             
                                               
                                                 N 
                                                 AEC 
                                               
                                               × 
                                               1 
                                             
                                           
                                         
                                         ] 
                                       
                                       T 
                                     
                                     } 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   Γ 
                                   10 
                                 
                                 ≡ 
                                   
                                  
                                 
                                   diag 
                                    
                                   
                                     { 
                                     
                                       
                                         [ 
                                         
                                           
                                             1 
                                             
                                               
                                                 N 
                                                 AEC 
                                               
                                               × 
                                               1 
                                             
                                             T 
                                           
                                           , 
                                           
                                             0 
                                             
                                               
                                                 N 
                                                 AEC 
                                               
                                               × 
                                               1 
                                             
                                             T 
                                           
                                         
                                         ] 
                                       
                                       T 
                                     
                                     } 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   x 
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     [ 
                                     
                                       
                                         x 
                                          
                                         
                                           [ 
                                           
                                             
                                               ( 
                                               
                                                 m 
                                                 - 
                                                 1 
                                               
                                               ) 
                                             
                                              
                                             
                                               N 
                                               AEC 
                                             
                                           
                                           ] 
                                         
                                       
                                       , 
                                       … 
                                        
                                       
                                           
                                       
                                       , 
                                       
                                         x 
                                          
                                         
                                           [ 
                                           
                                             
                                               
                                                 ( 
                                                 
                                                   m 
                                                   + 
                                                   1 
                                                 
                                                 ) 
                                               
                                                
                                               
                                                 N 
                                                 AEC 
                                               
                                             
                                             - 
                                             1 
                                           
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                   T 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   y 
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     [ 
                                     
                                       
                                         0 
                                         
                                           1 
                                           × 
                                           
                                             N 
                                             AEC 
                                           
                                         
                                       
                                       , 
                                       
                                         y 
                                          
                                         
                                           [ 
                                           
                                             mN 
                                             AEC 
                                           
                                           ] 
                                         
                                       
                                       , 
                                       … 
                                        
                                       
                                           
                                       
                                       , 
                                       
                                         y 
                                          
                                         
                                           [ 
                                           
                                             
                                               
                                                 ( 
                                                 
                                                   m 
                                                   + 
                                                   1 
                                                 
                                                 ) 
                                               
                                                
                                               
                                                 N 
                                                 AEC 
                                               
                                             
                                             - 
                                             1 
                                           
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                   T 
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 Echo cancellation 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                      
                                     _ 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     ℱx 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   = 
                                   
                                     
                                       [ 
                                       
                                         
                                           
                                              
                                             0 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         , 
                                         … 
                                          
                                         
                                             
                                         
                                         , 
                                         
                                           
                                              
                                             
                                               2 
                                                
                                               
                                                 N 
                                                 
                                                   AEC 
                                                   
                                                     - 
                                                     1 
                                                   
                                                 
                                               
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                       ] 
                                     
                                     T 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     υ 
                                     _ 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     ℱ 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   = 
                                   
                                     
                                       [ 
                                       
                                         
                                           
                                              
                                             0 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         , 
                                         … 
                                         , 
                                         
                                           
                                              
                                             
                                               2 
                                                
                                               
                                                 N 
                                                 
                                                   AEC 
                                                   
                                                     - 
                                                     1 
                                                   
                                                 
                                               
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                       ] 
                                     
                                     T 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       
                                         h 
                                         ^ 
                                       
                                       _ 
                                     
                                     i 
                                     
                                       ( 
                                       0 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         h 
                                         ^ 
                                       
                                       _ 
                                     
                                     i 
                                     
                                       ( 
                                       
                                         
                                           N 
                                           iter 
                                         
                                         - 
                                         1 
                                       
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     
                                       m 
                                       - 
                                       1 
                                     
                                     ] 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   e 
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     y 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   - 
                                   
                                     
                                       Γ 
                                       01 
                                     
                                      
                                     
                                       ℱ 
                                       
                                         - 
                                         1 
                                       
                                     
                                      
                                     
                                       
                                         ∑ 
                                         
                                           i 
                                           = 
                                           0 
                                         
                                         
                                           M 
                                           
                                             AEC 
                                             
                                               - 
                                               1 
                                             
                                           
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           
                                             
                                               
                                                 
                                                   h 
                                                   ^ 
                                                 
                                                 _ 
                                               
                                               i 
                                               
                                                 ( 
                                                 0 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           · 
                                           
                                             
                                                
                                               _ 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 for (j = 1, . . . , N iter  − 1) 
               
               
                   
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     
                                       ɛ 
                                       _ 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   = 
                                     
                                    
                                   
                                     ℱe 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                                 , 
                               
                             
                           
                           
                             
                               
                                 
                                   φ 
                                    
                                   
                                     ( 
                                     
                                       ɛ 
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     ) 
                                   
                                 
                                 ≡ 
                                   
                                  
                                 
                                   [ 
                                   
                                     
                                       φ 
                                        
                                       
                                         ( 
                                         
                                           
                                             ℰ 
                                             0 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         ) 
                                       
                                     
                                     , 
                                     … 
                                      
                                     
                                         
                                     
                                     , 
                                     
                                       φ 
                                        
                                       
                                         ( 
                                         
                                           
                                             ℰ 
                                             
                                               2 
                                                
                                               
                                                 N 
                                                 
                                                   AEC 
                                                   
                                                     - 
                                                     1 
                                                   
                                                 
                                               
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         ) 
                                       
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       ρ 
                                       _ 
                                     
                                     xx 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       AEC 
                                     
                                      
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         xx 
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           AEC 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       ( 
                                       
                                         
                                           
                                              
                                             _ 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         ∘ 
                                         
                                           
                                             
                                                
                                               _ 
                                             
                                             * 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                       ) 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       ρ 
                                       _ 
                                     
                                     ee 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       AEC 
                                     
                                      
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         xx 
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           AEC 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       ( 
                                       
                                         
                                           
                                             ɛ 
                                             _ 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         ∘ 
                                         
                                           
                                             
                                               ɛ 
                                               _ 
                                             
                                             * 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                       ) 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       ρ 
                                       _ 
                                     
                                     e 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       AEC 
                                     
                                      
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         e 
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           AEC 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         ( 
                                         
                                           
                                             
                                               ɛ 
                                               _ 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           ∘ 
                                           
                                             
                                               
                                                 ɛ 
                                                 _ 
                                               
                                               * 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         ) 
                                       
                                       
                                         ∘ 
                                         
                                           ( 
                                           
                                             1 
                                             / 
                                             2 
                                           
                                           ) 
                                         
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   φ 
                                    
                                   
                                     ( 
                                     
                                       
                                         ɛ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     ) 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   { 
                                   
                                     
                                       
                                         
                                           
                                             
                                               
                                                  
                                                 
                                                   e 
                                                   , 
                                                   k 
                                                 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                           
                                              
                                             
                                               
                                                 ɛ 
                                                 k 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                              
                                           
                                         
                                       
                                       
                                         
                                           
                                              
                                             
                                               
                                                 ɛ 
                                                 k 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                              
                                           
                                           ≥ 
                                           
                                             
                                               
                                                  
                                                 
                                                   e 
                                                   , 
                                                   k 
                                                 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                         
                                       
                                     
                                     
                                       
                                         
                                           
                                             
                                               ɛ 
                                               k 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           , 
                                         
                                       
                                       
                                         otherwise 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     v 
                                     _ 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     μ 
                                     AEC 
                                   
                                    
                                   
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         xx 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     ∘ 
                                     
                                       
                                         [ 
                                         
                                           
                                             
                                               ( 
                                               
                                                 
                                                   
                                                     ρ 
                                                     _ 
                                                   
                                                   xx 
                                                 
                                                  
                                                 
                                                   [ 
                                                   m 
                                                   ] 
                                                 
                                               
                                               ) 
                                             
                                             
                                               ∘ 
                                               2 
                                             
                                           
                                           + 
                                           
                                             
                                               
                                                 γ 
                                                 AEC 
                                               
                                                
                                               
                                                 ( 
                                                 
                                                   
                                                     
                                                       ρ 
                                                       _ 
                                                     
                                                     ee 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                                 ) 
                                               
                                             
                                             
                                               ∘ 
                                               2 
                                             
                                           
                                         
                                         ] 
                                       
                                       
                                         ∘ 
                                         
                                           ( 
                                           
                                             - 
                                             1 
                                           
                                           ) 
                                         
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       
                                         h 
                                         ^ 
                                       
                                       _ 
                                     
                                     i 
                                     
                                       ( 
                                       j 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         
                                           h 
                                           ^ 
                                         
                                         _ 
                                       
                                       i 
                                       
                                         ( 
                                         
                                           j 
                                           - 
                                           1 
                                         
                                         ) 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   + 
                                   
                                     [ 
                                     
                                       
                                         
                                           v 
                                           _ 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       ∘ 
                                       
                                         φ 
                                          
                                         
                                           ( 
                                           
                                             
                                               ɛ 
                                               _ 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           ) 
                                         
                                       
                                       ∘ 
                                       
                                         
                                            
                                           _ 
                                         
                                          
                                         
                                           [ 
                                           
                                             m 
                                             - 
                                             i 
                                           
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       
                                         h 
                                         ^ 
                                       
                                       _ 
                                     
                                     i 
                                     
                                       ( 
                                       j 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   { 
                                   
                                     
                                       
                                         
                                           
                                             
                                               ℱΓ 
                                               10 
                                             
                                              
                                             
                                               ℱ 
                                               
                                                 - 
                                                 1 
                                               
                                             
                                              
                                             
                                               
                                                 
                                                   h 
                                                   ^ 
                                                 
                                                 _ 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                           , 
                                         
                                       
                                       
                                         
                                           mod 
                                           ( 
                                           
                                             m 
                                             , 
                                             
                                                 
                                             
                                              
                                             
                                               M 
                                               
                                                 
                                                   AEC 
                                                   ) 
                                                 
                                                 = 
                                                 i 
                                               
                                             
                                           
                                         
                                       
                                     
                                     
                                       
                                         
                                           
                                             
                                               
                                                 
                                                   h 
                                                   ^ 
                                                 
                                                 _ 
                                               
                                               i 
                                               
                                                 ( 
                                                 j 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           , 
                                         
                                       
                                       
                                         otherwise 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   e 
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     y 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   - 
                                   
                                     
                                       Γ 
                                       01 
                                     
                                      
                                     
                                       ℱ 
                                       
                                         - 
                                         1 
                                       
                                     
                                      
                                     
                                       
                                         ∑ 
                                         
                                           i 
                                           = 
                                           0 
                                         
                                         
                                           M 
                                           
                                             AEC 
                                             
                                               - 
                                               1 
                                             
                                           
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           
                                             
                                               
                                                 
                                                   h 
                                                   ^ 
                                                 
                                                 _ 
                                               
                                               i 
                                               
                                                 ( 
                                                 
                                                   
                                                     N 
                                                     iter 
                                                   
                                                   - 
                                                   1 
                                                 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           ∘ 
                                           
                                             
                                                
                                               _ 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 end for 
               
               
                   
               
             
          
         
       
     
         [0123]    To reduce the complexity of the RAEC, the alternative unconstrained multidelay block frequency domain filtering structure can be used: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         
                           
                             h 
                             _ 
                           
                           ^ 
                         
                         i 
                         
                           ( 
                           j 
                           ) 
                         
                       
                        
                       
                         [ 
                         m 
                         ] 
                       
                     
                     = 
                     
                       
                         
                           
                             
                               h 
                               _ 
                             
                             ^ 
                           
                           i 
                           
                             ( 
                             
                               j 
                               - 
                               1 
                             
                             ) 
                           
                         
                          
                         
                           [ 
                           m 
                           ] 
                         
                       
                       + 
                       
                         [ 
                         
                           
                             
                               v 
                               _ 
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                           · 
                           
                             φ 
                              
                             
                               ( 
                               
                                 
                                   ɛ 
                                   _ 
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                               ) 
                             
                           
                           · 
                           
                             
                               χ 
                               _ 
                             
                              
                             
                               [ 
                               
                                 m 
                                 - 
                                 i 
                               
                               ] 
                             
                           
                         
                         ] 
                       
                     
                   
                   , 
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     34 
                   
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                         
                           h 
                           _ 
                         
                         ^ 
                       
                       i 
                       
                         ( 
                         j 
                         ) 
                       
                     
                      
                     
                       [ 
                       m 
                       ] 
                     
                   
                   = 
                   
                     { 
                     
                       
                         
                           
                             
                               F 
                                
                               
                                   
                               
                                
                               
                                 Γ 
                                 10 
                               
                                
                               
                                 F 
                                 
                                   - 
                                   1 
                                 
                               
                                
                               
                                 
                                   
                                     
                                       h 
                                       _ 
                                     
                                     ^ 
                                   
                                   i 
                                   
                                     ( 
                                     j 
                                     ) 
                                   
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                             
                             , 
                           
                         
                         
                           
                             
                               
                                 mod 
                                  
                                 
                                   ( 
                                   
                                     m 
                                     , 
                                     
                                       M 
                                       AEC 
                                     
                                   
                                   ) 
                                 
                               
                               = 
                               i 
                             
                             , 
                           
                         
                       
                       
                         
                           
                             
                               
                                 
                                   
                                     h 
                                     _ 
                                   
                                   ^ 
                                 
                                 i 
                                 
                                   ( 
                                   j 
                                   ) 
                                 
                               
                                
                               
                                 [ 
                                 m 
                                 ] 
                               
                             
                             , 
                           
                         
                         
                           
                             otherwise 
                             , 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     35 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    where the gradient constraint (Equation 35) is applied on only one block at each block time m instead of applying on every blocks: 
         [0124]    The final output of the RAEC is chosen based on the minimum energy output signals of the two RAEC in the STFT domain: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       E 
                       
                         new 
                         , 
                         k 
                       
                     
                      
                     
                       [ 
                       m 
                       ] 
                     
                   
                   = 
                   
                     
                       min 
                        
                       
                         { 
                         
                           
                             
                               E 
                               
                                 1 
                                 , 
                                 k 
                               
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                           , 
                           
                             
                               E 
                               
                                 2 
                                 , 
                                 k 
                               
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                         
                         } 
                       
                     
                     = 
                     
                       { 
                       
                         
                           
                             
                               
                                 
                                   E 
                                   
                                     1 
                                     , 
                                     k 
                                   
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                               , 
                             
                           
                           
                             
                               
                                 
                                    
                                   
                                     
                                       E 
                                       
                                         1 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                 
                                 ≤ 
                                 
                                    
                                   
                                     
                                       E 
                                       
                                         2 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                 
                               
                               , 
                             
                           
                         
                         
                           
                             
                               
                                 
                                   E 
                                   
                                     2 
                                     , 
                                     k 
                                   
                                 
                                  
                                 
                                   [ 
                                   m 
                                   ] 
                                 
                               
                               , 
                             
                           
                           
                             
                               
                                  
                                 
                                   
                                     E 
                                     
                                       1 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                  
                               
                               &gt; 
                               
                                 
                                    
                                   
                                     
                                       E 
                                       
                                         2 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                 
                                 . 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     36 
                   
                   ) 
                 
               
             
           
         
       
     
         [0125]    Note that the phase term of (Equation 36) in this example is chosen to be the same as the signal with minimum output energy, while in previous examples, the phase term has been chosen from one of AEC output signals, e.g., 
         [0000]        E   old,k   [m ]=min{| E   1,k   [m]|,|E   2,k   [m]|}e   j∠E     2,k     [m] .  (Equation 37)
 
         [0126]    The tuning parameters for each of the RAEC consist of the frame size N AEC , the number of partitioned blocks M AEC , the number of iterations N iter , the step-size μ AEC , the tuning parameter γ AEC , and the smoothing factor α AEC  for the power spectral density estimation. 
       11.1.1 Extension to the Multichannel and Multimcrophone Cases 
       [0127]    Although a single-channel system is described above, disclosed techniques can be extended to systems playing a plurality of channels, and to systems having a plurality of microphones. For example, in a multichannel case, each loudspeaker output x p [n] can be decorrelated from the other channels. The AEC described above can be modified as shown in  FIG. 9A , where the adaptive filters ĥ 1 [n] to ĥ P [n] that estimate the echo paths from each of loudspeaker channels 1 through P to the microphone can be implemented using the RAEC structure. The residual echo suppressor also needs to be expanded to estimate the contribution of residual echo from each of the loudspeakers to the microphone (by using more residual echo power estimators, where each residual power echo power estimator can take input from each loudspeaker signal x p [n]). In the case of multimicrophone case a beamformer can be used to localize and amplify sound sources and the output of the beamformer can subsequently be fed to the single microphone and single channel framework described above (see  FIG. 9B ). A combination of the multichannel AEC and the multi-microphone setup is also possible to form a more generalized multi-loudspeaker multi-microphone system. 
       11.2 Residual Echo Power Estimator 
       [0128]    Since the AEC usually cannot cancel all the echo signal due to modeling mismatch, further enhancement from the residual echo suppressor (RES) can be provided to improve the voice quality. A coherence based method can be used for the RPE, and a modified version of the DTP estimator can be used for a more accurate estimate of the residual echo power. The RPE with the DTP estimator is summarized in Table 5, where w A  is the analysis window for the short-time Fourier transform (STFT), N STFT  is the frame size of the STFT, and R STFT  is the frame shift size. As shown in (Equation 45), the DTP estimator can differ from other techniques since the coherence is calculated between the RAEC estimated echo signal {circumflex over (d)} and the microphone signal y rather than between the loudspeaker signal X and the microphone signal y. A traditional way to estimate the coherence was to use the following statistical parameters: 
         [0000]      Φ XX,k   [m]=α   DTP Φ XX,k   [m− 1]+(1−α DTP )| X   k   [m]|   2 ,  (Equation 38)
 
         [0000]      Φ YY,k   [m]=α   DTP Φ YY,k   [m− 1]+(1−α DTP )| Y   k   [m]|   2 ,  (Equation 39)
 
         [0000]      Φ XY,k   [m]=α   DTP Φ XY,k   [m− 1]+(1−α DTP ) X*   k   [m]Y   k   [m],   (Equation 40)
 
         [0000]      ρ old,k   [m]=|Φ   XY,k   [m]|   2 /(Φ XX,k   [m]Φ   YY,k   [m ]).  (Equation 41
 
         [0000]    However, the calculation of the coherence using: 
         [0000]      Φ {circumflex over (D)}{circumflex over (D)},k   [m]=α   DTP Φ {circumflex over (D)}{circumflex over (D)},k   [m− 1]+(1−α DTP )| {circumflex over (D)}   k   [m]|   2 ,  (Equation 42)
 
         [0000]      Φ YY,k   [m]=α   DTP Φ {circumflex over (D)}{circumflex over (D)},k   [m− 1]+(1−α DTP )| Y   k   [m]|   2 ,  (Equation 43)
 
         [0000]      Φ {circumflex over (D)}Y,k   [m]=α   DTP Φ {circumflex over (D)}Y,k   [m− 1]+(1−α DTP )| {circumflex over (D)}   k   [m]Y   k   [m]   (Equation 44)
 
         [0000]      ρ new,k   [m]=|Φ   {circumflex over (D)}Y,k   [m]|   2 /(Φ {circumflex over (D)}{circumflex over (D)},k   [m]Φ   YY,k   [m ]).  (Equation 45)
 
         [0000]    is possible at least in part because the estimated echo signal {circumflex over (d)} can be reliably obtained even during double talk due to the robust echo path tracking performance of the RAEC. Therefore, the coherence measure ρ k  can be reliably estimated based on the estimated echo {circumflex over (d)} and the microphone signal y. 
         [0129]    The residual echo power can be estimated by utilizing the output of the double talk probability estimator. Ideally, when the double-talk probability is high, the level of residual echo power estimate desirably is low so as to not distort the near-end speech when suppressing the residual echo. On the other hand, when the double-talk probability is low, the level of residual echo power estimate desirably is high to suppress as much residual echo as possible. The high level residual echo power λ B     H     ,k : 
         [0000]      λ B     H     ,k   [m]=|Φ   XE,k   T   [m]X   H,k   [m]/Φ   X     H     ,k   [m]|   2   (Equation 46)
 
         [0000]    can be estimated based on the coherence of the microphone signal Y k  and the reference signal X k , while the low level residual echo power λ B     L     ,k : 
         [0000]      λ B     L     ,k   [m]=|Φ   XE,k   T   [m]X   L,k   [m]/Φ   X     L     ,k   [m]|   2   (Equation 47)
 
         [0000]    can be estimated based on the coherece of the error signal E k  and the reference signal X k . The residual echo power λ B,k  can be estimated by utilizing the double-talk probability estimate: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       P 
                       k 
                       DT 
                     
                      
                     
                       [ 
                       m 
                       ] 
                     
                   
                   = 
                   
                     
                       
                         
                           Λ 
                           DT 
                         
                          
                         
                           [ 
                           m 
                           ] 
                         
                       
                       
                         1 
                         + 
                         
                           
                             Λ 
                             DT 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                       
                     
                      
                     
                       
                         
                           Λ 
                           k 
                           DT 
                         
                          
                         
                           [ 
                           m 
                           ] 
                         
                       
                       
                         1 
                         + 
                         
                           
                             Λ 
                             k 
                             DT 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     48 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    obtained from DTP to combine λ B     H     ,k  and λ B     L     ,k : 
         [0000]      λ B,k   [m ]=(1−[ m]p   k   DT   [m ])λ B     H     ,k   [m]+p   k   DT   [m]λ   B     L     ,k   [m].   (Equation 49)
 
         [0130]    The tuning parameters for the DTP includes the transition probabilities a 01 , a 10 , b 01 , and b 10 , the smoothing factors α DIP , and β DTP , the frequency bin range [k begin ,k end ], the frame duration T DTP , and the adaptation time constants τ (0)  and τ (1) , where {•} (0)  is for the statistical parameters corresponding to the non-double-talk state and {•} (1)  is for that of the double-talk state. The tuning parameters for the RPE include the numbers of partitions M RPE     H    and M RPE     L    and the smoothing factors α RPE     H    and α RPE     L   . 
         [0000]    
       
         
               
             
           
               
                 TABLE 5 
               
               
                   
               
               
                 Double-talk probability and residual power estimator. 
               
               
                   
               
             
             
               
                 Definitions 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     
                                       ( 
                                       F 
                                       ) 
                                     
                                     
                                       
                                         k 
                                         + 
                                         1 
                                       
                                       , 
                                       
                                         n 
                                         + 
                                         1 
                                       
                                     
                                   
                                   ≡ 
                                     
                                    
                                   
                                     e 
                                     
                                       
                                         - 
                                         j 
                                       
                                        
                                       
                                         
                                           2 
                                            
                                           π 
                                         
                                         
                                           N 
                                           STFT 
                                         
                                       
                                        
                                       kn 
                                     
                                   
                                 
                                 , 
                               
                             
                           
                           
                             
                               
                                 k 
                                 , 
                                 
                                   n 
                                   = 
                                     
                                    
                                   0 
                                 
                                 , 
                                 … 
                                  
                                 
                                     
                                 
                                 , 
                                 
                                   
                                     N 
                                     STFT 
                                   
                                   - 
                                   1 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     x 
                                     _ 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   F 
                                    
                                   
                                     ( 
                                     
                                       
                                         w 
                                         A 
                                       
                                       ∘ 
                                       
                                         
                                           [ 
                                           
                                             
                                               x 
                                                
                                               
                                                 [ 
                                                 
                                                   mR 
                                                   STFT 
                                                 
                                                 ] 
                                               
                                             
                                             , 
                                             … 
                                              
                                             
                                                 
                                             
                                             , 
                                             
                                               x 
                                                
                                               
                                                 [ 
                                                 
                                                   
                                                     mR 
                                                     STFT 
                                                   
                                                   + 
                                                   
                                                     N 
                                                     STFT 
                                                   
                                                   - 
                                                   1 
                                                 
                                                 ] 
                                               
                                             
                                           
                                           ] 
                                         
                                         T 
                                       
                                     
                                     ) 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 = 
                                   
                                  
                                 
                                   
                                     [ 
                                     
                                       
                                         
                                           X 
                                           0 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       , 
                                       … 
                                        
                                       
                                           
                                       
                                       , 
                                       
                                         
                                           X 
                                           
                                             
                                               N 
                                               STFT 
                                             
                                             - 
                                             1 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                   T 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     e 
                                     _ 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   F 
                                    
                                   
                                     ( 
                                     
                                       
                                         w 
                                         A 
                                       
                                       ∘ 
                                       
                                         
                                           [ 
                                           
                                             
                                               e 
                                                
                                               
                                                 [ 
                                                 
                                                   mR 
                                                   STFT 
                                                 
                                                 ] 
                                               
                                             
                                             , 
                                             … 
                                              
                                             
                                                 
                                             
                                             , 
                                             
                                               e 
                                                
                                               
                                                 [ 
                                                 
                                                   
                                                     mR 
                                                     STFT 
                                                   
                                                   + 
                                                   
                                                     N 
                                                     STFT 
                                                   
                                                   - 
                                                   1 
                                                 
                                                 ] 
                                               
                                             
                                           
                                           ] 
                                         
                                         T 
                                       
                                     
                                     ) 
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 Double-talk probability estimation 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       
                                         
                                           D 
                                           ^ 
                                         
                                          
                                         
                                           D 
                                           ^ 
                                         
                                       
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       DTP 
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           
                                             
                                               D 
                                               ^ 
                                             
                                              
                                             
                                               D 
                                               ^ 
                                             
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           DTP 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                          
                                         
                                           
                                             
                                               D 
                                               ^ 
                                             
                                             k 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                          
                                       
                                       2 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       YY 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       DTP 
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           YY 
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           DTP 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                          
                                         
                                           
                                             Y 
                                             k 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                          
                                       
                                       2 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       
                                         
                                           D 
                                           ^ 
                                         
                                          
                                         Y 
                                       
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       DTP 
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           
                                             
                                               D 
                                               ^ 
                                             
                                              
                                             Y 
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           DTP 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         
                                           D 
                                           ^ 
                                         
                                         k 
                                         * 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                      
                                     
                                       
                                         Y 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     ρ 
                                     k 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                        
                                       
                                         
                                           Φ 
                                           
                                             
                                               
                                                 D 
                                                 ^ 
                                               
                                                
                                               Y 
                                             
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                        
                                     
                                     2 
                                   
                                   / 
                                   
                                     ( 
                                     
                                       
                                         
                                           Φ 
                                           
                                             
                                               
                                                 D 
                                                 ^ 
                                               
                                                
                                               
                                                 D 
                                                 ^ 
                                               
                                             
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                        
                                       
                                         
                                           Φ 
                                           
                                             YY 
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                     ) 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Λ 
                                     k 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         
                                           λ 
                                           k 
                                           
                                             ( 
                                             0 
                                             ) 
                                           
                                         
                                          
                                         
                                           [ 
                                           
                                             m 
                                             - 
                                             1 
                                           
                                           ] 
                                         
                                       
                                       
                                         
                                           λ 
                                           k 
                                           
                                             ( 
                                             1 
                                             ) 
                                           
                                         
                                          
                                         
                                           [ 
                                           
                                             m 
                                             - 
                                             1 
                                           
                                           ] 
                                         
                                       
                                     
                                   
                                    
                                   
                                     
                                       exp 
                                        
                                       
                                         { 
                                         
                                           
                                             
                                               ( 
                                               
                                                 
                                                   
                                                     ρ 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                                 - 
                                                 
                                                   
                                                     
                                                       ρ 
                                                       _ 
                                                     
                                                     k 
                                                     
                                                       ( 
                                                       0 
                                                       ) 
                                                     
                                                   
                                                    
                                                   
                                                     [ 
                                                     
                                                       m 
                                                       - 
                                                       1 
                                                     
                                                     ] 
                                                   
                                                 
                                               
                                               ) 
                                             
                                             2 
                                           
                                           / 
                                           
                                             
                                               λ 
                                               k 
                                               
                                                 ( 
                                                 0 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               
                                                 m 
                                                 - 
                                                 1 
                                               
                                               ] 
                                             
                                           
                                         
                                         } 
                                       
                                     
                                     
                                       exp 
                                        
                                       
                                         { 
                                         
                                           
                                             
                                               ( 
                                               
                                                 
                                                   
                                                     ρ 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                                 - 
                                                 
                                                   
                                                     
                                                       ρ 
                                                       _ 
                                                     
                                                     k 
                                                     
                                                       ( 
                                                       1 
                                                       ) 
                                                     
                                                   
                                                    
                                                   
                                                     [ 
                                                     
                                                       m 
                                                       - 
                                                       1 
                                                     
                                                     ] 
                                                   
                                                 
                                               
                                               ) 
                                             
                                             2 
                                           
                                           / 
                                           
                                             
                                               λ 
                                               k 
                                               
                                                 ( 
                                                 1 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               
                                                 m 
                                                 - 
                                                 1 
                                               
                                               ] 
                                             
                                           
                                         
                                         } 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Λ 
                                     k 
                                     DT 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         a 
                                         01 
                                       
                                       + 
                                       
                                         
                                           ( 
                                           
                                             1 
                                             - 
                                             
                                               a 
                                               10 
                                             
                                           
                                           ) 
                                         
                                          
                                         
                                           
                                             Λ 
                                             k 
                                             DT 
                                           
                                            
                                           
                                             [ 
                                             
                                               m 
                                               - 
                                               1 
                                             
                                             ] 
                                           
                                         
                                       
                                     
                                     
                                       
                                         ( 
                                         
                                           1 
                                           - 
                                           
                                             a 
                                             01 
                                           
                                         
                                         ) 
                                       
                                       + 
                                       
                                         
                                           a 
                                           10 
                                         
                                          
                                         
                                           
                                             Λ 
                                             k 
                                             DT 
                                           
                                            
                                           
                                             [ 
                                             
                                               m 
                                               - 
                                               1 
                                             
                                             ] 
                                           
                                         
                                       
                                     
                                   
                                    
                                   
                                     
                                       Λ 
                                       k 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Λ 
                                     GM 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   exp 
                                    
                                   
                                     { 
                                     
                                       
                                         1 
                                         
                                           
                                             k 
                                             end 
                                           
                                           - 
                                           
                                             k 
                                             begin 
                                           
                                           + 
                                           1 
                                         
                                       
                                        
                                       
                                         
                                           ∑ 
                                           
                                             k 
                                             = 
                                             
                                               k 
                                               begin 
                                             
                                           
                                           
                                             k 
                                             end 
                                           
                                         
                                          
                                         
                                           log 
                                            
                                           
                                             ( 
                                             
                                               
                                                 Λ 
                                                 k 
                                                 DT 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                             ) 
                                           
                                         
                                       
                                     
                                     } 
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     Λ 
                                     AM 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     1 
                                     
                                       
                                         k 
                                         end 
                                       
                                       - 
                                       
                                         k 
                                         begin 
                                       
                                       + 
                                       1 
                                     
                                   
                                    
                                   
                                     
                                       ∑ 
                                       
                                         k 
                                         = 
                                         
                                           k 
                                           begin 
                                         
                                       
                                       
                                         k 
                                         end 
                                       
                                     
                                      
                                     
                                       
                                         Λ 
                                         k 
                                         DT 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Λ 
                                     DT 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         b 
                                         01 
                                       
                                       + 
                                       
                                         
                                           ( 
                                           
                                             1 
                                             - 
                                             
                                               b 
                                               10 
                                             
                                           
                                           ) 
                                         
                                          
                                         
                                           
                                             Λ 
                                             DT 
                                           
                                            
                                           
                                             [ 
                                             
                                               m 
                                               - 
                                               1 
                                             
                                             ] 
                                           
                                         
                                       
                                     
                                     
                                       
                                         ( 
                                         
                                           1 
                                           - 
                                           
                                             b 
                                             01 
                                           
                                         
                                         ) 
                                       
                                       + 
                                       
                                         
                                           b 
                                           10 
                                         
                                          
                                         
                                           
                                             Λ 
                                             DT 
                                           
                                            
                                           
                                             [ 
                                             
                                               m 
                                               - 
                                               1 
                                             
                                             ] 
                                           
                                         
                                       
                                     
                                   
                                    
                                   
                                     Λ 
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     P 
                                     k 
                                     DT 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         Λ 
                                         DT 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     
                                       1 
                                       + 
                                       
                                         
                                           Λ 
                                           DT 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                   
                                    
                                   
                                     
                                       
                                         Λ 
                                         k 
                                         DT 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     
                                       1 
                                       + 
                                       
                                         
                                           Λ 
                                           k 
                                           DT 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   α 
                                   
                                     ( 
                                     0 
                                     ) 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     ( 
                                     
                                       1 
                                       - 
                                       
                                         
                                           P 
                                           k 
                                           DT 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                     ) 
                                   
                                    
                                   
                                     
                                       T 
                                       DTP 
                                     
                                     / 
                                     
                                       τ 
                                       
                                         ( 
                                         0 
                                         ) 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       ρ 
                                       _ 
                                     
                                     k 
                                     
                                       ( 
                                       0 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             ( 
                                             0 
                                             ) 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         k 
                                         
                                           ( 
                                           0 
                                           ) 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       α 
                                       
                                         ( 
                                         0 
                                         ) 
                                       
                                     
                                      
                                     
                                       
                                         ρ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     λ 
                                     k 
                                     
                                       ( 
                                       0 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             ( 
                                             0 
                                             ) 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         λ 
                                         k 
                                         
                                           ( 
                                           0 
                                           ) 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       
                                         α 
                                         
                                           ( 
                                           0 
                                           ) 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           
                                             
                                               ρ 
                                               k 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           - 
                                           
                                             
                                               
                                                 ρ 
                                                 _ 
                                               
                                               k 
                                               
                                                 ( 
                                                 0 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                     2 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   α 
                                   
                                     ( 
                                     1 
                                     ) 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       P 
                                       k 
                                       DT 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                   
                                     
                                       T 
                                       DTP 
                                     
                                     / 
                                     
                                       τ 
                                       
                                         ( 
                                         1 
                                         ) 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       ρ 
                                       _ 
                                     
                                     k 
                                     
                                       ( 
                                       1 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             ( 
                                             1 
                                             ) 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         
                                           ρ 
                                           _ 
                                         
                                         k 
                                         
                                           ( 
                                           1 
                                           ) 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       α 
                                       
                                         ( 
                                         1 
                                         ) 
                                       
                                     
                                      
                                     
                                       
                                         ρ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     λ 
                                     k 
                                     
                                       ( 
                                       1 
                                       ) 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             ( 
                                             1 
                                             ) 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         λ 
                                         
                                           k 
                                           
                                             ( 
                                             1 
                                             ) 
                                           
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       
                                         α 
                                         
                                           ( 
                                           1 
                                           ) 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           
                                             
                                               ρ 
                                               k 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           - 
                                           
                                             
                                               
                                                 ρ 
                                                 _ 
                                               
                                               k 
                                               
                                                 ( 
                                                 1 
                                                 ) 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                     2 
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 Residual echo power estimation 
               
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     X 
                                     
                                       H 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     [ 
                                     
                                       
                                         
                                           X 
                                           k 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       , 
                                       … 
                                        
                                       
                                           
                                       
                                       , 
                                       
                                         
                                           X 
                                           k 
                                         
                                          
                                         
                                           [ 
                                           
                                             m 
                                             - 
                                             
                                               M 
                                               
                                                 RPE 
                                                 H 
                                               
                                             
                                             + 
                                             1 
                                           
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                   T 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       XE 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       
                                         RPE 
                                         H 
                                       
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           XE 
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             RPE 
                                             H 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         ( 
                                         
                                           X 
                                           
                                             H 
                                             , 
                                             k 
                                           
                                         
                                         ) 
                                       
                                       * 
                                     
                                      
                                     
                                       E 
                                       k 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       
                                         X 
                                         H 
                                       
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       
                                         RPE 
                                         H 
                                       
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           
                                             X 
                                             H 
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             RPE 
                                             H 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                          
                                         
                                           
                                             X 
                                             k 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                          
                                       
                                       2 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     λ 
                                     
                                       
                                         B 
                                         H 
                                       
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                      
                                     
                                       
                                         
                                           Φ 
                                           
                                             XE 
                                             , 
                                             k 
                                           
                                           T 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                        
                                       
                                         
                                           
                                             X 
                                             
                                               H 
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         / 
                                         
                                           
                                             Φ 
                                             
                                               
                                                 X 
                                                 H 
                                               
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                     
                                      
                                   
                                   2 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     X 
                                     
                                       L 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     [ 
                                     
                                       
                                         
                                           X 
                                           k 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       , 
                                       … 
                                        
                                       
                                           
                                       
                                       , 
                                       
                                         
                                           X 
                                           k 
                                         
                                          
                                         
                                           [ 
                                           
                                             m 
                                             - 
                                             
                                               M 
                                               
                                                 RPE 
                                                 L 
                                               
                                             
                                             + 
                                             1 
                                           
                                           ] 
                                         
                                       
                                     
                                     ] 
                                   
                                   T 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       XE 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       
                                         RPE 
                                         L 
                                       
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           XE 
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             RPE 
                                             L 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         ( 
                                         
                                           X 
                                           
                                             L 
                                             , 
                                             k 
                                           
                                         
                                         ) 
                                       
                                       * 
                                     
                                      
                                     
                                       E 
                                       k 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Φ 
                                     
                                       XE 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       
                                         RPE 
                                         L 
                                       
                                     
                                      
                                     
                                       
                                         Φ 
                                         
                                           
                                             X 
                                             L 
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         
                                           m 
                                           - 
                                           1 
                                         
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           
                                             RPE 
                                             L 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                          
                                         
                                           
                                             X 
                                             k 
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                          
                                       
                                       2 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     λ 
                                     
                                       
                                         B 
                                         L 
                                       
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                      
                                     
                                       
                                         
                                           Φ 
                                           
                                             XE 
                                             , 
                                             k 
                                           
                                           T 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                        
                                       
                                         
                                           
                                             X 
                                             
                                               L 
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         / 
                                         
                                           
                                             Φ 
                                             
                                               
                                                 X 
                                                 L 
                                               
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                     
                                      
                                   
                                   2 
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     λ 
                                     
                                       B 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                            
                                           
                                             
                                               P 
                                               k 
                                               DT 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         λ 
                                         
                                           
                                             B 
                                             H 
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       
                                         P 
                                         k 
                                         DT 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                      
                                     
                                       
                                         λ 
                                         
                                           
                                             B 
                                             L 
                                           
                                           , 
                                           k 
                                         
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
             
          
         
       
     
       11.3 Noise Suppressor 
       [0131]      
         [0000]    
       
         
               
             
               
               
             
               
             
               
               
             
           
               
                 TABLE 6 
               
               
                   
               
               
                 Noise power estimator and noise suppressor. 
               
               
                   
               
             
             
               
                 Noise power estimation 
               
               
                 
                   
                     
                       
                         
                           
                             
                                 
                               
                                 
                                   
                                     
                                       
                                         P 
                                          
                                         
                                           ( 
                                           
                                             
                                               H 
                                               1 
                                             
                                             | 
                                             
                                               
                                                 E 
                                                 k 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                           ) 
                                         
                                       
                                       = 
                                         
                                        
                                       
                                         
                                           [ 
                                           
                                             1 
                                             + 
                                             
                                               
                                                 ( 
                                                 
                                                   1 
                                                   + 
                                                   
                                                     ξ 
                                                     
                                                       H 
                                                       1 
                                                     
                                                   
                                                 
                                                 ) 
                                               
                                                
                                               
                                                 exp 
                                                  
                                                 
                                                   ( 
                                                   
                                                     
                                                       - 
                                                       
                                                         
                                                           
                                                              
                                                             
                                                             
                                                             E 
                                                             k 
                                                             
                                                              
                                                             
                                                             [ 
                                                             m 
                                                             ] 
                                                             
                                                             
                                                              
                                                           
                                                           2 
                                                         
                                                         
                                                           
                                                             λ 
                                                             
                                                             V 
                                                             , 
                                                             k 
                                                             
                                                           
                                                            
                                                           
                                                             [ 
                                                             
                                                             m 
                                                             - 
                                                             1 
                                                             
                                                             ] 
                                                           
                                                         
                                                       
                                                     
                                                      
                                                     
                                                       
                                                         ξ 
                                                         
                                                           H 
                                                           1 
                                                         
                                                       
                                                       
                                                         1 
                                                         + 
                                                         
                                                           ξ 
                                                           
                                                             H 
                                                             1 
                                                           
                                                         
                                                       
                                                     
                                                   
                                                   ) 
                                                 
                                               
                                             
                                           
                                           ] 
                                         
                                         
                                           - 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         P 
                                         _ 
                                       
                                       = 
                                         
                                        
                                       
                                         
                                           
                                             α 
                                             P 
                                           
                                            
                                           
                                             P 
                                             _ 
                                           
                                         
                                         + 
                                         
                                           
                                             ( 
                                             
                                               1 
                                               - 
                                               
                                                 α 
                                                 P 
                                               
                                             
                                             ) 
                                           
                                            
                                           
                                             P 
                                              
                                             
                                               ( 
                                               
                                                 
                                                   H 
                                                   1 
                                                 
                                                 | 
                                                 
                                                   
                                                     E 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                               
                                               ) 
                                             
                                           
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         P 
                                          
                                         
                                           ( 
                                           
                                             
                                               H 
                                               1 
                                             
                                             | 
                                             
                                               
                                                 E 
                                                 k 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                           ) 
                                         
                                       
                                       = 
                                         
                                        
                                       
                                         { 
                                         
                                           
                                             
                                               
                                                 
                                                   min 
                                                    
                                                   
                                                     { 
                                                     
                                                       
                                                         P 
                                                          
                                                         
                                                           ( 
                                                           
                                                             
                                                             H 
                                                             1 
                                                             
                                                             | 
                                                             
                                                             
                                                             E 
                                                             k 
                                                             
                                                              
                                                             
                                                             [ 
                                                             m 
                                                             ] 
                                                             
                                                             
                                                           
                                                           ) 
                                                         
                                                       
                                                       , 
                                                       
                                                         P 
                                                         TH 
                                                       
                                                     
                                                     } 
                                                   
                                                 
                                                 , 
                                               
                                             
                                             
                                               
                                                 
                                                   P 
                                                   _ 
                                                 
                                                 &gt; 
                                                 
                                                   P 
                                                   TH 
                                                 
                                               
                                             
                                           
                                           
                                             
                                               
                                                 
                                                   P 
                                                    
                                                   
                                                     ( 
                                                     
                                                       
                                                         H 
                                                         1 
                                                       
                                                       | 
                                                       
                                                         
                                                           E 
                                                           k 
                                                         
                                                          
                                                         
                                                           [ 
                                                           m 
                                                           ] 
                                                         
                                                       
                                                     
                                                     ) 
                                                   
                                                 
                                                 , 
                                               
                                             
                                             
                                               otherwise 
                                             
                                           
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         E 
                                          
                                         
                                           { 
                                           
                                             
                                               
                                                 λ 
                                                 
                                                   V 
                                                   , 
                                                   k 
                                                 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                             | 
                                             
                                               
                                                 E 
                                                 k 
                                               
                                                
                                               
                                                 [ 
                                                 m 
                                                 ] 
                                               
                                             
                                           
                                           } 
                                         
                                       
                                       = 
                                         
                                        
                                       
                                         
                                           
                                             P 
                                              
                                             
                                               ( 
                                               
                                                 
                                                   H 
                                                   1 
                                                 
                                                 | 
                                                 
                                                   
                                                     E 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                               
                                               ) 
                                             
                                           
                                            
                                           
                                             
                                               λ 
                                               
                                                 V 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                         
                                         + 
                                         
                                           
                                             P 
                                              
                                             
                                               ( 
                                               
                                                 
                                                   H 
                                                   0 
                                                 
                                                 | 
                                                 
                                                   
                                                     E 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                               
                                               ) 
                                             
                                           
                                            
                                           
                                             
                                                
                                               
                                                 
                                                   E 
                                                   k 
                                                 
                                                  
                                                 
                                                   [ 
                                                   m 
                                                   ] 
                                                 
                                               
                                                
                                             
                                             2 
                                           
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         
                                           λ 
                                           
                                             V 
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       = 
                                         
                                        
                                       
                                         
                                           
                                             α 
                                             NPE 
                                           
                                            
                                           
                                             
                                               λ 
                                               
                                                 V 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             
                                               [ 
                                               
                                                 m 
                                                 - 
                                                 1 
                                               
                                               ] 
                                             
                                           
                                         
                                         + 
                                         
                                           
                                             ( 
                                             
                                               1 
                                               - 
                                               
                                                 α 
                                                 NPE 
                                               
                                             
                                             ) 
                                           
                                            
                                           E 
                                            
                                           
                                             { 
                                             
                                               
                                                 
                                                   λ 
                                                   
                                                     V 
                                                     , 
                                                     k 
                                                   
                                                 
                                                  
                                                 
                                                   [ 
                                                   m 
                                                   ] 
                                                 
                                               
                                               | 
                                               
                                                 
                                                   E 
                                                   k 
                                                 
                                                  
                                                 
                                                   [ 
                                                   m 
                                                   ] 
                                                 
                                               
                                             
                                             } 
                                           
                                         
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                                 
                             
                           
                         
                       
                     
                   
                 
               
               
                   
               
               
                 Noise suppressor 
               
             
          
           
               
                 
                   
                     
                       
                           
                         
                           
                             
                               
                                 
                                   
                                     ξ 
                                     k 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       α 
                                       DD 
                                     
                                      
                                     
                                       
                                         
                                            
                                           
                                             
                                               
                                                 S 
                                                 ^ 
                                               
                                               k 
                                             
                                              
                                             
                                               [ 
                                               
                                                 m 
                                                 - 
                                                 1 
                                               
                                               ] 
                                             
                                           
                                            
                                         
                                         2 
                                       
                                       
                                         
                                           
                                             λ 
                                             
                                               V 
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                         + 
                                         
                                           
                                             λ 
                                             
                                               B 
                                               , 
                                               k 
                                             
                                           
                                            
                                           
                                             [ 
                                             m 
                                             ] 
                                           
                                         
                                       
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           α 
                                           DD 
                                         
                                       
                                       ) 
                                     
                                      
                                     max 
                                      
                                     
                                       { 
                                       
                                         
                                           
                                             
                                               γ 
                                               k 
                                             
                                              
                                             
                                               [ 
                                               m 
                                               ] 
                                             
                                           
                                           - 
                                           1 
                                         
                                         , 
                                         0 
                                       
                                       } 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     γ 
                                     k 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       λ 
                                       
                                         E 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                   / 
                                   
                                     ( 
                                     
                                       
                                         
                                           λ 
                                           
                                             V 
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                       + 
                                       
                                         
                                           λ 
                                           
                                             B 
                                             , 
                                             k 
                                           
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                     ) 
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     G 
                                     k 
                                     LSA 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       
                                         ξ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                     
                                       1 
                                       + 
                                       
                                         
                                           ξ 
                                           k 
                                         
                                          
                                         
                                           [ 
                                           m 
                                           ] 
                                         
                                       
                                     
                                   
                                    
                                   
                                     exp 
                                      
                                     
                                       ( 
                                       
                                         
                                           1 
                                           2 
                                         
                                          
                                         
                                           
                                             ∫ 
                                             
                                               
                                                 
                                                   
                                                     ξ 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                                  
                                                 
                                                   
                                                     γ 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                               
                                               
                                                 1 
                                                 + 
                                                 
                                                   
                                                     ξ 
                                                     k 
                                                   
                                                    
                                                   
                                                     [ 
                                                     m 
                                                     ] 
                                                   
                                                 
                                               
                                             
                                             ∞ 
                                           
                                            
                                           
                                             
                                               
                                                 e 
                                                 
                                                   - 
                                                   t 
                                                 
                                               
                                               t 
                                             
                                              
                                             dt 
                                           
                                         
                                       
                                       ) 
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     
                                       S 
                                       ^ 
                                     
                                     k 
                                   
                                    
                                   
                                     [ 
                                     m 
                                     ] 
                                   
                                 
                                 = 
                                   
                                  
                                 
                                   
                                     
                                       ζ 
                                       k 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                    
                                   
                                     
                                       E 
                                       k 
                                     
                                      
                                     
                                       [ 
                                       m 
                                       ] 
                                     
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
                 (Equation 50) 
               
               
                   
               
               
                 
                   
                     
                       
                         
                           
                             ζ 
                             k 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                         = 
                           
                          
                         
                           { 
                           
                             
                               
                                 
                                   
                                     
                                       ( 
                                       
                                         1 
                                         - 
                                         
                                           G 
                                           min 
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       
                                         G 
                                         k 
                                         LSA 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                   
                                   + 
                                   
                                     G 
                                     min 
                                   
                                 
                               
                               
                                 
                                   
                                     
                                       
                                         ξ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                      
                                     
                                        
                                       
                                         b 
                                         m 
                                       
                                     
                                      
                                     
                                       θ 
                                       1 
                                     
                                   
                                   , 
                                 
                               
                             
                             
                               
                                 
                                   
                                     α 
                                     2 
                                   
                                   , 
                                 
                               
                               
                                 
                                   
                                     
                                       θ 
                                       1 
                                     
                                      
                                     
                                       
                                         ℒ 
                                          
                                         
                                             
                                         
                                       
                                       
                                         b 
                                         m 
                                       
                                     
                                      
                                     
                                       
                                         ξ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                      
                                     
                                       ℒ 
                                       
                                         b 
                                         m 
                                       
                                     
                                      
                                     
                                         
                                     
                                      
                                     
                                       θ 
                                       2 
                                     
                                   
                                   , 
                                 
                               
                             
                             
                               
                                 
                                   
                                     
                                       2 
                                       + 
                                       α 
                                     
                                     2 
                                   
                                   , 
                                 
                               
                               
                                 
                                   
                                     
                                       
                                         ξ 
                                         k 
                                       
                                        
                                       
                                         [ 
                                         m 
                                         ] 
                                       
                                     
                                      
                                     
                                       ℒ 
                                       
                                         b 
                                         m 
                                       
                                     
                                      
                                     
                                         
                                     
                                      
                                     
                                       θ 
                                       2 
                                     
                                   
                                   , 
                                 
                               
                             
                           
                         
                       
                     
                   
                 
                 (Equation 51) 
               
               
                   
               
             
          
           
               
                 Voice activity Detection 
               
               
                   
               
             
          
           
               
                 
                   
                     
                       
                         
                           
                             
                               ∑ 
                               k 
                             
                              
                             
                               [ 
                               
                                 
                                   
                                     
                                       γ 
                                       k 
                                     
                                      
                                     
                                       ξ 
                                       k 
                                     
                                   
                                   
                                     1 
                                     + 
                                     
                                       ξ 
                                       k 
                                     
                                   
                                 
                                 - 
                                 
                                   log 
                                    
                                   
                                     ( 
                                     
                                       1 
                                       + 
                                       
                                         ξ 
                                         k 
                                       
                                     
                                     ) 
                                   
                                 
                               
                               ) 
                             
                           
                           ] 
                         
                         &gt; 
                         η 
                       
                     
                   
                 
                 (Equation 52) 
               
               
                   
               
             
          
         
       
     
         [0132]    VAD, where the NS uses the output of both the RPE and the NPE to suppress the residual echo and the noise simultaneously. The low complexity minimum MSE (MMSE) noise power estimator can be used for the NPE, and the Ephraim and Malah log-spectral amplitude (LSA) MMSE estimator can be used for the NS. The estimation of the a priori SNR can be performed using the decision-directed (DD) approach. The tuning parameters of the NPE includes the fixed a priori SNR ξ H     1   , the threshold p TH , and the smoothing factors α P  and α NPE . The tuning parameters of the NS consists of the smoothing factor for the SNR estimator α DD  and the minimum suppression gain G min . Additional tuning parameters from disclosed speech enhancement masks are described below. 
       11.4 Generation of Speech Enhancement Masks 
       [0133]    The direct masking approach can be combined with the NS output mask G k   LSA . In particular, we can exploit the estimated bin-based a priori SNR ξ k  to determine the type of masking to be applied to the spectrum. b m  toggles the sign of the thresholds (θ 1 ,θ 2 , etc.) in the following equation and is optimized during the GA optimization phase. 
         [0134]    Our experiments show that for speech recognition applications direct masking can be applied to higher SNRs to achieve good results, while the gain G k   LSA  can be used for lower SNRs to achieve good results. However, for perceptual voice quality optimization, the direct masking is used for lower SNRs and the gain G k   LSA  for higher SNRS to achieve suitable perceived quality. For other objective score optimizations, the GA can chose an optimal b m . Accordingly, our masking then becomes: 
         [0000]    
       
         
           
             
               
                 ζ 
                 k 
               
                
               
                 [ 
                 m 
                 ] 
               
             
             = 
             
               { 
               
                 
                   
                     
                       
                         
                           
                             ( 
                             
                               1 
                               - 
                               
                                 G 
                                 min 
                               
                             
                             ) 
                           
                            
                           
                             
                               G 
                               k 
                               LSA 
                             
                              
                             
                               [ 
                               m 
                               ] 
                             
                           
                         
                         + 
                         
                           G 
                           min 
                         
                       
                       , 
                     
                   
                   
                     
                       
                         
                           
                             ξ 
                             k 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                          
                         
                           £ 
                           
                             b 
                             m 
                           
                         
                          
                         
                           θ 
                           1 
                         
                       
                       , 
                     
                   
                 
                 
                   
                     
                       
                         α 
                         2 
                       
                       , 
                     
                   
                   
                     
                       
                         
                           θ 
                           1 
                         
                          
                         
                           £ 
                           
                             b 
                             m 
                           
                         
                          
                         
                           
                             ξ 
                             k 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                          
                         
                           £ 
                           
                             b 
                             m 
                           
                         
                          
                         
                           θ 
                           2 
                         
                       
                       , 
                     
                   
                 
                 
                   
                     
                       
                         
                           2 
                           + 
                           α 
                         
                         2 
                       
                       , 
                     
                   
                   
                     
                       
                         
                           
                             ξ 
                             k 
                           
                            
                           
                             [ 
                             m 
                             ] 
                           
                         
                          
                         
                           £ 
                           
                             b 
                             m 
                           
                         
                          
                         
                           θ 
                           2 
                         
                       
                       , 
                     
                   
                 
               
             
           
         
       
     
         [0000]    where G min  is the minimum suppression gain, and the output is then: 
         [0000]        Ŝ   k   [m]=ξ   k   [m]E   k   [m]
 
         [0135]    The direct mask described above can be extended to a bin-based mask (e.g., with each bin corresponding to a time-frequency position). To do so, we split the speech signal s[n] and echo signal d[n] into different frequency bands (the number of bands can be equal to or lower than the precision of our Fourier Transform analysis). Each signal s i [n] and d i [n] (i being the frequency band index) can then be processed independently using Equations 22 51 and 23 52 (with frequency-bin specific tuning parameters), providing a bin-based direct mask. With such an approach, tuning parameters for each band can be optimized independently. 
       Section 12 
     Parameter Selection Using “Optimization” 
       [0136]    Values of the parameters defined in Section 11 ca be selected using genetic algorithm (GA). That said, other suitable approaches for solving nonlinear, combinatorial-type problems can be used, such as, for example, a grid search approach, greedy search algorithms, and other optimization methods. 
         [0137]    The tuning problem can be formalized as an optimization problem. An objective function to attempt to maximize over the defined parameters is the ASR recognition rate R(ŝ), where ŝ is the processed speech, the output of a speech enhancement system (e.g., as disclosed herein). We can reasonably assume that inequality constraint functions are linear and univariate, simplifying the constraints to determine lower and upper bounds limit for the components of the solution vector. On that assumption, the optimization problem then becomes: 
         [0000]      maximize  R ( ŝ[n,p ]) 
         [0000]      subjectto  U≦p≦L.   (Equation 53)
 
         [0000]    where p represents the vector of the parameters to be tuned, ŝ[n,p] is the speech enhancement system output obtained with those parameters, and L and U represent, respectively, lower and upper bounds for the values each variable. 
       12.1 Maximization Techniques 
       [0138]    Since the objective function is not linear and not known to be convex, there are no effective methods for directly solving (Equation 53). Performing a brute force search with as few as ten variables can be extremely challenging, while problems with a few hundreds of variables can be intractable. As noted above in Section 3.2, so-called Genetic Algorithms (GA) have been successfully applied to this type of non-convex mixed-integer optimization. Various steps of such GA techniques are outlined below. 
         [0139]    Step 1—An initial population of values)Π (0) ={p m   (0) , m=1, . . . , M}, where M is the number of possible value sets in a single generation, is generated randomly with a uniform distribution over the space of feasible values [L,U]. 
         [0140]    Step 2—The cost function in (Equation 53) is evaluated for each set of values at the k th generation, Π (k) ={p m   (k) , m=1, . . . , M}, and the best N sets are migrated to the next generation Π (k+1) . The remaining M-N sets of values of Π (k+1)  are generated from Π (k)  either through crossover (p c ) or mutation (p m =1−p c ). 
         [0141]    Crossover—Given two sets of parameters from a previous generation p n   (k) , p l   (k) εΠ (k) , a good but not optimum value of their cost function may be due to the fact that both sets approximate well some but not all parameters p. However, as the function {circumflex over (v)}[n,p] is not invertible, we are unable to determine which parameters have a good/bad match. As a consequence, the crossover function Φ makes a random weighted mean of the two set of parameters. 
         [0142]    Mutation—The mutation p m   (k+1) =Ψ(p n   (k) ) of the set of values has the objective of preventing the falling of all elements in the population to a local minimum. Different heuristic approaches can be used to design a mutation function and we use two of the most common types of perturbations. The Uniform perturbation replaces the value of a chosen element with a uniform random value selected between the upper and lower bounds for that element. The Gaussian perturbation adds a unit Gaussian distributed random value a chosen vector element. If the value falls outside of the user-specified lower or upper bounds for that element, the value is clipped. 
         [0143]    Step 3—Step 2 is repeated until a halting criterion is reached. The set of parameters p m   (K) εΠ (K)  with the largest value of the cost function will provide our estimate. The set of parameters p m   (K) εΠ (K)  that maximizes the cost function will be our estimate: 
         [0000]    
       
         
           
             
               
                 
                   p 
                   = 
                   
                     
                       argmax 
                       
                         
                           p 
                           m 
                           
                             ( 
                             K 
                             ) 
                           
                         
                         ∈ 
                         
                           Π 
                           
                             ( 
                             K 
                             ) 
                           
                         
                       
                     
                      
                     
                         
                     
                      
                     
                       R 
                        
                       
                         ( 
                         
                           
                             s 
                             ^ 
                           
                            
                           
                             [ 
                             
                               n 
                               , 
                               
                                 p 
                                 m 
                                 
                                   ( 
                                   K 
                                   ) 
                                 
                               
                             
                             ] 
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   
                     Equation 
                      
                     
                         
                     
                      
                     54 
                   
                   ) 
                 
               
             
           
         
       
     
       Section 13 
     Back-End Speech Recognizer and Experimental Results 
     13.1 Back-End Speech Recognizer 
       [0144]    The signal processed by a voice-quality enhancer of the type described above is then processed by a back-end recognizer to extract features and proceeds with the sequence likelihood calculation based on the designed acoustic model distributions. As an alternative to commonly used HMMs (Hidden Markov Models), we chose two recently introduced statistical paradigms for modeling the distributions: one based on deep neural networks (DNN), and the other based on subspace Gaussian mixture models (SGMM). In both cases, a 40-dimensional feature vector was processed by the back-end recognizer. The recognizer included a perceptual linear prediction (PLP), linear discriminant analysis (LDA), maximum likelihood linear transform (MLLT), and feature-space maximum likelihood linear regression (fMLLR). 
       13.1.1 Deep Neural Networks 
       [0145]    DNNs can evaluate the likelihood of a particular sequence using a feed-forward neural network that takes several frames of features as input and produces posterior probabilities over HMM states as output. DNNs can efficiently model data that lie on or near a nonlinear manifold in the data space. Thus, DNNs with many hidden layers have been shown to outperform GMMs on a variety of speech recognition benchmarks, sometimes by a large margin. The DNN architecture consists of 3 hidden layers with 1024 neurons in each layer and 11 frame inputs ( 5  past frames and 5 future frames). 
       13.1.2 Subspace Gaussian Mixture Models 
       [0146]    In contrast with standard GMM-HMM systems where state level observation densities consist of a dedicated mixture of multivariate Gaussian mixtures in subspace GMM share a common structure. In this formalism, the means and mixture weights are controlled by a global mapping from a vector space, through one or more state projection vectors, to the GMM parameter space. 
       13.2 Experimental Results 
       [0147]    In this section, we present the results from our designed speech enhancement front-end with the tuned parameters using the optimization method presented in Section 13.1, by way of example. In order to obtain the set of parameters that maximize the recognition rate, we optimized and tuned the system on a noisy TIMIT database and on our real-world command recordings. 
       13.2.1 Processing on TIMIT Database 
     13.2.1.1 Noisy TIMIT Database Generation 
       [0148]    The database was generated by simulating the interaction between the user and the playback device. In this scenario, music is played from a loudspeaker system in which a microphone is placed one centimeter away from the loudspeaker. The microphone signal y[n] was then generated according to: 
         [0000]    
       
      
       y[n]=s[n]+σ 
       1 
       d[n]+σ 
       2 
       v 
       2 
       [n],  
      
     
         [0000]    which consisted of the speech s[n], the acoustic echo from the music d[n] and the background noise v 2 [n] (babble noise). For each file in the TIMIT database, the SER and SNR were chosen from uniform distributions ranging from −30 dB to 10 dB and from 0 dB to 30 dB, respectively. We used 12 impulse responses recorded on the device in real rooms randomly picked and normalized to unitary energy. The values of σ 1  and σ 2  were calculated based on SER and SNR. The music sound, d[n], was randomly selected from five different music tracks of different genres with random starting points. 
       13.2.1.2 Recognition on Noisy TIMIT 
       [0149]      FIG. 14 : Phone accuracy (in %) for different noise conditions and different tuning parameters for both DNN and SGMM on noisy TIMIT. SNR is between 0 dB to 30 dB and SER is between −30 dB to 10 dB. 
         [0150]    In order to optimize the parameters of our front-end speech enhancement system, we followed an iterative approach outlined below.
       Iteration 0 (Initialization):
           (a) Train the acoustic models (DNN and SGMM) on clean TIMIT.   (b) Tune the font-end parameters with our proposed tuning approach.   
           Iteration 1 and Higher:
           (a) Process simulated noisy TIMIT with our tuned front-end and generate processed TIMIT utterances.   (b) Train the acoustic models with a mixture of clean TIMIT and processed TIMIT utterances.   (c) Use the adapted acoustic models to re-tune the front-end with our proposed tuning technique using the database of clean and processed utterances.   
               
 
         [0158]    Tuning of the parameters in the iterative approach can also be performed for parameters of the acoustic model (DNN, SGMM, HMM, etc.). Some of the parameters that can be optimized iteratively is: number of states for HMM, number of hidden layers for DNN, number of neurons per layer for DNN, etc. 
         [0159]    In other words, at iteration 0, the tuning approach determines a set of parameter that output the “cleanest” speech, in order to match the clean TIMIT database characteristics. Due to the mismatch between the enhanced speech and the clean acoustic model, further iterations help reduce this mismatch and improve the ASR performance. Regardless of the iteration number, the GA had a population of M=40 possible candidates and K=3 were enough to reach convergence. These values were chosen empirically by balancing the complexity and the accuracy of the results. 
         [0160]      FIG. 14  shows the phone accuracy of the clean TIMIT database, the unprocessed noisy database, the speech enhancement front-end tuned with the Perceptual Objective Listening Quality Assessment (POLQA,) subjective measure, and the speech enhancement front-end tuned with ASR. The acoustic models were trained on the clean TIMIT database except for the ASR optimized system tuned with 1 iteration. The system tuned with ASR outperforms the system tuned with POLQA. The phone accuracy on the clean TIMIT database (test set) with a triphone language model were 74.30% for DNN and 75.26% for SGMM, comparable to the performance reported in and, respectively.  FIG. 14  also shows the phone accuracy when an iteration in the presented approach is used. 
         [0161]    Although used in a different setup, the results obtained with the proposed method compared favorably to some prior results [?, ?], where authors investigated joint echo cancellation and speech enhancement at higher SERs and SNRs. 
       13.2.2 Processing on Real Commands 
       [0162]    We used the system to recognize four commands: play, next, back, pause, as well as a garbage model. In this section two different scenarios are considered. We first use the set of tuned parameters for the speech enhancement system from our analysis on the TIMIT database to study the feasibility of speech recognition on limited vocabulary in extremely challenging conditions and assess the generalization of our tuning approach to unseen data (system trained on TIMIT but tested on commands). We then conducted another set of experiments where the tuning of the parameters was done on real recordings of actual commands. 
         [0163]    Command Accuracy in % averaged over the four commands for different noise conditions and for different acoustic models. Clean: SNR=∞, SER=∞. Medium: SER=[−35′−30] dB, SNR=[0,5] dB. Loud: SER=[−40,−35] dB, SNR=[0,5] dB. First bar represents accuracy on clean recordings for both DNN and SGMM acoustic models. Second and third groups of bars represent results for DNN, while the fourth and fifth groups represent results for SGMM. ASR-tuned (TIMIT): GA tuning over the TIMIT database. ASR-tuned (command): GA tuning over the commands. 
       13.2.2.1 Recording of Commands Database 
       [0164]      FIG. 11  shows the setup for voice recording, where eight subjects (male/female, native/non-native English speakers) uttered a list of commands at a distance of 1 meter from the microphone of the Beats Pill portable speaker while music was playing. We used eight different music tracks, where the starting point of the track was chosen randomly. Subjects uttered the following commands towards the speakers: play, next, back, pause. Ambient noise, recorded in a shopping mall containing a mixture of babble and other environmental noise, was played through separate loudspeakers facing the wall of the room to simulate diffuse noise. The music playback levels were set to three different levels: off, medium, and loud. We estimated that the range of SER for the medium and loud are −35 to −30 dB and −40 to −35 dB, respectively. The SNR of the ambient noise was set to 0 to 5 dB for the medium and loud scenarios. There is neither background noise nor music playback for the clean recordings. The estimation of the SERs was made possible thanks to a close-talking microphone that recorded the near-end speech. Furthermore, we measured the average C-weighted SPL of the music playback at the microphone to be 92 dBC and 102 dBC for the medium and loud cases respectively. 
       13.2.2.2 Recognition on Noisy Commands 
       [0165]      FIG. 15  shows the command recognition rates over the four commands for different noise and echo levels, different acoustic models, and different tuning parameters. The acoustic models in both DNN and SGMM were both trained using the clean TIMIT database. The parameters for the POLQA-tuned and ASR-tuned (TIMIT) cases were the system tuned when the target optimization function was an objective speech quality metric (POLQA) and the system tuned when the target was to maximize phone accuracy on noisy TIMIT (as described in Section 13.2.1.2), respectively. For the clean commands the accuracy for both DNN and SGMM was 100%, as expected for this small command list. The command recognition rate of the close talk microphone degrades slightly when there was music and background noise but was still around or above 90% in all cases. For the Beats Pill microphone recording during music playback and background noise, we obtained the best accuracy when the tuning was done on a mixture of both medium and loud conditions as in ASR-tuned (command). After 1 iteration the command recognition with SGMM is 70% for medium and 48% for loud. The same results for DNN are 67% and 48%. 
         [0166]    Since the recording condition was not always known in advance, the command recognition on the mixed condition was also a good indication of the generalization capacity of our proposed approach. Furthermore, command accuracy from the optimization performed on TIMIT was within 2% absolute of the results obtained while optimizing on commands for the medium level scenario, which was a good indication of the generalization capacity of our proposed approach. The accuracy gap was wider between TIMIT-based optimization and the loud-level commands due to a mismatch between SER and SNR of the simulated TIMIT and loud commands. Our results also clearly showed that our proposed tuning based on ASR optimization outperforms the POLQA-based tuning. The difference in performance seemed to derive from the POLQA optimization being less aggressive on noise in order to preserve speech quality. 
       13.3 Summary of Speech Recognizer 
       [0167]    We disclosed a robust ASR front-end and a related tuning methodology combined with a state-of-the-art speech recognition systems (DNN- and SGMM-based). The proposed speech enhancement front-end consists of a cascaded robust AEC, a residual echo power estimator based on a double-talk probability estimator, and a quasi-binary masking that utilizes the classical MMSE-based method at very low SNRs. The tuning improved the speech recognition rate substantially on the TIMIT database. The optimized front-end was then tested in realistic environments for the remote control of a music playback device with a limited-sized command dictionary. The result showed a fairly high recognition rate for voice commands at a speech-to-music ratio as low as −40 dB and SNR as low as 0 dB, scenarios hardly seen through the literature. In our experiments, SGMM outperformed DNN in noisy conditions. However, training the DNN on a larger corpus can potentially improve recognition results on DNN. In fact, training the DNN on a larger dataset including noisy and clean TIMIT improved the overall recognition rate of the DNN when our proposed iterative approach was used. We also showed that training the back-end ASR and tuning our front-end speech enhancement system in the iterative approach improved the overall recognition results. 
       Section 14 
     Computing Environments 
       [0168]      FIG. 16  illustrates a generalized example of a suitable computing environment  1100  in which described methods, embodiments, techniques, and technologies relating, for example, to enhancing perceived quality of a speech signal, may be implemented. The computing environment  1100  is not intended to suggest any limitation as to scope of use or functionality of the technologies disclosed herein, as each technology may be implemented in diverse general-purpose or special-purpose computing environments. For example, each disclosed technology may be implemented with other computer system configurations, including hand held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, smartphones, and the like. Each disclosed technology may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. 
         [0169]    With reference to  FIG. 16  the computing environment  1100  includes at least one central processing unit  1110  and memory  1120 . In  FIG. 16 , this most basic configuration  1130  is included within a dashed line. The central processing unit  1110  executes computer-executable instructions and may be a real or a virtual processor. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power and as such, multiple processors can be running simultaneously. The memory  1120  may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two. The memory  1120  stores software  1180  that can, for example, implement one or more of the innovative technologies described herein. 
         [0170]    A computing environment may have additional features. For example, the computing environment  1100  includes storage  1140 , one or more input devices  1150 , one or more output devices  1160 , and one or more communication connections  1170 . An interconnection mechanism (not shown) such as a bus, a controller, or a network, interconnects the components of the computing environment  1100 . Typically, operating system software (not shown) provides an operating environment for other software executing in the computing environment  1100 , and coordinates activities of the components of the computing environment  1100 . 
         [0171]    The storage  1140  may be removable or non-removable, and includes magnetic disks, magnetic tapes or cassettes, CD-ROMs, CD-RWs, DVDs, or any other tangible, non-transitory medium which can be used to store information and which can be accessed within the computing environment  1100 . The storage  1140  stores instructions for the software  1180 , which can implement technologies described herein. 
         [0172]    The input device(s)  1150  may be a touch input device, such as a keyboard, keypad, mouse, pen, touchscreen or trackball, a voice input device, a scanning device, or another device, that provides input to the computing environment  1100 . For audio, the input device(s)  1150  may include a microphone or other transducer (e.g., a sound card or similar device that accepts audio input in analog or digital form), or a CD-ROM reader that provides audio samples to the computing environment  1100 . The output device(s)  1160  may be a display, printer, speaker, CD-writer, or another device that provides output from the computing environment  1100 . 
         [0173]    The communication connection(s)  1170  enable communication over a communication medium (e.g., a connecting network) to another computing entity. The communication medium conveys information such as computer-executable instructions, compressed graphics information, or other data in a modulated data signal. 
         [0174]    Tangible computer-readable media are any available, tangible media that can be accessed within a computing environment  1100 . By way of example, and not limitation, with the computing environment  1100 , computer-readable media include memory  1120 , storage  1140 , communication media (not shown), and combinations of any of the above. Tangible computer-readable media exclude transitory signals. 
       Section 15 
     Other Embodiments 
       [0175]    The examples described above generally concern speech enhancement techniques and related systems. Other embodiments than those described above in detail are contemplated based on the principles disclosed herein, together with any attendant changes in configurations of the respective apparatus described herein. Incorporating the principles disclosed herein, it is possible to provide a wide variety of systems adapted to enhance speech contained in an impaired speech signal, for example, in “hands-free” communication systems, in aviation communication systems, in conference room speaker phones, in auditorium sound systems, etc. 
         [0176]    Directions and other relative references (e.g., up, down, top, bottom, left, right, rearward, forward, etc.) may be used to facilitate discussion of the drawings and principles herein, but are not intended to be limiting. For example, certain terms may be used such as “up,” “down,”, “upper,” “lower,” “horizontal,” “vertical,” “left,” “right,” and the like. Such terms are used, where applicable, to provide some clarity of description when dealing with relative relationships, particularly with respect to the illustrated embodiments. Such terms are not, however, intended to imply absolute relationships, positions, and/or orientations. For example, with respect to an object, an “upper” surface can become a “lower” surface simply by turning the object over. Nevertheless, it is still the same surface and the object remains the same. As used herein, “and/or” means “and” or “or”, as well as “and” and “or.” Moreover, all patent and non-patent literature cited herein is hereby incorporated by references in its entirety for all purposes. 
         [0177]    The principles described above in connection with any particular example can be combined with the principles described in connection with another example described herein. Accordingly, this detailed description shall not be construed in a limiting sense, and following a review of this disclosure, those of ordinary skill in the art will appreciate the wide variety of filtering and computational techniques that can be devised using the various concepts described herein. Moreover, those of ordinary skill in the art will appreciate that the exemplary embodiments disclosed herein can be adapted to various configurations and/or uses without departing from the disclosed principles. 
         [0178]    The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the disclosed innovations. Various modifications to those embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of this disclosure. Thus, the claimed inventions are not intended to be limited to the embodiments shown herein, but are to be accorded the full scope consistent with the language of the claims, wherein reference to an element in the singular, such as by use of the article “a” or “an” is not intended to mean “one and only one” unless specifically so stated, but rather “one or more”. All structural and functional equivalents to the elements of the various embodiments described throughout the disclosure that are known or later come to be known to those of ordinary skill in the art are intended to be encompassed by the features described and claimed herein. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 USC 112, sixth paragraph, unless the element is expressly recited using the phrase “means for” or “step for”. 
         [0179]    Thus, in view of the many possible embodiments to which the disclosed principles can be applied, we reserve to the right to claim any and all combinations of features and technologies described herein as understood by a person of ordinary skill in the art, including, for example, all that comes within the scope and spirit of the following claims.