Skip to main content

An adaptive a priori SNR estimator for perceptual speech enhancement

Abstract

In this paper, an adaptive averaging a priori SNR estimation employing critical band processing is proposed. The proposed method modifies the current decision-directed a priori SNR estimation to achieve faster tracking when SNR changes. The decision-directed estimator (DD) employs a fixed weighting with the value close to one, which makes it slow in following the onsets of speech utterances. The proposed SNR estimator provides a means to solve this issue by employing an adaptive weighting factor. This allows an improved tracking of onset changes in the speech signal. As a consequence, it results in better preservation of speech components. This adaptive technique ensures that the weighting between the modified decision-directed a priori estimate and the maximum likelihood a priori estimate is a function of the speech absence probability. The estimate of the speech absence probability is modeled by a sigmoid function. Furthermore, a critical band mapping for the short-time Fourier transform analysis-synthesis system is utilized in the speech enhancement to achieve less musical noise. In addition, to evaluate the ability of the a priori SNR estimation method in preserving speech components, we proposed a modified objective measurement known as modified hamming distance. Evaluations are performed by utilizing both objective and subjective measurements. The experimental results show that the proposed method improves the speech quality under different noise conditions. Moreover, it maintains the advantage of the DD approach in eliminating the musical noise under different SNR conditions. The objective results are supported by subjective listening tests using 10 subjects (5 males and 5 females).

1 Introduction

Noise suppression and speech enhancement are essential techniques employed in many products, for instance, mobile phones, hearing aids, and assistive listening devices. Particularly, hearable devices have been poised to assist people with difficulties in hearing in social environments [1]. For noise suppression and speech enhancement to work in the environments where acoustic noise becomes more intrusive, it is vital to maintaining weak speech components while still balancing the amount of noise reduction. Accordingly, techniques that can enhance speech signals while preserving weak speech components under a large variety of acoustic scenarios are key to successful products [24]. In this context, it is important to consider not only the speech but also the quality of noise after suppression. Unnatural sounding background noise is bothersome for users of hearable devices or hearing aids.

Traditionally, speech enhancement techniques have been utilizing the frequency domain for processing where the short-time Fourier transform (STFT) has been used as a tool to process the input data using frame-based over-sampling techniques [3, 57]. When deploying STFT, the bandwidth is constant for each frequency bin, which is not the case for the human auditory system. Thus, a natural extension has been to use human auditory models in speech enhancement to improve the speech quality and intelligibility [811].

The human auditory spectrum model consists of a bank of bandpass filters, which follows a spectral bark scale or the so-called critical bands [11, 12]. In [11], a standard subtractive speech enhancement method is presented to eliminate the musical artifacts in very noisy situations. The masking properties of the auditory system are utilized to compute the subtraction parameter. In [13], a spectral subtraction noise reduction method is proposed using a spatial weighting technique based on the inhibitory property of the auditory system, which results in improving the estimated speech while reducing the musical noise.

Speech enhancement algorithms calculate a gain function, which is in most cases a function of a posteriori signal to noise ratio (SNR) or a combination of a posteriori and a priori SNR [14]. One exemplary speech enhancement algorithm is the spectral subtraction (SS) method proposed by Boll [15]. This algorithm is the most commonly used mainly due to its straightforward implementation and low computational complexity. In this method, a clean speech estimate is obtained by subtracting an estimated noise power spectrum from the noisy speech power spectrum while keeping the phase of the degraded speech signal. The spectral subtraction method embeds erroneous estimation of noise statistics resulting in an annoying artifact in the estimated speech signal commonly known as musical noise, which can be masked using perceptual thresholds [11, 16].

In contrast, the minimum mean-square error log spectral amplitude (MMSE-LSA) estimator proposed by Ephraim [17] avoids the appearance of the musical noise artifact. This estimator uses a priori SNR estimation based on a decision -directed estimation, which involves a weighted sum of two terms, the a priori SNR estimate from the previous frame and the maximum likelihood (ML) SNR estimate from the current frame. This estimation technique reduces the variance of the a priori SNR estimates particularly during noise frames, and as a result, the musical noise artifact is eliminated [18]. However, the emphasis of the previous frame in the DD estimation has a consequence that it leads to a slow adaptation towards speech onsets and offsets. Moreover, as DD approach depends on the a priori SNR estimation in the previous frame, an extra one frame delay is obtained during speech transients and results in a degradation of the speech quality [7].

The a priori SNR estimation algorithm has been improved in many ways, e.g., Breithaupt et al. [19] proposed the temporal cepstrum smoothing (TCS) technique for speech enhancement. This technique improves the accuracy of the a priori SNR estimation by exploiting the a priori knowledge of speech and noise signal and selectively smoothing the maximum likelihood estimate in the cepstral domain. This allows the preservation of speech components while simultaneously achieving high noise attenuation. However, this method has limitations under low SNR conditions where the noise components cannot be separated from the speech components. Suhadi [20] suggested a data-driven technique employing two trained neural networks to estimate the a priori SNR, one for speech and one for noise. The use of neural networks requires a substantial training process for estimating the a priori SNR since the proposed method is not a robust estimator under different noise environments, which results in a degradation of the estimated speech quality under non-stationary noise conditions. Plapous [21] presented a two-step noise reduction technique (TSNR) to refine the estimation of the a priori SNR and increase the estimator adaptation speed. The main disadvantage when using this TSNR method is its sensitivity to the selection of the gain function. A different choice of the gain function gives very different estimation results [22, 23]. A modified decision-directed approach (MDD) proposed by Yong et al. [7] matches the current noisy speech spectrum with the current a priori SNR estimate rather than the delayed one. This reduces the one frame delay for speech onsets, but the tracking speed of the a priori SNR estimation is still slow compared to the true SNR change since the recursive smoothing factor is constant and close to one.

In this paper, we extend the research in [24], which includes an improved a priori SNR estimation based on modeling the speech absence probability with a sigmoid function. This sigmoid function was used to control the adaptation speed of the a priori SNR estimation. The sigmoid function operates as an adaptive weighting function that emphasizes either the DD term or the ML estimate in the a priori SNR estimate update. The rationale used when developing the weighting function was that for positive SNR values; the a priori and the a posteriori SNR estimates are almost the same. Accordingly, by adding flexibility to select either of the two terms for SNR values below or above a certain threshold, we provide a way to emphasize both estimates. By utilizing a threshold and the sigmoid shape, an improved adaptation of the a priori SNR estimate is obtained.

The choice of gain function plays an important role since it is included in the DD estimation resulting in different performance. Previously, only the Wiener gain function was considered. In this work, we propose an improved a priori SNR estimation [24] using different gain functions, namely, Wiener filter (WF) [25] and MMSE-LSA gain function [17]. A new evaluation technique referred to as the modified Hamming distance (HD) has also been proposed. In common objective measures, speech components are not emphasized since they have small amplitudes or small energy. The proposed modified Hamming distance is based on voice activity detection (VAD) decision information in each time-frequency bin. Since this information is binary, data scaling that depend on amplitude or energy is avoided; thus, we can compare to ideal VAD decisions. Also in this work, we utilize a critical band mapping for an STFT analysis-resynthesis system in the speech enhancement framework for human perceptual processing. Moreover, the utilized critical band processing helps to reduce computational complexity since it combines K FFT frequency bins into I critical bands instead (I K).

The remainder of this paper is organized as follows. In Section 2, a single-channel speech enhancement framework with critical band processing is developed. Section 3 shows the decision-directed based a priori SNR estimators. Section 4 develops the proposed a priori SNR estimation approach together with an investigation on the effect of the key parameters of the sigmoid function. Section 5 demonstrates the evaluation methodology. Section 6 presents the experimental results and discussion while Section 7 concludes the paper.

2 Critical band speech enhancement

