Skip to main content

Low-frequency ambient noise generator with application to automatic speaker classification

Abstract

A novel low-frequency 1/f ambient noise generator using fractional statistics is proposed in this article. The noise samples are obtained by transformation functions performed on pseudo-random uniform sequences. The 1/f spectrum representation achieved for the generated noise samples, shows that this proposition is very promising for the investigation of the low-frequency noise effect in signal processing techniques, devices and systems. It is also demonstrated that it can be useful to serve as background ambient noise in speaker classification applications.

Introduction

In the last decades, the presence of low-frequency or 1/f noise has been widely observed in such a variety of systems [1, 2]. In particular, 1/f -spectra acoustic noise has been measured in ocean noise [3], music [4] and speech [5]. Noisy environments can severely degrade the performance of speech and speaker classification applications [68]. These background noise sources can have different temporal and spectral statistics. Therefore, 1/f acoustic noise shall be considered to achieve robust signal processing techniques.

Noises are random processes described by the shape of its power spectral density (PSD). The PSD of noises [1, 9] is defined by S(f) 1 f β with 0 ≤ β ≤ 2. Generally, the PSD shape family is achieved by filtering Gaussian white noise (fgwn) sequences using digital finite impulse response (DFIR) filters and signal processing techniques [1012]. However, the wide-sense stationary can only be measured for very long sample sequences. Mandelbrot and Van Ness [9] showed that the 1/f noise statistics can be accurately represented by the fractional Brownian motion (fBm). fBm is defined as a non-stationary stochastic process. Nevertheless, the shape of the PSD and the β exponent can be quasi-stationary if the observed time is short compared to the process life time [1, 13]. And thus, it enables the application of the estimation theory for 1/f processes [14, 15].

1/f fractional noise has S(f) f 1 2 H , where 1/2 < H < 1 is the Hurst parameter [16]. The H parameter is described by the slow-decaying rate of the auto-correlation function (ACF) of the noise samples. It represents the low-frequency or scaling invariance degree of the fractional noises and it is frequently close to 1.

This article proposes the generation of 1/f ambient noise samples based on the fBm statistics. In the present approach, the 1/f spectral behavior is obtained from the ACFs of the noise samples generated by the fBm process. The 1/f ambient noise sample generation is based on transformation functions performed on uniform random sequences. These functions are defined by the successive random addition algorithm using the midpoint displacement (SRMD) technique [17]. In a previous study, these transformation functions were successfully evaluated for a low-frequency optical noise samples generation [18].

The solution presented for the SRMD algorithm to generate the 1/f acoustic noise samples, is also implemented in a high-speed field-programmable gate array (FPGA) Development Kit. Each noise output value is then pulse coded modulation (PCM) encoded/quantized and sampled at 8 KHz to produce the ambient noise levels. For the experiments, it is considered the real or natural 1/f Airport [19] and Airplane [20] ambient noises and also an artificial Pink [20] noise. The validation results include the estimation of the main parameters or statistics (β exponent, H, mean (μ), variance (σ2) and Kurtosis (K)), the PSD and the heavy-tail distribution (HTD) curves and the Bhattacharyya distance (B d ). These results are obtained from the real and the generated noise samples. For the experiments, 1/f sample sequences are also generated by filtering a Gaussian white noise using the Al-Alaoui transfer function [21]. Furthermore, the performance of the proposed 1/f acoustic ambient noise generation is evaluated for a speaker identification task considering different signal to noise ratio (SNR) values.

The rest of the article is organized as follows. Section “1/f fractional Brownian noise: an overview” gives an overview of the 1/f fractional Brownian noise and describes the SRMD technique. Section “Implementation setup” introduces the implementation setup of the proposed 1/f ambient noise generator. The main validation results are reported and discussed in Section “Validation results and discussion”. The speaker classification task and the related results are shown in Section “Speaker classification experiments”. Finally, Section “Conclusion” presents the main conclusions of this work.

1/f fractional Brownian noise: an overview

For any instant t > 0, X H (t) is a fractional random function with Gaussian independent increments [9]. The fBm is known as the unique Gaussian H-self-similar with self-similarity parameter and stationary increments (sssi) random process. The variance of the independent increments is proportional to its time interval accordingly to

