US 5,943,429 AGrant
Spectral Subtraction Noise Suppression Method
Issue Date:1999-08-24
•10 Claims
•7 Drawing Sheets
Abstract
A spectral subtraction noise suppression method in a frame based digital communication system is described. Each frame includes a predetermined number N of audio samples, thereby giving each frame N degrees of freedom. The method is performed by a spectral subtraction function H(w) which is based on an estimate of the power spectral density of background noise of non-speech frames and an estimate .PHI..sub.x (w) of the power spectral density of speech frames. Each speech frame is approximated by a parametric model that reduces the number of degrees of freedom to less than N. The estimate .PHI..sub.x (w) of the power spectral density of each speech frame is estimated from the approximative parametric model.
Metadata
Assignee
- Telefonaktiebolaget LM Ericsson
Inventor
- Peter Handel
Application Information
Application Number:US 8754128
Filing Date:1997-07-28
Priority Date:1995-01-30
Art Unit:277
Classifications
IPC:
H04B 1500
Field of Search:
38170471.1;71.9-71.14;94.1-94.4;94.7-94.9;FOR 123;124;115;116;317;318226-228
Patent Drawings (7 sheets)
Description
Technical Field
The present invention relates to noise suppresion in digital frame based communication systems, and in particular to a spectral subtraction noise suppression method in such systems.
Background
A common problem in speech signal processing is the enhancement of a speech signal from its noisy measurement. One approach for speech enhancement based on single channel (microphone) measurements is filtering in the frequency domain applying spectral subtraction techniques, 1!, 2!. Under the assumption that the background noise is long-time stationary (in comparison with the speech) a model of the background noise is usually estimated during time intervals with non-speech activity. Then, during data frames with speech activity, this estimated noise model is used together with an estimated model of the noisy speech in order to enhance the speech. For the spectral subtraction techniques these models are traditionally given in terms of the Power Spectral Density (PSD), that is estimated using classical FFT methods.
None of the abovementioned techniques give in their basic form an output signal with satisfactory audible quality in mobile telephony applications, that is
1. non distorted speech output
2. sufficient reduction of the noise level
3. remaining noise without annoying artifacts
In particular, the spectral subtraction methods are known to violate 1 when 2 is fulfilled or violate 2 when 1 is fulfilled. In addition, in most cases 3 is more or less violated since the methods introduce, so called, musical noise.
The above drawbacks with the spectral subtraction methods have been known and, in the literature, several ad hoc modifications of the basic algorithms have appeared for particular speech-in-noise scenarios. However, the problem how to design a spectral subtraction method that for general scenarios fulfills 1-3 has remained unsolved.
In order to highlight the difficulties with speech enhancement from noisy data, note that the spectral subtraction methods are based on filtering using estimated models of the incoming data. If those estimated models are close to the underlying "true" models, this is a well working approach. However, due to the short time stationarity of the speech (10-40 ms) as well as the physical reality surrounding a mobile telephony application (8000 Hz sampling frequency, 0.5-2.0 s stationarity of the noise, etc.) the estimated models are likely to significantly differ from the underlying reality and, thus, result in a filtered output with low audible quality.
EP, A1, 0 588 526 describes a method in which spectral analysis is performed either with Fast Fourier Transformation (FFT) or Linear Predictive Coding (LPC).
Summary
An object of the present invention is to provide a spectral subtraction noise suppresion method that gives a better noise reduction without sacrificing audible quality.
This object is solved by a spectral subtraction noise suppression method in a frame based digital communication system, each frame including a predetermined number N of audio samples, thereby giving each frame N degrees of freedom, wherein a spectral subtraction function H(w) is based on an estimate .PHI..sub.v (w) of a power spectral density of background noise of non-speech frames and an estimate .PHI..sub.x (w) of a power spectral density of speech frames. The method includes the steps of approximating each speech frame by a parametric model that reduces the number of degrees of freedom to less than N; estimating the estimate .PHI..sub.x (w) of the power spectral density of each speech frame by a parametric power spectrum estimation method based on the approximative parametric model; and estimating the estimate .PHI..sub.v (w) of the power spectral density of each non-speech frame by a non-parametric power spectrum estimation method.
Brief Description of the Drawings
The invention, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:
FIG. 1 is a block diagram of a spectral subtraction noise suppression system suitable for performing the method of the present invention;
FIG. 2 is a state diagram of a Voice Activity Detector (VAD) that may be used in the system of FIG. 1;
FIG. 3 is a diagram of two different Power Spectrum Density estimates of a speech frame;
FIG. 4 is a time diagram of a sampled audio signal containing speech and background noise;
FIG. 5 is a time diagram of the signal in FIG. 3 after spectral noise subtraction in accordance with the prior art;
FIG. 6 is a time diagram of the signal in FIG. 3 after spectral noise subtraction in accordance with the present invention; and
FIG. 7 is a flow chart illustrating the method of the present invention.
Detailed Description
The Spectral Subtraction Technique
Consider a frame of speech degraded by additive noise
where x(k), s(k) and v(k) denote, respectively, the noisy measurement of the speech, the speech and the additive noise, and N denotes the number of samples in a frame.
The speech is assumed stationary over the frame, while the noise is assumed long-time stationary, that is stationary over several frames. The number of frames where v(k) is stationary is denoted by .tau.>>1. Further, it is assumed that the speech activity is sufficiently low, so that a model of the noise can be accurately estimated during non-speech activity.
Denote the power spectral densities (PSDs) of, respectively, the measurement, the speech and the noise by .PHI..sub.x (.omega.), .PHI..sub.s (.omega.) and .PHI..sub.v (.omega.), where
Knowing .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.), the quantities .PHI..sub.s (.omega.) and s(k) can be estimated using standard spectral subtraction methods, cf 2!, shortly reviewed below
Let s(k) denote an estimate of s(k). Then, ##EQU1## where (.multidot.) denotes some linear transform, for example the Discrete Fourier Transform (DFT) and where H (.omega.) is a real-valued even function in w.epsilon.(0, 2.pi.) and such that 0.ltoreq.H (.omega.).ltoreq.1. The function H(.omega.) depends on .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.). Since H(.omega.) is real-valued, the phase of S(.omega.)=H(.omega.)X(.omega.) equals the phase of the degraded speech. The use of real-valued H(.omega.) is motivated by the human ears unsensitivity for phase distortion.
In general, .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are unknown and have to be replaced in H(.omega.) by estimated quantities .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.). Due to the non-stationarity of the speech, .PHI..sub.x (.omega.) is estimated from a single frame of data, while .PHI..sub.v (.omega.) is estimated using data in .tau. speech free frames. For simplicity, it is assumed that a Voice Activity Detector (VAD) is available in order to distinguish between frames containing noisy speech and frames containing noise only. It is assumed that .PHI..sub.v (.omega.) is estimated during non-speech activity by averaging over several frames, for example, using
In (4), .PHI..sub.v (.omega.).sup.l is the (running) averaged PSD estimate based on data up to and including frame number l and .PHI..sub.v (.omega.) is the estimate based on the current frame. The scalar .rho..epsilon.(0, 1) is tuned in relation to the assumed stationarity of v(k). An average over .tau. frames roughly corresponds to .rho. implicitly given by ##EQU2##
A suitable PSD estimate (assuming no apriori assumptions on the spectral shape of the background noise) is given by ##EQU3## where "*" denotes the complex conjugate and where V(.omega.)=(v(k)). With, (.multidot.)=FFT(.multidot.) (Fast Fourier Transformation), .PHI..sub.v (.omega.) is the Periodigram and .PHI..sub.v (.omega.) in (4) is the averaged Periodigram, both leading to asymptotically (N>>1) unbiased PSD estimates with approximative variances ##EQU4##
A similar expression to (7) holds true for .PHI..sub.x (.omega.) during speech activity (replacing .PHI..sub.v.sup.2 (.omega.) in (7) with .PHI..sub.x.sup.2 (.omega.)).
A spectral subtraction noise suppression system suitable for performing the method of the present invention is illustrated in block form in FIG. 1. From a microphone 10 the audio signal x(t) is forwarded to an A/D converter 12. A/D converter 12 forwards digitized audio samples in frame form {x(k)} to a transform block 14, for example a FFT (Fast Fourier Transform) block, which transforms each frame into a corresponding frequency transformed frame {X(.omega.)}. The transformed frame is filtered by H(.omega.) in block 16. This step performs the actual spectral subtraction. The resulting signal {S(.omega.)} is transformed back to the time domain by an inverse transform block 18. The result is a frame {s(k)} in which the noise has been suppressed. This frame may be forwarded to an echo canceler 20 and thereafter to a speech encoder 22. The speech encoded signal is then forwarded to a channel encoder and modulator for transmission (these elements are not shown).
The actual form of H(.omega.) in block 16 depends on the estimates .PHI..sub.x (.omega.), .PHI..sub.v (.omega.), which are formed in PSD estimator 24, and the analytical expression of these estimates that is used. Examples of different expressions are given in Table 2 of the next section. The major part of the following description will concentrate on different methods of forming estimates .PHI..sub.x (.omega.), .PHI..sub.v (.omega.) from the input frame {x(k)}.
PSD estimator 24 is controlled by a Voice Activity Detector (VAD) 26, which uses input frame {x(k)} to determine whether the frame contains speech (S) or background noise (B). A suitable VAD is described in 5!, 6!. The VAD may be implemented as a state machine having the 4 states illustrated in FIG. 2. The resulting control signal S/B is forwarded to PSD estimator 24. When VAD 26 indicates speech (S), states 21 and 22, PSD estimator 24 will form .PHI..sub.x (.omega.). On the other hand, when VAD 26 indicates non-speech activity (B), state 20, PSD estimator 24 will form .PHI..sub.v (.omega.). The latter estimate will be used to form H(.omega.) during the next speech frame sequence (together with .PHI..sub.x (.omega.) of each of the frames of that sequence).
Signal S/B is also forwarded to spectral subtraction block 16. In this way block 16 may apply different filters during speech and non-speech frames. During speech frames H(.omega.) is the above mentioned expression of .PHI..sub.x (.omega.), .PHI..sub.v (.omega.). On the other hand, during non-speech frames H(.omega.) may be a constant H (0.ltoreq.H.ltoreq.1) that reduces the background sound level to the same level as the background sound level that remains in speech frames after noise suppression. In this way the perceived noise level will be the same during both speech and non-speech frames.
Before the output signal s(k) in (3) is calculated, H(.omega.) may, in a preferred embodiment, be post filtered according to
where H(.omega.) is calculated according to Table 1. The scalar 0.1 implies that the noise floor is -20 dB.
Furthermore, signal S/B is also forwarded to speech encoder 22. This enables different encoding of speech and background sound.
PSD ERROR ANALYSIS
It is obvious that the stationarity assumptions imposed on s(k) and v(k) give rise to bound on how accurate the estimate s(k) is in comparison with the noise free speech signal s(k). In this Section, an analysis technique for spectral subtraction methods is introduced. It is based on first order approximations of the PSD estimates .PHI..sub.x (.omega.) and, respectively, .PHI..sub.v (.omega.) (see (11) below ), in combination with approximative (zero order approximations) expression for the accuracy of the introduced deviations. Explicitly, in the following an expression is derived for the frequency domain error of the estimated signal s(k), due to the method used (the choice of transfer function H(.omega.)) and due to the accuracy of the involved PSD estimator. Due to the human ears unsensitivity for phase distortion it is relevant to consider the PSD error, defined by
where
Note that .PHI..sub.s (.omega.) by construction is an error term describing the difference (in the frequency domain) between the magnitude of the filtered noisy measurement and the magnitude of the speech. Therefore, .PHI..sub.s (.omega.) can take both positive and negative values and is not the PSD of any time domain signal. In (10), H(.omega.) denotes an estimate of H(.omega.) based on .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.). In this Section, the analysis is restricted to the case of Power Subtraction (PS), 2!. Other choices of H(.omega.) can be analyzed in a similar way (see APPENDIX A-C). In addition novel choices of H(.omega.) are introduced and analyzed (see APPENDIX D-G). A summary of different suitable choices of H(.omega.) is given in Table 2.
By definition, H(.omega.) belongs to the interval 0.ltoreq.H(.omega.).ltoreq.1, which not necesarilly holds true for the corresponding estimated quantities in Table 2 and, therfore, in practice half-wave or full-wave rectification, 1!, is used.
In order to perform the analysis, assume that the frame length N is sufficiently large (N>>1) so that .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are approximately unbiased. Introduce the first order deviations
where .DELTA..sub.x (.omega.) and .DELTA..sub.v (.omega.) are zero-mean stochastic variables such that E.DELTA..sub.x (.omega.)/.PHI..sub.x (.omega.)!.sup.2 <<1 and E.DELTA..sub.v (.omega.)/.PHI..sub.v (.omega.)!.sup.2 <<1. Here and in the sequel, the notation E.multidot.! denotes statistical expectation. Further, if the correlation time of the noise is short compared to the frame length, E(.PHI..sub.v (.omega.).sup.l -.PHI..sub.v (.omega.))(.PHI..sub.v (.omega.).sup.k -.PHI..sub.v (.omega.))!.apprxeq.0 for l.noteq.k, where .PHI..sub.v (.omega.).sup.l is the estimate based on the data in the l-th frame. This implies that .DELTA..sub.x (.omega.) and .DELTA..sub.v (.omega.) are approximately independent. Otherwise, if the noise is strongly correlated, assume that .PHI..sub.v (.omega.) has a limited (<<N) number of (strong) peaks located at frequencies w.sub.1, . . . , w.sub.n. Then, E(.PHI..sub.v (.omega.).sup.l -.PHI..sub.v (.omega.))(.PHI..sub.v (.omega.).sup.k -.PHI..sub.v (.omega.))!.apprxeq.0 holds for w.noteq.w.sub.j j=1, . . . , n and l.noteq.k and the analysis still holds true for w.noteq.w.sub.j j=1, . . . , n.
Equation (11) implies that asymptotical (N>>1) unbiased PSD estimators such as the Periodogram or the averaged Periodogram are used. However, using asymptotically biased PSD estimators, such as the Blackman-Tukey PSD estimator, a similar analysis holds true replacing (11) with
and
where, respectively, B.sub.x (.omega.) and B.sub.v (.omega.) are deterministic terms describing the asymptotic bias in the PSD estimators.
Further, equation (11) implies that .PHI..sub.s (.omega.) in (9) is (in the first order approximation) a linear function in .DELTA..sub.x (.omega.) and .DELTA..sub.v (.omega.). In the following, the performance of the different methods in terms of the bias error (E.PHI..sub.s (.omega.)!) and the error variance (Var(.PHI..sub.s (.omega.))) are considered. A complete derivation will be given for H.sub.PS (.omega.) in the next section. Similar derivations for the other spectral subtraction methods of Table 1 are given in APPENDIX A-G.
ANALYSIS OF H.sub.PS (.omega.) (H.sub..delta.PS (.omega.) for .delta.=1)
Inserting (10) and H.sub.PS (.omega.) from Table 2 into (9), using the Taylor series expansion (1+x).sup.-1 .perspectiveto.1-x and neglecting higher than first order deviations, a straightforward calculation gives ##EQU5## where ".perspectiveto." is used to denote an approximate equality in which only the dominant terms are retained. The quantities .DELTA..sub.x (.omega.) and .DELTA..sub.v (.omega.) are zero-mean stochastic variables. Thus, ##EQU6##
In order to continue we use the general result that, for an asymptotically unbiased spectral estimator .PHI.(.omega.), cf (7)
for some (possibly frequency dependent) variable .gamma.(.omega.). For example, the Periodogram corresponds to .gamma.(.omega.).apprxeq.1+(sin wN/N sin w).sup.2, which for N>>1 reduces to .gamma..apprxeq.1. Combining (14) and (15) gives
RESULTS FOR H.sub.MS (.omega.)
Similar calculations for H.sub.MS (.omega.) give (details are given in APPENDIX A): ##EQU7## RESULTS FOR H.sub.WF (.omega.)
Calculations for H.sub.WF (.omega.) give (details are given in APPENDIX B): ##EQU8## RESULTS FOR H.sub.ML (.omega.)
Calculations for H.sub.ML (.omega.) give (details are given in APPENDIX C): ##EQU9## RESULTS FOR H.sub.IPS (.omega.)
Calculations for H.sub.IPS (.omega.) give (H.sub.IPS (.omega.) is derived in APPENDIX D and analyzed in APPENDIX E): ##EQU10## COMMON FEATURES
For the considered methods it is noted that the bias error only depends on the choice of H(.omega.), while the error variance depends both on the choice of H(.omega.) and the variance of the PSD estimators used. For example, for the averaged Periodogram estimate of .PHI..sub.v (.omega.) one has, from (7), that .gamma..sub.v .apprxeq.1/.tau.. On the other hand, using a single frame Periodogram for the estimation of .PHI..sub.x (.omega.), one has a .gamma..sub.x .apprxeq.1. Thus, for .tau.>>1 the dominant term in .gamma.=.gamma..sub.x +.gamma..sub.v, appearing in the above vriance equations, is .gamma..sub.x and thus the main error source is the single frame PSD estimate based on the the noisy speech.
From the above remarks, it follows that in order to improve the spectral subtraction techniques, it is desirable to decrease the value of .gamma..sub.x (select an appropriate PSD estimator, that is an approximately unbiased estimator with as good performance as possible) and select a "good" spectral subtraction technique (select H(.omega.)). A key idea of the present invention is that the value of .gamma..sub.x can be reduced using physical modeling (reducing the number of degrees of freedom from N (the number of samples in a frame) to a value less than N) of the vocal tract. It is well known that s(k) can be accurately described by an autoregressive (AR) model (typically of order p.apprxeq.10). This is the topic of the next two sections.
In addition, the accuracy of .PHI..sub.s (.omega.) (and, implicitly, the accuracy of s(k)) depends on the choice of H(.omega.). New, preferred choices of H(.omega.) are derived and analyzed in APPENDIX D-G.
SPEECH AR MODELING
In a preferred embodiment of the present invention s(k) is modeled as an autoregressive (AR) process ##EQU11## where A(q.sup.-1) is a monic (the leading coefficient equals one) p-th order polynomial in the backward shift operator (q.sup.-1 w(k)=w(k-1), etc.)
and w(k) is white zero-mean noise with variance .sigma..sub.w.sup.2. At a first glance, it may seem restrictive to consider AR models only. However, the use of AR models for speech modeling is motivated both from physical modeling of the vocal tract and, which is more important here, from physical limitations from the noisy speech on the accuracy of the estimated models.
In speech signal processing, the frame length N may not be large enough to allow application of averaging techniques inside the frame in order to reduce the variance and, still, preserve the unbiasness of the PSD estimator. Thus, in order to decrease the effect of the first term in for example equation (12) physical modeling of the vocal tract has to be used. The AR structure (17) is imposed onto s(k). Explicitly, ##EQU12##
In addition, .PHI..sub.v (.omega.) may be described with a parametric model ##EQU13## where B(q.sup.-1), and C(q.sup.-1) are, respectively, q-th and r-th order polynomials, defined similarly to A(q.sup.-1) in (18). For simplicity a parametric noise model in (20) is used in the discussion below where the order of the parametric model is estimated. However, it is appreciated that other models of background noise are also possible. Combining (19) and (20), one can show that ##EQU14## where .eta.(k) is zero mean white noise with variance .sigma..sub..eta.hu 2 and where D(q.sup.-1) is given by the identity
SPEECH PARAMETER ESTIMATION
Estimating the parameters in (17)-(18) is straightforward when no additional noise is present. Note that in the noise free case, the second term on the right hand side of (22) vanishes and, thus, (21) reduces to (17) after pole-zero cancellations.
Here, a PSD estimator based on the autocorrelation method is sought. The motivation for this is fourfold.
The autocorrelation method is well known. In particular, the estimated parameters are minimum phase, ensuring the stability of the resulting filter.
Using the Levinson algorithm, the method is easily implemented and has a low computational complexity.
An optimal procedure includes a nonlinear optimization, explicitly requiring some initialization procedure. The autocorrelation method requires none.
From a practical point of view, it is favorable if the same estimation procedure can be used for the degraded speech and, respectively, the clean speech when it is available. In other words, the estimation method should be independent of the actual scenario of operation, that is independent of the speech-to-noise ratio.
It is well known that an ARMA model (such as (21)) can be modeled by an infinite order AR process. When a finite number of data are available for parameter estimation, the infinite order AR model has to be truncated. Here, the model used is ##EQU15## where F(q.sup.-1) is of order p. An appropriate model order follows from the discussion below. The approximative model (23) is close to the speech in noise process if their PSDs are approximately equal, that is ##EQU16##
Based on the physical modeling of the vocal tract, it is common to consider p=deg(A(q.sup.-1))=10. From (24) it also follows that p=deg(F(q.sup.-1)>>deg(A(q.sup.-1))+deg(C(q.sup.-1))=p+r, where p+r roughly equals the number of peaks in .PHI..sub.x (.omega.). On the other hand, modeling noisy narrow band processes using AR models requires p<<N in order to ensure realible PSD estimates. Summarizing,
A suitable rule-of-thumb is given by p.about..sqroot.N. From the above discussion, one can expect that a parametric approach is fruitful when N>>100. One can also conclude from (22) that the flatter the noise spectra is the smaller values of N is allowed. Even if p is not large enough, the parametric approach is expected to give reasonable results. The reason for this is that the parametric approach gives, in terms of error variance, significantly more accurate PSD estimates than a Periodogram based approach (in a typical example the ratio between the variances equals 1:8; see below), which significantly reduce artifacts as tonal noise in the output.
The parametric PSD estimator is summarized as follows. Use the autocorrelation method and a high order AR model (model order p>>p and p.about..sqroot.N) in order to calculate the AR parameters {f.sub.1, . . . , f.sub.p } and the noise variance .sigma..sub..eta..sup.2 in (23). From the estimated AR model calculate (in N discrete points corresponding to the frequency bins of X(.omega.) in (3)) .PHI..sub.x (.omega.) according to ##EQU17##
Then one of the considered spectral subtraction techniques in Table 2 is used in order to enhance the speech s(k).
Next a low order approximation for the variance of the parametric PSD estimator (similar to (7) for the nonparametric methods considered) and, thus, a Fourier series expansion of s(k) is used under the assumption that the noise is white. Then the asymptotic (for both the number of data (N>>1) and the model order (p>>1)) variance of .PHI..sub.x (.omega.) is given by ##EQU18##
The above expression also holds true for a pure (high-order) AR process. From (26) it approximately equals .gamma..sub.x .apprxeq.2p/N, that, according to the aforementioned rule-of-thumb, approximately equals .gamma..sub.x .perspectiveto.2/.sqroot.N, which should be compared with .gamma..sub.x .apprxeq.1 that holds true for a Periodogram based PSD estimator.
As an example, in a mobile telephony hands free environment, it is reasonable to assume that the noise is stationary for about 0.5 s (at 8000 Hz sampling rate and frame length N=256) that gives .tau..apprxeq.15 and, thus, .gamma..sub.v .perspectiveto.1/15. Further, for p=.sqroot.N we have .gamma..sub.x =1/8.
FIG. 3 illustrates the difference between a periodogram PSD estimate and a parametric PSD estimate in accordance with the present invention for a typical speech frame. In this example N=256 (256 samples) and an AR model with 10 parameters has been used. It is noted that the parametric PSD estimate .PHI..sub.x (.omega.) is much smoother than the corresponding periodogram PSD estimate.
FIG. 4 illustrates 5 seconds of a sampled audio signal containing speech in a noisy background. FIG. 5 illustrates the signal of FIG. 4 after spectral subtraction based on a periodogram PSD estimate that gives priority to high audible quality. FIG. 6 illustrates the signal of FIG. 4 after spectral subtraction based on a parametric PSD estimate in accordance with the present invention.
A comparison of FIG. 5 and FIG. 6 shows that a significant noise suppression (of the order of 10 dB) is obtained by the method in accordance with the present invention. (As was noted above in connection with the description of FIG. 1 the reduced noise levels are the same in both speech and non-speech frames.) Another difference, which is not apparent from FIG. 6, is that the resulting speech signal is less distorted than the speech signal of FIG. 5.
The theoretical results, in terms of bias and error variance of the PSD error, for all the considered methods are summarized in Table 3.
It is possible to rank the different methods. One can, at least, distinguish two criteria for how to select an appropriate method.
First, for low instantaneous SNR, it is desirable that the method has low variance in order to avoid tonal artifacts in s(k). This is not possible without an increased bias, and this bias term should, in order to suppress (and not amplify) the frequency regions with low instantaneous SNR, have a negative sign (thus, forcing .PHI..sub.s (.omega.) in (9) towards zero). The candidates that fulfill this criterion are, respectively, MS, IPS and WF.
Secondly, for high instantaneous SNR, a low rate of speech distortion is desirable. Further if the bias term is dominant, it should have a positive sign. ML, .delta.PS, PS, IPS and (possibly) WF fulfill the first statement. The bias term dominates in the MSE expression only for ML and WF, where the sign of the bias terms are positive for ML and, respectively, negative for WF. Thus, ML, .delta.PS, PS and IPS fulfill this criterion.
ALGORITHMIC ASPECTS
In this section preferred embodiments of the spectral subtraction method in accordance with the present invention are described with reference to FIG. 7.
1. Input: x={x(k).vertline.k=1, . . . , N}.
2. Design variables
p speech-in-noise model order
.rho. running average update factor for .PHI..sub.v (.omega.)
3. For each frame of input data do:
(a) Speech detection (step 110)
The variable Speech is set to true if the VAD output equals st=21 or st=22.
Speech is set to false if st=20. If the VAD output equals st=0 then the algorithm is reinitialized.
(b) Spectral estimation
If Speech estimate .PHI..sub.x (.omega.):
i. Estimate the coefficients (the polynomial coefficients {f.sub.1, . . . , f.sub.p } and the variance .sigma..sub..eta..sup.2) of the all-pole model (23) using the autocorrelation method applied to zero mean adjusted input data {x(k)} (step 120).
ii. Calculate .PHI..sub.x (.omega.) according to (25) (step 130). else estimate .PHI..sub.v (.omega.) (step 140)
i. Update the background noise spectral model .PHI..sub.v (.omega.) using (4), where .PHI..sub.v (.omega.) is the Periodogram based on zero mean adjusted and Hanning/Hamming windowed input data x. Since windowed data is used here, while .PHI..sub.x (.omega.) is based on unwindowed data, .PHI..sub.v (.omega.) has to be properly normalized. A suitable initial value of .PHI..sub.v (.omega.) is given by the average (over the frequency bins) of the Periodogram of the first frame scaled by, for example, a factor 0.25, meaning that, initially, a apriori white noise assumption is imposed on the background noise.
(c) Spectral subtraction (step 150)
i. Calculate the frequency weighting function H(.omega.) according to Table 1.
ii. Possible postfiltering, muting and noise floor adjustment.
iii. Calculate the output using (3) and zero-mean adjusted data {x(k)}. The data {x(k)} may be windowed or not, depending on the actual frame overlap (rectangular window is used for non-overlapping frames, while a Hanning window is used with a 50% overlap).
From the above description it is clear that the present invention results in a significant noise reduction without sacrificing audible quality. This improvement may be explained by the separate power spectrum estimation methods used for speech and non-speech frames. These methods take advantage of the different characters of speech and non-speech (background noise) signals to minimize the variance of the respective power spectrum estimates
For non-speech frames .PHI..sub.v (.omega.) is estimated by a non-parametric power spectrum estimation method, for example an FFT based periodogram estimation, which uses all the N samples of each frame. By retaining all the N degrees of freedom of the non-speech frame a larger variety of background noises may be modeled. Since the background noise is assumed to be stationary over several frames, a reduction of the variance of .PHI..sub.v (.omega.) may be obtained by averaging the power spectrum estimate over several non-speech frames.
For speech frames .PHI..sub.x (.omega.) is estimated by a parametric power spectrum estimation method based on a parametric model of speech. In this case the special character of speech is used to reduce the number of degrees of freedom (to the number of parameters in the parametric model) of the speech frame. A model based on fewer parameters reduces the variance of the power spectrum estimate. This approach is preferred for speech frames, since speech is assumed to be stationary only over a frame.
It will be understood by those skilled in the art that various modifications and changes may be made to the present invention without departure from the spirit and scope thereof, which is defined by the appended claims.
Appendix A
ANALYSIS OF H.sub.MS (.omega.)
Paralleling the calculations for H.sub.MS (.omega.) gives ##EQU19## where in the second equality, also the Taylor series expansion .sqroot.1+x.perspectiveto.1+x/2 is used. From (27) it follows that the expected value of .PHI..sub.s (.omega.) is non-zero, given by ##EQU20##
Appendix B
ANALYSIS OF H.sub.WF (.omega.)
In this Appendix, the PSD error is derived for speech enhancement based on Wiener filtering, 2!. In this case, H(.omega.) is given by ##EQU21##
Here, .PHI..sub.s (.omega.) is an estimate of .PHI..sub.s (.omega.) and the second equality follows from .PHI..sub.s (.omega.)=.PHI..sub.x (.omega.)-.PHI..sub.v (.omega.). Noting that ##EQU22## a straightforward calculation gives ##EQU23##
From (33), it follows that ##EQU24##
Appendix C
ANALYSIS OF H.sub.ML (.omega.)
Characterizing the speech by a deterministic wave-form of unknown amplitude and phase, a maximum likelihood (ML) spectral subtraction method is defined by ##EQU25##
Inserting (11) into (36) a straightforward calculation gives ##EQU26## where in the first equality the Taylor series expansion (1+x).sup.-1 .perspectiveto.1-x and in the second .sqroot.1+x.perspectiveto.1+x/2 are used. Now, it is straightforward to calculate the PSD error. Inserting (37) into (9)-(10) gives, neglecting higher than first order deviations in the expansion of H.sub.ML.sup.2 (.omega.) ##EQU27##
From (38), it follows that ##EQU28## where in the second equality (2) is used. Further, ##EQU29##
Appendix D
DERIVATION OF H.sub.IPS (.omega.)
When .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are exactly known, the squared PSD error is minimized by H.sub.PS (.omega.), that is H.sub.PS (.omega.) with .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) replaced by .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.), respectively. This fact follows directly from (9) and (10), viz. .PHI..sub.s (.omega.)=H.sup.2 (.omega.).PHI..sub.x (.omega.)-.PHI..sub.s (.omega.)!.sup.2 =0, where (2) is used in the last equality. Note that in this case H(.omega.) is a deterministic quantity, while H(.omega.) is a stochastic quantity. Taking the uncertainty of the PSD estimates into account, this fact, in general, no longer holds true and in this Section a data-independent weighting function is derived in order to improve the performance of H.sub.PS (.omega.). Towards this end, a variance expression of the form
is considered (.xi.=1 for PS and .xi.=(1-.sqroot.1+SNR).sup.2 for MS and .gamma.=.gamma..sub.x +.gamma..sub.v). The variable .gamma. depends only on the PSD estimation method used and cannot be affected by the choice of transfer function H(.omega.). The first factor .xi., however, depends on the choice of H(.omega.). In this section, a data independent weighting function G(.omega.) is sought, such that H(.omega.)=.sqroot.G(.omega.)H.sub.PS (.omega.) minimizes the expectation of the squared PSD error, that is ##EQU30##
In (42), G(.omega.) is a generic weigthing function. Before we continue, note that if the weighting function G(.omega.) is allowed to be data dependent a general class of spectral subtraction techniques results, which includes as special cases many of the commonly used methods, for example, Magnitude Subtraction using G(.omega.)=H.sub.MS.sup.2 (.omega.)/H.sub.PS.sup.2 (.omega.). This observation is, however, of little interest since the optimization of (42) with a data dependent G(.omega.) heavily depends on the form of G(.omega.). Thus the methods which use a data-dependent weighting function should be analyzed one-by-one, since no general results can be derived in such a case.
In order to minimize (42), a straightforward calculation gives ##EQU31##
Taking expectation of the squared PSD error and using (41) gives
Equation (44) is quadratic in G(.omega.) and can be analytically minimized. The result reads, ##EQU32## where in the second equality (2) is used. Not surprisingly, G(.omega.) depends on the (unknown) PSDs and the variable .gamma.. As noted above, one cannot directly replace the unknown PSDs in (45) with the corresponding estimates and claim that the resulting modified PS method is optimal, that is minimizes (42). However, it can be expected that, taking the uncertainty of .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) into account in the design procedure, the modified PS method will perform "better" than standard PS. Due to the above consideration, this modified PS method is denoted by Improved Power Subtraction (IPS). Before the IPS method is analyzed in APPENDIX E.sub..tau. the following remarks are in order.
For high instantaneous SNR (for w such that .PHI..sub.s (.omega.)/.PHI..sub.v (.omega.)>>1) it follows from (45) that G(.omega.).perspectiveto.1 and, since the normalized error variance Var(.PHI..sub.s (.omega.))/.PHI..sub.s.sup.2 (.omega.), see (41) is small in this case, it can be concluded that the performance of IPS is (very) close to the performance of the standard PS. On the other hand, for low instantaneous SNR (for w such that .gamma..PHI..sub.v.sup.2 (.omega.)>>.PHI..sub.s.sup.2 (.omega.)), G(.omega.).apprxeq..PHI..sub.s.sup.2 (.omega.)/(.gamma..PHI..sub.v.sup.2 (.omega.)), leading to, cf. (43) ##EQU33##
However, in the low SNR it cannot be concluded that (46)-(47) are even approximately valid when G(.omega.) in (45) is replaced by G(.omega.), that is replacing .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) in (45) with their estimated values .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.), respectively.
Appendix E
ANALYSIS OF H.sub.IPS (.omega.)
In this APPENDIX, the IPS method is analyzed. In view of (45), let G(.omega.) be defined by (45), with .PHI..sub.v (.omega.) and .PHI..sub.x (.omega.) there replaced by the corresponding estimated quantities. It may be shown that ##EQU34## which can be compared with (43). Explicitly, ##EQU35##
For high SNR, such that .PHI..sub.s (.omega.)/.PHI..sub.v (.omega.)>>1, some insight can be gained into (49)-(50). In this case, one can show that ##EQU36##
The neglected terms in (51) and (52) are of order O((.PHI..sub.v (.omega.)/.PHI..sub.s (.omega.)).sup.2). Thus, as already claimed, the performance of IPS is similar to the performance of the PS at high SNR. On the other hand, for low SNR (for w such that .PHI..sub.s.sup.2 (.omega.)/(.gamma..PHI..sub.v.sup.2 (.omega.))<<1), G(.omega.).perspectiveto..PHI..sub.s.sup.2 (.omega.)/(.gamma..PHI..sub.v.sup.2 (.omega.)), and ##EQU37##
Comparing (53)-(54) with the corresponding PS results (13) and (16), it is seen that for low instantaneous SNR the IPS method significantly decrease the variance of .PHI..sub.s (.omega.) compared to the standard PS method by forcing .PHI..sub.s (.omega.) in (9) towards zero. Explicitly, the ratio between the IPS and PS variances are of order O(.PHI..sub.s.sup.4 (.omega.)/.PHI..sub.v.sup.4 (.omega.)). One may also compare (53)-(54) with the approximative expression (47), noting that the ratio between them equals 9.
Appendix F
PS WITH OPTIMAL SUBTRACTION FACTOR .delta.
An often considered modification of the Power Subtraction method is to consider ##EQU38## where .delta.(.omega.) is a possibly frequency dependent function. In particular, with .delta.(.omega.)=.delta. for some constant .delta.>1, the method is often referred as Power Subtraction with oversubtraction. This modification significantly decreases the noise level and reduces the tonal artifacts. In addition, it significantly distorts the speech, which makes this modification useless for high quality speech enhancement. This fact is easily seen from (55) when .delta.>>1. Thus, for moderate and low speech to noise ratios (in the w-domain) the expression under the root-sign is very often negative and the rectifying device will therefore set it to zero (half-wave rectification), which implies that only frequency bands where the SNR is high will appear in the output signal s(k) in (3). Due to the non-linear rectifying device the present analysis technique is not directly applicable in this case, and since .delta.>1 leads to an output with poor audible quality this modification is not further studied.
However, an interesting case is when .delta.(.omega.).ltoreq.1, which is seen from the following heuristical discussion. As stated previously, when .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are exactly known, (55) with .delta.(.omega.)=1 is optimal in the sense of minimizing the squared PSD error. On the other hand, when .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are completely unknown, that is no estimates of them are available, the best one can do is to estimate the speech by the noisy measurement itself, that is s(k)=x(k), corresponding to the use (55) with .delta.=0. Due the above two extremes, one can expect that when the unknown .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.) are replaced by, respectively, .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.), the error E.PHI..sub.s (.omega.)!.sup.2 is minimized for some .delta.(.omega.) in the interval 0<.delta.(.omega.)<1.
In addition, in an empirical quantity, the averaged spectral distortion improvement, similar to the PSD error was experimentally studied with respect to the subtraction factor for MS. Based on several experiments, it was concluded that the optimal subtraction factor preferably should be in the interval that span from 0.5 to 0.9.
Explicitly, calculating the PSD error in this case gives ##EQU39##
Taking the expectation of the squared PSD error gives
where (41) is used. Equation (57) is quadratic in .delta.(.omega.) and can be analytically minimized. Denoting the optimal value by .delta., the result reads ##EQU40##
Note that since .gamma. in (58) is approximately frequency independent (at least for N>>1) also .delta. is independent of the frequency. In particular, .delta. is independent of .PHI..sub.x (.omega.) and .PHI..sub.v (.omega.), which implies that the variance and the bias of .PHI..sub.s (.omega.) directly follows from (57).
The value of .delta. may be considerably smaller than one in some (realistic) cases. For example, once again considering .gamma..sub.v =1/.tau. and .gamma..sub.x =1. Then .delta. is given by ##EQU41## which, clearly, for all .tau. is smaller than 0.5. In this case, the fact that .delta.<<1 indicates that the uncertainty in the PSD estimators (and, in particular, the uncertainty in .PHI..sub.x (.omega.)) have a large impact on the quality (in terms of PSD error) of the output. Especially, the use of .delta.<<1 implies that the speech to noise ratio improvement, from input to output signals is small.
An arising question is that if there, similarly to the weighting function for the IPS method in APPENDIX D, exists a data independent weighting function G(.omega.). In APPENDIX G, such a method is derived (and denoted .delta.IPS).
Appendix G
DERIVATION OF H.sub..delta.IPS (.omega.)
In this appendix, we seek a data independent weighting factor G(.omega.) such that H(.omega.)=.sqroot.G(.omega.)H.sub..delta.PS (.omega.) for some constant .delta.(0.ltoreq..delta..ltoreq.1) minimizes the expectation of the squared PSD error, cf (42). A straightforward calculation gives ##EQU42##
The expectation of the squared PSD error is given by
The right hand side of (60) is quadratic in G(.omega.) and can be analytically minimized. The result G(.omega.) is given by ##EQU43## where .beta. in the second equality is given by ##EQU44##
For .delta.=1, (61)-(62) above reduce to the IPS method, (45), and for .delta.=0 we end up with the standard PS. Replacing .PHI..sub.s (.omega.) and .PHI..sub.v (.omega.) in (61)-(62) with their corresponding estimated quantities .PHI..sub.x (.omega.)-.PHI..sub.v (.omega.) and .PHI..sub.v (.omega.), respectively, give rise to a method, which in view of the IPS method, is denoted .delta.IPS. The analysis of the .delta.IPS method is similar to the analysis of the IPS method, but requires a lot of efforts and tedious straightforward calculations, and is therefore omitted.
Citations
1! S. F. Boll, "Suppression of Acoustic Noise in Speech Using Spectral Subtraction", IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-27, April 1979, pp. 113-120.
2! J. S. Lim and A. V. Oppenheim, "Enhancement and Bandwidth Compression of Noisy Speech". Proceedings of the IEEE, Vol. 67, No. 12, December 1979, pp. 1586-1604.
3! J. D. Gibson, B. Koo and S. D. Gray, "Filtering of Colored Noise for Speech Enhancement and Coding", IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-39, No. 8, August 1991, pp. 1732-1742.
4! J. H. L Hansen and M. A. Clements, "Constrained Iterative Speech Enhancement with Application to Speech Recognition", IEEE Transactions on Signal Processing, Vol. 39, No. 4, April 1991, pp. 795-805.
5! D. K. Freeman, G. Cosier, C. B. Southcott and I. Boid, "The Voice Activity Detector for the Pan-European Digital Cellular Mobile Telephone Service", 1989 IEEE International Conference Acoustics, Speech and Signal Processing, Glasgow, Scotland, Mar. 23-26 1989, pp. 369-372.
6! PCT application WO 89/08910, British Telecommunications PLC.
Claims
What is claimed is:
1. A spectral subtraction noise suppression method in a frame based digital communication system, each frame including a predetermined number N of audio samples, thereby giving each frame N degrees of freedom, wherein a spectral subtraction function H(.omega.) is based on an estimate .PHI..sub.v (.omega.) of a power spectral density of background noise of non-speech frames and an estimate .PHI..sub.x (.omega.) of a power spectral density of speech frames comprising the steps of: approximating each speech frame by a parametric model that reduces the number of degrees of freedom to less than N; estimating said estimate .PHI..sub.x (.omega.) of the power spectral density of each speech frame by a parametric power spectrum estimation method based on the approximative parametric model; and estimating said estimate .PHI..sub.v (.omega.) of the power spectral density of each non-speech frame by a non-parametric power spectrum estimation method.
2. The method of claim 1, wherein the approximative parametric model is an autoregressive (AR) model.
3. The method of claim 2, wherein the autoregressive (AR) model is approximately of order .sqroot.N.
4. The method of claim 3, wherein the autoregressive (AR) model is approximately of order 10.
5. The method of claim 3, wherein the a spectral subtraction function H(.omega.) is in accordance with the formula: ##EQU45## where G(.omega.) is a weighting function and .delta.(.omega.) is a subtraction factor.
6. The method of claim 5, wherein G(.omega.)=1.
7. The method of claim 5, wherein .delta.(.omega.) is a constant .ltoreq.1.
8. The method of claim 3, wherein the a spectral subtraction function H(.omega.) is in accordance with the formula: ##EQU46##
9. The method of claim 3, wherein the a spectral subtraction function H(.omega.) is in accordance with the formula:
10. The method of claim 3, wherein the spectral subtraction function H(.omega.) is in accordance with the formula:
Patent Citations (18)
| Patent | Date | Inventor | Cited By |
|---|---|---|---|
| US4628529 | 1986-12-01 | Borth et al. | |
| US4630304 | 1986-12-01 | Borth et al. | |
| US4630305 | 1986-12-01 | Borth et al. | |
| US4811404 | 1989-03-01 | Vilmur et al. | |
| US5133013 | 1992-07-01 | Munday | |
| US5432859 | 1995-07-01 | Yang et al. | |
| US5539859 | 1996-07-01 | Robbe et al. | |
| US5544250 | 1996-08-01 | Urbanski | |
| US5659622 | 1997-08-01 | Ashley | |
| US5708754 | 1998-01-01 | Wynn | |
| US5727072 | 1998-03-01 | Ramen | |
| US5742927 | 1998-04-01 | Crozier et al. | |
| US5774835 | 1998-06-01 | Ozawa | |
| US5781883 | 1998-07-01 | Wynn | |
| US5794199 | 1998-08-01 | Rao et al. | |
| US5809460 | 1998-09-01 | Hayata et al. | |
| US5812970 | 1998-09-01 | Chan et al. | |
| JPX6-274196 | 1994-09-01 |