A natural way to process speech signals is to use a perceptual filter bank [26]. By employing the inhibitory property of the human auditory system and combining with the speech enhancement algorithms [11], the performance of the speech processing system can be improved. There are many perceptual frequency warping scales used for speech processing [27, 28]. In this work, we employed a bark scale filter bank with a non-uniform resolution and incorporated it in a speech enhancement framework with the proposed a priori SNR estimation method. We assume that the noise and speech are additive and uncorrelated; thus, the noisy speech signal is given by

$$ y(n)=s(n)+v(n) $$
(1)

where s(n) and v(n) denote the clean speech signal and noise, respectively. The block diagram for critical band speech processing is described in Fig. 1. In the sequel, we will outline the details of the processing.

Fig. 1
figure 1

Block diagram for the critical band processing

In the first step, the noisy signal is transformed to the time-frequency domain by applying STFT with K frequency bins

$$ Y(k,m)=S(k,m)+V(k,m) $$
(2)

where k is the frequency bin index and m is the time frame index. Then, in order to transform the output from the STFT Y(k,m) into the critical band, an analytical function is used to express the transformation between frequency f (in Hz) and critical band z (in bark scale), which is defined by [29]

$$ f=600\sinh\left(\frac{z}{6}\right). $$
(3)

The noisy spectrum is expressed in terms of the critical band numbers i and frame index m by combining the FFT frequency bins into I critical bands as follows:

$$ Y_{\text{CB}}(\mathit{i},m)=\sum\limits_{k=1}^{K/2+1}M(i,k)\left|Y(k,m)\right| $$
(4)

where i=[1,2,,I]. The number of critical bands I is chosen with respect to the bark scale [29]. Here, M(i,k) are the critical bandpass filter coefficients, which are defined as

