• No results found

New adaptive speech enhancement system using a novel wavelet thresholding technique

N/A
N/A
Protected

Academic year: 2021

Share "New adaptive speech enhancement system using a novel wavelet thresholding technique"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

NEW ADAPTIVE SPEECH ENHANCEMENT SYSTEM USING A

NOVEL WAVELET THRESHOLDING TECHNIQUE

A. E. Mahdi, E. Jafer

Department Department of Electronic and Computer Engineering

University of Limerick

Limerick

IRELAND

Abstract: - A new adaptive speech enhancement system, which utilizes a second-generation wavelet transform (SGWT) decomposition and a novel adaptive subband thresholding technique, is presented. The adaptive thresholding technique is based on accurate estimation of subband segmental signal-to-noise ratio (SegSNR) and voiced/unvoiced classification of the speech. First, the speech signal is segmented and each segment is decomposed into a number of wavelet bands using the SGWT. Each segment is then classified as voiced/unvoiced, and the subband noise level is estimated using a minimum variance approach. Finally a soft-thresholding gain function is applied on each band. The gain function is adapted based on the estimated (SegSNR) and on whether the processed segment is voiced or unvoiced. The proposed system has been tested with various types of noise. Reported results show that the system provides high-level of noise suppression while preserving the intelligibility and naturalness of the speech.

Key-Words: - Speech enhancement, wavelet transform, Second-Generation wavelet transform, Noise estimation

1 Introduction

The problem of enhancing speech degraded by uncorrelated additive noise, when the noisy speech alone is available, is an important issue in the field of speech processing. The enhancement process is performed mainly by denoising the speech and, at the same time, maintaining its comprehension and naturalness. Wavelet transform is a relatively new time-frequency analysis tool, which is particularly suited to analysis of non-stationary signals such as speech. In recent years, and since the introduction of wavelet thresholding by Donho [1], various wavelet-based speech enhancement techniques have been reported [2,3]. However, despite powerful performance for additive white noise, many problems arise when applying these techniques in real noisy environments. The first problem is related to the accuracy and robustness of the used noise estimation techniques to various noise types. Most of these techniques use a whole-band noise estimation approach, whose accuracy deteriorates if the corrupting noise is coloured. In addition, the use of conventional noise estimation methods, that assume the noise has a Gaussain distribution, limits the practical validity and hence robustness of the system. The second problem is related to the application of the same thresholding scheme to all speech segments irrespective of whether the processed segment is voiced or unvoiced. Since the

unvoiced (UV) parts of the speech contain relatively many high frequency components, applying the same thresholding scheme, as that for voiced (V) parts, may result in over-filtering of these components and degrade the quality of the speech. In this work, a new wavelet-based speech enhancement system is introduced. The system uses a novel, adaptive thresholding technique that is based on the outcome of two processes: (a) voiced/unvoiced speech classification of the speech segment to be processed, and (b) accurate estimation of the per-band SegSNR using a minimum variance approach.

2 Proposed speech enhancement

The proposed system is depicted in the diagram given in Fig.1, where x(n) and y(n) denote the noisy and enhanced speech signals, respectively, and n is the discrete-time index. Outline descriptions of the main stages of the system are given in the following sections.

2.1 SGWT-based decomposition of the speech

The basic idea behind the second-generation wavelet is to first split a signal, x(n), into an even set, {x (n):

n even}, and an odd set, {x (n): n odd}, by predicting the odd signal from the even part [4]. What is missed by the prediction is called the detail.

(2)

The even samples are then adjusted to serve the coarse version of the original signal. The adjustment is needed to maintain the same average for the fine and coarse versions of the same signal. The inverse transform can be easily constructed by "rewiring" the forward transform. The process of computing a prediction and recording the detail is called a lifting step. In general, the lifting scheme speeds up the implementation as compared to the case of classical WT. All operations within one lifting step can be done in parallel while the only the sequential part is the order of the lifting operations, resulting in an adaptive wavelet transform [4]

Fig .1: Block diagram of the proposed system