Var[ X H ( t 2 ) X H ( t 1 )]| t 2 t 1 | 2 H
(1)

for all instants t1 and t2 and,

  1. 1.

    X H (t) has stationary increments.

  2. 2.

    X H (0)=0 and E[X H (t)]=0 for any instant t.

  3. 3.

    X H (t) presents continuous sample paths.

In other words, its statistical characteristics hold for any time scale. Thus, for any  τ and r > 0,

[ X H (t+τ) X H (t)] d r H [ X H (t+) X H (t)]
(2)

where ≈d means similar in distribution and r is the random process scaling factor. Note that X H (t) is a Gaussian process completely specified by its mean, variance, H parameter. The ACF of 1/f X H , i.e., 1/2 < H < 1 is

ρ X (k)= σ X 2 2 [ ( k + 1 ) 2 H 2|k | 2 H +|k1 | 2 H ]
(3)

for k ≥ 0 and  ρ X (k) = ρ X (− k) for k < 0. In the present proposition, the spectral density is derived from the ACF of the 1/f fBm noise samples defined in (3). This is ensured by the PSD and ACF exponents that are both related to the H parameter.

SRMD

Considering a time index t defined at the interval [0,1], the SRMD algorithm establishes that setting X(0) = 0 and X(1) as a Gaussian random variable (RV) with zero-mean and variance σ2then,

Var[X(1)X(0)]= σ 2 .
(4)

and

Var[X( t 2 )X( t 1 )]=| t 2 t 1 | σ 2
(5)

for 0 ≤ t1 ≤ t2 ≤1. To achieve this property a random offset displacement (D i ) with zero-mean and variance δ i 2 =1/ 2 ( i + 1 ) σ 2 , must be added to the noise sample. For example, the X(1/2) value is obtained by the interpolation of X(0) and X(1) with variance δ2 /22H + 1. Several iterations are then proceeded to compose a 1/f fBm noise sample sequence. In order to find stationary increments, after the midpoints interpolation, a D i of a certain variance, ( r n ) 2 H (r is the scaling factor), is applied to all points (time increments) and not just the midpoints. The maximum number of iterations is defined by N=2maxlevelwhere maxlevel is generally applied in the interval [0,16] [9]. The other SRMD inputs are the standard-deviation and the H parameter.

Implementation setup

Figure 1 illustrates the experimental setup used for the demonstration of the proposed 1/f ambient noise generator. The mean, variance and H values estimated from the real ambient and the artificial Pink noises are used as target parameters. The 1/f fBm noise generator is composed by the following main blocks: Uniform random number (URNG); Gaussian random number (GRNG); data_ROMi H; Control and X i RAM memory. The generation of the Gaussian RVs is based on transformation functions performed on Uniform variables using the Box-Muller method [22]. The Gaussian random number generator (GRNG) block provides the mean value for the Gauss(.) function.

Figure 1
figure 1

1/ f ambient noise generator implementation setup.

The X[i] has i=2maxlevel increments or noise levels. Uniform random number block was coded to produce 32-bit uniformly distributed samples with periodicity 1010. The linear feedback shift registers (LSFRs) are started by seed values to produce the pseudo-random sequences. The data_ROM block performs the computation of the SRMD algorithm. The data_ROM is indexed by i and H and it is defined by data_ROM[i,H]:= delta [ i ] sigma = ( 1 2 ) iH 1 2 1 2 2 H 2 . The delta[i] values are stored and addressed by the i and H indexes. This would be prohibitive due to the large amount of memory resources needs for storing a wide range of delta[i] values. However, H values can be represented with only two-digits after the decimal point. Thus, 1,000 H values are necessary for each iteration of the SRMD algorithm. Since 0≤ maxlevel ≤ 16, delta[i] vector can have a maximum of 16,000 elements. Hence, 1.6% of the ROM memory resource was needed to store the delta[i] vector. In fact, 1/f noises have 1/2<H<1 (close to 1) and hence the memory needs can be reduced. This second memory block is used to store the output sample vector (X[i]). The binary representation of each X[i] noise output was truncated to 16-bit wide. The main functions of the control block are: Read the GRNG block output (Gaussian samples); Read the data_ROM values according to the selected values indexed by i and H; Evaluate the delta by multiplying previous data_ROM data to standard-deviation (sigma); Fill the initial values of the X[i] vector with the computed sigmaGauss values; Perform the loops iterations (one while and two for’s); Read fBm output noise sample levels from X[i] vector. The 1/f noise SRMD block implementation required ten digital signal processor (dsp) blocks and six phase locked loop (PLL) used for clock generation to achieve the target noise sample output rate. Following, each noise output value is PCM encoded/quantized and sampled at 8 KHz to produce the ambient noise levels. This sampling rate is necessary for the speaker classification experiments.

