Over-repression mitigation for deep learning based speech enhancement
The machine learning model trained with a nonlinear penalty loss function and the laughter and applause detection model solve the problem of excessive speech suppression in speech enhancement, improve audio quality, especially the processing effect of high-frequency fricatives and low-level filler pauses.
Patent Information
- Application Number
- CN202280047307.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-10
- Filing Date
- 2022-06-28
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-06-28
AI Technical Summary
Existing speech enhancement methods are prone to excessive speech suppression when dealing with non-stationary noise and low signal-to-noise ratio conditions, leading to speech distortion or discontinuity, especially excessive suppression of non-noise signals such as high-frequency fricatives, laughter, and applause.
A machine learning model is trained using a non-linear penalty loss function to mitigate excessive speech suppression by generating estimated mask values. Laughter and applause detection models are combined to adjust the mask values to preserve non-noise signals. Deep learning models such as LensNet and CGRU are used for speech enhancement.
It effectively reduces noise, preserves and sharpens speech, improves audio quality, and allows users to better perceive and enjoy audio, especially with significant effects on high-frequency fricatives and low-level fillet pauses.
Smart Images

Figure CN117597732B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application claims priority to U.S. Provisional Application No. 63 / 225,594, filed July 26, 2021; U.S. Provisional Application No. 63 / 288,516, filed December 10, 2021; and International Application No. PCT / CN2021 / 104166, filed July 2, 2021, the entire contents of each of which are hereby incorporated herein by reference. Technical Field
[0003] This application relates to audio processing and machine learning. Background Technology
[0004] The methods described in this section are permissible but not necessarily methods that have been previously conceived or employed. Therefore, unless otherwise indicated, no method described in this section should be considered prior art simply by virtue of its inclusion in this section.
[0005] In recent years, various machine learning models have been used for speech enhancement. Compared with traditional signal processing methods (such as Wiener filters or spectral subtraction), machine learning methods have shown significant improvements, especially in cases of non-stationary noise and low signal-to-noise ratio (SNR).
[0006] Existing machine learning methods for speech detection and enhancement often suffer from speech oversuppression, which can lead to speech distortion or even discontinuity. For example, when speech oversuppression occurs, the speech may drop sharply and sound unnatural, which can be problematic, especially in the presence of non-stationary noise or at low SNR. Additionally, oversuppression may eliminate or reduce unvoiced sounds or high-frequency fricatives, which share the same characteristics as noise. Oversuppression may also eliminate or reduce laughter or applause events, which still constitute non-noise signals but similarly share characteristics with noise.
[0007] Improving traditional machine learning methods for speech enhancement (including mitigating the problem of excessive speech suppression) would be helpful in stored audio content or real-time communications. Summary of the Invention
[0008] A computer-implemented method for mitigating excessive speech suppression is disclosed. The method includes receiving audio data as a joint time-frequency representation over multiple frames and multiple frequency bands by a processor. The method includes executing a digital model for speech detection on features of the audio data, the digital model being trained using a loss function with a non-linear penalty that penalizes excessive speech suppression more than it penalizes insufficient speech suppression, and the digital model being configured to produce a mask of estimated mask values indicating the amount of speech present for each of the multiple frames and each of the multiple frequency bands. The method further includes transmitting information about the mask to a device.
[0009] The techniques described in this specification can outperform traditional audio processing techniques. For example, the methods improve audio quality by reducing noise, preserving and sharpening speech (such as high-frequency fricatives and low-level filler pauses) while preserving other non-noise signals (such as laughter or applause). The improved audio quality allows users to better perceive and enjoy audio. Attached Figure Description
[0010] The accompanying drawings illustrate, by way of example and not limitation, several exemplary embodiments of the invention, wherein similar reference numerals denote similar elements, and in the drawings:
[0011] Figure 1 The illustration shows an example networked computer system in which various embodiments can be practiced.
[0012] Figure 2 Example components of an audio management computer system according to a disclosed embodiment are illustrated.
[0013] Figure 3 The diagram illustrates the relationship between the dependent variable and the independent variable in the perceptual loss function.
[0014] Figure 4 The illustration shows example processes performed by an audio management computer system according to some embodiments described herein.
[0015] Figure 5 This is a block diagram illustrating a computer system on which embodiments of the present invention can be implemented. Detailed Implementation
[0016] In the following description, numerous specific details are set forth for illustrative purposes in order to provide a thorough understanding of the exemplary embodiments(s) of the invention. However, it will be apparent that the exemplary embodiments(s) can be practiced without these specific details. In other instances, known structures and devices are shown in block diagram form to avoid unnecessarily obscuring the exemplary embodiments(s).
[0017] The embodiments are described in the following subsections based on the following summary:
[0018] 1. General Overview
[0019] 2. Example computing environment
[0020] 3. Example Computer Components
[0021] 4. Function Description
[0022] 4.1. Model Training for Speech Enhancement
[0023] 4.1.1. Feature Extraction
[0024] 4.1.2. Machine Learning Model
[0025] 4.1.3. Perceptual Loss Function
[0026] 4.2. Model Training for Laughter and Applause Detection
[0027] 4.3. Model Execution for Speech Enhancement
[0028] 4.4. Post-processing of time-frequency masking
[0029] 5. Example Process
[0030] 6. Hardware Implementation
[0031] 7. Extensions and Alternatives
[0032] **
[0033] 1. General Overview
[0034] A system for mitigating excessive suppression of speech and other non-noise signals is disclosed. In some embodiments, the system is programmed to train a first machine learning model for speech detection or enhancement using a non-linear, asymmetric loss function that penalizes excessive speech suppression more than insufficient speech suppression. The first machine learning model is configured to receive an audio signal and generate a mask indicating the amount of speech present in the audio signal. The mask can be adjusted to correct abrupt speech attenuation due to excessive speech suppression. The system is also programmed to train a second machine learning model for laughter or applause detection. The system is further programmed to improve the quality of new audio signals by applying the adjusted mask to new audio signals other than those already identified as corresponding to laughter or applause in the audio signal.
[0035] In some embodiments, the system is programmed to receive a training dataset of audio signals in the time domain. The audio signals include various mixtures of speech and non-speech (e.g., laughter, applause, reverberation, or noise). The system is programmed to extract first features from the audio signals for training a first machine learning model for speech detection. Each audio signal can be converted into a joint time-frequency (TF) representation with energy values across multiple frequency bands and frames, and the first features can be computed based on the energy values. The system is programmed to further train the first machine learning model based on the first features using a non-linear asymmetric loss function, such as an artificial neural network (ANN), which penalizes excessive speech suppression more than insufficient speech suppression. The first machine learning model is configured to generate a mask indicating the amount of speech in each frequency band at each frame. This mask is expected to be less affected by excessive speech suppression compared to training the first machine learning model using a symmetric loss function.
[0036] In some embodiments, the system is programmed to extract second features from the same or separate audio signal training datasets for training a second machine learning model to identify laughter or applause that might be mistakenly identified as noise by the first machine learning model. Each audio signal can be converted to the frequency domain, and the second features can be computed directly from the audio signal in the time domain or from the converted audio signal in the frequency domain using signal processing methods. The system is programmed to further train the second machine learning model based on the second features, which is typically a classification method.
[0037] In some embodiments, given a new audio signal, the system is programmed to use a first machine learning model to estimate the amount of speech present in the new audio signal. The system can also be programmed to use a second machine learning model to determine whether any portion of the new audio signal corresponds to laughter or applause. The system can then be programmed to ignore (bypass) the mask values generated by the first machine learning model for those portions of the new audio signal identified as corresponding to laughter or applause. Additionally, the system can be programmed to determine whether the mask values indicate any sharp speech attenuation as a product of excessive speech suppression, despite the use of an asymmetric loss function, and adjust the mask values accordingly.
[0038] The system delivers technical benefits. It solves the technical problem of excessive speech suppression in audio processing. The system improves audio quality by reducing noise, preserving and sharpening speech (such as high-frequency fricatives and low-level filler pauses) while retaining other non-noise signals (such as laughter or applause). This improved audio quality allows users to better perceive and enjoy audio.
[0039] 2. Example computing environment
[0040] Figure 1 The illustration shows an example networked computer system in which various embodiments can be practiced. Figure 1 The examples are shown in a simplified, illustrative format for clarity, and other embodiments may include more, fewer, or different elements.
[0041] In some embodiments, the networked computer system includes an audio management server computer 102 (“server”), one or more sensors 104 or input devices, and one or more output devices 110, which are communicatively coupled by direct physical connection or via one or more networks 118.
[0042] In some embodiments, server 102 broadly represents one or more computers, virtual computing instances, and / or instances of applications programmed or configured with data structures and / or database records arranged to host or perform functions related to mitigating excessive speech suppression. Server 102 may include server clusters, cloud computing platforms, parallel computers, or any other computing facility with sufficient computing power in terms of data processing, data storage, and network communication for the functions described above.
[0043] In some embodiments, each of one or more sensors 104 may include a microphone or other digital recording device that converts sound into electrical signals. Each sensor is configured to transmit detected audio data to server 102. Each sensor may include a processor or may be integrated into a typical client device, such as a desktop computer, laptop computer, tablet computer, smartphone, or wearable device.
[0044] In some embodiments, each of the one or more output devices 110 may include a speaker or another digital playback device that converts electrical signals back into sound. Each output device is programmed to play audio data received from server 102. Similar to sensors, output devices may include processors or may be integrated into typical client devices such as desktop computers, laptop computers, tablet computers, smartphones, or wearable devices.
[0045] One or more networks 118 can be provided by Figure 1 The network 118 is implemented through any medium or mechanism for data exchange between various components. Examples of network 118 include, but are not limited to, one or more cellular networks (communically coupled to a data connection to a computing device via a cellular antenna), near field communication (NFC) networks, local area networks (LANs), wide area networks (WANs), the Internet, terrestrial or satellite links, etc.
[0046] In some embodiments, server 102 is programmed to receive input audio data corresponding to sounds in a given environment from one or more sensors 104. The input audio data may include multiple frames over time. Server 102 is programmed to subsequently process the input audio data, which typically corresponds to a mixture of speech and noise, to estimate how much speech is present (or detect the amount of speech) in each frame of the input audio data. The server is further programmed to mitigate potential speech oversuppression while estimating how much speech is present. The server is programmed to send the final detection result to another device for downstream processing. The server may also be programmed to update the input audio data based on the final detection result estimate to produce cleaned output audio data that is expected to contain less noise than the input audio data, and to send the output audio data to one or more output devices.
[0047] 3. Example Computer Components
[0048] Figure 2The illustration shows example components of an audio management computer system according to the disclosed embodiments. The figures are for illustrative purposes only, and server 102 may include fewer or more functional components or storage components. Each functional component may be implemented as a software component, a general-purpose or special-purpose hardware component, a firmware component, or any combination thereof. Each functional component may also be coupled to one or more storage components (not shown). The storage components may be implemented using any of a relational database, an object database, a flat file system, or a JavaScript Object Notation (JSON) store. The storage components may be locally connected or connected to the functional components via a network using programming calls, Remote Procedure Call (RPC) facilities, or a message bus. Components may or may not be independent. Depending on implementation-specific or other considerations, components may be functionally or physically centralized or distributed.
[0049] In some embodiments, server 102 includes machine learning model training instructions 202, machine learning model execution instructions 206, post-execution processing instructions 208, and communication interface instructions 210. Server 102 also includes database 220.
[0050] In some embodiments, machine learning model training instructions 202 are capable of training a machine learning model for detecting speech and other non-noise signals. The machine learning model may include various neural networks or other classification models. Training may include extracting features from training audio data, optionally feeding given or extracted features along with the expected model output to a training framework to train the machine learning model, and storing the trained machine learning model. The expected model output of the first machine learning model may indicate the amount of speech present in each given audio segment. The training framework may include an objective function designed to mitigate excessive speech suppression. The expected model output of the second machine learning model may indicate whether each given audio segment corresponds to laughter or applause.
[0051] In some embodiments, the machine learning model execution instruction 206 is capable of executing a machine learning model to detect speech or other non-noise signals. The execution may include extracting features from a new audio segment, feeding the extracted features into a trained machine learning model, and obtaining a new output by executing the trained machine learning model. For a first machine learning model, the new output may indicate the amount of speech in the new audio segment. For a second machine learning model, the new output may indicate whether the new audio segment corresponds to laughter or applause.
[0052] In some embodiments, post-processing instruction 208 enables additional processing to determine whether and how to adjust the new output generated by the first machine learning model, which may be in the form of a mask indicating the amount present in the new audio segment. The additional processing may include masking values that ignore or disable those portions of the new audio segment that are considered to correspond to laughter or applause based on the new output generated by the second machine learning model. The additional processing may also include updating masking values corresponding to abrupt speech decay.
[0053] In some embodiments, the communication interface instruction 210 enables communication with other systems or devices via a computer network. Communication may include receiving audio data or a trained machine learning model from an audio source or other system. Communication may also include transmitting the results of speech detection or enhancement to other processing devices or output devices.
[0054] In some embodiments, database 220 is programmed or configured to manage the storage and access of related data, such as received audio data, digital models, features extracted from the received audio data, or the results of executing digital models.
[0055] 4. Function Description
[0056] 4.1. Model Training for Speech Enhancement
[0057] 4.1.1. Feature Extraction
[0058] In some embodiments, server 102 receives a training dataset of audio segments in the time domain. Each audio segment includes waveforms over multiple frames and can be converted into a joint time-frequency (TF) representation using spectral transforms such as Short-Term Fourier Transform (STFT), Shift-Modified Discrete Fourier Transform (MDFT), or Complex Quadratic Mirror Filter (CQMF)). The joint TF representation covers multiple frames and multiple frequency bins.
[0059] In some embodiments, server 102 converts the TF representation into a band energy vector of, for example, 56 perceptually excited frequency bands. Each perceptually excited frequency band typically lies in a frequency domain that matches how the human ear processes speech, such as from 120 Hz to 2,000 Hz, so capturing data in these perceptually excited frequency bands means no loss of speech quality for the human ear. More specifically, the squared magnitudes of the output frequency bins of the spectral transform are grouped into perceptually excited frequency bands, where the number of frequency bins in each band increases at higher frequencies. The grouping strategy can be “soft” if some spectral energy leaks across adjacent frequency bands, or “hard” if there is no leakage across frequency bands. Specifically, when the bin energy of a noise frame is represented by a column vector x of size p x 1 (where p represents the number of bins), the conversion to a band energy vector can be performed by calculating y = W * x, where y is a column vector of size q x 1 representing the band energy of the noise frame, W is a striped matrix of size q x p, and q represents the number of perceptually excited frequency bands.
[0060] In some embodiments, server 102 may then compute the logarithm of each band energy as a feature value for each frame and each frequency band. For each joint TF representation, server 102 can thus obtain an input feature vector comprising feature values from multiple frames and multiple frequency bands.
[0061] In some embodiments, for supervised learning, server 102 computes a prospective mask for each joint TF representation, indicating the amount of speech present in each frame and each frequency band. The mask may be in the form of the logarithm of the ratio of speech energy to the sum of speech energy and noise energy. Server 102 may include the prospective mask in the training dataset.
[0062] 4.1.2. Machine Learning Model
[0063] In some embodiments, server 102 uses a training dataset to construct a machine learning model for speech enhancement. The machine learning model may be an ANN, such as those disclosed in co-pending U.S. Patent Application 63 / 221,629 (LensNet), filed July 14, 2021, or co-pending U.S. Patent Applications 63 / 260,203 and 63 / 260,201 (CGRU). LensNet is a deep noise suppression model, while CGRU is a deep denoising and dereverberation model. The machine learning model is configured to generate an estimated mask for each frame and each frequency band of the joint TF representation, indicating the amount of speech present for each frame and frequency band of the joint TF representation.
[0064] LensNet is a neural network model that acquires the energy corresponding to the original noisy waveform and generates speech values indicating the amount of speech present in each frequency band of each frame. These speech values can be used to suppress noise by reducing the frequency amplitude in frequency bands where speech is unlikely to be present. The neural network model has low latency and can be used for real-time noise suppression. The neural network model includes a feature extraction block that performs some kind of lookahead. Following the feature extraction block is an encoder that performs stable downsampling along the frequency dimension, forming a contraction path. Convolution is performed along the contraction path, where the dilation factor gradually increases along the time dimension. Following the encoder is a corresponding decoder that performs stable upsampling along the frequency dimension, forming an expansion path. The decoder receives scaled output feature maps from the encoder at the corresponding level, such that features extracted from different receptive fields along the frequency dimension can be taken into account when determining how much speech is present in each frequency band at each frame.
[0065] A CGRU comprises convolutional blocks and gated recurrent units (GRUs). The convolutional block contains dilated convolutional layers with increasing dilation rates (e.g., 1, 2, 4, 8, 12, 20), followed by dilated convolutional layers with decreasing dilation rates (e.g., 12, 8, 4, 2, 1), and finally a convolutional layer. As the dilation rate decreases, convolutional layers with the same dilation rate are added or concatenated. The output of the GRU is also concatenated to the convolutional layers with decreasing dilation rates. Convolutional blocks with convolutional layers of different dilation rates allow for learning the characteristics of spectral signals at different resolutions, and the GRU allows for stabilization and smoothing of the output mask.
[0066] 4.1.3. Perceptual Loss Function
[0067] In some embodiments, server 102 trains the machine learning model using appropriate optimization methods known to those skilled in the art. The optimization method is typically iterative in nature and minimizes a loss (or cost) function that measures the error between the current estimate and the ground truth. For an ANN, the optimization method could be stochastic gradient descent, where an error backpropagation algorithm is used to update the weights.
[0068] Traditionally, objective functions or loss functions (such as mean squared error (MSE)) do not accurately reflect human auditory perception. Processed speech segments with low MSE do not necessarily possess high speech quality and intelligibility. Specifically, objective functions do not distinguish between negative detection errors (false negatives, excessive speech suppression) and positive detection errors (false positives, insufficient speech suppression), even though excessive speech suppression may produce a greater perceptual effect than insufficient speech suppression and is typically treated differently in speech enhancement applications.
[0069] Speech oversuppression can be more damaging to speech quality or intelligibility than insufficient speech suppression. Speech oversuppression occurs when the predicted (estimated) mask value is less than the ground fact mask value, because the predicted speech is less than the ground fact, and therefore more speech is suppressed than necessary.
[0070] In some embodiments, a perceptual cost function that discourages excessive speech suppression is used to train the machine learning model in the optimization method. The perceptual cost function is non-linear and asymmetrically penalizes both excessive and insufficient speech suppression. Specifically, the cost function assigns more penalty to negative differences between the predicted mask value and the ground truth mask value, and less penalty to positive differences. Experimental evaluations of CGRU and LensNet show that, for example, the perceptual loss function outperforms MSE in reducing excessive suppression of high-frequency fricatives and low-level filler pauses (such as “um” and “uh”).
[0071] In some embodiments, the perceptual loss function Loss is defined as follows:
[0072] diff = y target p -y predicted p (1)
[0073] Loss = m diff -diff-1 (2),
[0074] Among them, y target It is the target (basic fact) mask value for frames and frequency bands, y predicted This refers to the prediction mask values for frames and frequency bands, where m is an adjustment parameter that controls the shape of the asymmetric penalty, and p is a power-law term or scaling exponent. For example, m can be 2.6, 2.65, 2.7, etc., and p can be 0.5, 0.6, 0.7, etc. Since y predicted or y target Less than one, therefore, fractions of p that are not too small (e.g., greater than 0.5) are often related to y. predicted or y target Amplify y more than larger values predicted The smaller value of p. This fraction of p often further makes y target p With y predicted The difference between p is greater than y target With y predicted The difference between them. predicted The smaller value may be a result of starting with a noisy frame, which corresponds to y target The smaller the value, and the more excessive the suppression, the more y will become. predicted Even smaller values. When y targetWith y predicted The difference between them is appropriately amplified to y target p With y predicted p When the difference between the parameters is large (using too small a value for p may lead to excessive amplification), this speech oversuppression is penalized more. Therefore, power-law terms may be particularly helpful in improving speech oversuppression in the difficult case of noisy frames. This inherent focus on difficult cases also leads to the possibility of using smaller machine learning models with fewer parameters. The total loss corresponding to the audio signal across multiple frequency bands and multiple frames can be calculated as the sum or average of the loss values across multiple frequency bands and multiple frames.
[0075] Figure 3 The diagram illustrates the relationship between the dependent and independent variables in the perceptual loss function defined by equations (1) and (2). Loss corresponds to the y-axis at 304, and diff corresponds to the x-axis at 302. When diff equals 0, the target mask value equals the predicted mask value, indicating no speech suppression. In this case, Loss has a minimum value of 0. When diff is negative, as at point 310, the target mask value is less than the predicted mask value, indicating insufficient speech suppression. When diff is positive, as at point 308, the target mask value is greater than the predicted mask value, indicating excessive speech suppression. Figure 3 As shown, the loss decreases faster when the diff changes from 0 to a positive value compared to when the diff changes from 0 to a negative value. With this perceptual loss function, gradient descent-based optimization methods are expected to decrease rapidly from positive diff values, thereby avoiding excessive speech suppression.
[0076] In some embodiments, the perceptual loss function Loss is based on MSE, as follows:
[0077] diff = y target p -y predicted p (5)
[0078] w = m diff -diff-1 (4)
[0079] Loss = w * diff 2 (5),
[0080] With MSE, positive and negative diff values are penalized the same, so the penalty for a negative diff value indicating oversuppression is no greater than the penalty for a positive diff value indicating undersuppression. For Loss as defined by Equation (5), significant undersuppression corresponding to a predicted mask value much lower than the target mask value is now expressed by w (corresponding to a large weight) and by diff.2 (The corresponding large error) was penalized multiple times.
[0081] The proposed perceptual loss function can be used in any machine learning model configured to perform time-frequency masking for speech detection or enhancement. The specific purpose of the machine learning model can be noise reduction, echo suppression, speech dereverberation, or joint noise and reverberation management. For deep learning models, such a perceptual loss function is generally used during the model training phase. For other machine learning models, such a perceptual loss function can be used during the model execution phase.
[0082] 4.2. Model Training for Laughter and Applause Detection
[0083] Applause and laughter are common during meetings, providing important emotional cues. However, many deep learning-based speech enhancement systems suffer from excessive suppression of this non-noise signal.
[0084] In some embodiments, server 102 uses machine learning techniques to detect laughter and applause. Server 102 may begin with a training dataset of feature vectors or a training dataset of audio signals from which feature vectors are computed. The feature vectors represent different amounts of laughter or applause in some frames, where laughter or applause is typically the dominant audio in certain frequency bands. Server 102 may compute the feature vectors using signal processing methods. Features that help identify laughter or applause include Mel-frequency cepstral coefficients (MFCCs) or Delta Mel-frequency cepstral coefficients applied to the frequency-domain audio data (which can be derived from the initial time-domain). These features also include amplitude modulation spectrum (AMS), pitch, or rhythm applied to the time-domain audio data. All these feature values computed for each frequency band or each frame of the audio signal can be combined into a feature vector. The training dataset may also include classification labels for each audio signal, indicating whether the audio signal corresponds to laughter or applause. Alternatively, each audio signal can be similarly converted into a joint time-frequency representation over multiple frequency bands and multiple frames, with time-based features available for all frequency bands and frequency-based features available for all frames, and the training dataset can include classification labels for each frequency band and each frame.
[0085] In some embodiments, server 102 may use an appropriate training algorithm based on a training dataset to construct a machine learning model for classifying audio signals as laughter, applause, or other situations. The machine learning model may be an adaptive boosting algorithm, support vector machine (SVM), random forest, Gaussian mixture model (GMM), deep neural network (DNN), or other classification methods known to those skilled in the art.
[0086] 4.3. Model Execution for Speech Enhancement
[0087] In some embodiments, server 102 receives a new audio signal having one or more frames in the time domain. Server 102 then applies the machine learning methods discussed in Section 4.1 to the new audio signal to generate a prediction mask that indicates the amount of speech present in each frame and each frequency band in the corresponding TF representation. The application includes converting the new audio signal into a joint TF representation that initially covers multiple frames and multiple frequency bands.
[0088] In some embodiments, server 102 further generates an improved audio signal for the new audio signal based on the prediction mask. This step can also be performed after adjusting the prediction mask in the post-processing stage, as discussed further in Section 4.4. Given a band mask of y (obtained by applying the machine learning methods discussed in Section 4.1) as a column vector m_band of size q x 1, where y is a column vector of size q x 1 representing the band energy of the original noise frame, and q represents the number of perceptually excited bands, a conversion to a bin mask can be performed by calculating m_bin = W_transpose * m_band, where m_bin is a column vector of size p x 1, p represents the number of bins, and W_transpose of size p x q is the transpose of a striped matrix W of size q x p.
[0089] In some embodiments, server 102 may multiply the original frequency bin amplitude in the joint TF representation by a bin mask value to produce masking or noise reduction and obtain an estimated clean spectrum. Server 102 may further use any method known to those skilled in the art (such as inverse CQMF) to convert the estimated clean spectrum back into a waveform as an enhanced waveform (relative to the noise waveform), which may be transmitted via an output device.
[0090] 4.4. Post-processing of time-frequency masking
[0091] In some embodiments, server 102 adjusts the prediction mask output from the machine learning model used for speech detection or enhancement during the post-processing stage to further reduce excessive suppression of non-noise signals.
[0092] In some embodiments, server 102 applies the machine learning methods discussed in Section 4.2 individually to the new audio signal to determine whether the new audio signal as a whole or at specific frequency bands and frames contains laughter or applause. In response to an affirmative determination, server 102 may ignore the predicted mask for the audio signal or the specific frequency band and frame, or set the predicted mask to indicate the complete speech to avoid suppressing laughter or applause. Server 102 may also perform smoothing or additional processing on the resulting mask such that the final mask produces audio that sounds as natural as possible.
[0093] As described above, excessive speech suppression can lead to speech distortion or even discontinuity. For example, when excessive speech suppression occurs, the speech may decay abruptly and sound unnatural, which can be problematic, especially in the presence of non-stationary noise or low SNR. In some embodiments, server 102 can use a mask to apply an existing speech activity detection algorithm to identify speech decay periods where the speech decays, or simply examine the mask in the time domain to identify speech decay periods where the mask value decreases overall. Such speech decay periods typically correspond to the speech-to-noise transition at the end of a talk-spurt. Server 102 can then specifically calculate mask decay for this speech decay period to determine if the mask causes any discontinuities or abrupt changes in the amount of speech within the speech decay period. For example, the logarithmic energy difference between adjacent frames can be calculated, and differences greater than a threshold (e.g., 30 dB or 40 dB) can be considered abrupt changes. In response to any detected discontinuity or abrupt change, server 102 can adjust the prediction mask so that the mask attenuation matches the typical voice attenuation rate of a small room, such as a 200ms reverberation time (the time required for a 60dB sound attenuation, sometimes abbreviated as T60 or RT60). The mask value can be adjusted using interpolation, smoothing, recursive averaging, or a combination of similar techniques.
[0094] 5. Example Process
[0095] Figure 4 The illustration shows example processes performed by an audio management computer system according to some embodiments described herein. Figure 4 The examples are shown in a simplified, illustrative format for clarity, and other embodiments may include more, fewer, or different elements connected in various ways. Figure 4 Each aims to disclose an algorithm, plan, or outline that can be used to implement one or more computer programs or other software elements, which, when executed, enable the functional improvements and technological advancements described herein. Furthermore, the flowcharts herein are described with the same level of detail as those typically used by those skilled in the art to communicate with each other regarding the algorithms, plans, or specifications that form the basis of software programs they intend to write or implement using their accumulated technology or knowledge.
[0096] In step 402, server 102 is programmed to receive audio data as a joint time-frequency representation over multiple frames and multiple frequency bands.
[0097] In some embodiments, server 102 is programmed to receive a time-domain input waveform. Server 102 is programmed to transform the input waveform into raw audio data over multiple frequency bands and multiple frames. Server 102 is then programmed to convert the raw audio data into audio data by grouping the multiple frequency bands into multiple frequency zones.
[0098] In some embodiments, the joint time-frequency representation has an energy value for each time frame and each frequency band. The server 102 is also programmed to calculate the logarithm of each energy value in the joint time-frequency representation as a feature among these features.
[0099] In step 404, server 102 is programmed to execute a digital model for speech detection on features of the audio data. The digital model is trained using a loss function with a non-linear penalty that penalizes excessive speech suppression more than insufficient speech suppression, and the digital model is configured to produce a mask with estimated mask values indicating the amount of speech present for each of the plurality of frames and each of the plurality of frequency bands.
[0100] In some embodiments, the digital model is an ANN, comprising a DNN trained using a training dataset of joint time-frequency representations of different mixtures of speech and non-speech data. In some embodiments, the loss function is m diff -diff-1, where diff represents the difference between the power of the target mask value and the power of the estimated mask value in the estimated mask value, and m represents the adjustment parameter. In other embodiments, the loss function is w*diff. 2 Where w = m diff -diff-1, where diff represents the difference between the power of the target mask value and the power of the estimated mask value in the estimated mask value, and m represents the adjustment parameter.
[0101] In some embodiments, server 102 is programmed to calculate mask attenuation of the mask and determine whether the mask attenuation corresponds to a decay amount exceeding a threshold. In response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold, server 102 is programmed to adjust the mask such that the mask attenuation matches a predetermined voice attenuation rate. The predetermined voice attenuation rate may be 200m. s Reverberation time.
[0102] In step 406, server 102 is programmed to transmit information about the mask to the device.
[0103] In some embodiments, server 102 is programmed to determine whether audio data corresponds to laughter or applause. Specifically, server 102 is programmed to calculate derived features of the audio data in the time and frequency domains and execute a second digital model to classify the audio data as laughter, applause, or other cases based on the derived features. In response to determining that the audio data corresponds to laughter or applause, server 102 is programmed to further transmit an alarm to ignore the mask.
[0104] In some embodiments, server 102 is programmed to perform inverse striping on the estimated mask values to generate updated mask values for each of a plurality of frequency bins and each of a plurality of frames. Server 102 is programmed to apply the updated mask values to the original audio data to generate new output data. Server 102 is then programmed to transform the new output data into an enhanced waveform.
[0105] 6. Hardware Implementation
[0106] According to one embodiment, the techniques described herein are implemented by at least one computing device. These techniques can be implemented, in whole or in part, using a combination of at least one server computer and / or other computing devices coupled via a network (such as a packet data network). The computing device may be hardwired to perform these techniques, or may include digital electronic devices such as at least one application-specific integrated circuit (ASIC) or field-programmable gate array (FPGA) persistently programmed to perform these techniques, or may include at least one general-purpose hardware processor programmed to perform these techniques according to program instructions in firmware, memory, other storage devices, or combinations thereof. Such a computing device may also combine custom hardwired logic, ASICs, or FPGAs with custom programming to implement these described techniques. The computing device may be a server computer, workstation, personal computer, portable computer system, handheld device, mobile computing device, wearable device, body-installed or implantable device, smartphone, smart appliance, network-connected device, autonomous or semi-autonomous device such as a robot or unmanned ground or air vehicle, any other electronic device incorporating hardwired and / or program logic to implement the described techniques, one or more virtual computing machines or instances in a data center, and / or a network of server computers and / or personal computers.
[0107] Various aspects of the disclosed embodiments can be understood from the following enumerated example embodiments (EEE):
[0108] EEE 1. A computer-implemented method for mitigating excessive speech suppression, the method comprising: receiving, by a processor, audio data as a joint time-frequency representation over a plurality of frames and a plurality of frequency bands; executing, on features of the audio data, a digital model for detecting speech, the digital model being trained using a loss function with a non-linear penalty that penalizes excessive speech suppression more than it penalizes insufficient speech suppression, the digital model being configured to produce a mask of estimated mask values indicating the amount of speech present for each of the plurality of frames and each of the plurality of frequency bands; and transmitting information about the mask to a device.
[0109] EEE 2. The computer-implemented method as claimed in claim 1, wherein the loss function is m diff -diff-1, where diff represents the difference between the target mask value with a power-law term and the estimated mask value in the estimated mask value with a power-law term, and m represents the adjustment parameter.
[0110] EEE 3. The computer-implemented method as described in claim 1, wherein the loss function is w*diff 2 And where w = m diff -diff-1, where diff represents the difference between the power of the target mask value and the power of the estimated mask value in the estimated mask value, and m represents the adjustment parameter.
[0111] EEE 4. The computer-implemented method of any one of claims 1 to 3, wherein the joint time-frequency representation has an energy value for each time frame and each frequency band, the method further comprising calculating the logarithm of each energy value in the joint time-frequency representation as a feature of the features.
[0112] EEE 5. The computer-implemented method of any one of claims 1 to 4, wherein the digital model is an artificial neural network trained using a training dataset of joint time-frequency representations of different mixtures of speech and non-speech.
[0113] EEE 6. The computer-implemented method of any one of claims 1 to 5, further comprising: determining whether the audio data corresponds to laughter or applause; and in response to determining that the audio data corresponds to laughter or applause, further transmitting an alarm to ignore the mask.
[0114] EEE 7. The computer-implemented method of any one of claims 1 to 6, comprising calculating derivational features of the audio data in the time and frequency domains; and performing a second digital model to classify the audio data as laughter or applause or other occurrences based on the derivational features.
[0115] EEE 8. The computer-implemented method of any one of claims 1 to 7, further comprising: calculating a mask attenuation of the mask; determining whether the mask attenuation corresponds to a decay amount exceeding a threshold; and adjusting the mask in response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold such that the mask attenuation matches a predetermined voice attenuation rate.
[0116] EEE 9. The computer-implemented method of claim 8, wherein the predetermined voice attenuation rate is a reverberation time of 200 ms.
[0117] EEE 10. The computer-implemented method of any one of claims 1 to 9, further comprising: receiving a time-domain input waveform; transforming the input waveform into a plurality of frequency blocks and raw audio data on the plurality of frames; and converting the raw audio data into audio data by grouping the plurality of frequency blocks into the plurality of frequency bands.
[0118] EEE 11. The computer-implemented method of claim 10, further comprising: performing inverse striping on the estimated mask value to generate an updated mask value for each of the plurality of frequency bins and each of the plurality of frames; applying the updated mask value to the original audio data to generate new output data; and transforming the new output data into an enhanced waveform.
[0119] EEE 12. A system for mitigating excessive speech suppression, the system comprising: a memory; and one or more processors coupled to the memory and configured to perform the following operations: receiving audio data as a joint time-frequency representation over a plurality of frames and a plurality of frequency bands; executing a digital model for detecting speech on features of the audio data, the digital model being trained using a loss function with a non-linear penalty that penalizes excessive speech suppression more than it penalizes insufficient speech suppression, the digital model being configured to generate a mask of estimated mask values indicating the amount of speech present for each of the plurality of frames and each of the plurality of frequency bands; and transmitting information about the mask to a device.
[0120] EE 13. A computer-readable non-transitory storage medium storing computer-executable instructions that, when executed, implement a method for mitigating excessive speech suppression, the method comprising: receiving, by a processor, a training dataset of multiple joint time-frequency representations; creating a digital model for detecting speech from the training dataset using a loss function having a non-linear penalty, the loss function penalizing excessive speech suppression more than penalizing insufficient speech suppression, the digital model being configured to generate a mask for audio data across multiple frequency bands and multiple frames, the mask including an estimated mask value indicating the amount of speech detected in each of the multiple frequency bands at each of the multiple frames; receiving new audio data; executing the digital model for detecting speech on features of the new audio data to obtain a new mask; and transmitting information about the new mask to a device.
[0121] EE 14. The computer-readable non-transitory storage medium of claim 13, wherein the loss function is m diff -diff-1, where diff represents the difference between the power of the target mask value and the power of the estimated mask value in the estimated mask value, and m represents the adjustment parameter.
[0122] EE 15. The computer-readable non-transitory storage medium of claim 13, wherein the loss function is w*diff 2 And where w = m diff -diff-1, where diff represents the difference between the power of the target mask value and the power of the estimated mask value in the estimated mask value, and m represents the adjustment parameter.
[0123] EE 16. The computer-readable non-transitory storage medium of any one of claims 13 to 15, the method further comprising: determining whether the audio data corresponds to laughter or applause; and in response to determining that the audio data corresponds to laughter or applause, further transmitting an alarm to ignore the mask.
[0124] EEE 17. The computer-readable non-transitory storage medium of any one of claims 13 to 16, the method further comprising: calculating derivational features of the audio data in the time and frequency domains; and performing a second digital model to classify the audio data as laughter or applause or other occurrences based on the derivational features.
[0125] EEE 18. The computer-readable non-transitory storage medium of any one of claims 13 to 17, the method further comprising: calculating a mask attenuation of the mask; determining whether the mask attenuation corresponds to a decay amount exceeding a threshold; and adjusting the mask in response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold such that the mask attenuation matches a predetermined voice attenuation rate.
[0126] EE 19. The computer-readable non-transitory storage medium of any one of claims 13-18, the method further comprising: receiving a time-domain input waveform; transforming the input waveform into a plurality of frequency blocks and raw audio data on the plurality of frames; and converting the raw audio data into audio data by grouping the plurality of frequency blocks into the plurality of frequency bands.
[0127] EE 20. The computer-readable non-transitory storage medium of claim 19, the method further comprising: performing inverse striping on the estimated mask value to generate an updated mask value for each of the plurality of frequency bins and each of the plurality of frames; applying the updated mask value to the original audio data to generate new output data; and transforming the new output data into an enhanced waveform.
[0128] Figure 5 This is a block diagram illustrating an example computer system that can be used to implement embodiments. Figure 5 In the example, the computer system 500 and the instructions for implementing the disclosed technology in hardware, software or a combination of hardware and software are schematically represented, for example, by boxes and circles, with the same level of detail as commonly used by those skilled in the art to which this disclosure pertains in communicating computer architecture and computer system implementations.
[0129] Computer system 500 includes an input / output (I / O) subsystem 502, which may include a bus and / or other communication mechanisms for transmitting information and / or instructions between components of computer system 500 via electronic signal paths. I / O subsystem 502 may include an I / O controller, a memory controller, and at least one I / O port. Electronic signal paths are schematically represented in the figures as, for example, lines, unidirectional arrows, or bidirectional arrows.
[0130] At least one hardware processor 504 is coupled to an I / O subsystem 502 for processing information and instructions. The hardware processor 504 may include, for example, a general-purpose microprocessor or microcontroller and / or a dedicated microprocessor such as an embedded system, graphics processing unit (GPU), digital signal processor, or ARM processor. The processor 504 may include an integrated arithmetic logic unit (ALU) or may be coupled to a separate ALU.
[0131] Computer system 500 includes one or more units of memory 506, such as main memory, coupled to I / O subsystem 502 to electronically and digitally store data and instructions to be executed by processor 504. Memory 506 may include volatile memory (such as various forms of random access memory (RAM)) or other dynamic storage devices. Memory 506 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by processor 504. When stored in a non-transitory computer-readable storage medium accessible to processor 504, such instructions can transform computer system 500 into a dedicated machine customized to perform the operations specified in the instructions.
[0132] Computer system 500 further includes non-volatile memory (such as read-only memory (ROM) 508) or other static storage devices coupled to I / O subsystem 502 to store information and instructions of processor 504. ROM 508 may include various forms of programmable ROM (PROM) such as erasable PROM (EPROM) or electrically erasable PROM (EEPROM). Persistent storage unit 510 may include various forms of non-volatile RAM (NVRAM) such as flash memory or solid-state storage devices, magnetic disks or optical disks (such as CD-ROM or DVD-ROM), and may be coupled to I / O subsystem 502 for storing information and instructions. Storage device 510 is an example of a non-transitory computer-readable medium that can be used to store instructions and data that, when executed by processor 504, are used in computer-implemented methods that perform the techniques described herein.
[0133] Instructions in memory 506, ROM 508, or storage device 510 may include one or more sets of instructions organized as modules, methods, objects, functions, routines, or calls. Instructions may be organized as one or more computer programs, operating system services, or application programs including mobile applications. Instructions may include operating system and / or system software; one or more libraries supporting multimedia, programming, or other functions; data protocol instructions or stacks for implementing TCP / IP, HTTP, or other communication protocols; file processing instructions for interpreting and rendering files encoded using HTML, XML, JPEG, MPEG, or PNG; user interface instructions for rendering or interpreting commands for graphical user interfaces (GUIs), command-line interfaces, or text user interfaces; and application software such as office suites, internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games, or other applications. These instructions may implement web servers, web application servers, or web clients. Instructions may be organized as a presentation layer, an application layer, and a data storage layer such as a relational database system using Structured Query Language (SQL) or NoSQL, object storage, graphical databases, flat file systems, or other data storage.
[0134] Computer system 500 may be coupled to at least one output device 512 via I / O subsystem 502. In one embodiment, output device 512 is a digital computer display. Examples of displays that may be used in various embodiments include touch screen displays, light-emitting diode (LED) displays, liquid crystal displays (LCDs), or electronic paper displays. Computer system 500 may include other types of output devices 512 as alternatives to or supplements to the display device. Examples of other output devices 512 include printers, ticket printers, plotters, projectors, sound cards or video cards, speakers, buzzers or piezoelectric devices or other audible devices, lamps or LED or LCD indicators, haptic devices, actuators, or servers.
[0135] At least one input device 514 is coupled to the I / O subsystem 502 for transmitting signals, data, command selections, or gestures to the processor 504. Examples of input devices 514 include touchscreens, microphones, still and video digital cameras, alphanumeric keys and other keys, keypads, keyboards, graphics tablets, image scanners, joysticks, clocks, switches, buttons, dials, sliders, and / or various types of sensors such as force sensors, motion sensors, thermal sensors, accelerometers, gyroscopes, and inertial measurement unit (IMU) sensors, and / or various types of transceivers such as wireless (e.g., cellular or Wi-Fi) transceivers, radio frequency (RF) transceivers or infrared (IR) transceivers, and global positioning system (GPS) transceivers.
[0136] Another type of input device is a control device 516, which can perform cursor control or other automatic control functions, such as navigation in a graphical interface on the display screen, as an alternative to or supplement to the input function. Control device 516 can be a touchpad, mouse, trackball, or cursor arrow keys to transmit directional information and command selections to processor 504 and to control cursor movement on display 512. The input device may have at least two degrees of freedom on two axes (a first axis (e.g., x-axis) and a second axis (e.g., y-axis)), allowing the device to specify orientation in a plane. Another type of input device is a wired control device, a wireless control device, or an optical control device, such as a joystick, stick, console, steering wheel, pedals, gear shift mechanism, or other types of control devices. Input device 514 may include a combination of multiple different input devices, such as a camera and a depth sensor.
[0137] In another embodiment, computer system 500 may include Internet of Things (IoT) devices, wherein one or more of output device 512, input device 514, and control device 516 are omitted. Alternatively, in such an embodiment, input device 514 may include one or more cameras, motion detectors, thermometers, microphones, seismic detectors, other sensors or detectors, measuring devices, or encoders, and output device 512 may include dedicated displays such as single-line LED or LCD displays, one or more indicators, display panels, instruments, valves, solenoids, actuators, or servers.
[0138] When computer system 500 is a mobile computing device, input device 514 may include a Global Positioning System (GPS) receiver coupled to a GPS module capable of triangulating multiple GPS satellites, determining, and generating geographic location or location data, such as the latitude-longitude values of the geophysical location of computer system 500. Output device 512 may include hardware, software, firmware, and interfaces for generating, alone or in combination with other application-specific data, location report packets, notifications, pulse or heartbeat signals, or other repetitive data transmissions specifying the location of computer system 500, pointing to host 524 or server 530.
[0139] Computer system 500 may implement the techniques described herein using custom hardwired logic, at least one ASIC or FPGA, firmware, and / or program instructions or logic, which, when loaded and used or executed, combine with the computer system to enable the computer system to operate as a dedicated machine. According to one embodiment, computer system 500 executes the techniques herein in response to processor 504 executing at least one sequence of at least one instruction contained in main memory 506. Such instructions may be read into main memory 506 from another storage medium (such as storage device 510). Execution of the instruction sequence contained in main memory 506 causes processor 504 to perform the process steps described herein. In alternative embodiments, hardwired circuitry may be used instead of or in combination with software instructions.
[0140] As used herein, the term "storage medium" refers to any non-transitory medium that stores data and / or instructions that enable a machine to operate in a particular manner. Such storage media can include non-volatile media and / or volatile media. Non-volatile media include, for example, optical discs or magnetic disks, such as storage device 510. Volatile media include dynamic memory, such as memory 506. Common forms of storage media include, for example, hard disks, solid-state drives, flash drives, magnetic data storage media, any optical data storage media or physical data storage media, memory chips, etc.
[0141] Storage media differ from transmission media but can be used in conjunction with them. Transmission media participate in the transfer of information between storage media. For example, transmission media include coaxial cables, copper wires, and optical fibers, including the conductors of bus 502 containing the I / O subsystem. Transmission media can also take the form of sound waves or light waves, such as those generated during radio wave and infrared data communication.
[0142] Various forms of media can involve loading at least one sequence of at least one instruction to processor 504 for execution. For example, the instructions may initially be carried on a disk or solid-state drive of a remote computer. The remote computer may load the instructions into its dynamic memory and transmit these instructions using a modem via a communication link such as fiber optic or coaxial cable or telephone line. A modem or router local to computer system 500 may receive data on the communication link and convert the data for computer system 500 to read. For example, a receiver such as a radio frequency antenna or infrared detector may receive data carried in a wireless or optical signal, and appropriate circuitry may provide the data to I / O subsystem 502, such as by placing the data on a bus. I / O subsystem 502 carries the data to memory 506, from which processor 504 retrieves and executes the instructions. The instructions received by memory 506 may optionally be stored on storage device 510 before or after execution by processor 504.
[0143] Computer system 500 also includes a communication interface 518 coupled to bus 502. Communication interface 518 provides bidirectional data communication coupling to network links(s)(s)(s), which(s)(s)) are directly or indirectly connected to at least one communication network, such as network 522 or a public or private cloud on the Internet. For example, communication interface 518 may be an Ethernet network interface, an Integrated Services Digital Network (ISDN) card, a cable modem, a satellite modem, or a modem to provide data communication connectivity to a corresponding type of communication line (e.g., Ethernet cable or any kind of metal cable or fiber optic cable or telephone line). Network 522 broadly represents a local area network (LAN), a wide area network (WAN), a campus network, the Internet, or any combination thereof. Communication interface 518 may include a LAN card providing data communication connectivity to a LAN-compatible network, or a cellular wireless telephone interface for wired transmission or reception of cellular data according to a cellular wireless telephone network standard, or a satellite radio interface for wired transmission or reception of digital data according to a satellite wireless network standard. In any such implementation, the communication interface 518 transmits and receives electrical, electromagnetic, or optical signals carrying digital data streams representing various types of information via a signal path.
[0144] Network link 520 typically uses technologies such as satellite, cellular, Wi-Fi, or Bluetooth to provide electrical, electromagnetic, or optical data communication directly or via at least one network to other data devices. For example, network link 520 can provide a connection to host computer 524 via network 522.
[0145] Furthermore, network link 520 can provide connections from internet devices and / or computers operated via network 522 or through internet service provider (ISP) 526 to other computing devices. ISP 526 provides data communication services through a worldwide packet data communication network (represented as the Internet 528). Server computer 530 may be coupled to the Internet 528. Server 530 broadly represents any computer, data center, virtual machine or virtual computing instance with or without a hypervisor, or computer running containerized programs such as DOCKER or KUBERNETES. Server 530 may represent electronic digital services implemented using more than one computer or instance and accessed and used by transmitting web service requests, Uniform Resource Locator (URL) strings with parameters in the form of HTTP payloads, Application Programming Interface (API) calls, Application Service calls, or other service calls. Computer system 500 and server 530 may form elements of a distributed computing system that includes other computers, processing clusters, server groups, or other computer organizations that collaborate to perform tasks or execute applications or services. Server 530 may include one or more sets of instructions organized as modules, methods, objects, functions, routines, or calls. Instructions may be organized as one or more computer programs, operating system services, or applications including mobile applications. Instructions may include operating system and / or system software; one or more libraries supporting multimedia, programming, or other functions; data protocol instructions or stacks for implementing TCP / IP, HTTP, or other communication protocols; file format processing instructions for interpreting or rendering files encoded using HTML, XML, JPEG, MPEG, or PNG; user interface instructions for rendering or interpreting commands for graphical user interfaces (GUIs), command-line interfaces, or text user interfaces; and application software such as office suites, internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games, or other applications. Server 530 may include a web application server hosting a presentation layer, an application layer, and a data storage layer such as a relational database system using Structured Query Language (SQL) or NoSQL, object storage, graph database, flat file system, or other data storage.
[0146] Computer system 500 can send and receive messages and instructions, including program code, via networks(multiple), network links(520), and communication interface(518). In the Internet example, server 530 can transmit application request code via the Internet(s), ISP(s), local network(s), and communication interface(518). Received code can be executed by processor 504 upon receipt and / or stored in storage device 510 or other non-volatile storage device for later execution.
[0147] The execution of the instructions described in this section can be implemented as a process, which is an instance of a computer program being executed and consisting of program code and its current activity. Depending on the operating system (OS), a process can consist of multiple execution threads executing instructions concurrently. In this context, the computer program is a passive collection of instructions, while the process can be the actual execution of those instructions. Several processes can be associated with the same program; for example, opening several instances of the same program typically means executing more than one process. Multitasking can be implemented to allow multiple processes to share processor 504. While each processor 504 or processor core executes a single task at a time, the computer system 500 can be programmed to implement multitasking to allow each processor to switch between executed tasks without waiting for each task to complete. In embodiments, switching can occur while a task is performing an input / output operation, when a task indicates it can be switched, or when a hardware interrupt occurs. Time-sharing can be implemented to allow for rapid response in interactive user applications by rapidly performing context switching to allow multiple processes to execute concurrently. In embodiments, for security and reliability, the operating system can prevent direct communication between independent processes, providing strictly mediated and controlled inter-process communication functionality.
[0148] 7. Extensions and Alternatives
[0149] In the foregoing description, numerous specific details have been described with reference to embodiments of this disclosure, which may vary depending on the implementation. Therefore, this specification and drawings should be viewed in an illustrative rather than restrictive sense. The sole and exclusive indication of the scope of this disclosure and the applicant's inventive intent within its scope is the specific form of the claims published in this application, including any subsequent modifications.
Claims
1. A computer-implemented method for mitigating excessive speech suppression, comprising: The processor receives audio data as a joint time-frequency representation across multiple frames and frequency bands; A digital model for speech detection is executed on the features of the audio data. The digital model is trained using a loss function with a non-linear penalty, which penalizes excessive speech suppression more than insufficient speech suppression. The digital model is configured to generate a mask with estimated mask values indicating the amount of speech present for each of the plurality of frames and each of the plurality of frequency bands; as well as Transmit the information about the mask to the device. Wherein, the loss function is Or the loss function is ,and in, 'diff' represents the difference between the power-law term of the target mask value and the power-law term of the estimated mask value, and m This represents the adjustment parameter used to control the shape of the asymmetric penalty.
2. The computer-implemented method as described in claim 1, The joint time-frequency representation has an energy value for each time frame and each frequency band. The method further includes calculating the logarithm of each energy value in the joint time-frequency representation as a feature among the features.
3. The computer-implemented method according to any one of claims 1 to 2, wherein the digital model is an artificial neural network trained using a training dataset of joint time-frequency representations of different mixtures of speech and non-speech.
4. The computer-implemented method according to any one of claims 1 to 2, further comprising: Determine whether the audio data corresponds to laughter or applause; as well as In response to determining that the audio data corresponds to laughter or applause, an alarm is further transmitted to ignore the mask.
5. The computer-implemented method according to any one of claims 1 to 2, further comprising: Calculate the derived characteristics of the audio data in the time and frequency domains; as well as A second digital model is executed to classify the audio data as laughter, applause, or other based on the derived features.
6. The computer-implemented method according to any one of claims 1 to 2, further comprising: Calculate the mask attenuation of the mask; Determine whether the mask decay corresponds to a decay amount exceeding a threshold; as well as In response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold, the mask is adjusted so that the mask attenuation matches a predetermined voice attenuation rate.
7. The computer-implemented method of claim 6, wherein the predetermined voice attenuation rate is a reverberation time of 200 ms.
8. The computer-implemented method according to any one of claims 1 to 2, further comprising: Receive time-domain input waveform; The input waveform is transformed into multiple frequency bands and raw audio data on the multiple frames; as well as The original audio data is converted into audio data by grouping the multiple frequency modules into the multiple frequency bands.
9. The computer-implemented method of claim 8, further comprising: Perform inverse striping on the estimated mask value to generate an updated mask value for each of the plurality of frequency bins and each of the plurality of frames; The updated mask value is applied to the original audio data to generate new output data; as well as The new output data is transformed into an enhanced waveform.
10. A system for mitigating excessive speech suppression, comprising: Memory; as well as One or more processors are coupled to the memory and configured to perform the following operations: The processor receives audio data as a joint time-frequency representation across multiple frames and frequency bands; A digital model for speech detection is executed on the features of the audio data. The digital model is trained using a loss function with a non-linear penalty, which penalizes excessive speech suppression more than insufficient speech suppression. The digital model is configured to generate a mask with estimated mask values indicating the amount of speech present for each of the plurality of frames and each of the plurality of frequency bands; as well as Transmit the information about the mask to the device. Wherein, the loss function is Or the loss function is ,and in, 'diff' represents the difference between the power-law term of the target mask value and the power-law term of the estimated mask value, and m This represents the adjustment parameter used to control the shape of the asymmetric penalty.
11. The system as described in claim 10, The joint time-frequency representation has an energy value for each time frame and each frequency band. The one or more processors are further configured to perform: calculating the logarithm of each energy value in the joint time-frequency representation as a feature among the features.
12. The system of any one of claims 10 to 11, wherein the digital model is an artificial neural network trained using a training dataset of joint time-frequency representations of different mixtures of speech and non-speech.
13. The system of any one of claims 10 to 11, wherein the one or more processors are further configured to perform: Determine whether the audio data corresponds to laughter or applause; and In response to determining that the audio data corresponds to laughter or applause, an alarm is further transmitted to ignore the mask.
14. The system of any one of claims 10 to 11, wherein the one or more processors are further configured to perform: Calculate the derived characteristics of the audio data in the time and frequency domains; and A second digital model is executed to classify the audio data as laughter, applause, or other based on the derived features.
15. The system of any one of claims 10 to 11, wherein the one or more processors are further configured to perform: Calculate the mask attenuation of the mask; Determine whether the mask attenuation corresponds to a decay amount exceeding a threshold; and In response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold, the mask is adjusted so that the mask attenuation matches a predetermined voice attenuation rate.
16. The system of claim 15, wherein the predetermined voice attenuation rate is a reverberation time of 200 ms.
17. The system of any one of claims 10 to 11, wherein the one or more processors are further configured to perform: Receive time-domain input waveform; The input waveform is transformed into multiple frequency bands and raw audio data on the multiple frames; and The original audio data is converted into audio data by grouping the multiple frequency modules into the multiple frequency bands.
18. The system of claim 17, wherein the one or more processors are further configured to perform: Perform inverse striping on the estimated mask value to generate an updated mask value for each of the plurality of frequency bins and each of the plurality of frames; The updated mask value is applied to the original audio data to generate new output data; as well as The new output data is transformed into an enhanced waveform.
19. A computer-readable non-transitory storage medium storing computer-executable instructions, said instructions, when executed, implementing a method for mitigating excessive speech suppression, said method comprising: The processor receives a training dataset containing multiple joint time-frequency representations; A digital model for detecting speech from the training dataset is created using a loss function with a non-linear penalty, where the penalty for over-suppression of speech is greater than the penalty for under-suppression. The digital model is configured to generate masks for audio data across multiple frequency bands and multiple frames. The mask includes an estimated mask value that indicates the amount of speech detected in each of the plurality of frequency bands at each of the plurality of frames; Receive new audio data; A digital model for speech detection is executed on the features of the new audio data to obtain a new mask; as well as Transmit the information about the new mask to the device. Wherein, the loss function is Or the loss function is ,and in, 'diff' represents the difference between the power-law term of the target mask value and the power-law term of the estimated mask value, and m This represents the adjustment parameter used to control the shape of the asymmetric penalty.
20. The computer-readable non-transitory storage medium of claim 19, wherein the method further comprises: Determine whether the audio data corresponds to laughter or applause; as well as In response to determining that the audio data corresponds to laughter or applause, an alarm is further transmitted to ignore the mask.
21. The computer-readable non-transitory storage medium of any one of claims 19 to 20, wherein the method further comprises: Calculate the derived characteristics of the audio data in the time and frequency domains; as well as A second digital model is executed to classify the audio data as laughter, applause, or other based on the derived features.
22. The computer-readable non-transitory storage medium of any one of claims 19 to 20, wherein the method further comprises: Calculate the mask attenuation of the mask; Determine whether the mask decay corresponds to a decay amount exceeding a threshold; as well as In response to determining that the mask attenuation corresponds to a decay amount exceeding the threshold, the mask is adjusted so that the mask attenuation matches a predetermined voice attenuation rate.
23. The computer-readable non-transitory storage medium of any one of claims 19 to 20, wherein the method further comprises: Receive the input waveform in the time domain; The input waveform is transformed into multiple frequency bands and raw audio data on the multiple frames; as well as The original audio data is converted into audio data by grouping the multiple frequency modules into the multiple frequency bands.
24. The computer-readable non-transitory storage medium of claim 23, wherein the method further comprises: Perform inverse striping on the estimated mask value to generate an updated mask value for each of the plurality of frequency bins and each of the plurality of frames; The updated mask value is applied to the original audio data to generate new output data; as well as The new output data is transformed into an enhanced waveform.
25. A computer program product comprising a plurality of programs, which, when executed by an electronic processor, cause the electronic processor to perform the operations of the method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
System and method for enhancement of a degraded audio signal
WO2021022079A1