In our system, a 5-level SGWT decomposition scheme has been used to analyze each speech segment into 6 bands. The scheme is illustrated in Fig.2, where H and L denote the coarse and detail coefficients, respectively.

2.2 Noise Power Estimation

This stage provides an accurate estimation of the subband instantaneous noise power for each segment. This is achieved by a noise estimation algorithm based on the minimum variance approach [5]. In this algorithm, both the noisy signal and the noise are considered to be stationary over a short period of time, such that the variance can be estimated on a frame-by-frame basis. The noisy speech segment is first decomposed into a appropriate number ofbandpass signals, xi(n), where

i and p denote the subband and segment indices, respectively. The noisy segment variance, , for each band is calculated as:

2 i x σ ) ( ) 1 ( ) 1 ( ) ( 2 , 2 2 p p p new x i x i xi

α

σ

i

α

σ

i

σ

= − + − (1) where

− =

+

=

1 0 2 2 ,

(

)

1

)

(

N k i new x

x

pN

k

N

p

i

σ

(2)

Fig.2: SGWT Decomposition tree used in the system

is the most recent approximation of the noisy signal variance using the new data at frame p, N is the number of samples in a frame, and αi is a smoothing

factor chosen (experimentally) as 0.45≤ αi ≤ 0.95.

The subband noise estimate per segment is updated by: ) ( 2 p i w σ ) ( ) 1 ( ) 1 ( ) ( 2 , 2 2 p p p new w i w i wi

α

σ

i

α

σ

i

σ

= − + − 2 ,new wi

σ

2 (p) i x

σ

& ) ( ) 1 ( 2 2 p p i i x x

σ

σ

− < K ) 2 ( ) 1 ( 2 2 p < p i i x x

σ

σ

) 1 ( 2 ) 1 ( & 2 p < 2 p i i w x

σ

σ

) 1 ( ) ( 2 2 , p = xi pi new y w

σ

σ

) 1 ( ) ( 2 2 , p = i pi new w w

σ

σ

(3) where is the minimum value of in the neighboring frames, such that if

, then: (4)

Otherwise (5) The subband per segment estimate of the noise power obtained by (4 & 5) is then used to compute a

posteriori SegSNR for that suband.

2.3 Voiced/Unvoiced speech classification

For this process, a new multi-feature V/UV wavelet-based speech classification algorithm, which has been developed by the author [6], is utilized. This algorithm is based on the computation of two features of the speech segment: (a) the average per band energy distribution in wavelet domain and (b) the zero-crossing rate. First, the zero-crossing rate of

H L H L H L H L H L Noisy Speech Segmen P U even odd Coarse H ( ) Detail (L) segmen +

SGWT

Noise Estimation Adaptive Thresholding ISGWT V/UV Classification y(n) Threshold Setting x(n)

(3)

the segment is measured and compared to a threshold equal to the median of the zero-crossing rates. This is followed by measuring the ratio of the average energy in the wavelet low bands (bands 3, 4, 5,& 6) to that in the wavelet high bands (bands 1 & 2) for each speech segment using the SGWT coefficients, and comparing it to a pre-determined threshold. An experimentally verified criterion based on the above two comparison processes is then applied to determine the classification.

2.4

Threshold setting and adaptive

thresholding.

A novel aspect of the proposed speech enhancement system is its adaptive threshold setting via the use of a threshold gain function, which is adjusted based on the outcomes of the noise power estimation and V/UV speech classification stages, such that: The per-segment threshold gain function for each band i

can be formulated as follows:

N

p

p

F

i

p

F

p

G

i SNR V UV w e i

(

)

.

2

.

log

).

(

.

)

,

(

)