Besides the real ambient noises and the artificial Pink noise, samples obtained by filtering a Gaussian white noise are considered for the validation of the proposed method. The applied method uses the Al-Alaoui digital integrator transfer function [21] with β/2 as the fractional order exponent to compose the transfer function H(z),

H(z)= 7 T 8 ( 1 + z 1 / 7 ) ( 1 z 1 ) β / 2 ,
(6)

where T is the sampling period. The filter coefficients are obtained by the convolution h(k)=a(k)b(k), where a(k) and b(k) are the first N/2 terms obtained by expanding, respectively, the numerator and denominator of (6) in power series [12].

Validation results and discussion

β and H estimation results

The β exponent is estimated from the linear regression applied to the PSD function curves. Table 1 shows the β exponent, the mean square error (MSE) of the β estimation, and the H results obtained from the real and artificial noises, and from the noise samples generated by the proposed and the fgwn methods. The results are presented for 320,000 samples since this is the size of the real ambient noise sequences. For the H estimation it is used the wavelet-based method [23] with 12 Daubechies filters and the 4–12 scale range. It can be seen that the β exponent values of the noise samples obtained from the proposed method, are very close to the values of the real ambient noises.

Table 1 β and H estimation results and the β estimation error

It can be noted that for the artificial Pink noise samples, the proposed and fgwn methods achieve quite similar H target values, i.e., the low-frequency statistics. However, the H results estimated from the noise samples generated by the proposed method, are much closer to the H values of real ambient noises.

Kurtosis, mean, variance statistics

Kurtosis measures the skewness of a sample from a Gaussian distribution. The K, mean and variance estimation results of the noise sequences are presented in Table 2. As expected, the K values are close to 3. Thus confirming that the noise samples are Gaussian distributed.

Table 2 Kurtosis, mean and variance statistics results

Bhattacharyya distance

The Bhattacharyya distance measures the separability between two sample sequences with Gaussian distribution and is defined by

B d = 1 2 ln | C i + C j | 2 | C i | 1 / 2 | C j | 1 / 2 + 1 8 ( μ i μ j ) T C i + C j 2 1 ( μ i μ j )
(7)

where μ i is the mean vector and C i is the covariance matrix of class i=1,2. The B d are measured between the generated sequences and the corresponding Airplane, Airport and Pink noises. It can be seen from Table 3 the Pink noise samples distribution produced by both methods, is very similar to the distribution of the artificial Pink noise. However, the samples distribution obtained from the proposed method are much similar to the distribution of the real ambient noises.

Table 3 B d results

PSD results

The power spectral densities obtained from the real and the generated 1/f acoustic noise samples are presented in Figure 2. The PSDs were measured using a high-performance 300 MHz bandwidth spectrum analyzer. These results demonstrate the slow-decaying (3 dB/octave) behavior of the PSD shape of the 1/f noises. It can also be seen that the proposed method better represents the PSD behavior of the real acoustic noises.

Figure 2
figure 2

PSD obtained from the real, the proposed and fgwn methods 1/ f noise samples. (a) Airplane (fgwn), (b) Airport (fgwn), (c) artificial pink.

HTD results

Figure 3 illustrates the HTD (P[X>x]) curves of the Airplane, Airport and Pink noise samples achieved by the proposed and fgwn methods. The HTD curves obtained from the real and the proposed method demonstrate that they exhibit very close tails. This also confirms the H results (see Table 1) obtained from the proposed solution.

Figure 3
figure 3