$$ {}M(i,k)= \left\{ \begin{array}{ll} 10^{(z(k)-z_{\mathrm{c}}(i)+0.5)} & z(k)< z_{\mathrm{c}}(i)-0.5\\ 1 & z_{\mathrm{c}}(i)-0.5<z(k)<z_{\mathrm{c}}(i)+0.5\\ 10^{-2.5(z(k)-z_{\mathrm{c}}(i)-0.5)} & z(k)>z_{\mathrm{c}}(i)+0.5 \end{array}\right. $$
(5)

where zc(i) represents the center frequency of the ith critical band. A MATLAB implementation of the bark scale critical band processing is described in [30]. The main task of the speech enhancement scheme is to enhance the speech signal by applying a specific spectral gain function to the noisy spectrum. Let GCB(m) denotes the gain vector in the critical band for the mth frame

$$\begin{array}{*{20}l} \mathbf{G}_{\text{CB}}(m)&=[G_{\text{CB}}(1,m),G_{\text{CB}}(2,m),...,G_{\text{CB}}(I,m)]^{T}. \end{array} $$

There are many different gain functions proposed in the literature. Common gain function often can be expressed as a function of the a priori SNR ξ(i,m), such as the WF method, which can be defined as [25]

$$ G_{\mathrm{WF,CB}}(i,m)=\frac{\xi(i,m)}{1+\xi(i,m)} $$
(6)

with ξ(i,m) denoting the a priori signal-to-noise ratio SNR, which is defined as

$$ \xi(i,m)=\frac{\lambda_{s}(i,m)}{\lambda_{v}(i,m)} $$
(7)

where λv(i,m) = E[|V(i,m)|2] and λs(i,m)=E[|S(i,m)|2] are the power spectral density of noise and clean speech, respectively.

MMSE-LSA [17] is another widely used speech estimator, which is obtained by minimizing the logarithm of the mean square error between original and enhanced speech spectra, and can be defined as a function of the priori SNR and the posteriori SNR, given by

$$ G_{\mathrm{LSA,CB}}(i,m)=\frac{\xi(i,m)}{1+\xi(i,m)}\exp\left\{ \frac{1}{2}{\int\limits_{\nu_{k}}^{\infty}}\frac{e^{-t}}{t}dt\right\} $$
(8)

where the lower bound νk of the integral is given by

$$ \nu_{k}=\frac{\xi(i,m)}{1+\xi(i,m)}\gamma(i,m) $$
(9)

and γ(i,m) denotes the a posteriori SNR defined as

$$ \gamma(i,m)=\frac{\left|Y_{\text{CB}}(i,m)\right|^{2}}{\lambda_{v}(i,m)}. $$
(10)

Once the gain vector GCB(m) in a critical band is calculated, it is interpolated back to the gain vector in the STFT domain G(m) through an interpolation matrix A,

$$ \mathbf{G}(m)=\mathbf{A}\mathbf{G}_{\text{CB}}(m) $$
(11)

where the A matrix can be defined by least square approximation as A=(MTM)−1MT and M denotes the matrix with elements M(i,k). From empirical findings, better results are obtained by simplifying the reconstruction matrix as

$$\mathbf{A}=\text{diag}\left(\frac{1}{\mathbf{1}\mathbf{M}}\right)\mathbf{M}^{T} $$

where 1 is 1×I row vector. The estimated speech in the STFT domain is then reconstructed by applying the interpolated gain function G(k,m) on the noisy signal in Eq. (2)

$$ \hat{S}(k,m)=G(k,m)Y(k,m). $$
(12)

Finally, the speech estimate is obtained by taking the inverse STFT of the enhanced speech and using the overlap-add method

$$ \hat{s}(n)=\text{ISTFT}\left(\hat{S}(k,m)\right). $$
(13)

3 Conventional a priori SNR estimation

In many speech enhancement algorithms, a priori SNR estimation is a dominant part of the gain function calculation as in Eqs. (6) and (8). Inaccuracies in the estimation of the a priori SNR can lead to audible speech distortion and musical noise. The state-of-the-art method to estimate the a priori SNR from noisy speech while avoiding musical noise is the DD approach [31]. In this method, the a priori SNR estimation is expressed as a weighting average of the amplitude estimate at the previous frame and the maximum likelihood estimate of the a priori SNR at the current frame. This method is defined by

$$ {}\hat{\xi}_{\text{DD}}(i,m)=\beta\frac{|\hat{S}(i,m-1)|^{2}}{\hat{\lambda}_{\mathrm{v}}(i,m-1)}+(1-\beta)P\left[\hat{\gamma}(i,m)-1\right] $$
(14)

where \(\hat {S}(i,m-1)\) and \(\hat {\lambda }_{\mathrm {v}}(i,m-1)\) denote the amplitude estimate and the noise estimate at the previous frame, respectively. P is the half wave rectification to keep the a priori SNR value positive, and 0<β<1 denotes a weighting factor that controls the trade-off between the a priori SNR from previous frame and the posteriori SNR at current frame, which can be defined as

$$ {\beta=\text{exp}(-R/f_{s}t_{s})} $$
(15)

where R is the frame rate, ts and fs denote the time averaging constant and the sampling frequency, respectively. By setting the weighting factor close to 1, two different behaviors of the a priori SNR estimation can be observed as explained in [18]. In the noise frames, the a priori SNR estimate corresponds to a scaled version of the a posteriori SNR since the second term of the DD approach is equal to zero. Thus, a priori SNR estimation can be expressed by

$$\begin{array}{@{}rcl@{}} \hat{\xi}_{\text{DD}}^{\downarrow}(i,m)\approx\beta G_{\text{CB}}^{2}(i,m-1)\hat{\gamma}(i,m-1). \end{array} $$

This behavior reduces the variations in the a priori SNR estimate and thus reduces the amount of musical noise produced. In the frames with speech onsets, the a priori SNR follows the a posteriori SNR from the preceding frame as given by

$$\begin{array}{*{20}l} \hat{\xi}_{\text{DD}}^{\uparrow\uparrow}(i,m) &= \beta\frac{G_{\text{CB}}^{2}(i,m-1)|Y_{\text{CB}}(i,m-1)|^{2}}{\hat{\lambda}_{\mathrm{v}}(i,m)}\\ &\quad+(1-\beta)P\left[\hat{\gamma}(i,m)\!-1\right]\\ &\approx \beta G_{\text{CB}}^{2}(i,m-1)\hat{\gamma}(i,m-1)\\ &\quad+(1-\beta)P\left[\hat{\gamma}(i,m)-1\right] \end{array} $$

where the second term that indicates the ML estimate would only have little impact on the estimation process since β is close to 1. In this case, the tracking of change in the a priori SNR estimate is slow since the a priori SNR estimation mainly depends on the posteriori SNR estimation in the previous frame. This behavior can lead to speech transient distortion. In order to overcome this problem, the authors in [7] proposed a modified decision-directed (MDD) approach. In that method, the a priori SNR estimate at the current frame is matched with the a posteriori SNR in the current frame instead of the previous one. Thus, the one-frame delay is reduced, which results in less speech distortion compared to the conventional DD approach. The MDD a priori SNR estimate is given by

$$\begin{array}{*{20}l} \hat{\xi}_{\text{MDD}}(i,m)&= \beta\frac{\!G_{\text{CB}}^{2}(i,m-1)\left|Y_{\text{CB}}(i,m)\right|^{2}}{\hat{\lambda}_{\mathrm{v}}(i,m)}\\&\quad+(1-\mathrm{\beta)}P\!\left[\hat{\gamma}(i,m)-1\right]. \end{array} $$
(16)

In addition, to maintain the advantage of the DD approach in eliminating the musical noise, the magnitude square of the noisy signal has been smoothed by using first-order recursive smoothing procedure as given by [7] to reduce the variance of the a priori SNR estimate. The first-order recursive averaging of the noisy signal is given by

$$ \lambda_{y}(i,m)=\alpha_{y}\lambda_{y}(i,m-1)+(1-\alpha_{y})\left|Y_{\text{CB}}(i,m)\right|^{2} $$
(17)

where αy is a smoothing constant. The smoothed |YCB(i,m)|2 is replacing the instantaneous power estimate in the a posteriori SNR Eq. (10).

4 Proposed a priori SNR estimation

The drawback of the MDD approach is that the fix weighting factor β in Eq. (15) reduces the influence from the second term towards the a priori SNR update resulting in a scaled down a priori SNR estimate when compared to the true a priori SNR. In light of this, we can conclude that the fix weighting factor β gives low variability of the gain function during noise-only periods but does not provide a fast change of the gain function when a speech utterance comes. Thus, it is desirable to replace the fix weighting factor β with an adaptive weighting factor β(i,m).

Recognizing that the speech absence probability is a key for the weighting according to Eq. (16), we model the speech absence probability based on a sigmoid function. As a remark, if the cumulative distribution function (CDF) is a sigmoid function, the probability density function (pdf) is similar to a Gaussian pdf but with larger tails, which is plausible for speech applications. The sigmoid consists of two parameters, σ to control transition speed and ρ to determine the threshold of active speech signal and noise [32]. The selection of these parameter values is based on the observation that the a priori SNR equals the posterior SNR for high SNRs. An adaptive weighting function \(\hat {\beta }(i,m)\) is proposed based on the a posteriori SNR and is given by

$$ \hat{\beta}(i,m)=\frac{\beta_{0}}{1+\exp[-\sigma(\tilde{\gamma}(i,m)-\rho)]} $$
(18)

where β0 is a constant slightly larger than β. The modified a priori SNR estimation approach is then defined by

$$\begin{array}{*{20}l} \hat{\xi}_{\text{prop}}(i,m)&=\hat{\beta}(i,m)\frac{G_{\text{CB}}^{2}(i,m-1)\left|Y_{\text{CB}}(i,m)\right|^{2}}{\hat{\lambda}_{v}(i,m)}\\&\quad+\!(1-\hat{\beta}(i,m))P\left[\tilde{\gamma}(i,m)-1\right] \end{array} $$
(19)

where \(\tilde {\gamma }(i,m)\) is the a posteriori SNR estimate employing the smoothed estimate of the noisy speech from Eq. (17). Figure 2 describes the computation of the gain function by using the proposed method with an adaptive weighting function. In the following, we investigate the effect of two parameters σ and ρ on the proposed adaptive weighting function \(\hat {\beta }(i,m)\).

Fig. 2
figure 2

Block diagram of the spectral gain function computation using the proposed a priori SNR estimation method

To retain a similar property as a constant weighting factor β for speech-only and noise-only frames, we impose constraints on \(\hat {\beta }(i,m)\) as:

$$\begin{array}{*{20}l} &\hat{\beta}(i,m) \\ &= \left\{ \begin{array}{lll} \beta, \text{ for noise-only frames or when } ~ \tilde{\gamma}(i,m) =1 \\ 1-\beta, ~\text{ for speech-only frames or when } ~ \tilde{\gamma}(i,\!m) =\gamma_{u}, ~ \gamma_{u} > > 1. \end{array} \right. \end{array} $$
(20)

which lead to

$$ \left\{ \begin{array}{lll} \frac{\beta_{0}}{1+\exp\left(-\sigma\left(1-\rho\right)\right)} &=&\beta \\[.2cm] \frac{\beta_{0}}{1+\exp\left(-\sigma\left(\gamma_{u}-\rho\right)\right)} &=&1-\beta \end{array}\right. $$
(21)

or

$$ \left\{ \begin{array}{lll} \sigma\left(1-\rho\right)&=&-\ln\left(\frac{\beta_{0}}{\beta}-1\right)\\[.2cm] \sigma\left(\gamma_{u}-\rho\right)&=&-\ln\left(\frac{\beta_{0}}{1-\beta}-1\right). \end{array}\right. $$
(22)

We now calculate the parameters σ and ρ directly for different levels of γu. From Eq. (22), we have

$$ \frac{1-\rho}{\gamma_{u}-\rho} = \frac{\ln\left(\frac{\beta_{0}}{\beta}-1\right)}{\ln\left(\frac{\beta_{0}}{1-\beta}-1\right)}. $$
(23)

As such, the parameter ρ can be obtained from γu as

$$\begin{array}{*{20}l} \rho=\frac{1-\gamma_{u} \frac{\ln\left(\frac{\beta_{0}}{\beta}-1\right)}{\ln\left(\frac{\beta_{0}}{1-\beta}-1\right)}}{1-\frac{\ln\left(\frac{\beta_{0}}{\beta}-1\right)}{\ln\left(\frac{\beta_{0}}{1-\beta}-1\right)}}. \end{array} $$
(24)

The parameter σ can be calculated as

$$ \sigma=\frac{-\ln\left(\frac{\beta_{0}}{\beta}-1\right)}{1-\rho}. $$
(25)

Figure 3 shows the pdf of a posteriori SNR for different noise types for β =0.98 and β0=0.983, mapped with different adaptive smoothing factors calculated at several posteriori SNR values, γu: (i) at γu=5 dB SNR with σ=−4.469,ρ=2.295; (ii) at γu=7 dB SNR with σ=−2.408,ρ=3.402; (iii) at γu=9 dB SNR with σ=−1.391,ρ=5.159; and (iv) at γu=15 dB SNR with σ=−0.315,ρ=19.344. Adaptive smoothing factors with different parameters (slopes and means) can control the trade-off between the musical noise and the ability to preserve speech components. In pink noise case, the SNR estimate in noise-only case is distributed approximately between 0 and 1. According to Eq. (20), the adaptive smoothing factor is approximately β during this period to reduce the SNR variance. This can be noted from the figure (first plot on the left), where the adaptive smoothing factor is almost 0.983, which explains the ability of the proposed method to maintain the advantage of the conventional decision-directed method in reducing musical noise at low SNRs. Moreover, in the factory noise case where the SNR estimate is distributed between 0 and 2 during noise-only periods, the proposed smoothing factors designed at γu=9 dB and γu=15 dB reached the imposed constraint (0.983) during the noise variance, whereas adaptive factors designed at γu=5 dB and γu=7 dB are lower than 0.983 during noise periods, which leads to an increase in musical noise.

Fig. 3
figure 3

Histograms of a posteriori SNR estimate for different background noises (1st row) for pink noise, (2nd row) for factory noise, and (last row) for babble noise at the 9th critical band mapped with adaptive smoothing factor calculated with different sets of parameters (adaptive smoothing factor calculated at (i) γu=5 dB, (ii) γu=7 dB, (iii) γu=9 dB, and (iv) γu=15 dB). Left figures for noise-only periods and right figures for speech-and-noise periods

For the babble noise case, the figure on the left shows the pdf of a posteriori SNR estimate during a noise-only period. It can be observed that the pdf has a large spread because of the non-stationary character of the babble noise, which means that an adaptive smoothing factor designed at higher a posteriori SNR γu is required to reduce the SNR variance during noise-only frames and reducing the effect of musical noise. From the figure, it can be clearly noted that adaptive smoothing factor designed at γu=15 dB is the best among the designed factors since it attained a higher value over the a posteriori SNR distribution during the noise-only frames.

In addition, it can be noted that the weighting factor is inversely proportional to the a posteriori SNR γ. Thus, during the noise frames, γ takes small values. Consequently, the resulting weighting factor \(\hat {\beta }(i,m)\) is close to 1, which means that the proposed method will have identical behavior as the DD and the MDD methods. This explains the ability of the proposed method to maintain the advantage of the DD method in reducing musical noise in the low SNRs. Since the second term is zero, the a priori SNR estimate in noise frames will be given by

$$ \hat{\xi}_{\text{prop}}^{\downarrow}(i,m)=\hat{\beta}(i,m)G_{\text{CB}}^{2}(i,m-1)\hat{\gamma}(i,m). $$
(26)

During speech activity frames, the resulting weighting factor takes values close to 0. In that scenario, the first term of Eq. (19) is almost negligible, and the a priori SNR estimate in speech activity frames will correspond to a smoothed version of the maximum likelihood estimate as given by

$$ \hat{\xi}_{\text{prop}}^{\uparrow\uparrow}(i,m)=(1-\hat{\beta}(i,m))P[{\tilde\gamma}(i,m)-1]. $$
(27)

During a speech transition, the weighting factor decreases with each increment of the instantaneous SNR. As a consequence, the a priori SNR estimation corresponds to a combination of the first and second terms in Eq. (19) as given by

$$\begin{array}{*{20}l} \hat{\xi}_{\text{prop}}^{\uparrow}(i,m)&=\hat{\beta}(i,m)G_{\text{CB}}^{2}(i,m-1)\hat{\gamma}(i,m)\\&\quad+(1-\hat{\beta}(i,m))P\!\left[\tilde{\gamma}(i,m)-1\right]. \end{array} $$
(28)

From (19), it can be noticed that the second term will have a varying impact on the a priori SNR updating process depending on the instantaneous SNR estimate. It is here the proposed method makes a difference in tracking any abrupt SNR changes. The apparent result is that more speech components are preserved as well as a reduction in the speech transient distortion.

5 Evaluation methodology

Speech quality evaluation can be classified into two categories: objective measurement and subjective measurement [3]. The first category is based on a mathematical comparison between the original and the enhanced speech signals. Many objective measurements have been proposed in the literature, such as the perceptual evaluation of speech quality measure (PESQ) [33, 34], segmental SNR measure SNRseg [35, 36], and kurtosis ratio measure (KurtR) [37]. In addition, we propose a new evaluation method based on the Hamming distance as a speech preservation measure. The Hamming distance is a measure that takes into account speech presence or not for each time-frequency point. By measuring the difference between a clean speech binary mask and a processed speech binary mask, the measure takes into account the presence of speech in each time-frequency bin without amplitude weighting.

The perceptual evaluation of speech quality measure (PESQ) is the speech quality assessment recommended by ITU-T P.862 for its ability to predict the speech quality with a high correlation versus subjective listening tests [38]. PESQ implementation consists of first, estimating the bark spectrum of the input and the degraded signals by using a perceptual model in order to compute the loudness spectra and then compare between them to predict the perceived quality of the degraded signal. This objective means of quality assessment is expressed in terms of the mean opinion scores (MOS), measured from 1 to 5, where higher scores indicate higher quality. Here, we are using the implementation provided by Loizou [3].

Time domain-based segmental SNR is one of the widely used objective measures to evaluate the performance of speech enhancement algorithms, which is formed by averaging the frame level of SNR estimate [36] as given by

$$ {}\text{SNR}_{\text{seg}} = \frac{10}{M}\sum\limits_{m=0}^{M-1}\log_{10}\frac{\left\Vert \mathbf{s}(m)\right\Vert^{2}}{\left\Vert \mathbf{s}(m)-\hat{\mathbf{s}}(m)\right\Vert^{2}} $$
(29)

where M denotes the number of frames, while \(\hat {\mathbf {s}}(m)\) and s(m) are the estimated and original speech vectors, respectively, in time domain. The segmental SNR values are limited in the range of [−10,35]dB in order to exclude frames with no speech.

In addition, to further investigate the performance of the a priori SNR estimation methods, we utilized the segmental speech preservation SNRseg,sp and segmental noise reduction SNRseg,noise as in [39]. These two measures give indications whether the improvement in SNRseg is due to more noise reduction or more speech preservation and they can be defined as follows:

$$ {}\text{SNR}_{\mathrm{seg,sp}} = \frac{10}{M}\sum\limits_{m=0}^{M-1}\log_{10}\frac{\left\Vert \mathbf{s}(m)\right\Vert^{2}}{\left\Vert \mathbf{s}(m)-\tilde{\mathbf{s}}(m)\right\Vert^{2}} $$
(30)
$$ {}\text{SNR}_{\mathrm{seg,noise}} = \frac{10}{M}\sum\limits_{m=0}^{M-1}\log_{10}\frac{\left\Vert \mathbf{v}(m)\right\Vert^{2}}{\left\Vert \tilde{\mathbf{v}}(m)\right\Vert^{2}} $$
(31)

where \(\tilde {\mathbf {s}}(m)\) and \(\tilde {\mathbf {v}}(m)\) denote the mth frame of the filtered clean speech and noise signals with the same gain function used to enhance the noisy signal.

The Kurtosis ratio measure is a mathematical measure used to calculate the musical noise. Such measure defines by the estimated speech signal and the noisy speech signal during noise frames only [37]. In order to detect the speech silence and presence, a VAD decision was employed [40], given two hypotheses \(\mathcal {H}_{0}(k,m)\) and \(\mathcal {H}_{1}(k,m)\) indicate the speech absence and presence, respectively. VAD decision is given by

$$ D(k,m)=\begin{cases} \begin{array}{cc} 1~\text{if}~& \mathcal{H}_{1}(k,m)\\ 0 ~\text{if}~& \mathcal{H}_{0}(k,m) \end{array}\end{cases} $$
(32)

and V(k,m)=1−D(k,m) denotes the activity detection of the noise periods. In order to avoid the miss-detection of speech components, the reference VAD were generated with 50 dB global SNR. Kurtosis ratio can be defined by

$$ \text{KurtR}=E\left\{ \frac{\kappa_{\hat{s}}(k)}{\kappa_{y}(k)}\right\} $$
(33)

where \(\kappa _{\hat {s}}(k)\) and κy(k) indicate the kurtosis of the enhanced signal and the noisy signal at the kth frequency bin, respectively. They are defined as follows:

$$ \kappa_{\hat{s}}(k)=\frac{\sum\limits_{m=1}^{M}\left|\hat{S_{s}}(k,m)V(k,m)\right|^{4}}{\left\{ \sum\limits_{m=1}^{M}\left|\hat{S_{s}}(k,m)V(k,m)\right|^{2}\right\}^{2}}-2 $$
(34)

and

$$ \kappa_{y}(k)=\frac{\sum\limits_{m=1}^{M}\left|Y(k,m)V(k,m)\right|^{4}}{\left\{ \sum\limits_{m=1}^{M}\left|Y(k,m)V(k,m)\right|^{2}\right\}^{2}}-2. $$
(35)

We proposed an evaluation method to measure the capability of the speech enhancement technique for preserving more weak speech components, referred to as the modified Hamming distance. It is determined by the difference of the time-frequency points detected using VAD decision [41] applied on the clean speech signal and the estimated speech signal. The detection of the VAD decisions for the noisy speech signal and estimated speech signal was performed only based on full-band VAD decisions for clean speech frames. The rationale for developing this new measure is that the result is amplitude invariant, which is important when measuring speech components. Those speech components otherwise would be overshadowed by strong amplitude components. The modified Hamming distance measure is calculated as

$$ \text{HD} = \frac{2}{KM}\sum\limits_{m=1}^{M}\sum\limits_{k=1}^{K/2}\left(\hat{D}(k,m)\oplus D(k,m)\right). $$
(36)

where performs a logical exclusive OR operation that returns output containing elements set to either logical 1 (true) or logical 0 (false). Here, D(k,m) denotes the voice activity detection of the clean signal and \(\hat {D}(k,m)\) denotes the VAD of the estimated speech signal conditioned on clean speech detected, which is computed initially by testing each sub-band independently for speech activity using the decision device and then analyzed by further logic to reduce false alarms. A lower HD score indicates more speech components are preserved.

The second category of evaluations is based on subjective listening tests, which are considered more accurate and reliable [42]. For the subjective listening test, 10 subjects (5 males and 5 females) were recruited to compare and rate the estimated speech signals, the noisy signals, and the clean speech signals under different SNR conditions. Three different utterances were concatenated to be used for this test. They were corrupted with different sources of noise at 10 dB SNR. In this paper, we used pink noise source which is a shaped and filtered version of the white noise, and babble noise source that represents a group of people speaking in a canteen. The listening test was performed in a quiet office room using a DT-880 Beyerdynamic headphones. A laptop was connected through the USB interface to the headphones via a Topping VX-1 amplifier to provide good quality audio and consistent sound level. The sound clips were embedded in a PowerPoint document, which was also used for recording the results. The listeners were required to listen to the sentences enhanced by the different methods (DD, MDD, and the proposed method) and rated them on a scale from 1 to 5 by steps of 1. This rating takes into account three criteria: speech quality, background noise, and the musical noise levels [3] and [7]. The ranking instruction can be found in Table 1, which describes the scale of the criteria used in the listening test. This methodology helps to reduce the listeners uncertainty in rating which speech enhancement method is better in terms of the aforementioned criteria and referce to the clean speech signals and the noisy signals.

Table 1 Scale description of the listening test criteria [43]

6 Experimental results and discussion

6.1 Experimental setup

In this section, extensive experiments were conducted to evaluate the performance of the proposed approach in different scenarios. First, the performance of the proposed method was compared to the performances of the DD approach [31], the MDD approach [7], and the TSNR approach [21]. Second, we demonstrated the robustness of the proposed a priori SNR estimator by employing different gain functions. The speech sequences and noise were extracted from the NOISEUS and NOISEX databases, respectively [3]. In this work, 30 speech sentences were used (15 male speakers and 15 female speakers). Four different background noise types employed, which include pink noise, F16 Cockpit noise, factory noise, and babble noise. The noisy signal was obtained by combining the speech sequences with background noise at input SNRs of 0, 5, and 10 dB. All the sequences had been re-sampled to fs=8000 Hz. The values of the a priori SNR estimations had a floor (ξ0=−25 dB). In order to limit the noise reduction, we employed a noise residual floor ε=−20 dB.

For the TSNR approach, by using the DD approach to estimate the a priori SNR in the first step, we computed the gain function by using WF as in Eq. (6). In the second step, we used different gain functions to enhance the noisy speech signal. A minimum mean-square error (MMSE) noise power estimator based on the speech presence probability [44] was employed to estimate the noise PSD for all the a priori SNR estimators, starting with a noise only period of 1 s. The value of the smoothing constant in Eq. (17) was chosen as αy=0.3. Three different STFT analysis window cases had been considered for the evaluation of the proposed a priori SNR estimation method as shown in Table 2.

Table 2 Smoothing parameters of the a priori SNR estimation for different STFT analysis specifications

6.2 Case 1

Consider STFT analysis window with length K=256 (32 ms) and a frame rate of R=128 (50 % overlap) with square-root Hanning window [7].

Based on these values, the frequency bins of the noisy spectrum were then grouped into I=17 critical bands as shown in Eq. (4). The fixed weighting constants for DD and MDD approaches were chosen as β=0.96 as shown in Table 2. The time averaging constant ts is calculated as 0.391 s, by using Eq. (15) and STFT analysis parameters. As discussed in Section 4, the level γu in Eq. (20) for the adaptive smoothing factor is chosen according to the noise characteristics. As such, for pink noise, white noise, and factory noise, an adaptive smoothing factor is obtained with γu=9 dB, resulting in σ=−1.28 and ρ=5.496. For highly varying background noise such as babble noise, the adaptive smoothing factor is obtained with γu=15 dB resulting in σ=−0.290 and ρ=20.831 to keep the weighting factor close to 1 during noise frames, which helps to increase the robustness of the a priori SNR estimation against the SNR fluctuations.

6.2.1 Evaluation of a priori SNR estimation

Figure 4 demonstrates the behavior of the DD, the MDD, the TSNR, and the proposed a priori SNR estimators at 10 dB input SNR and under pink, factory, and babble background noise conditions, respectively. Speech enhancement is performed by using a WF [25] as shown in the subfigures on the left side and MMSE- LSA [17] as shown in the subfigures on the right side. It is clearly visible that during noise-only periods where the a posteriori SNR is sufficiently low, the DD, the MDD, and the TSNR methods represent a smoothed version of the a posteriori SNR. The proposed method has identical behavior as DD and MDD since \(\hat {\beta }\) is very close to 1, which is aligned with Eq. (20). This explains the ability of the proposed method to eliminate the musical noise. During the speech onset, the proposed a priori SNR estimation with different gain functions responds more quickly to abrupt changes in the a posteriori SNR when compared to the other a priori SNR estimators. In terms of tracking ability, in pink and factory noise cases, it can be observed that the DD, the MDD, and the TSNR a priori SNR estimations follow the a posteriori SNR with a delay in the speech onset frames, which results in a speech distortion, whereas the proposed a priori SNR estimation reduces the delay and preserves speech components. For babble noise case, the MDD, the TSNR, and the proposed methods achieve slightly higher adapting speed than the DD approach during speech transitions.

Fig. 4
figure 4

Comparison of the a priori SNR estimation over a short-time period between the true a priori SNR ξ (black solid line with a marker), ML a priori SNR estimate (green dashed line), \(\hat {\xi }_{\text {DD}}\) (blue solid line), \(\hat {\xi }_{\text {MDD}}\) (cyan dot solid line), \(\hat {\xi }_{\text {TSNR}}\) (magenta solid line) and \(\hat {\xi }_{\text {prop}}\) (red solid line with a marker), at 9th critical band and 10 dB SNR under different background noise: 1st row for pink noise, 2nd row for factory noise, and last row for babble noise

Furthermore, we calculate mean square error (MSE) between the smoothed version of the true a priori SNR and the aforementioned estimation methods as depicted in Table 3. The results show the average MSE over the total number of frames and frequency bins. It can be clearly seen that the proposed estimator has the lowest estimation error compared to the DD, the MDD, and the TSNR estimators. Hence, the proposed a priori SNR estimator results in less estimation errors.

Table 3 Mean square error comparison of different a priori SNR estimation methods for different noise types

6.2.2 Objective results

The performance of the proposed a priori SNR estimation method is evaluated and compared to the performance of different a priori SNR estimators such as the DD, the MDD, and the TSNR methods for different noise types and under various SNR conditions. The clean speech is corrupted by pink, F16 cockpit, factory, and babble noise at 0, 5, and 10 dB input SNRs.

Tables 4, 5, 6, and 7 show the mean objective results for the stationary background noise case (pink), and non-stationary background noise cases (F16 cockpit, factory, and babble), respectively, with the DD, the MDD, the TSNR, and the proposed a priori SNR estimation methods combined with WF or MMSE-LSA gain functions.

Table 4 Mean objective results for pink noise
Table 5 Mean objective results for F16 Cockpit noise
Table 6 Mean objective results for factory noise
Table 7 Mean objective results for babble noise

The improvement in terms of speech quality of the proposed method is affirmed by the perceptual evaluation of speech quality PESQ measures. The proposed a priori SNR estimator outperforms the aforemention estimators in terms of speech quality, indicated by higher PESQ measures as depicted in Tables 4, 5, and 6. In the babble noise case, PESQ measures reveal that the proposed estimator achieves significantly better results than the TSNR method and approximately the same speech quality improvement as the MDD approach when combined with MMSE-LSA gain function. However, in WF gain function case, all a priori SNR estimators achieve approximately the same results.

The Kurtosis ratio results show the ability of the proposed method to maintain the advantage of DD and MDD methods in reducing the musical noise. Under different types of noise and SNR conditions, the proposed a priori SNR estimation method delivers lower Kurtosis ratio scores than the conventional DD approach. Although the TSNR method combined with the WF gain function achieves lower Kurtosis ratio compared to other estimators, it prones to generate more musical noise when combined with the MMSE-LSA gain function. This indicates that the performance of the TSNR method is not steady with different gain functions.

Beside PESQ and Kurtosis ratio measures, we also evaluate the speech preservation performance of the different a priori SNR estimation methods. For WF gain function case, the HD measure results indicate that the proposed method has slightly lower HD scores than the compared methods. For MMSE-LSA gain function, although results show that the proposed method achieves lower HD scores than the MMD and TSNR methods, it has slightly higher scores than the DD approach especially for babble noise case.

Moreover, the results show that the proposed method achieves better noise reduction as it outperforms the conventional DD, MDD, and TSNR methods in terms of segmental SNR for all noise types and SNR conditions. In addition to the quality measure of the speech components, we further evaluate the ability of the a priori SNR estimation methods in maintaining soft speech components and noise reduction by utilizing the segmental speech SNR and the segmental noise SNR. Figures 5 and 6 show the SNRseg,sp and SNRseg,noise scores for babble and factory noise and under varying input SNRs. It can be clearly seen that the proposed a priori SNR estimation method in general has better speech preservation capability as indicated by the higher scores of SNRseg,sp compared to the DD approach especially at high SNR (>10 dB), due to its improving tracking speed to abrupt changes in the speech onset. In terms of noise reduction performance, the results reveal that all the a priori SNR estimators achieve approximately same scores in babble noise case.

Fig. 5
figure 5

Speech distortion measure for noisy speech corrupted with different noise types and under different SNR levels enhanced by Wiener filter speech estimation technique

Fig. 6
figure 6

Noise reduction measure for noisy speech corrupted with different noise types and under different SNR levels enhanced by Wiener filter speech estimation technique

6.2.3 Spectrograms

Figures 7 and 8 highlight the ability of the proposed a priori SNR estimator in preserving more speech components than the decision-directed (DD) and modified decision-directed (MDD) a priori SNR estimators for different noise types. The clean speech signal is corrupted by either pink noise or factory noise with a 10 dB SNR condition. It can be observed that the proposed a priori SNR estimator preserves more speech components than DD and MDD a priori SNR estimators.

Fig. 7
figure 7

Speech spectrograms for noisy speech corrupted with pink noise at 10 dB enhanced by Wiener filter speech estimation technique

Fig. 8
figure 8

Speech spectrograms for noisy speech corrupted with factory noise at 10 dB enhanced by WF speech estimation technique

6.3 Case 2

Consider the case of STFT analysis window with length K=256 (32 ms) and a frame rate R=64 (75 % overlap) together with Hamming window.

Based on [31], the fixed weighting constants for DD and MDD approaches used as β=0.98 as shown in Table 2, which corresponds to a time averaging constant ts =0.396 s. Accordingly, the adaptive smoothing factor for factory noise is obtained with γu=9 dB, resulting in σ=−1.391 and ρ=5.159.

Table 8 shows the mean objective results for factory noise at different input SNRs. According to the speech quality results, the proposed method has better performance in terms of higher PESQ scores for evaluated gain functions. In addition, it can be clearly observed that the proposed method results in better noise reduction compared to the other a priori SNR estimators, indicated by higher segmental SNR scores. In terms of speech preservation, results of HD measure reveal that the proposed method has slightly better scores than the other a priori SNR estimation methods especially when combined with WF gain function.

Table 8 Mean objective results with 75% overlap for factory noise

On the other hand, results demonstrate that the proposed method always maintain the advantage of the DD approach in reducing the musical noise generation. For low SNR (< 5 dB) with WF gain function, the proposed method has slightly higher KurtR scores than the DD approach due to its sensitivity towards noise variance. In the MMSE-LSA gain function case, the TSNR approach has the highest KurtR scores for varying input SNRs when compared to the DD, the MDD, and the proposed a priori SNR estimators.

6.4 Case 3

Consider STFT analysis window with length K=512 (64 ms) and a frame rate of R=256 (50 % overlap) with square-root Hanning window [7].

In this case, the fixed weighting constant for DD and MDD approaches is chosen as β=0.922 as shown in Table 2. Accordingly, the adaptive smoothing factor for pink noise is obtained with γu=9 dB, resulting in σ=−1.168 and ρ=5.902. For babble noise with γu=15 dB, the parameters of the smoothing factor are as follows: σ=−0.264 and ρ=22.620.

6.4.1 Objective results

The performance of the proposed a priori SNR estimation method is evaluated and compared to the performance of the DD and the MDD methods for different noise types and under various SNR conditions. The clean speech is corrupted by pink and babble noise at 0, 5, and 10 dB input SNRs.

Tables 9 and 10 show the mean objective results for the stationary background noise case (pink) and non-stationary background noise case (babble), respectively, with the DD, the MDD, and the proposed a priori SNR estimation methods combined with WF or MMSE-LSA gain functions.

Table 9 Mean objective results for pink noise
Table 10 Mean objective results for babble noise

From the PESQ measures, it can be clearly noticed that the proposed a priori SNR estimator results in better speech quality than the conventional DD and the MDD approaches, indicated by higher PESQ measures. However, in babble noise case, PESQ measures reveal that the proposed estimator achieves approximately the same speech quality improvement as MDD approach and better than the conventional DD approach.

In addition, the proposed method achieves better noise reduction as it outperforms the conventional DD and MDD approaches in terms of segmental SNR for all noise types and SNR conditions.

In terms of speech preservation performance, HD measure results indicate that the proposed method has slightly lower scores than the conventional DD and MDD approaches. In babble noise case, although it achieves better results than MDD approach, it has slightly higher HD measures than DD approach.

Moreover, Kurtosis ratio results show the ability of the proposed method to maintain the advantage of DD and MDD methods in reducing the musical noise under different types of noise and SNR conditions.

6.4.2 Evaluation of listening tests

Tables 11 and 12 demonstrate the average results of the listening test in terms of speech quality, background noise, musical noise, and the overall performance of each estimation method by determining the mean of the rating scores. Ten normal hearing participants in the age of (20–35) took part in this test. They were asked to rate speech signals estimated by three different a priori SNR estimators in terms of speech, background noise, and musical noise as explained in the previous section. The speech and background results show that the proposed method outperformed the DD and the MDD methods, which aligned with the objective results of PESQ and segmental SNR. Moreover, for the musical noise ratings, the proposed method combined with different gain functions and different background noise scored approximately the same as the MDD method, which is slightly better than the DD method. This means that the proposed method maintains the advantage of the DD approach in generating less musical noise which can be observed from the objective measurement Kurtosis ratio.

Table 11 Listening test results for pink noise at 10 dB input SNR
Table 12 Listening test results for babble noise at 10 dB input SNR

Furthermore, the overall results of the 10 participants have been evaluated using a statistical analysis to assess the differences between the ratings obtained for each a priori SNR estimation method in terms of overall quality. For this purpose, we used analysis of variance (ANOVA) to indicate a significant difference between scores if the level of significance is smaller than 0.05. A significant difference between scores has been noted when the MMSE-LSA was combined with all the different a priori SNR estimation methods under different noise conditions as shown in Table 13. Moreover, a significant difference noted when the WF was employed with all the different a priori SNR estimation methods in pink noise case. The 90% confidence interval (CI) for the overall scores of the subjective listening test provides further statistic analysis for performance comparison among different speech enhancement techniques and under varying noise types as depicted in Table 13. It is noted that the 90% CI of the proposed a priori SNR estimation method combined with MMSE-LSA gain function does not overlap with the other compared methods under varying noise conditions. Moreover, the 90% CI of the proposed method with different gain functions does not overlap with DD approach. This means that the proposed method statistically outperforms DD approach in different noise cases. Hence, the proposed method has better performance than the other methods in terms of overall quality.

Table 13 Statistical analysis for subjective listening test under different noise conditions

6.5 Evaluation of the effect of the bark scale frequency warping on the noise characteristics

An experiment is conducted to prove the efficiency of the proposed bark scale-based frequency warping method in eliminating the musical noise. For this experiment, we have utilized the normal (Gaussian) distribution [45] and the Weibull distribution [46] is used to compare the noise distribution before and after the frequency warping. Figure 9 shows comparisons between the distribution of different types of noise before frequency warping at frequency 546.87 Hz and after the frequency warping at the 6th critical band. In the pink and factory noise cases, it can be clearly seen that the noise histograms fit well to a Gaussian distribution, which is the common assumption in most noise estimation methods. This can help to reduce the musical noise by reducing the bias and provide a more precise estimate. Whereas in babble noise case, although a Gaussian distribution does not really fit the noise distribution after the frequency warping, it becomes more concentrated with a shorter tail compared to the noise distribution before the frequency warping.

Fig. 9
figure 9

Evaluation of bark scale-based frequency warping at the 6th critical band under different background noise: 1st row for pink noise, 2nd row for factory noise, and last row for babble noise

In order to highlight the ability of the bark scale based frequency warping in reducing the effect of the musical noise, a variance comparison of the noise PDF before and after the frequency warping is presented for different noise types as shown in Table 14. It can be clearly observed that the bark scale based frequency warping has the ability to significantly reduce the noise variance. This helps to reduce the musical noise effect and make it unnoticeable.

Table 14 Noise variance comparison before and after frequency warping and for different noise types

6.6 Evaluate the benefit of the critical band processing

In order to demonstrate the benefit of using critical band processing as a preprocessor to the speech enhancement framework, we present a comparison of objective measurement before and after applying the critical band processing with the proposed a priori SNR estimation method combined with different gain functions. Table 15 presents the performance comparison in terms of KurtR and PESQ under different input SNRs. Objective results reveal that CB processing significantly outperforms STFT in reducing the musical noise with the lowest scores of KurtR under different input SNRs. This is due to its ability in reducing the noise variance. In terms of speech quality, PESQ scores indicate improved speech quality for the CB processing in low SNR, while in high SNR, it approximately achieved the same reults as STFT.

Table 15 Objective results comparison as a function of input SNR for babble noise

7 Conclusions and future work

In this paper, an adaptive a priori SNR estimator has been extended and evaluated for different speech enhancement gain functions. As a basis for the adaptation, the a priori SNR estimation employs a model of speech absence probability based on a sigmoid function. The sigmoid function can be tuned to provide a trade-off between the speech onset sensitivity and the annoying noise artifacts also known as musical noise. Moreover, we have developed an objective measurement to evaluate the capability of the speech enhancement technique in preserving soft speech components known as modified hamming distance. In combination with different gain functions including the WF and the MMSE-LSA, the objective results show that the proposed method outperforms the conventional DD and MDD approaches with higher scores in PESQ and SNR seg. Furthermore, the proposed bark scale-based frequency warping helps to reduce the effect of the musical noise and make it unnoticeable because of the significant reduction in the noise variance, which helps in the noise estimation needed for the SNR estimation. The obtained objective evaluation results are supported by the averaged results from the subjective listening tests, as the proposed method was preferred by the listeners. Future work will include different choices of filter banks and also a possible low delay implementation.

References

  1. Doclo S., Kellermann W., Makino S., Nordholm S. E. (2015) Multichannel signal enhancement algorithms for assisted listening devices: exploiting spatial diversity using multiple microphones. IEEE Sig Process Mag 32(2):18–30.

    Article  Google Scholar 

  2. Benesty J., Makino S., Chen J. (2005) Speech Enhancement. Springer, New York.

    Google Scholar 

  3. Loizou P. C. (2013) Speech Enhancement: Theory and Practice. CRC press, Boca Raton.

    Book  Google Scholar 

  4. McAulay R., Malpass M. (1980) Speech enhancement using a soft-decision noise suppression filter. IEEE Trans Acoust. Speech. Sig. Process. 28(2):137–145.

    Article  Google Scholar 

  5. Cohen I., Berdugo B. (2001) Speech enhancement for non-stationary noise environments. Sig. Process. 81(11):2403–2418.

    Article  Google Scholar 

  6. Gustafsson H., Nordholm S., Claesson I. (2001) Spectral subtraction using reduced delay convolution and adaptive averaging. IEEE Trans. Speech. Audio Process. 9(8):799–807.

    Article  Google Scholar 

  7. Yong P. C., Nordholm S., Dam H. H. (2013) Optimization and evaluation of sigmoid function with a priori SNR estimate for real-time speech enhancement. Speech Commun. 55(2):358–376.

    Article  Google Scholar 

  8. Irino T., Patterson R. D. (2006) A dynamic compressive gammachirp auditory filterbank. IEEE Trans Acoust. Speech. Sig. Process. 14(6):2222–2232.

    Google Scholar 

  9. Kortlang S., Ewert S. D., Gerkmann T. (2014) Single channel noise reduction based on an auditory filterbank In: 14th International Workshop on Acoustic Signal Enhancement (IWAENC), 283–287, Juan-les-Pins.

  10. Tsoukalas D. E., Mourjopoulos J. N., Kokkinakis G. (1997) Speech enhancement based on audible noise suppression. IEEE Trans Acoust. Speech. Sig. Process. 5(6):497–514.

    Article  Google Scholar 

  11. Virag N. (1999) Single channel speech enhancement based on masking properties of the human auditory system. IEEE Trans Acoust. Speech. Sig. Process. 7(2):126–37.

    Article  Google Scholar 

  12. Laine U. K., Karjalainen M., Altosaar T. (1994) Warped linear prediction (WLP) in speech and audio processing In: Proceedings of ICASSP’94. IEEE International Conference on Acoustics, Speech and Signal Processing, vol. 3, III-349, Adelaide.

  13. Haque S., Togneri R. (2010) A psychoacoustic spectral subtraction method for noise suppression in automatic speech recognition In: IEEE International Conference on Acoustics, Speech and Signal Processing, 1618–1621, Dallas.

  14. Breithaupt C., Martin R. (2011) Analysis of the decision-directed SNR estimator for speech enhancement with respect to low-SNR and transient conditions. IEEE Trans Acoust. Speech. Sig. Process. 19(2):277–289.

    Google Scholar 

  15. Boll S., Suppression of acoustic noise in speech using spectral subtraction (1979). IEEE Trans Acoust. Speech. Sig. Process. 27(2):113–120.

    Article  Google Scholar 

  16. Höglund N., Nordholm S. (2009) Improved a priori SNR estimation with application in Log-MMSE speech estimation In: IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), 189–192, New Paltz.

  17. Ephraim Y., Malah D. (1985) Speech enhancement using a minimum mean-square error log-spectral amplitude estimator. IEEE Trans Acoust. Speech. Sig. Process. 33(2):443–445.

    Article  Google Scholar 

  18. Cappe O. (1994) Elimination of the musical noise phenomenon with the Ephraim and Malah noise suppressor. IEEE Trans. Speech. Audio. Process. 2(2):345–349.

    Article  Google Scholar 

  19. Breithaupt C., Gerkmann T., Martin R. (2008) A novel a priori SNR estimation approach based on selective cepstro-temporal smoothing In: IEEE International Conference on Acoustics, Speech and Signal Processing, 4897–4900, Las Vegas.

  20. Suhadi S., Last C., Fingscheidt T. (2011) A data-driven approach to a priori SNR estimation. IEEE Trans. Audio. Speech. Lang. Process. 19(1):186–195.

    Article  Google Scholar 

  21. Plapous C., Marro C., Scalart P. (2006) Improved signal-to-noise ratio estimation for speech enhancement. IEEE Trans. Audio. Speech. Lang. Process. 14(6):2098–2108.

    Article  Google Scholar 

  22. Alam M. d., Jahangir, Chowdhury M. d., Fasiul Alam M. d. (2009) Comparative study of a priori signal to noise ratio (SNR) estimation approaches for speech enhancement. IU-J. Electr Electron. Eng. 9(1):809–817.

    Google Scholar 

  23. Ou S., Zhao X., Gao Y. (2007) Speech enhancement employing modified a priori SNR estimation In: IEEE Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD 2007) (Vol. 3), 827–831, Qingdao.

  24. Nahma L., Yong P. C., Dam H. H., Nordholm S. (2017) Convex combination framework for a priori SNR estimation in speech enhancement In: Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 4975–4979.

  25. Lim J. S., Oppenheim A. V. (1979) Enhancement and bandwidth compression of noisy speech. Proc. of the IEEE 67(12):1586–1604.

    Article  Google Scholar 

  26. Deller J. R., Hansen J. H. L., Proakis J. G. (2000) Discete-Time Processing of Speech Signals. Wiley, NY.

    Google Scholar 

  27. Zwicker E. (1961) Subdivision of the audible frequency range into critical bands (Frequenzgruppen). J. Acoust. Soc. Am. 33(2):248–248.

    Article  Google Scholar 

  28. Jepsen M.L., Ewert S.D., Dau T. (2008) A computational model of human auditory signal processing and perception. J. Acoust. Soc. Am. 124(1):422–38.

    Article  Google Scholar 

  29. Sekey A., Hanson B. A. (1984) Improved 1 bark bandwidth auditory filter. J. Acoust. Soc. Am. 75(6):1902–1904.

    Article  Google Scholar 

  30. Hermansky H. (1990) Perceptual linear predictive (PLP) analysis of speech. J. Acoust. Soc. Am. 87(4):1738–1752.

    Article  Google Scholar 

  31. Ephraim Y., Malah D. (1984) Speech enhancement using a minimum-mean square error short-time spectral amplitude estimator. IEEE Trans Acoust. Speech. Sig. Process. 32(6):1109–1121.

    Article  Google Scholar 

  32. Yong P. C., Nordholm S., Dam H. H., Low S. Y. (2011) On the optimization of sigmoid function for speech enhancement In: Proc. 19th European Signal Processing Conference (EUSIPCO), Barcelona, Spain, 211–215.

  33. Voran S. (1999) Objective estimation of perceived speech quality. I. Development of the measuring normalizing block technique. IEEE Trans. Speech. Audio. Process. 7(4):371–382.

    Article  Google Scholar 

  34. Rix A. W., Beerends J. G., Hollier M. P., Hekstra A. P. (2001) Perceptual evaluation of speech quality (PESQ)-a new method for speech quality assessment of telephone networks and codecs In: Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing, (ICASSP), vol. 2, 749–752.

  35. Lotter T., Vary P. (2005) Speech enhancement by MAP spectral amplitude estimation using a super-Gaussian speech model. EURASIP J. Appl. Sig. Process. 7:1110–1126.

    MATH  Google Scholar 

  36. Hansen J. H., Pellom B. L. (1998) An effective quality evaluation protocol for speech enhancement algorithms, 2819–2822.

  37. Uemura Y., Takahashi Y., Saruwatari H., Shikano K., Kondo K. (2008) Automatic optimization scheme of spectral subtraction based on musical noise assessment via higher-order statistics In: Proc. International Workshop on Acoustic Echo and Noise Control (IWANEC), Seattle, USA.

  38. Beerends J. G., Hekstra A. P., Rix A. W., Hollier M. P. (2002) Perceptual evaluation of speech quality (PESQ). The New ITU standard for end-to-end speech quality assessment, part ii: psychoacoustic model. J. Audio Eng. Soc. 50(10):765–778.

    Google Scholar 

  39. Hendriks R. C., Martin R. (2007) MAP estimators for speech enhancement under normal and Rayleigh inverse Gaussian distributions. IEEE Trans. Audio. Speech. Lang. Process. 15(3):918–27.

    Article  Google Scholar 

  40. Davis A., Nordholm S., Low S. Y., Togneri R. (2006) A multi-decision sub-band voice activity detector In: Proc. 14th European Conference on Signal Processing (EUSIPCO), Florence, Italy.

  41. Sohn J., Sung W. (1998) A voice activity detector employing soft decision based noise spectrum adaptation In: Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing, (ICASSP), vol.1, 365–368.

  42. Quackenbush S. R., Barnwell T. P., Clements M. A. (1988) Objective measures of speech quality. Prentice-Hall, Englewood Cliffs, NJ.

    Google Scholar 

  43. Hu Y., Loizou P. C. (2008) Evaluation of objective quality measures for speech enhancement. IEEE Trans. Audio. Speech. Lang. Process. 16(1):229–238.

    Article  Google Scholar 

  44. Gerkmann T., Hendriks R. C. (2011) Noise power estimation based on the probability of speech presence In: IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), 145–148, New Paltz.

  45. Shakil M., Kibria B. G. (2009) Exact distributions of the linear combination of gamma and Rayleigh random variables. Austrian J. Stat. 38(1):33–44.

    Article  Google Scholar 

  46. Hitczenko P. (1998) A note on a distribution of weighted sums of iid Rayleigh random variables. Sankhya: Indian J. Stat., Series A 60:171–175.

    MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

Not applicable.

Funding

Not applicable.

Availability of data and materials

All the speech utterances used in the evaluation and the subjective tests can be found at the website: http://ecs.utdallas.edu/loizou/speech/noizeus/index.html. Noise data can be found at the website:http://spib.linse.ufsc.br/noise.html.

Author information

Authors and Affiliations

Authors

Contributions

LN carried out the main conception and design, evaluation, and interpretation of the results. PY carried out the critical band concept and its implementation to the speech enhancement framework. SN and HHD gave academic guidance to this research work. All authors discussed the final results, read, and approved the final manuscript.

Corresponding author

Correspondence to Lara Nahma.

Ethics declarations

Ethics approval and consent to participate

This study obtained Human Research Ethics Office approval (HRE2017-0030) and informed consent was obtained from each participant before participation.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nahma, L., Yong, P., Dam, H. et al. An adaptive a priori SNR estimator for perceptual speech enhancement. J AUDIO SPEECH MUSIC PROC. 2019, 7 (2019). https://doi.org/10.1186/s13636-019-0150-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13636-019-0150-3

Keywords