(

=

/

σ

(6)

where, Gi(p) is the per-segment threshold gain

function for subband i, FSNR(p,i) is a gain adjustment

factor associated with the estimated posteriori

SegSNR of that suband, and is a gain adjustment factor related to the type of the speech segment, i.e. whether it is voiced or unvoiced. The above two gain adjustment factors are determined as follows:

) (

/ p

FV UV

2.4.1. Setting the value of FSNR

Since a speech-dominated segment contains larger SegSNR than that of noise-dominated segment, a sigmoid function [8], is employed to interpolate the wavelet threshold between subbands of noise-dominated and speech noise-dominated segments. Accordingly, the adjustment factor FSNR(p,i) is

computed

as:

(

,

)

=

τ

.

[

1

1

/(

1

+

−ε.SegSNR(p,i)+δ

)

]

SNR

p

i

e

F

(7)

Here ε and δ are the two parameters which control the slope and the center-offset, respectively, of the transition curve of the sigmoid function, and τ is a compensation factor, such that elevating its value can decrease the transition range according to estimated SegSNR, while decreasing it would increase the transition range.

2.4.2 Setting the value of FV/UV

Two different procedures for setting the value of the

gain adjustment factor FV/UV are used. The first is for

cases of white additive noise, and the second is for other coloured noise types such as Pink, Car, and F16cockpit noise. This is related to the fact that these types of noise have different per band energy distributions for voiced and unvoiced speech segments. For both cases, appropriate values for FV/UV were determined

experimentally. The two procedures are summarized as follow:

A) White noise thresholding

1- IF THE SEGMENT IS

UNVOICED

SET FV/UV TO (0.25-0.75) FOR

BAND 1 AND SOFT-THRESHOLDING ALL BANDS. 2- IF THE SEGMENT IS VOICED

SET FV/UV TO (1.25-4.00) FOR

BANDS 3, 4, 5, AND 6, AND HARD-THRESHOLDING

BANDS 1 AND 2. SOFT-THRESHOLDING BANDS 3, 4, 5, AND 6.

B) Other Noise types (Pink, Car, F16 cockpit)

1- IF THE SEGMENT IS

UNVOICED SET FV/UV TO

(0.25-0.50) FOR BANDS 1 AND 2, AND (2.00-4.00) FOR BANDS 4 AND 6.SOFT-THRESHOLDING BANDS 1, 2, 3, AND 5. HARD-THRESHOLDING BANDS 4 AND 6.

2- IF THE SEGMENT IS VOICED SET FV/UV TO (1.20-1.25) FOR

BANDS 4 AND 6 AND SOFT-THRESHOLDING ALL BANDS.

3 Performance

Evaluation

The proposed system has been implemented and evaluated under different noisy conditions, using a wide range of clean speech signals, taken from the TIMIT database, degraded by different types of noise taken from Noisex92 database. For all the evaluation cases reported here, the speech signals were segmented into 32 ms frames with 50% overlap. The value of ε was selected experimentally to be 0.2.Fig.3 shows the waveform of a noisy speech signal with additive white noise as compared to (a) the clean signal and (b) the enhanced speech signal resulting from the application of the proposed

(4)

system. The spectrograms for both the noisy and the enhanced signals are also given (c &d). Fig. 4 indicates the performance of the proposed system in term of improvement in the average SegSNR, for case of Pink additive noise. For comparison, the figure also shows the improvement in SegSNR resulting from use of: classical soft thresholding, adaptive soft thresholding based on V/UV speech classification only, and adaptive soft thresholding based on subband SNR estimation only.

The comparison highlights the effects of the two threshold gain adaptability mechanisms that are used in the proposed system. Using objective quality measures, Table.1 shows a comparison between the noisy and enhanced speech signals in terms of their cepstral distances (CepD)and log area ratio distances (LarD), estimated in reference to the original clean speech for different levels of added White noise. Table. 2, on the other hand, provides an indication of proposed system’s performance regarding the subjective listening quality of the speech, given in terms of comparison between the Mean Opinion Scores (MOS) of the noisy and enhanced speech signals, for different levels of added for Car noise. Here, the MOS is estimated using the ITU-T perceptual speech quality measure

(PSQM) [7]. The results presented in the two above Tables indicate that while the proposed speech enhancement system provides an efficient and robust tool for high-level noise suppression, it also maintains the intelligibility and naturalness of the enhanced speech.

Table.1: Objective speech quality measures of the proposed system’s

performance SNR

(dB) CepD Noisy Enhanced CepD Noisy LarD Enhanced LarD

