The use of higher order statistics for noise suppression and estimation is well known. With higher order statistics it has been possible to derive more information from a received signal than with second order statistics which have commonly been used in telecommunications. For example, the phase of the transmission channel may be derived from the stationary received signal using higher order statistics. Another benefit of higher order statistic noise suppression is the suppression of Gaussian noise.
One such higher order statistic noise suppression method is disclosed by Steven F. Boll in “Suppression of Acoustic Noise in Speech Using Spectral Subtraction”, IEEE Transactions on Acoustics, Speech, and Signal Processing, VOL. ASSP-27, No. 2, April 1979. This spectral subtraction method comprises the systematic computation of the average spectra of a signal and a noise in some time interval and afterwards through the subtraction of both spectral representations. Spectral subtraction assumes (i) a signal is contaminated by a broadband additive noise, (ii) a considered noise is locally stationary or slowly varying in short intervals of time, (iii) the expected value of a noise estimate during an analysis is equal to the value of the noise estimate during a noise reduction process, and (iv) the phase of a noisy, pre-processed and noise reduced, post-processed signal remains the same. Spectral subtraction and known higher order statistic noise suppression methods encounter difficulties when tracking a ramping noise source and do little to reduce the noise contamination in a ramping, severe or non-stationary acoustic noise environment.
For example,
Therefore, it is an object of the disclosed subject matter to overcome these and other problems in the art and present a novel method and system for noise cancellation with noise ramp tracking in the presence of ramping, severe or non-stationary acoustic noise environments.
It is an object of the disclosed subject matter to present a novel method to reduce the noise source of an input speech signal in a telecommunications system using minimal computational complexity. It is a further object to estimate the noise level present in an input speech signal when the noise source is ramping up or down in amplitude (at least 2-3 dB/second), to correctly identify speech segments from noise only segments so that speech may not degrade when noise levels are varied in amplitude, and to automatically adapt the resulting post-processed noise level to a suitable level even when noise is not present in the input speech.
It is also an object of the disclosed subject matter to present a novel method to filter the noise source of an input speech signal by estimating the noise level present, modify the input speech signal based on the noise estimate, identify and separate speech segments from noise only segments, and adapt post-processed noise levels to an acceptable level.
It is a further object of the disclosed subject matter to present a novel method of noise cancellation by applying a windowed Fourier transform to an input speech signal, estimating the noise level present in an input speech signal, modifying the input speech signal based on the noise estimate, identifying speech segments from the noise only segments, and adapting post-processed noise levels to acceptable levels.
It is an object of the disclosed subject matter to present a novel system for noise cancellation in a severe acoustic environment comprising an input device operably connected to a processor, a processor operably connected to an electronic memory and storage device wherein the processor conducts a noise cancellation technique, a filter for adapting post-processed noise levels to acceptable levels, a storage device operably connected to the processor for storing and applying noise histograms for further noise processing, and an output device operably connected to the processor for communicating the output speech signal.
These and many other objects and advantages of the present invention will be readily apparent to one skilled in the art to which the invention pertains from a perusal of the claims, the appended drawings, and the following detailed description of the preferred embodiments.
The subject matter of the disclosure will be described with reference to the following drawings:
Embodiments of the disclosed subject matter enhance a speech input signal through an estimation of the noise level in the input signal and a modification based upon this noise estimate. The estimation of the noise level is made in the frequency domain after performing a windowed Fourier transform on the input speech signal. A histogram of the frequency magnitudes of the noise level and other related parameters is generated, estimated and used to compute a spectral gain function that is multiplied with the real and imaginary components of the Fourier transform of the input speech signal. The enhanced components of the Fourier transform may then be processed by an inverse Fourier transform to reconstruct the noise reduced speech signal.
An embodiment for enhancing speech output for an input noise source is illustrated by
As shown in Block 501, an encoded input speech signal may be overlapped and added with previous input signals. The input speech signal may be assigned a frame size respective to its overlapped state. As shown in Blocks 502 and 503, a windowed Fourier transform is applied to the real and imaginary components of the input speech signal. The magnitude of the input speech signal may be approximated through an absolute value estimation in the frequency domain after the performance of the windowed Fourier transform as shown in Block 504.
Block 505 represents a computation of the input speech signal Signal-to-Noise Ratio (“SNR”) magnitudes. As shown, a magnitude approximation of the input speech signal may be multiplied by an arbitrary value and divided by the noise level of the input speech signal. An SNR maximum value may be assigned according to the magnitude approximation and forwarded to a filter as exemplified in Block 506. The filter computes an average SNR magnitude through a total summation of SNR magnitude extremes and of a doubling of the sum of all intermediate SNR magnitudes. The total summation is divided by an arbitrary value to compute an average SNR magnitude. The filter further computes an average input speech signal magnitude through a total summation of signal magnitude extremes and of a doubling of the sum of all intermediate signal magnitudes. The total summation is divided by an arbitrary real value to compute an average input speech signal magnitude.
As depicted by Block 507, a voice activity detector may detect and attack a ramping, Gaussian or non-stationary noise signal through conditional comparisons between maximum SNR magnitudes and a maximum SNR threshold, the SNR average magnitude and an average SNR threshold, and a weighted average signal magnitude and an average noise magnitude multiplied by an average SNR threshold. As exemplified by Block 508, a noise step detector detects and attacks a large noise step increase or decrease in amplitude or magnitude and generates a histogram of the frequency magnitudes of the noise level and other related parameters through a conditional comparison and assignment of historical voice activity detection values, historical signal values and noise step values. As represented by Block 509, a spectral gain function is estimated in the input speech signal through conditional comparisons of the input speech signal's noise level, signal gain, and other related parameters.
As depicted by Block 510, the spectral gain function computed and estimated in Block 509 is utilized to reduce noise in the input speech signal through a multiplicative application applied to the real and imaginary components of the Fourier transform of the input speech signal. The input speech signal may then be processed by an inverse Fourier transform, as illustrated by Block 511, to reconstruct a noise reduced speech signal prior to a slew rate adjustment. As depicted by Block 512, a sample of the slew rate from the noise reduced speech signal is taken and an error count is applied to the slew rate dependent upon the signal magnitude.
As illustrated in Block 514, the slew rate is adjusted in the frequency domain through conditional comparisons and computations of error periods, error counts, histograms and peak indices of the input speech signal and other parameters. If the histogram of the sample is greater than a peak of the sample, then the value of the peak is assigned the histogram value and a peak index is assigned an arbitrary value. However, if the peak value of the sample is greater than zero and the peak index is greater or less than zero and greater or less than an arbitrary value, then the histogram values may be adjusted higher if an error function is greater than an upper slew value or the histogram values may be adjusted lower if the error function is lower than a lower slew value. After slew rate adjustment, the sample may be encoded as represented in Block 515 by indexing the signal magnitude. Further, a noise histogram may be updated as a function of an encoded noise sample as depicted in Block 516, and the noise histogram may be normalized as exemplified in Block 517 through further conditional comparisons and computations of the updated noise histogram value and a maximum historical value. If the updated noise histogram is greater than the maximum historical value, the histogram may be scaled down or normalized as a function of the difference between the updated noise histogram and the maximum historical value. As represented by Block 518, a weighted histogram bin is computed through a summation of the normalized histogram and indexed by a weighted mean. A noise estimate may then be decoded according to the weighted histogram computation and index as illustrated in Block 519. Further slew rate adjustment may be conducted depending upon the frequency domain of the reconstructed noise reduced speech signal.
After slew rate adjustment is complete, a windowed Fourier transform is multiplicately applied to the components of an output speech signal as depicted by Block 522. The output speech signal may be overlapped and added with previous output signals after a performance of the windowed Fourier transform as illustrated in Block 523. Further, the output speech signal may be assigned a frame size respective to its overlapped state.
A noise filter, as exemplified by Block 524, may filter any average remaining noise component of the output speech signal through a total summation of noise magnitude extremes and of a doubling of the sum of all intermediate noise magnitudes. The summation is divided by a predetermined value to compute an average noise magnitude. The noise cancellation process may be continued if further input speech signals or if new speech frames are present.
A representative algorithm of an embodiment of the noise cancellation process exemplified in
An embodiment of the disclosed subject matter in which the previously described process may be implemented is illustrated in
An input speech signal is received by the first input means 604 and relayed to the processor 602 wherein an estimation of the noise level is conducted and a windowed Fourier transform may be applied to the input speech signal within the processor 602. The signal magnitude and SNR may be filtered by a filtering means 610 within the processor 602 and delivered to a voice activity detector 612 wherein several noise types such as but not limited to ramping, non-stationary, and Gaussian may be detected and attacked. The filtering means may comprise of but is not limited to known filters such as low pass filters, band pass filters, or other known filters utilized in the filtering of electromagnetic signals and designed for specific electromagnetic signal parameters of an embodiment of the disclosed subject matter. The signal may then be relayed to a noise step detector 614 wherein a large noise step increase or decrease in amplitude or magnitude may be detected and attacked.
The input speech signal is further processed and a spectral gain function is computed and applied to the real and imaginary components of the Fourier transform of the input speech signal in the processor 602. These components are then processed by an inverse Fourier transform for reconstruction of the signal. The signal may be relayed for further processing, slew rate sampling and adjusting, noise histogram updating and noise histogram normalizing in a sampling and adjustment means 616. The sampling and adjustment means may comprise but is not limited to an electronic circuit or the like designed to sample an input signal wherein adjustments to specific parameters of the input signal may be made according to comparisons of the sampled parameters. If this processing is complete, a windowed Fourier transform may be applied to the signal and the signal may be overlapped and added with other previous outputs. If the slew rate adjustment and noise histogram updating and normalizing has not been fully completed, further iterations may be performed. Upon processing of the signal, the signal may be relayed to a filtering means 618 in which remaining noise components are filtered out. The signal is then passed to any number of output means 620 comprising of but not limited to an audio or visual output device, a storage medium or the like.
While preferred embodiments of the present invention have been described, it is to be understood that the embodiments described are illustrative only and that the scope of the invention is to be defined solely by the appended claims when accorded a full range of equivalence, many variations and modifications naturally occurring to those of skill in the art from a perusal thereof.