• 沒有找到結果。

Adaptive Noise Canceling for Speech Signals

N/A
N/A
Protected

Academic year: 2022

Share "Adaptive Noise Canceling for Speech Signals "

Copied!
5
0
0

加載中.... (立即查看全文)

全文

(1)

IEEE TRANSACTIONS ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL. ASSP-26, NO. 5, OCTOBER 1978

Adaptive Noise Canceling for Speech Signals

MARVIN

R. SAMBUR,

MEMBER, IEEE

419

Abgtruct-A least mean-square (LMS) adaptive filtering approach has been formulated for removing the deleterious effects of additive noise on the speech signal. Unlike the classical LMS adaptive filtering scheme, the proposed method is designed to cancel out the clean speech signal. This method takes advantage of the quasi-periodic nature of the speech signal to form an estimate of the clean speech signal at time t from the value of the signal at time t minus the estimated pitch period.

For additive white noise distortion, preliminary tests indicate that the method improves the perceived speech quality and increases the signal- to-noise ratio (SNR) by 7 dB in a 0 dB environment. The method has also been shown to partially remove the perceived granularity of CVSD coded speech signals and to lead to an improvement in the linear predic- tion analysis/synthesis of noisy speech,

I. INTRODUCTION

I

N ALL PRACTICAL situations, the received speech wave- form contains some form of noise component. The noise may be a result of the finite precision involved in coding the transmitted waveform (quantization noise), or due to the addi- tion of acoustically coupled background noise. Depending on the amount and type of noise, the quality of the received wave- form can range from being slightly degraded to being annoying to listen to, and finally to being totally unintelligible.

The problem of removing the unwanted noise component from a received signal has been the subject of numerous inves- tigations. The pioneering work of Wiener and others give an optimum approach for deriving a filter that tends to suppress the noise while leaving the desired signal relatively unchanged [I] -[3]. The design of these filters requires that the signal and the noise be stationary and that the statistics of both sig- nals be known a priori. In practice, these conditions are rarely met.

In this paper, we present a technique for optimum noise fil- tering for speech signals based upon the principles ofleast mean- square (LMS) adaptive filtering [4]. This technique has the advantage of requiring no a priuri knowledge of the detailed properties of the noise signal. The technique takes advantage of the quasi-periodic nature of the speech, and preliminary re- sults indicate that the technique improves the perceived speech quality of a signal corrupted by additive white noise. In addi- tion, the method also improves the perceived quality of CVSD coded speech and the linear prediction analysis/synthesis of noisy speech.

The organization of this paper is as follows. In the next section we shall review the concept of adaptive filtering for noise canceling. We shall then indicate how this concept can be applied to filtering noise from a speech waveform. In Sec- tion V, we discuss the experimental evaluation of the proposed

Manuscript received December 12,1977; revised May 19,1978.

The author is with the ITT Defense Communication Division, Nutley, NJ 07110.

technique for removing additive white noise distortions, and for filtering the granularity in CVSD coded speech. In Section VI, we discuss the effectiveness of the algorithm in improving the performance of the LPC analysis/synthesis of noisy speech.

11. CONCEPT OF ADAPTIVE NOISE CANCELING Fig. 1 illustrates the basic principles of adaptive noise cancel- ing.l The input to the adaptive filter is a noise signal w1 (n) that is highly correlated with the additive disturbance, w(n), but is uncorrelated with the clean signal s(n). (One can think of w 1 (n) as being derived from a sensor located at a point in the noise field where the signal is undetectable.) The reference signal w1 (n) is filtered to produce the output

6 ( n )

that is an estimate of the additive noise w(n). This output is then sub- tracted from the noisy signal x ( n ) to produce the system out- put z(n). The system output is used to control the adaptive filter and is an estimate of s(n).

Provided s(n) is uncorrelated with both w1 (n) and w(n), and the adaptive filter is adjusted to give a system output z ( n ) that has the least possible energy, then z ( n ) is a best least-squares fit to the clean signal s(n). To prove this, we note that the power in z (n) is given by