20 2.14 0.91 9.53 3.822 15 3.84 1.11 10.32 7.17 10 5.43 1.26 11.54 7.64 5 7.50 1.69 12.21 8.01 0 11.71 3.86 12.72 8.50 (c) (d) (a) (b)

Fig.3: Waveforms of : (a) noisy/clean speech signals, (b) noisy/enhanced speech signals, (c) spectrogram of noisy signal, (d) Spectrogram of enhanced signal

Fig.4: Improvement in the Average SegSNR

as obtained by the proposed system

Table.2: Subjective speech quality

measure of the proposed system’s performance

SNR

(dB) (Noisy) MOS (Enhanced) MOS

20 2.866 3.822 15 2.605 3.421 10 2.244 3.187 5 1.913 2.897 0 1.646 2.355

4 Conclusion

A new speech enhancement system based on a novel wavelet thresholding scheme has been described and its performance evaluated. The thresholding scheme utilizes a V/UV classification of the speech segments, and an accurate, minimum variance-based

(5)

method for estimation of subband noise power to adapt the threshold setting for each segment and each wavelet subband. Presented results demonstrate that the system is robust and capable of removing background noise efficiently, while preserving the listening quality of the speech and minimizing its distortion.

References:

[1]D.L. Donoho, “De-noising by soft-thresholding,”

IEEE Trans. Inform. Theory, Vol 3, No.41, 1995, pp. 613-627.

[2]D. Mahmoudi, and A.Drygajlo, “Combined Weiner filtering in wavelet domain for microphone array speech enhancement,” Proc ICASSP’98, Seattle, May 12-15, 1998, pp.385-388.

[3]H. Sheikhzadeh, and H.R. Abutalebi, ”An Improved wavelet-based speech enhancement system,” Proc Eurospeech, Denmark, Sept 3-7, 2001.

[4]I. Daubechies, and W. Sweldons, “ Factoring wavelet transforms into lifting steps,” J. Fourier Analy. Appl., Vol 3, No4, 1998, pp. 247-269. [5]E.Jafer, and A.E. Mahdi, “Adaptive noise

estimation using second generation and perceptual wavelet transform,” Proc. Eurospeech, Geneva, Sept 1-4, 2003, pp. 1741-1744,

[6]E.Jafer, and A.E. Mahdi, “Wavelet-based voiced/unvoiced classification algorithm,” Proc

EURASIP Conference on Video, Image

Processing and Multimedia Communications, Zagreb, July 1-2, 2003, , pp. 667-672,

[7]ITU-T Rec. P.862, Perceptual Evaluation of Speech Quality (PSQM): An Objective Method for End-to-End Speech Quality Assessment of Narrowband Telephone Networks and Speech Codecs, ITU-T, 2001.

[8]M.Jansen, and A.Bultheel, “Asymptotic behaviour of the minimum mean squared error threshold for noisy wavelet coefficients of piecewise smooth signals,” IEEE Trans. Signal Processing, Vol 6, No49, 2001, , pp.1113-1118.

References

Related documents

Frontotemporal dementia (FTD) is the term now preferred over Picks disease to describe the spectrum of non-Alzheimers dementias characterized by focal atrophy of the frontal

Given the percussion myotonia, distal muscular atrophy, temporal wasting, bilateral ptosis, and cardiac arrhythmia/ cardiomyopathy of undetermined etiology, there was clinical

The right hand graphic of Figure 2 shows a trace of the correlation between the points of the power consumption traces and the Hamming weight of the result of the first byte produced

By applying LDA topic modeling to the data based on a gestalt time series, the system creates a sentence using information regarding to the working robot and each object around

Milk Matters, a member of HMBASA, provides DM to the MMH NU. Milk Matters uses the Holder pasteurization method involving heating milk to 62.5 °C for 30 min and cooling to 4 °C over

Collaboration between the two medical systems has to first address a major challenge since the traditional and con- ventional medicine systems differ in their perception

The first step in these salvage pathways entails the uptake of the purine nucleosides or nucleobases from the host milieu and is mediated by various nucleoside or

It is astonishing to see how many philosophical disputes collapse into insignificance the moment you subject them to this simple test of tracing a