HTD obtained from the real, the proposed and fgwn methods 1/ f noise samples. (a) Real airplane, (b) real airport, (c) artificial pink.

Speaker classification experiments

In a speaker identification process, a speech utterance has to be identified as to which of the registered speakers it belongs. For the experiments, the speech utterances were corrupted with the real and generated noise samples. For the speaker identification were considered the mel-cepstral coefficients (MFCC) and the Gaussian mixed model (GMM) [24] which are respectively, the most commonly used speech features and classifier employed in speaker recognition tasks.

A mixture of Gaussian probability densities is a weighted sum of M densities, and is given by

p( x |λ)= i = 1 M p i b i ( x )
(8)

where x is a random vector of dimension D, b i ( x ), i=1,…,M, are the Gaussian density components, and p i , i=1,…,M, are the mixture weights.

Each component density is a D variate Gaussian function of the form

b i ( x )= e 1 2 ( x μ ) T K i 1 ( x μ ) ( 2 Π ) D 2 | K i |
(9)

with mean vector μ i and covariance matrix K i , where T denotes the transpose operation and |.| is the determinant. The GMM (λ) is parametrized by the mean vectors, covariance matrices, and mixture weights. The model parameters are estimated for a set of training data as the ones that maximize the likelihood of the GMM. The expectation-maximization (EM) algorithm [24] is used for the model parameters estimates. Considering a sequence of T independent training vectors X={ x 1 ,, x T }, the normalized log-likelihood of the GMM is

logp(X|λ)= 1 T t = 1 T logp( x t |λ).
(10)

The decision rule of the speaker identification system chooses the speaker model for which this value is maximum.

Speaker identification accuracy results

The speaker identification task evaluation is performed on the KING speech corpus. This is composed of conversational sessions of speech recorded by 49 male speakers. For the experiments, five sessions are used resulting in 100 s average of speech per speaker, after silence removal. Three of these sessions (60s) are applied for the speaker model training. The remaining two sessions (40s), are used to evaluate the identification accuracies.

The speaker classification results are presented for test duration of 5 and 1 s. The real and generated 1/f noise samples are added to the speech utterances serving as background ambient noise. For the investigation, it is also considered the SNR 0 dB, 5 dB, 10 dB, 15 dB, and 20 dB to evaluate the system under different noisy conditions. For the identification task it was considered speech feature vectors with 25 MFCCs, extracted from 20 ms speech frames, and M =32 GMM components. The speaker identification accuracies are shown in Figure 4. The results show that the generated 1/f noise produced similar effect when compared to the real ambient noise. This means that it could be applied as artificial background noise.

Figure 4
figure 4

Speaker identification accuracy for different SNRs: test duration: (a) 5s, (b) 1s.

Conclusion

A new low-frequency 1/f ambient noise generator using fractional statistics is described in this article. The PSD shape of the 1/f generated noise samples is achieved from the ACFs of the noise samples generated with the fBm process. The implementation of the 1/f ambient noise generator enables the validation of the pattern and the PSD representation. It is shown that this proposition is very promising for the investigation of this noise effect in the signal processing techniques. Furthermore, the speaker identification experiments demonstrate that the generated ambient noise samples can be useful to serve as background or additive noise.