E(Z'(Y1)) =E(s'(n) + (w(n)- c;(n))2 + 2s(n)(w(n) - G(n))) where E(.) denotes expected value. Now since the noise terms and the signal s(n) are assumed uncorrelated,

E ( 2 (n)) =E(? (n)) t E((w(n) - G(n))').

Since the signal energy is a fixed quantity for the frame of in- terest, minimizing the output energy yields

min ~ ( z ' (n)) = E ( ? (n))

+

min ~ ( ( w ( n ) - G(n))').

Thus, when the noise canceling filter is adjustedso thatE(z(n)) is minimized, E ( ( w ( n ) - $(n)))2 is also minimized. The filter output $(n) is then a best least-squares estimate of the pri- mary noise w(n). Moreover, when E((w(n) - $(n))') is mini- mized, E((z(n) - ~ ( n ) ) ' ) is also minimized since

z (n) - s(n) = w(n) - 6(n).

Thus, z ( n ) is a best least-squares estimate of the clean signal

111. NOISE CANCELING FOR SPEECH INPUTS The success of the adaptive noise canceling filter is depen- dent on obtaining an external reference noise input that is un- correlated with the signal and highly correlated with the addi- tive noise corruption. In most applications, a reference noise 'Much of the material in this section is abstracted from the excellent paper cited in [ 4 ] .

0096-3518/78/1000-0419$00.75 0 1978 IEEE

(2)

42 0 IEEE TRANSACTIONS ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL. ASSP-26, NO. 5 , OCTOBER 1978

signal is not available from a second sensor. To avoid this problem, previous investigators have tried to form a reference noise signal by assuming that the noise is stationary, and that the average signal determined during periods classified (or known to be signal free) as “silence” are representative of the noise [5]

,

[ 6 ]

.

Unfortunately, this approach suffers because the noise is rarely stationary, a finite sample may be insuffi- cient to estimate the noise signal, the silence decision is not er- ror free, and finally, the technique cannot be applied for quan- tization noise.

Although it may be difficult to form a reference noise input, it is quite easy to form a reference input of the original speech signal. Since speech is quasi-periodic, a section of speech de- layed by a small amount (one or two pitch periods) will be highly correlated with the true speech signal s(n) and will be uncorrelated with the additive noise w(n) (provided that w(n) is sufficiently broad band).

Fig. 2 illustrates how we can take advantage of the quasi- periodic nature of speech for effective noise removal. In this system, we take advantage of the fact that s(n> and s(n - T ) are highly correlated, and w ( n ) and w(n - T ) are not correlated with themselves and the speech signal. Using the arguments of Section 11, it can be seen that minimizing the energy in the sys- tem output $(n) will result in a signal i’(n) that is a best least- squares fit to s(n).

Iv. N o i S E CANCELING ALGORITHM

The structure of the proposed adaptive filter is illustrated in Fig. 3 and represents a filter with a finite impulse response with output

L

? ( n ) = bi X ( R - i - T )

i = O

where x is the noisy speech signal and T is the analyzed pitch period for the frame of interest. The pitch period is automat- ically calculated using a modified AMDF approach with nonlin- ear smoothing [7] -[9]. This algorithm works well even in the presence of a high degree of noise. During analysis frame clas- sified as unvoiced, the output is given by2

B(n) = x ( n ) .

The coefficients of the filter, the hi's, are updated on a sample 2Another effective procedure is to keep the LMS filter constant (no updating) during unvoiced frames.

Fig. 1. Noise canceling model.

w (n)

5

I

Fig. 2. Adaptive filtering approach for removing noise from speech.

by sample basis according to an LMS algorithm proposed by Widrow and Hoff 141

,

[ l o ] , [ 113

.

Letting B , denote the co- efficient vector ( b o , b l ,

. . .

, b L ) at time n , then the coeffi- cients to be used at time n t 1 are

= B , t 2 u G ( n ) X , q where

G(n) = x (n) - s^ (a),

x,

= ( x ( n > , x ( a - I),

. . .

, x ( n - L)),

and u is a factor that controls stability and rate of convergence.

It can be shown [I21 , [13] that starting with an arbitrary co- efficient vector, the algorithm will converge in the mean and will remain stable as long as the parameter u is greater than zero but less than the reciprocal of the largest eigenvalue of the matrix R

R = E [X,XT]

.

In the next section we shall indicate the results of our prelimi- nary evaluation of the proposed adaptive filter for a variety of noise distortions.

v.

EFFECTIVENESS IN NOISE CANCELING

A . Additive White Noise

Pseudo-random additive white noise was added to a high quality speech signal to evaluate the effectiveness of the LMS adaptive filtering algorithm (Figs. 2 and 3) for background noise removal. The implemented LMS adaptive filter used pitch estimates automatically computed every 22.5 ms frame.

The order of the filter was set to 10 (L = IO) and u was ap- proximated as

0.01 u = -

hmax

where h,, is the largest eigenvalue of the correlation matrix Ro of the first voiced frame

(3)

SAMBUR: ADAPTIVE NOISE CANCELING FOR SPEECH SIGNALS 42 1

d o b

Fig. 3. LMS adaptive algorithm for removing noise from speech.

v o 1

Vl 1

where

1 180

v,

=- x(n - i ) x (n - j ) N n = 1

and where N is the number of samples in the frame (in this case N = 180 as the sampling rate was 8 kHz). The adaption parameter, u , was deliberately set at a conservative value in or- der to avoid any problems in ensuring convergence and stabil- ity of the adaptive filter.

In the experimental evaluation, additive white noise with signal-to-noise ratio (SNR) values of 0 dB, 5 dB, and 10 dB were analyzed. In all cases, the quality of the processed speech was improved over that of the noisy input.3 The more severe the noise, the more dramatic the improvement in quality of the filtered speech. The actual SNR4 values computed for the processed speech as a function of L are illustrated in the fol- lowing table.

Input SNR

~~

OdB 5 dB 10dB

L = 6 6.5 8.3 10.8

L = 10 6.9 8.5 10.9 L = 14 7.1 8.7 10.95

The table shows that at 0 dB, the filtered speech demonstrates about a 7 dB improvement in SNR. At 10 dB, there is a very small, barely perceptible improvement.

Using the adaption rate u = O.O1/hm,, the filter would con-

?’By improvement, we mean that the speech was more pleasant to lis- ten to and “appeared” to have more intelligibility. More extensive test- ing is needed to confiim the intelligibility improvement.

verge and remain stable after about s of processed speech.

As long as u was sufficiently small, the quality of the filtered speech was insensitive to the exact value of u. A good com- promise value for u is lo-’ when the speech is digitized with 12 bits.

B. Quantization Noise

The LMS adaptive noise filter was evaluated to determine its effectiveness in removing quantization noise. In the evaluation, the original speech sample was coded by continuously variable slope delta (CVSD) modulation at 16 kbitsls [I41

.’

The CVSD coded speech was then processed by the LMS adaptive filter implementation and the resulting speech was perceptu- ally evaluated by informal listening experiments.

The informal perceptual experiment indicated that the LMS adaptive filter removed a portion of the “granular” quality of the CVSD input.6 Fig. 4 illustrates a section of the CVSD coded speech and the corresponding section of the filtered speech. The CVSD coded speech demonstrates the familiar granular quantization noise which is missing in the filtered speech.

This perceptual result is consistent with the theoretical be- havior of the adaptive filter and the types of noise introduced by the CVSD coder. The CVSD quantization noise is one of two types: slope overload noise which is signal dependent and occurs when the step size is too small, and granular noise which is signal independent and broad band and occurs when the step size is too large [14]

.

The slope overload noise is the most prevalent type of distortion in the CVSD signal, but the granular noise is perceptually the most annoying [14]

.

As dis- cussed in Section 11, the adaptive filter will tend to remove the granular noise since this noise is signal independent and broad band and will tend to leave the slope overload noise unaffected since this noise is signal dependent.

VI. LINEAR PREDICTION ANALYSIS/SYNTHESIS IMPROVEMENT

The quality and intelligibility of linear prediction coded (LPC) speech is quite markedly degraded when performed on noisy speech [15]. The additive noise alters the underlying all-pole structure of the speech and causes the linear prediction analysis to incorrectly estimate the actual formant frequencies and bandwidths of the signal. Fig. 5 illustrates the poor per- formance of the LPC method when used to analyze a section of speech corrupted by additive white noise (SNR = 0 dB). In the same figure, the LPC analysis of the same speech section after LMS adaptive filtering is shown. The noise canceled speech has an LPC computed spectrum that is more nearly equal to the original. The improvements in the LPC analysis of noisy speech after being processed by the LMS adaptive fil- tering algorithm ranged from slight to the magnitude indicated in Fig. 5 .

The LPC synthesis of noisy speech is quite poor compared to the quality of the LPC synthesis of the clean speech even when

5A standard Harris semiconductor HC 55532 all Digital CVSD pack- 6Again we should point out that this improvement may not mean that age was used to generate the CVSD signal.

the filtered speech is more intelligible than the original.

(4)

422 IEEE TRANSACTIONS ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL. ASSP-26, NO. 5 , OCTOBER 1918

Granular it y/

(a)

(b)

Fig. 4. LMS algorithm performance for CVSD coded speech. (a) Origi- nal CVSD coded speech. (b) Filtered speech.

the noise is not severe (15 dB). However, when the noisy speech is processed by the LMS adaptive filter, preliminary ex- periments indicate that the LPC synthesis is more pleasant to listen to and appears to have more intelligibility than the LPC version of the noisy speech.

An objective indication of the improvement afforded by the adaptive noise canceling scheme is illustrated in Fig. 6 . In this figure, we have plotted the dissimilarity between the LPC coef- ficients derived from the clean speech signal and the LPC coef- ficients derived first from the noisy speech (SNR= 0 dB) and then from the noise canceled speech. The dissimilarity is mea- sured by an LPC distance function discussed in [15]

.

The higher the LPC distance, the more perceptually dissimilar are the compared waveforms. Fig. 6 indicates that the adaptive noise canceling method results in a set of LPC coefficients that are more nearly equal to the coefficients obtained from the clean signal than are the coefficients derived from the noisy signal. The cumulative distance between the LPC coefficients from the clean signal and the LPC coefficients calculated from the noise canceled speech is 377. By contrast, the cumulative distance between the coefficients derived from the noisy speech and those from the clean speech is 901.

VII. DISCUSSION

A technique for filtering the noise from a speech waveform has been proposed. The technique is based upon the concept

Standard L P C Noise C o r r e c t e d

Fig. 5. Illustration of improvement in spectral representation of noisy speech. White noise with SNR equals 0 dB.

of adaptive filtering and takes advantage of the quasi-periodic nature of the speech waveform to supply a reference signal to the adaptive filter. Preliminary tests indicate that the technique appears to improve the quality of noise speech and slightly reduce granular quantization noise. The technique also appears to improve the performance of the linear prediction analysislsynthesis of noisy speech. Further experimentation is planned to confirm these preliminary conclusions and to for- mally measure diagnostic rhyme test (DRT) scores to deter- mine the improvement in intelligibility this scheme affords.

In addition, future plans call for the use of multiple refer- ence signals to improve the effectiveness of the adaptive noise canceling algorithm. For example, s(n) is correlated with both s(n - T ) and s(n t T ) and both signals can be used as reference inputs (Fig. 2).

REFERENCES

[ l ] N. Wiener, Extrapolation, Interpolation and Smoothing of Sta- tionary Time Series, with Engineering Applications. New York:

Wiley, 1949.

[2] R. Kalman, “On the general theory of control,” in Proc. 1 s t IFAC Congress. London: Butterworths, 1960.

[3] R. Kalman and R. Bucy, “New results in linear filtering and pre- diction theory,” Trans. ASME (ser. D , J . Basic Eng.), vol. 83, pp.

95-107, Dec. 1961.

[4] B. Widrow et aL, “Adaptive noise canceling:.Principles and appli- cations,”Proc. IEEE, vol. 63, pp. 1692-1716, Dec. 1975.

[5] S. Boll, “Improving linear prediction analysis of noisy speech by predictive noise cancellation,” in 1977 ZEEE Proc. Int. Con5 Acoust., Speech, Signal Processing, pp. 10-12, May 9, 1977.

161 R. McAulay, “Optimum classification of voiced speech, unvoiced speech and silence in the presence of noise and interference,”

Lincoln Lab. Tech. Note, 1976-7, June 1976.

[7] M. J. Ross, H. L. Shaffer, A. Cohen, R. Freudberg, and H. J. Man- ley, “Average magnitude difference function pitch extractor,”

IEEE Trans. Acoust., Speech, Signal Processing, vol. ASSP-22, [SI “Technical description operation software package for the nar-

rowband terminal processor assembly development,”vol. 1, pt. 2, Contr. MDA 904-76-C-0313.

[9] L. Rabiner, M. Sambur, and C. Schmidt, “Applications of a non- linear smoothing algorithm to speech processing,” ZEEE Trans.

Acoust., Speech, Signal Processing, vol. ASSP-23, pp. 552-557, Dec. 1975.

pp. 353-362, Oct. 1974.

(5)

SAMBUR: ADAPTIVE NOISE CANCELING FOR SPEECH SIGNALS 42 3

Fig. 6. LPC distance analysis for the sentence “Happy hour is here.” The solid line represents the distance between the LPC coefficients for the noisy speech (SNR = 0 dB) and the coefficients obtained from the clean speech. The dotted line represents the distance between the coefficients calculated from the adaptive noise canceled signal and those obtained from the clean signal.

[ l o ] B. Widrow and M. Hoff, Jr., “Adaptive switching circuits,” in terference rejection,” Proc. IEEE, vol. 61, pp. 748-758, June IRE WESCON Conv. Rec., pt. 4 , pp. 96-104,1960. 1973.

[11] J . S. Koford and G. F. Groner, “The use of an adaptive threshold [14] N. S. Jayant, “Digital coding of speech waveforms: PCM, DPCM, element to design a linear optimal pattern classifier,”IEEE Trans. and DM quantizers,” Proc. IEEE, vol. 62, pp. 611-632, May Inform. Theory, vol. IT-12, pp. 42-50, Jan. 1966. 1974.

[ 121 B. Widrow, P. E. Mantey, L. J. Griffiths, and B. B. Goode, “Adap- I151 M. R. Sambur and N. S. Jayant, “LPC analysis/synthesis from tive antenna systems,” Proc. IEEE, vol. 55, pp. 2143-2159, Dec.

1967.

speech inputs containing quantizing noise or additive white noise,”

IEEE Trans. Acoust., Speech, Signal Processing, vol. ASSP-24, [13] R. L. Riegler and R. T. Compton, Jr., “An adaptive array for in- pp. 488-494, Dec. 1976.

參考文獻

相關文件

By the similar reasoning of pumping lemma, if some non-S variable appears at least twice in a path from root, then the looping part between the two occurrences can be repeated as

(Class): Apples are somewhat circular, somewhat red, possibly green, and may have stems at the top. Hsuan-Tien

(Class): Apples are somewhat circular, somewhat red, possibly green, and may have stems at the top. Hsuan-Tien

We can make the following observations: (i) The quality of synthe- sis after the iterative process can be substantially better than with the initial labeling, (ii) Using larger

With the help of the pictures and the words below, write a journal entry about what happened.. Write at least

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

The HEQ method provides impor- tant improvements in the recognition performance with respect to the baseline system and also with respect to the linear compensa- tion methods because

By using the new characterization, the following algorithmic results have been achieved: a linear time algorithm that solves the recognition problem, a linear time algorithm that