Adaptive Noise Estimation
Patent Information
- Application Number
- JP2023518158
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-03-31
- Filing Date
- 2021-09-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-09-21
AI Technical Summary
Existing noise estimation methods in audio recordings fail to adapt to sudden changes in noise levels or spectra, especially in the presence of speech, leading to inaccurate noise reduction.
An adaptive noise estimation method that segments audio input into voice and non-voice segments, estimates a time-varying noise spectrum for non-speech segments, and selects the most likely noise spectrum from past and future estimates using similarity metrics to reduce noise effectively.
The method accurately adapts to noise changes in audio recordings, providing effective noise reduction by selecting the most representative noise spectrum, even in the presence of speech, thus improving audio quality.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority to U.S. Provisional Application No. 63 / 120,253, filed December 2, 2020, U.S. Provisional Application No. 63 / 168,998, filed March 31, 2021, and Spanish Patent Application No. P202030960, filed September 23, 2020, which are incorporated herein by reference in their entireties.
[0002] [Technical field] TECHNICAL FIELD This disclosure relates generally to audio signal processing, and more particularly to estimating the noise floor of an audio signal for use in noise reduction. [Background technology]
[0003] Noise estimation is commonly used to reduce steady-state noise in audio recordings. Noise estimates are typically obtained by analyzing the energy of each frequency band over segments of an audio recording that contain only noise. However, in some audio recordings, the steady-state noise changes smoothly and / or abruptly over time. Examples of such abrupt changes include audio recordings in which the background environmental noise changes suddenly over time (e.g., turning a fan on and off in a room) and audio content resulting from editing together different audio recordings, each with a different noise floor, such as a podcast containing a series of interviews recorded in different locations. Furthermore, noise changes typically do not occur during sufficiently long segments of non-speech, so noise changes may not be detected and estimated early in the audio recording.
[0004] Some existing methods perform a single estimation of the noise floor using a segment of an audio recording that contains only noise. Other existing methods perform an analysis of the entire audio recording, converging to a single underlying noise floor. However, a drawback of these methods is their inability to adapt to changes in noise level or spectrum. Other existing methods estimate the minimum envelope of the energy in each frequency band and track the estimated minimum envelope over time (e.g., by smoothing the estimated minimum envelope with an appropriate time constant). However, these existing methods, which are commonly employed in real-time online audio signal processing architectures, cannot accurately respond to sudden changes in noise in an audio recording. Summary of the Invention
[0005] An implementation for adaptive noise estimation is disclosed.
[0006] In some embodiments, the method of adaptive noise estimation comprises: using at least one processor to segment the audio input into speech and non-speech segments; using the at least one processor to estimate, for each frame of each non-speech segment, a time-varying noise spectrum of the non-speech segment; using the at least one processor, for each frame of each speech segment, estimating a speech spectrum for the speech segment; For each frame of each audio segment, identifying one or more non-speech frequency components of the speech spectrum; comparing the one or more non-speech frequency components with one or more corresponding frequency components of a plurality of estimated noise spectra; selecting an estimated noise spectrum from the plurality of estimated noise spectra based on a result of the comparison; In an embodiment, the method further comprises using the at least one processor to reduce noise in the audio input using the selected estimated noise spectrum.
[0007] In some embodiments, the method further comprises obtaining a probability of speech for each frame of the audio input and identifying frames containing speech based on the probabilities.
[0008] In some embodiments, the time-varying noise spectrum is estimated by calculating a moving average of the power spectrum of the non-voiced segment and averaging the power spectrum of the current non-voiced segment with at least one previous non-voiced segment.
[0009] In some embodiments, during the non-speech segments, the time-varying estimated noise spectrum is provided to a noise reduction unit configured to reduce noise in the audio input using the selected estimated noise spectrum.
[0010] In some embodiments, for each speech segment, a past estimated noise spectrum before the speech segment, a future estimated noise spectrum after the speech segment, and the current speech frame are used to determine the estimated noise spectrum that is most likely to represent the noise of the current speech segment.
[0011] In some embodiments, determining an estimated noise spectrum that is most likely to represent noise in the current speech segment comprises: obtaining an average noise spectrum from past and future noise spectra of past and future non-speech segments before and after the speech segment, respectively; determining an upper frequency limit for the past and future noise spectra; determining a cutoff frequency, which is the lowest frequency of the two upper limit frequencies; calculating a distance metric between frequency components of the speech spectrum and frequency components of the noise spectrum; selecting, as the estimated noise spectrum of the audio input, the noise spectrum from the past or future noise spectra that has the smallest distance metric to the cutoff frequency; Further includes:
[0012] In some embodiments, the distance metric is averaged over a set of audio frames within an audio segment.
[0013] In some embodiments, speech components are estimated within the speech segment of the audio signal and then subtracted from the actual speech components to obtain a residual spectrum as the estimated non-speech frequency components.
[0014] In some embodiments, the audio processor: a divider configured to divide the audio input into segments of overlapping frames; a plurality of buffers configured to store segments of the overlapping frames; a spectrum analysis unit configured to calculate a frequency spectrum for each segment stored in each buffer; a voice activity detector (VAD) configured to detect speech and non-speech segments in the audio input; an averaging unit coupled to an output of the VAD and configured to calculate a speech spectrum for each voiced segment identified by the VAD output and a time-varying noise spectrum for each non-voiced segment identified by the VAD output; Includes.
[0015] In an embodiment, the audio processor comprises: a VAD configured to detect speech and non-speech segments in an audio input; an averaging unit coupled to an output of the VAD and configured to obtain a speech spectrum for each speech segment identified by the VAD output and a noise spectrum for each non-speech segment identified by the VAD output; a similarity metric unit configured to calculate a similarity metric between one or more frequency components of the current speech spectrum and one or more corresponding frequency components of each noise spectrum, and to select one noise spectrum from the noise spectra based on the similarity metric; a noise reduction unit configured to reduce noise in the audio input using a selected noise spectrum; Includes.
[0016] Other implementations disclosed herein are directed to systems, devices, and computer-readable media. Details of the disclosed implementations are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description, drawings, and claims.
[0017] Particular implementations disclosed herein provide one or more of the following advantages: A method is disclosed for adaptively estimating noise in an audio recording when speech is present. In an embodiment, adaptive noise estimation is performed offline on the audio recording and estimates noise changes by looking both before and after a given frame of the audio recording. An advantage over conventional adaptive noise estimation methods is that the noise floor below the speech is estimated by selecting from among the best available candidate noise floor estimates calculated before and after the current speech segment. [Brief explanation of the drawings]
[0018] In the figures, a particular arrangement or order of schematic elements, such as devices, units, instruction blocks, and data elements, is shown for ease of explanation. However, it should be understood by those skilled in the art that the particular order or arrangement of the schematic elements in the figures does not imply a particular order or sequence of operations, or separation of operations, is required. Furthermore, the inclusion of a schematic element in a figure does not imply that such element is required in all embodiments, or that features represented by such element may not be included in or combined with other elements in some implementations.
[0019] Furthermore, in the figures, when a connecting element, such as a solid or dashed line or arrow, is used to describe a connection, relationship, or association between or within two or more other schematic elements, the absence of any such connecting element does not mean that the connection, relationship, or association is absent. In other words, some connections, relationships, or associations between elements may not be shown in the figures so as not to obscure the present disclosure. Furthermore, for ease of explanation, a single connecting element may be used to represent multiple connections, relationships, or associations between elements. For example, when a connecting element represents communication of signals, data, or instructions, it should be understood by those skilled in the art that such element may affect communication via one or more signal paths as needed.
[0020] [Figure 1] 1 is a two-dimensional (2D) plot showing an audio waveform, voice activity over time, and a threshold used to determine non-voice segments of the audio waveform, according to some embodiments.
[0021] [Figure 2] 1 is a 2D plot of voice activity over time, non-voice segments of an audio waveform, and a threshold used to determine noise segments where the voice activity is below a threshold, according to some embodiments.
[0022] [Figure 3]1 shows an average speech spectrum corresponding to a speech segment and two noise spectra corresponding to non-speech segments before and after the speech segment, according to some embodiments.
[0023] [Figure 4] FIG. 1 is a block diagram of a system for adaptive noise estimation and reduction, according to some embodiments.
[0024] [Figure 5] FIG. 1 is a flow diagram of a process for noise floor estimation and noise reduction according to some embodiments.
[0025] [Figure 6] 6 is a block diagram of a system that implements the functions and processes described with reference to FIGS. 1-5, according to an embodiment. FIG.
[0026] The same reference numbers used in the various drawings indicate similar elements. DETAILED DESCRIPTION OF THE INVENTION
[0027] In the following detailed description, numerous specific details are set forth to provide a thorough understanding of various described embodiments. It will be apparent to those skilled in the art that various described implementations may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments. Certain features are described below that can be used independently of each other or in any combination with other features.
[0028] <Nomenclature> As used herein, the term "comprises" and variations thereof should be interpreted broadly to mean "include, but not limited to." The term "or" should be interpreted as "and / or" unless the context clearly indicates otherwise. The term "based on" should be interpreted as "based at least in part on." The terms "one exemplary implementation" and "exemplary implementation" should be interpreted as "at least one exemplary implementation." The term "another implementation" should be interpreted as "at least one other implementation." The terms "determined," "determine," or "determining" should be interpreted as obtaining, receiving, calculating, computing, estimating, predicting, or deriving. Furthermore, in the following description and claims, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
[0029] <System Overview> The disclosed embodiment uses a Voice Activity Detection (VAD) classifier to segment an audio input into speech segments containing speech and non-speech segments containing no speech. For non-speech segments, a noise spectrum is estimated for each frame of the non-speech segment by averaging the energy per frequency in the time domain around the current frame. For speech segments, for each frame of the speech segment, estimated noise spectra of previous and subsequent non-speech regions are selected by identifying one or more non-speech frequency components in the speech spectrum. The one or more non-speech frequency components are compared to corresponding one or more frequency components in the estimated noise spectra of the previous and next non-speech regions using a similarity metric (e.g., the distance between frequency components).
[0030] FIG. 1 is a two-dimensional (2D) plot showing an audio waveform, voice activity over time, and a threshold used to determine non-voice segments of the audio waveform, according to an embodiment. For simplicity, amplitude values of the audio waveform are not shown in FIG. 1. The horizontal axis is in units of time (e.g., milliseconds). An audio input (e.g., an audio file) containing an audio recording containing speech is divided into overlapping frames. In an embodiment, VAD is used to obtain the probability of speech in each frame, and then the audio input is divided into voice and non-voice segments based on a voice probability threshold. In the example shown, the vertical axis represents the VAD value (probability that speech is present), with an exemplary VAD threshold, indicated by a horizontal line, of approximately 0.18. FIG. 2 shows a close-up of the noise segment shown in FIG. 1, where the VAD value is lower than the VAD threshold.
[0031] Any suitable VAD algorithm for detecting speech and non-speech segments in an audio recording may be used, including, but not limited to, VAD algorithms based on zero-crossing rate and energy measurements, linear-based energy detection, adaptive linear-based energy detection, pattern recognition and statistical measurements.
[0032] In an embodiment, the noise spectrum of a non-speech segment is estimated using adaptive voice-aware noise estimation (AVANE) to infer the most similar robust noise estimate within the speech segment. AVANE calculates a moving average of the power spectrum of the non-speech frames and, for each non-speech frame, calculates the power spectrum of the noise in the non-speech frames by averaging the power of the current non-speech frame and one or more previous non-speech frames. In an embodiment, the number of previous frames to average is determined by a time constant. Any suitable moving average algorithm can be used, including, but not limited to, an arithmetic moving average, an exponential moving average, a smooth moving average, or a weighted moving average.
[0033] AVANE generates a time-varying noise spectrum that is used in two ways: First, during non-speech segments, a time-varying estimated noise is fed to the noise reduction system (e.g., buffer by buffer). Second, during speech segments, the last AVANE estimate before the current speech segment and the first AVANE estimate after the current speech segment are fed to an estimation component along with the current speech frame. The estimation component determines the AVANE estimate that is most likely to represent the noise in the current speech frame.
[0034] Alternatives to AVANE estimation include subband spectral minimum tracking, as described, for example, in Doblinger, G. (1995). Computationally efficient speech enhancement by subband spectral minimum tracking, Proc. EUROSPEECH '95, Madrid, pp 1513-1516, or noise power spectral density estimation based on optimal smoothing and minimum statistics, as described, for example, in Martin, R. (2001). Noise power spectral density estimation based on optimal smoothing and minimum statistics, IEEE Transactions on Speech and Audio Processing. 9(5)504-512.
[0035] Two embodiments are proposed for estimating the underlying noise spectrum of a given speech segment. In the first embodiment, the speech components are estimated and then subtracted from the actual speech components to obtain a residual spectrum as a noise estimate. This embodiment is not related to or combined with AVANE, as it leads to a direct estimation of the background noise. Assuming that speech is dominated by harmonic components, the pitch is first estimated and the harmonic components are identified. Based on a sinusoidal model and its parameter estimation, the harmonic components are subtracted from the speech signal to obtain a residual signal. This method is described, for example, in Stylianou, Y. (1996) Harmonic plus Noise Models for Speech Combined with Statistical Methods for Speech and Speaker Modification, PhD Thesis, Telecom Paris. Another possibility is to identify and subtract sinusoids from a given short-term spectrum without fundamental frequency (F0) information. This method is described, for example, in Yeh, C. (2008) Multiple Fundamental Frequency Estimation of Polyphonic Recordings. Ph.D. thesis, University Paris.
[0036] In another embodiment, the harmonic components are estimated and attenuated in the cepstrum domain, as described, for example, in Z. Zhang, K. Honda, and J. Wei, "Retrieving Vocal-Tract Resonance and Anti-Resonance From High-Pitched Vowels Using a Rahmonic Subtraction Technique," ICASSP2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 2020, pp. 7359-7363, doi:10.1109 / ICASSP40776.2020.9054741.
[0037] The AVANE method assumes that the underlying noise spectrum is close to either the last AVANE before the speech segment or the first AVANE after the speech segment. In this embodiment, we identify segments of the spectrum where speech is not dominant (e.g., high frequencies) and calculate a spectral similarity index (e.g., distance index) between the speech spectrum and the AVANE, considering only the non-speech segments of the spectrum that have a predominantly noise component. In this embodiment, the spectral similarity measure is based on the distance between the speech spectrum and the AVANE. Assuming that the signal-to-noise ratio (SNR) (defined in decibels as the ratio of speech energy to noise energy in the speech frequency band) is positive, we can add a further constraint: we can accept the selected AVANE only if the average speech spectrum of the region of interest (within a duration as long as the AVANE) exceeds the AVANE to be selected.
[0038] In embodiments where harmonic subtraction is used to compute an estimate of the noise spectrum, the spectral similarity measure is not limited to non-speech frequency regions of the speech spectrum, but can extend to the entire spectrum or can be limited to frequencies above a particular speech frequency for which harmonic estimation is valid, e.g., the lowest frequency range of speech. Thus, a similarity index is computed between the residual signal after harmonic subtraction from the speech segment and the AVANE estimates before and after the speech segment.
[0039] In embodiments, given an audio frame, the energy spectrum of the audio frame is calculated and converted to a decibel scale. If the current audio frame is a speech frame (i.e., within a speech segment), the previously calculated average noise spectrum (dB) before and after the speech segment is retrieved, for example, from storage (e.g., memory, disk). Figure 3 shows the average speech spectrum and two noise spectra corresponding to non-speech segments before and after the speech segment, according to some embodiments.
[0040] Given these two noise spectra and the current speech spectrum, the upper frequency limit of the noise spectrum, f c is calculated, and the lowest of the two limits is the "cutoff" frequency f cutoff The noise spectrum with the smallest distance (as defined previously) is retained as the current estimate of the noise spectrum of the audio recording. In an alternative embodiment, the distance measures can be calculated and averaged over a set of audio frames, and the noise spectrum that gives the smallest average distance is selected as the current estimate of the noise spectrum.
[0041] Assuming audioframe is a vector of audio samples in a frame, and spectrum is the frequency spectrum of the audio samples computed using the Fast Fourier Transform (FFT) of audioframe, spectrum=fft(audioframe) [1]
[0042] The spectrum is expressed in dB scale by the following formula: dB can be converted to: spectrum dB =20log 10 (abs(spectrum)) [2]
[0043] If the current frame is a noise frame, its avg_spectrum dB is kept and averaged with the past spectrum over a window of a given length (e.g., 5 seconds), where avg_spectrum dB If the current frame is a speech frame, its spectrum is compared with the past noise spectrum and the future noise spectrum. Hereafter, the speech spectrum is referred to as speech_spectrum dB , the past and future noise spectra are past_spectrum dB and future_spectrum dB It is called.
[0044] In some embodiments, past_spectrum dB and future_spectrum dB Each upper limit frequency f c is determined by: 1) Select the first frequency. c is estimated. 2) Divide the noise spectrum above the first frequency into blocks of a specified length and overlap (e.g., 50%). 3) For each block, calculate the average derivative in order of increasing frequency of the corresponding block and find the first derivative with a value less than a predefined negative value (e.g., -20 dB). 4)f c Calculate the average of the noise spectrum in a small area before f c The upper noise spectrum values are replaced by the average noise spectrum. Note that step (3) is interpreted as a significant attenuation of the noise spectrum, and the frequency of the corresponding block is considered as the upper frequency limit.
[0045] The determined upper limit frequency f c and the cutoff frequency f as the lower of the frequencies above f1. cutoff Given, the distance between the current speech spectrum and the noise spectrum is calculated as:
number
[0046] As shown in equation [4], f1 and f cutoff The frequency range between defines a spectral region where speech harmonics are almost absent and background noise dominates. The minimum between distance_past and distance_future (given by argmin()) gives a noise spectrum close to the current spectrum and is selected as the noise candidate. This approach can be extended to multiple candidate noise spectra.
[0047] In embodiments where harmonic subtraction is used to estimate and remove audio harmonics, the method described in equations 3a, 3b, and 4 can be extended to audio frequencies by replacing the starting index f1 with a lower frequency index, for example the lowest frequency in the audio or the lowest frequency at which the residual estimate is considered reliable.
[0048] Given any of the methods described herein that can estimate noise in the presence of speech (e.g., the AVANE method), the distance between the estimated spectrum and two known noise spectra can be calculated by comparing the estimates obtained from AVANE of the current frame and adjacent non-speech segments, and selecting either the past or future noise estimate as described above.
[0049] 4 is a block diagram of a system 400 for adaptive noise estimation and reduction, according to an embodiment. An audio input (e.g., an audio file containing speech content) is divided into overlapping segments of frames by a division unit 401. The resulting segments are stored in multiple buffers 402 and converted into spectra 405, e.g., by a short-time Fourier transform (STFT) block 403. A voice activity detection (VAD) block 404 calculates the probability that a given audio frame contains speech. The spectrum 405 and the VAD output (speech probability) are fed to an averaging unit 406, which generates, for each speech frame, a current speech spectrum and multiple noise spectra 407. The speech spectrum and multiple noise spectra 407 are input to a similarity metric unit 408. The similarity metric unit 408 selects one of the noise spectra (e.g., based on the distance metric of Equations [3a, 3b]) as the noise spectrum 410 that a noise reduction block 409 uses to reduce noise in the audio input.
[0050] In some embodiments, the noise reduction unit 409 reduces the noise in the audio input using the selected noise spectrum 410 by comparing the spectrum of the audio input with the selected estimated noise spectrum 410 and applying gain reduction to frequency bands where the energy of the input signal is less than the energy of the noise spectrum plus a predefined threshold.
[0051] <Other embodiments> The following description of the further embodiment will focus on the differences between the further embodiment and the above-described embodiment, and therefore, in the following description, features common to both embodiments will be omitted, and unless otherwise required in the following description, it should be assumed that the features of the above-described embodiment can also be implemented, or at least can be implemented, in the further embodiment.
[0052] In some embodiments, multiple pre-calculated noise spectra are available; noise_spectrum i , where i=1,..,N, [5] The similarity index is the distance (in dB) between the current speech spectrum and multiple noise spectra, and is given by:
number
[0053] The noise spectrum corresponding to the smaller distance is chosen as follows: noise_spectrum K , where K=argmin(distance i ) [7]
[0054] The multiple noise spectra can be provided a priori in applications where different noise conditions present in an audio recording are known and measured in advance, such as in a conference call with multiple endpoints. Alternatively, the multiple noise spectra can be determined by a clustering algorithm applied to multiple spectra of non-speech frames. The clustering algorithm can be, for example, a k-means clustering algorithm applied to multiple non-speech spectral vectors, or any other suitable clustering algorithm.
[0055] <Online implementation> The above embodiment for offline calculation can be extended to real-time, online, low-latency scenarios. Note that in this case, future noise spectra after the current speech frame are not available. If candidate noise spectra are provided a priori, the selection process is applied online for all speech frames using available (stored) noise spectra. If candidate noise spectra are not provided a priori, noise spectra can be constructed online. For example, a first noise spectrum is obtained from the first non-speech frame. As additional non-speech frames are received, their noise spectra are calculated, and if their distance from each previously retained noise spectrum is greater than a predefined threshold, they are retained as additional noise spectra. As additional non-speech frames are received, their noise spectra are calculated and clustered using a clustering algorithm (e.g., k-means clustering), and the resulting clusters are used as candidate noise spectra. The clustering process is repeated and refined whenever a sufficient number of new non-speech frames are received, or whenever non-speech frames with significant dissimilarity to existing clusters are received.
[0056] <Music Recording> In an embodiment, the audio recording contains music (or another class of audio content) instead of speech content, in which embodiment the speech classifier VAD is replaced with an appropriate music (or another class) classifier.
[0057] <Music + Voice Recording> In an embodiment, the audio recording contains both speech and music. In this embodiment, it is desirable to remove noise from the speech and music portions, but preserve the music signal. In this embodiment, the speech classifier is replaced by a multi-class classifier (e.g., a music and speech classifier) or two separate classifiers for music and speech. The speech and music probabilities output by the classifiers are compared to predefined thresholds, and if both the speech and music probabilities are less than the predefined thresholds, the frame is considered noise. The previously described method is then applied to estimate a noise spectrum suitable for the speech domain, and optionally for the music domain as well.
[0058] <Example Processing> 5 is a flow diagram of a process 500 for noise floor estimation and noise reduction, according to an embodiment. Process 500 can be implemented using the apparatus architecture shown in FIG.
[0059] The process 500 begins by dividing the audio input into speech and non-speech segments (501), and for each frame of each non-speech segment, estimates the time-varying noise spectrum of the non-speech segment (503) and the speech spectrum of the speech segment (504).
[0060] The process 500 then identifies (505) one or more non-speech frequency components of the speech spectrum for each frame of each speech segment, compares (506) the one or more non-speech frequency components with one or more corresponding frequency components of the plurality of estimated noise spectra, and selects (507) an estimated noise spectrum from the plurality of estimated noise spectra based on the results of the comparison.
[0061] In some embodiments, the plurality of estimated noise spectra includes an estimated noise spectrum for a past non-speech segment and an estimated noise spectrum for a future non-speech segment. In some embodiments, the plurality of estimated noise spectra can be determined by a clustering algorithm applied to the plurality of noise spectra of the non-speech frames. The clustering algorithm can be, for example, a k-means clustering algorithm applied to the plurality of non-speech spectral vectors, or any other suitable clustering algorithm.
[0062] In some embodiments, the process 500 may then use the selected estimated noise spectrum to reduce noise in the audio input.
[0063] Exemplary System Architecture 6 shows a block diagram of an exemplary system that implements the functionality and processing described with reference to Figures 1-5, according to an embodiment. System 600 includes any device capable of playing audio, such as, but not limited to, a smartphone, a tablet computer, a wearable computer, a vehicle computer, a game console, a surround system, a kiosk, etc.
[0064] As shown, the system 600 includes a central processing unit (CPU) 601 that can execute various processes according to a program stored in, for example, a read-only memory (ROM) 602 or loaded from, for example, a storage unit 608 into a random access memory (RAM) 603. The RAM 603 also stores data required by the CPU 601 when executing various processes, as needed. The CPU 601, the ROM 602, and the RAM 603 are connected to one another via a bus 609. An input / output (I / O) interface 605 is also connected to the bus 604.
[0065] The following components are connected to the I / O interface 605: an input unit 606, which may include a keyboard, a mouse, etc., an output unit 607, which may include a display, such as a liquid crystal display (LCD), and one or more speakers, a storage unit 608, which may include a hard disk or another suitable storage device, and a communication unit 609, which may include a network interface card, such as a network card (e.g., wired or wireless).
[0066] In some implementations, the input unit 606 includes one or more microphones in different locations (depending on the host device) that enable the capture of audio signals in various formats (e.g., mono, stereo, spatial, immersive, or other suitable formats).
[0067] In some implementations, output unit 607 includes a system with various numbers of speakers. As shown in Figure 6, output unit 607 can render audio signals in various formats (e.g., mono, stereo, immersive, binaural, or other suitable formats) (depending on the capabilities of the host device).
[0068] The communication unit 609 is configured to communicate with other devices (e.g., via a network). A drive 610 is also connected to the I / O interface 605, as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a flash drive, or another suitable removable medium, is attached to the drive 610, so that a computer program read therefrom is installed in the storage unit 608, as needed. Those skilled in the art will understand that although the system 600 is described as including the above-mentioned components, in actual applications, some of these components may be added, removed, and / or substituted, and all such modifications or variations are within the scope of the present disclosure.
[0069] According to exemplary embodiments of the present disclosure, the processes described above may be implemented as a computer software program or on a computer-readable storage medium. For example, embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a machine-readable medium. The computer program includes program code for performing the method. In such embodiments, the computer program may be downloaded and implemented via a communication unit 609 from a network and / or installed from a removable medium 611, as shown in FIG. 6 .
[0070] Generally, various exemplary embodiments of the present disclosure may be implemented in hardware or dedicated circuitry (e.g., control circuitry), software, logic, or any combination thereof. For example, the units described above may be executed by a control circuit (e.g., a CPU in combination with other components of FIG. 6 ). Thus, the control circuitry may perform the operations described in this disclosure. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device (e.g., control circuitry). Although various aspects of the exemplary embodiments of the present disclosure have been illustrated and described using block diagrams, flowcharts, or some other graphical representations, it will be understood that the blocks, apparatus, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or controller or other computing device, or any combination thereof, as non-limiting examples.
[0071] Furthermore, the various blocks illustrated in the flowcharts may be considered as method steps and / or operations resulting from the operation of computer program code and / or as multiple combined logic circuit elements configured to perform the associated functions. For example, embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a machine-readable medium, the computer program including program code configured to perform the method as described above.
[0072] In the context of this disclosure, a machine-readable medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may be non-tangible and may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of a machine-readable storage medium may include one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0073] Computer program code for carrying out the methods of the present disclosure may be written in any combination of one or more programming languages. The computer program code may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device having control circuitry. When executed by the processor of the computer or other programmable data processing device, the program code then performs the functions / acts specified in the flowcharts and / or block diagrams. The program code may be executed entirely on the computer, partially on the computer, as a stand-alone software package, partially on the computer and partially on a remote computer, entirely on a remote computer or server, or distributed across one or more remote computers and / or servers.
[0074] Enumerated Example Embodiments (EEE)
[0075] Embodiments of the present disclosure may relate to one of the enumerated embodiments (EEE) listed below.
[0076] (EE1) An audio processor, a divider configured to divide the audio input into segments of overlapping frames; a plurality of buffers configured to store segments of the overlapping frames; a spectrum analysis unit configured to calculate a frequency spectrum for each segment stored in each buffer; a voice activity detector (VAD) configured to detect speech and non-speech segments in the audio input; an averaging unit coupled to an output of the VAD and configured to calculate a speech spectrum for each speech segment identified by the VAD output and a time-varying noise spectrum for each non-speech segment identified by the VAD output; a similarity metric unit configured to calculate a similarity metric between the current speech spectrum and one or more frequency components in each noise spectrum, and to select a noise spectrum from the plurality of noise spectra based on the similarity metric; a noise reduction unit configured to reduce noise in the audio input using the selected noise spectrum; An audio processor including:
[0077] (EEE2) The audio processor of EEE1, wherein the VAD is configured to obtain a probability of speech in each frame of the audio input and to identify frames containing speech based on the probability.
[0078] (EEE3) An audio processor, a voice activity detector (VAD) configured to detect speech and non-speech segments in the audio input; an averaging unit coupled to an output of the VAD and configured to obtain a speech spectrum for each speech segment identified by the VAD output and a noise spectrum for each non-speech segment identified by the VAD output; a similarity metric unit configured to calculate a similarity metric between one or more frequency components of the current speech spectrum and one or more corresponding frequency components of each noise spectrum, and to select one noise spectrum from the noise spectra based on the similarity metric; a noise reduction unit configured to reduce noise in the audio input using a selected noise spectrum; An audio processor including:
[0079] While the present specification includes numerous specific implementation details, these should not be considered limitations on the scope of what may be claimed, but rather as descriptions of features specific to a particular implementation. Certain features described herein in the context of separate embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single embodiment may also be implemented separately or in any suitable subcombination in multiple embodiments. Furthermore, while features may be described above as operating in a particular combination and initially claimed as such, one or more features from the claimed combination may, in some cases, be separated from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination. The logical flow depicted in the figures does not require the particular order or sequential order depicted to achieve desirable results. Furthermore, other steps may be provided or steps may be removed from the described flow, and other components may be added or removed from the described system. Accordingly, other implementations are within the scope of the following claims.
Claims
1. 1. A method of adaptive noise estimation, comprising: using at least one processor to segment the audio input into speech and non-speech segments; using the at least one processor to estimate, for each frame of each non-voiced segment, a time-varying noise spectrum of the non-voiced segment; using the at least one processor to estimate, for each frame of each speech segment, a speech spectrum for the speech segment; For each frame of each speech segment, using the at least one processor to identify one or more non-speech frequency components of the speech spectrum; using the at least one processor to compare the one or more non-speech frequency components with one or more corresponding frequency components of a plurality of estimated noise spectra to obtain a distance metric for each noise spectrum; selecting, using the at least one processor, the estimated noise spectrum having the smallest distance metric as the estimated noise spectrum for the speech segment; The method includes:
2. The method of claim 1 , further comprising using the at least one processor to reduce noise in the audio input using the selected estimated noise spectrum.
3. 3. The method of claim 1, wherein the time-varying noise spectrum is estimated by calculating a moving average of the power spectrum of the unvoiced segment and averaging the power spectrum of a current unvoiced segment and at least one previous unvoiced segment.
4. A method according to any one of claims 1 to 3, wherein the plurality of estimated noise spectra include an estimated noise spectrum for a past non-voice segment and an estimated noise spectrum for a future non-voice segment.
5. A method according to any one of claims 1 to 4, further comprising the step of obtaining a probability of speech for each frame of the audio input and identifying frames containing speech based on the probability.
6. obtaining a past average noise spectrum from past noise spectra of unspeeched segments preceding the voiced segment and a future average noise spectrum from future noise spectra of unspeeched segments following the voiced segment, respectively; determining an upper frequency limit of the past and future average noise spectra; determining a cutoff frequency, which is the lowest frequency of the two upper limit frequencies; calculating the distance metric between frequency components of the speech spectrum and frequency components of the past and future average noise spectra up to the cutoff frequency; selecting, as the estimated noise spectrum of the audio input, an average noise spectrum among the past or future average noise spectra having a minimum distance metric; The method of any one of claims 1 to 5, further comprising:
7. The method of any preceding claim, wherein the distance metric is averaged over a set of audio frames in a speech segment.
8. A method according to any one of claims 1 to 7, further comprising the step of estimating speech frequency components within the speech segment of the audio signal and subtracting the speech frequency components from the speech spectrum to obtain a residual spectrum as estimated non-speech frequency components.
9. A method of adaptive noise estimation comprising the steps of: receiving a plurality of pre-computed noise spectra; using at least one processor to segment the audio input into speech and non-speech segments; using the at least one processor to estimate, for each frame of each speech segment, a speech spectrum for the speech segment; For each frame of each speech segment, using the at least one processor to identify one or more non-speech frequency components of the speech spectrum; using the at least one processor to compare the one or more non-speech frequency components with one or more corresponding frequency components of the plurality of pre-computed noise spectra to obtain a distance metric for each pre-computed noise spectrum; selecting, using the at least one processor, the pre-computed noise spectrum having the smallest distance metric as the estimated noise spectrum for the speech segment; The method includes:
10. A non-transitory computer readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform a method according to any one of claims 1 to 8 or 9.
11. 1. An audio processor comprising: a splitting unit configured to split the audio input into speech and non-speech segments; an averaging unit configured to estimate a speech spectrum for each voiced segment and a time-varying noise spectrum for each non-voiced segment; A distance metric unit, identifying one or more non-speech frequency components of the speech spectrum; comparing the one or more non-speech frequency components to one or more corresponding frequency components among a plurality of estimated noise spectra; selecting the noise spectrum having the smallest distance metric as the estimated noise spectrum for the speech segment; a distance metric unit configured to An audio processor including
12. 12. The audio processor of claim 11, wherein the plurality of estimated noise spectra includes an estimated noise spectrum for a past unspoken segment and an estimated noise spectrum for a future unspoken segment.
13. 13. An audio processor according to claim 11 or 12, further comprising a noise reduction unit configured to reduce noise in the audio input using the selected estimated noise spectrum.
14. The distance metric unit is obtaining a past average noise spectrum from noise spectra of unspeech segments preceding the speech segment and a future average noise spectrum from noise spectra of unspeech segments following the speech segment, respectively; determining an upper frequency limit of the past and future noise spectra; A cutoff frequency is determined, which is the lowest frequency of the two upper limit frequencies. Calculation of the distance metric between frequency components of the speech spectrum and frequency components of the past and future average noise spectra up to the cutoff frequency; selecting, as the estimated noise spectrum of the audio input, an average noise spectrum having a minimum distance metric among the past or future average noise spectra; 14. An audio processor according to claim 11, configured to:
15. An audio processor comprising: a segmentation unit configured to segment the audio input into speech and non-speech segments; an averaging unit configured to estimate a speech spectrum for each speech segment and to receive a plurality of pre-computed noise spectra; A distance metric unit, identifying one or more non-speech frequency components of the speech spectrum; comparing the one or more non-speech frequency components to one or more corresponding frequency components in a plurality of the pre-computed noise spectra; selecting an estimated noise spectrum from the pre-computed noise spectra having a minimum distance metric as the estimated noise spectrum for the speech segment; a distance metric unit configured to An audio processor including