References

  1. Keshner M: 1/f noise. Proc. IEEE 1982, 70: 212-218.

    Article  Google Scholar 

  2. Hooge F: 1/f noise. Physica B+ 1976, C83: 14-23.

    Article  Google Scholar 

  3. Derzjavin A, Semenov A: Ocean ambient low frequency acoustic noise structure in shallow and deep water regions. Journal de Physique IV 1994, 4: 1269-1272.

    Article  Google Scholar 

  4. Voss R, Clarke J: 1/f noise in music: Music from 1/f noise. J. Acoust. Soc. Am 1978, 63(1):258-263. 10.1121/1.381721

    Article  Google Scholar 

  5. Voss R, Clarke J: 1/f noise in music and speech. Nature 1975, 258: 317-318. 10.1038/258317a0

    Article  Google Scholar 

  6. Gong Y: Speech recognition in noisy environments: a survey. Speech Commun 1995, 16: 261-291. 10.1016/0167-6393(94)00059-J

    Article  Google Scholar 

  7. Ming J, Hazen T, Glass J, Reynolds D: Robust speaker recognition in noisy conditions. IEEE Trans. Audio Speech Lang. Process 2007, 15: 1711-1723.

    Article  Google Scholar 

  8. Zão L, Coelho R: Colored noise based multicondition training technique for robust speaker identification. IEEE Signal Process. Lett 2011, 18: 675-678.

    Article  Google Scholar 

  9. Mandelbrot B, Van Ness J: Fractional brownian motions, fractional noises and applications. SIAM Rev 1968, 10: 422-437. 10.1137/1010093

    Article  MathSciNet  Google Scholar 

  10. Deriche M, Tewfik A: Signal modeling with filtered discrete fractional noise processes. IEEE Trans. Signal Process 1993, 41(9):2839-2849. 10.1109/78.236506

    Article  Google Scholar 

  11. Tseng C, Pei S, Hsia S: Computation of fractional derivatives using fourier transform and digital fir differentiator. Signal Process 2000, 80(1):151-159. 10.1016/S0165-1684(99)00118-8

    Article  Google Scholar 

  12. Ferdi Y, Taleb-Ahmed A, Lakehal M: Efficient generation of 1/fβ noise using signal modeling techniques. IEEE Trans. Circ. Syst 2008, 55: 1704-1710.

    Article  MathSciNet  Google Scholar 

  13. Hooge F: Discussions of recent experiments on 1/f noise. Physics 1972, 60: 130-144.

    Google Scholar 

  14. Yousefi S, Jaldén J, Eriksson T: Linear prediction of discrete-time 1/f processes. Signal Process. Lett. 2010, 17(11):901-904.

    Article  Google Scholar 

  15. Ninness B: Estimation of 1/f noise. IEEE Trans. Inf. Theory 1998, 44: 32-46. 10.1109/18.650986

    Article  MathSciNet  Google Scholar 

  16. Hurst E: Methods of using long–term storage in reservoirs. Proc. Inst Civil Eng 1956, 5: 519-543. 10.1680/iicep.1956.11503

    Article  Google Scholar 

  17. Barnsley M, Devaney R, Mandelbrot B, Peitgen H, Saupe D, Voss R: The Science of Fractal Images. 1988.

    Book  Google Scholar 

  18. Zão L, Coelho R: Low-frequency optical noise generator using fractional statistics. Electron Lett 2010, 46: 1072-1074. 10.1049/el.2010.0667

    Article  Google Scholar 

  19. FreeSFX: Airport ext busy tarmac, Ambiences/Background Sound Effects. [http://www.freesfx.co.uk/soundeffects/airports/]; 2009

  20. Varga A, Steeneken H, Tomlinson M, Jones M: The noisex-92 study on the effect of additive noise on automatic speech recognition. Technical Report of Defence Evaluation and Research Agency [http://spib.rice.edu/spib/1992] Technical Report of Defence Evaluation and Research Agency

  21. Al-Alaoui M: Novel digital integrator and differentiator. Electron. Lett 1993, 29: 376-378. 10.1049/el:19930253

    Article  Google Scholar 

  22. Box G, Muller M: A note on the generation of random normal deviates. Ann. Math. Stat 1958, 29: 610-611. 10.1214/aoms/1177706645

    Article  Google Scholar 

  23. Flandrin P: Wavelet analysis and synthesis of fractional brownian motion. IEEE Trans. Inf. Theory 1992, 38: 910-917. 10.1109/18.119751

    Article  MathSciNet  Google Scholar 

  24. Reynolds D, Rose R: Robust text-independent speaker identification using gaussian mixture speaker models. IEEE Trans. Speech Audio Process 1995, 3: 72-83. 10.1109/89.365379

    Article  Google Scholar 

Download references

Acknowledgements

This work is partially supported by the National Council for Scientific and Technological Development (CNPq) under the research grant 472461/2009-5.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rosângela Coelho.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Santana, R., Coelho, R. Low-frequency ambient noise generator with application to automatic speaker classification. EURASIP J. Adv. Signal Process. 2012, 175 (2012). https://doi.org/10.1186/1687-6180-2012-175

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-6180-2012-175

Keywords