CN113284507B - Training method and device for voice enhancement model and voice enhancement method and device - Google Patents
Training method and device for voice enhancement model and voice enhancement method and device Download PDFInfo
- Publication number
- CN113284507B CN113284507B CN202110529546.6A CN202110529546A CN113284507B CN 113284507 B CN113284507 B CN 113284507B CN 202110529546 A CN202110529546 A CN 202110529546A CN 113284507 B CN113284507 B CN 113284507B
- Authority
- CN
- China
- Prior art keywords
- noise
- mask ratio
- estimated
- data
- reference scene
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000012549 training Methods 0.000 title claims abstract description 62
- 238000001228 spectrum Methods 0.000 claims abstract description 195
- 230000006870 function Effects 0.000 claims description 88
- 239000013598 vector Substances 0.000 claims description 66
- 238000013528 artificial neural network Methods 0.000 claims description 48
- 230000000306 recurrent effect Effects 0.000 claims description 48
- 238000013527 convolutional neural network Methods 0.000 claims description 30
- 230000015654 memory Effects 0.000 claims description 22
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000009466 transformation Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006854 communication Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000006403 short-term memory Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/27—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the analysis technique
- G10L25/30—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the analysis technique using neural networks
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0216—Noise filtering characterised by the method used for estimating noise
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Circuit For Audible Band Transducer (AREA)
- Noise Elimination (AREA)
Abstract
The present disclosure relates to a training method and apparatus for a speech enhancement model, and a speech enhancement method and apparatus, the speech enhancement model including a noise mask ratio prediction network and a noise type discrimination network, the training method including: obtaining a noise-containing voice sample, wherein the noise-containing voice sample is formed by mixing a speaker voice sample and at least one scene noise data; inputting reference scene noise data in at least one scene noise data into a noise type discrimination network to obtain noise type characteristics of the reference scene noise data, wherein the reference scene noise data is the scene noise data which is expected to be removed; inputting the amplitude spectrum and the noise type characteristics of the noise-containing voice sample into a noise mask ratio prediction network to obtain an estimated noise mask ratio of noise data of a reference scene; calculating a loss function based on the estimated noise mask ratio and noise type characteristics; and adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function, and training the voice enhancement model.
Description
Technical Field
The present disclosure relates to the field of audio technologies, and in particular, to a method and apparatus for training a speech enhancement model, and a method and apparatus for speech enhancement.
Background
The noisy environment can influence the effect of people in voice communication, in the current mainstream communication software, different voice enhancement algorithms are generally adopted to process noise-containing frequencies in the communication process, and the traditional method can process steady-state noise. However, the common speech enhancement algorithm can remove all noise in the scene and only keep human voice, but the types of noise which people need to remove are different in different scenes, so that the common speech enhancement algorithm cannot realize speech enhancement for specific scenes.
Disclosure of Invention
The present disclosure provides a method and apparatus for training a speech enhancement model, and a method and apparatus for speech enhancement, so as to solve at least the above-mentioned problems in the related art, or not solve any of the above-mentioned problems.
According to a first aspect of embodiments of the present disclosure, there is provided a training method of a speech enhancement model, the speech enhancement model including a noise mask ratio prediction network and a noise type discrimination network, the training method including: obtaining a noise-containing voice sample, wherein the noise-containing voice sample is formed by mixing a speaker voice sample and at least one scene noise data; inputting reference scene noise data in the at least one scene noise data into the noise type discrimination network to obtain noise type characteristics of the reference scene noise data, wherein the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data, and the voice enhancement model is used for obtaining an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noisy voice sample; inputting the magnitude spectrum of the noise-containing voice sample and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the noise data of the reference scene, wherein the noise mask ratio represents the ratio of the magnitude spectrum of the noise data of the reference scene to the magnitude spectrum of the noise-containing voice sample; calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristics of the reference scene noise data; and adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function, and training the voice enhancement model.
Optionally, the inputting the magnitude spectrum of the noise-containing speech sample and the noise type feature into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the reference scene noise data may include: the amplitude spectrum of the noise-containing voice sample and the noise type feature are connected in series; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Optionally, the inputting the magnitude spectrum of the noise-containing speech sample and the noise type feature into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the reference scene noise data may include: inputting the amplitude spectrum of the noise-containing voice sample into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio prediction network may be a convolutional recurrent neural network including a convolutional neural network and a recurrent neural network.
Alternatively, a portion of the noise mask ratio prediction network may be a convolutional neural network of the convolutional recurrent neural networks, and another portion of the noise mask ratio prediction network may be a recurrent neural network of the convolutional recurrent neural networks.
Optionally, each of the at least one scene noise data may have a true noise type tag vector; wherein calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristic of the reference scene noise data may include: multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice sample to obtain an estimated amplitude spectrum of the voice enhancement signal; obtaining an estimated noise type label vector by passing the noise type feature through a full connection layer; and calculating a loss function based on the estimated amplitude spectrum of the voice enhancement signal, the amplitude spectrum of the target voice enhancement signal, the estimated noise type tag vector and the real noise type tag vector of the reference scene noise data, wherein the target voice enhancement signal is a signal after the noise-containing voice sample removes the reference scene noise data.
Optionally, the calculating a loss function based on the estimated magnitude spectrum of the speech enhancement signal, the magnitude spectrum of the target speech enhancement signal, the estimated noise-type tag vector, the real noise-type tag vector of the reference scene noise data may include: calculating a mean square error loss function based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal; calculating a cross entropy loss function based on the estimated noise-type tag vector and a true noise-type tag vector of the reference scene noise data; and summing the mean square error loss function and the cross entropy loss function to obtain the loss function.
Alternatively, the loss function may be expressed as:
wherein Mag est Mag representing an amplitude spectrum of the estimated speech enhancement signal tar Representing the magnitude spectrum of the target speech enhancement signal,representing the mean square error loss function, M representing the total number of types of scene noise, i representing the traversal flag,/>Representing the estimated noise-type tag vector, z representing the true noise-type tag vector of the reference scene noise data, +.>Representing the cross entropy loss function.
According to a second aspect of embodiments of the present disclosure, there is provided a speech enhancement method performed based on a speech enhancement model including a noise mask ratio prediction network and a noise type discrimination network, the speech enhancement method including: acquiring a noise-containing voice signal to be enhanced and reference scene noise data, wherein the noise-containing voice signal to be enhanced comprises a speaker voice signal and at least one scene noise data, and the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data; inputting the reference scene noise data into the noise type discrimination network to obtain the noise type characteristics of the reference scene noise data; inputting the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, wherein the noise mask ratio represents the ratio of the amplitude spectrum of the reference scene noise data to the amplitude spectrum of the noise-containing voice signal; and obtaining an estimated voice enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noise-containing voice signal to be enhanced, wherein the estimated voice enhancement signal is an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noise-containing voice signal to be enhanced.
Optionally, inputting the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data may include: the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type feature are connected in series; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Optionally, inputting the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data may include: inputting the amplitude spectrum of the noise-containing voice signal to be enhanced into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio prediction network may be a convolutional recurrent neural network including a convolutional neural network and a recurrent neural network.
Alternatively, a portion of the noise mask ratio prediction network may be a convolutional neural network of the convolutional recurrent neural networks, and another portion of the noise mask ratio prediction network may be a recurrent neural network of the convolutional recurrent neural networks.
Optionally, the obtaining an estimated speech enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noise-containing speech signal to be enhanced may include: multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice signal to be enhanced after being complemented to obtain the estimated amplitude spectrum of the voice enhancement signal; combining the amplitude spectrum of the estimated voice enhancement signal with the phase spectrum of the noise-containing voice signal to be enhanced and performing time-frequency inverse transformation to obtain the estimated voice enhancement signal.
Alternatively, the reference scene noise data may be a scene noise segment that is prerecorded in the environment in which the speaker is located and desired to be removed.
Optionally, the speech enhancement model is trained using a training method of the speech enhancement model according to the present disclosure.
According to a third aspect of embodiments of the present disclosure, there is provided a training apparatus of a speech enhancement model including a noise mask ratio prediction network and a noise type discrimination network, the training apparatus comprising: a sample acquisition unit configured to: obtaining a noise-containing voice sample, wherein the noise-containing voice sample is formed by mixing a speaker voice sample and at least one scene noise data; a noise type estimation unit configured to: inputting reference scene noise data in the at least one scene noise data into the noise type discrimination network to obtain noise type characteristics of the reference scene noise data, wherein the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data, and the voice enhancement model is used for obtaining an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noisy voice sample; a noise mask ratio estimation unit configured to: inputting the magnitude spectrum of the noise-containing voice sample and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the noise data of the reference scene, wherein the noise mask ratio represents the ratio of the magnitude spectrum of the noise data of the reference scene to the magnitude spectrum of the noise-containing voice sample; a loss function calculation unit configured to: calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristics of the reference scene noise data; a model training unit configured to: and adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function, and training the voice enhancement model.
Alternatively, the noise mask ratio estimation unit may be configured to: the amplitude spectrum of the noise-containing voice sample and the noise type feature are connected in series; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio estimation unit may be configured to: inputting the amplitude spectrum of the noise-containing voice sample into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio prediction network may be a convolutional recurrent neural network including a convolutional neural network and a recurrent neural network.
Alternatively, a portion of the noise mask ratio prediction network may be a convolutional neural network of the convolutional recurrent neural networks, and another portion of the noise mask ratio prediction network may be a recurrent neural network of the convolutional recurrent neural networks.
Optionally, each of the at least one scene noise data may have a true noise type tag vector; wherein the loss function calculation unit may be configured to: multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice sample to obtain an estimated amplitude spectrum of the voice enhancement signal; obtaining an estimated noise type label vector by passing the noise type feature through a full connection layer; and calculating a loss function based on the estimated amplitude spectrum of the voice enhancement signal, the amplitude spectrum of the target voice enhancement signal, the estimated noise type tag vector and the real noise type tag vector of the reference scene noise data, wherein the target voice enhancement signal is a signal after the noise-containing voice sample removes the reference scene noise data.
Alternatively, the loss function calculation unit may be configured to: calculating a mean square error loss function based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal; calculating a cross entropy loss function based on the estimated noise-type tag vector and a true noise-type tag vector of the reference scene noise data; and summing the mean square error loss function and the cross entropy loss function to obtain the loss function.
Alternatively, the loss function may be expressed as:
wherein Mag est Mag representing an amplitude spectrum of the estimated speech enhancement signal tar Representing the magnitude spectrum of the target speech enhancement signal,representing the mean square error loss function, M representing the total number of types of scene noise, i representing the traversal flag,/>Representing the estimated noise-type tag vector, z representing the true noise-type tag vector of the reference scene noise data, +.>Representing the cross entropy loss function.
According to a fourth aspect of embodiments of the present disclosure, there is provided a voice enhancement apparatus that performs an operation based on a voice enhancement model including a noise mask ratio prediction network and a noise type discrimination network, the voice enhancement apparatus comprising: a data acquisition unit configured to: acquiring a noise-containing voice signal to be enhanced and reference scene noise data, wherein the noise-containing voice signal to be enhanced comprises a speaker voice signal and at least one scene noise data, and the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data; a noise type estimation unit configured to: inputting the reference scene noise data into the noise type discrimination network to obtain the noise type characteristics of the reference scene noise data; a noise mask ratio estimation unit configured to: inputting the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, wherein the noise mask ratio represents the ratio of the amplitude spectrum of the reference scene noise data to the amplitude spectrum of the noise-containing voice signal; a speech enhancement unit configured to: and obtaining an estimated voice enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noise-containing voice signal to be enhanced, wherein the estimated voice enhancement signal is an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noise-containing voice signal to be enhanced.
Alternatively, the noise mask ratio estimation unit may be configured to: the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type feature are connected in series; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio estimation unit may be configured to: inputting the amplitude spectrum of the noise-containing voice signal to be enhanced into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
Alternatively, the noise mask ratio prediction network may be a convolutional recurrent neural network including a convolutional neural network and a recurrent neural network.
Alternatively, a portion of the noise mask ratio prediction network may be a convolutional neural network of the convolutional recurrent neural networks, and another portion of the noise mask ratio prediction network may be a recurrent neural network of the convolutional recurrent neural networks.
Alternatively, the speech enhancement unit may be configured to: multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice signal to be enhanced after being complemented to obtain the estimated amplitude spectrum of the voice enhancement signal; combining the amplitude spectrum of the estimated voice enhancement signal with the phase spectrum of the noise-containing voice signal to be enhanced and performing time-frequency inverse transformation to obtain the estimated voice enhancement signal.
Alternatively, the reference scene noise data may be a scene noise segment that is prerecorded in the environment in which the speaker is located and desired to be removed.
Alternatively, the speech enhancement model may be trained using a training method of the speech enhancement model according to the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by the at least one processor, cause the at least one processor to perform a training method or a speech enhancement method according to a speech enhancement model of the present disclosure.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by at least one processor, causes the at least one processor to perform a training method or a speech enhancement method according to a speech enhancement model of the present disclosure.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by at least one processor, implement a training method or a speech enhancement method according to the speech enhancement model of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the training method and the training device of the voice enhancement model, the voice enhancement method and the voice enhancement device, specific scene noise can be input into the voice enhancement model by means of the specific scene noise as an auxiliary vector, and the specific scene noise can be removed under the specific scene, so that the specific scene noise can be removed according to the user requirements under the condition that the specific scene noise is included, and the voice enhancement effect expected by the user is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an overall system diagram illustrating a speech enhancement model according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a training method of a speech enhancement model according to an exemplary embodiment of the present disclosure.
Fig. 3 is a schematic diagram illustrating a structure of a noise type discriminating network according to an exemplary embodiment of the present disclosure.
Fig. 4 is a schematic diagram illustrating deriving a noise mask ratio using a noise mask ratio prediction network according to an exemplary embodiment of the present disclosure.
Fig. 5 is a schematic diagram illustrating deriving a noise mask ratio using a noise mask ratio prediction network according to another exemplary embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a speech enhancement method according to an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating a training apparatus of a speech enhancement model according to an exemplary embodiment of the present disclosure.
Fig. 8 is a block diagram illustrating a voice enhancement device according to an exemplary embodiment of the present disclosure.
Fig. 9 is a block diagram of an electronic device 900 according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The embodiments described in the examples below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, in this disclosure, "at least one of the items" refers to a case where three types of juxtaposition including "any one of the items", "a combination of any of the items", "an entirety of the items" are included. For example, "including at least one of a and B" includes three cases side by side as follows: (1) comprises A; (2) comprising B; (3) includes A and B. For example, "at least one of the first and second steps is executed", that is, three cases are juxtaposed as follows: (1) performing step one; (2) executing the second step; (3) executing the first step and the second step.
The traditional voice enhancement algorithm only keeps the voice no matter what scene is, all noise in the scene is removed. For example, in a scene where people take short videos, there are voice, singing and noise, and people need to remove noise while retaining voice and singing, but conventional voice enhancement algorithms remove noise and singing while retaining voice only, so that desired voice enhancement effects are not achieved.
In order to solve the above technical problems, the present disclosure provides a scene-based speech enhancement algorithm, and in particular, the present disclosure provides a speech enhancement model, which is input into the speech enhancement model by using specific scene noise as an auxiliary vector, so as to implement removal of the specific scene noise in a specific scene, thereby removing the specific scene noise according to user requirements under the condition of including multiple scene noises, and achieving a speech enhancement effect expected by a user. Hereinafter, a training method and apparatus of a speech enhancement model and a speech enhancement method and apparatus according to exemplary embodiments of the present disclosure will be described in detail with reference to fig. 1 to 9.
Fig. 1 is an overall system diagram illustrating a speech enhancement model according to an exemplary embodiment of the present disclosure.
Referring to fig. 1, a speech enhancement model according to the present disclosure may include a noise mask ratio prediction network for predicting a noise mask ratio of reference scene noise desired to be removed in noisy speech, and a noise type discrimination network for predicting a type of reference scene noise desired to be removed in noisy speech.
Specifically, during a training phase, noisy speech samples may be obtained, which may be mixed from speaker speech samples and at least one scene noise data. The reference scene noise data desired to be removed from the at least one scene noise data may be input into a noise type discrimination network to derive noise type features (i.e., an enabling vector) of the reference scene noise data. A time-frequency transform (e.g., short-time fourier transform (STFT)) may be performed on the noisy speech samples to obtain a magnitude spectrum and a phase spectrum. The noise type characteristics of the reference scene noise data may be input as auxiliary vectors to a noise mask ratio prediction network along with the magnitude spectrum of the noisy speech samples to yield a predicted noise mask ratio (mask). The predicted noise mask ratio may be complemented and multiplied by the amplitude spectrum point of the noisy speech to obtain an estimated amplitude spectrum of the speech enhancement signal. The predicted noise type signature may be derived based on noise type characteristics of the reference scene noise data. A mean square error loss function (MSE loss) may be calculated based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal (i.e., the speech signal from which the reference scene noise data was removed from the noisy speech samples), and a cross entropy loss function (CrossEntropy loss) may be calculated based on the predicted noise type signature and the actual noise type signature of the reference scene noise data. The mean square error loss function and the cross entropy loss function are summed to obtain a final loss function (loss) to train the noise mask ratio prediction network and the noise type discrimination network together in the speech enhancement model.
In the inference stage, the reference scene noise that is desired to be removed may be input into a noise type discrimination network, resulting in a noise type feature (i.e., an embedding vector) of the reference scene noise data. A time-frequency transform (e.g., short-time fourier transform (STFT)) may be performed on the noisy speech to obtain a magnitude spectrum and a phase spectrum. The noise type characteristics of the reference scene noise data may be input as auxiliary vectors to a noise mask ratio prediction network along with the magnitude spectrum of the noisy speech to obtain a predicted noise mask ratio (mask). The predicted noise mask ratio may be complemented by the amplitude spectrum point of the noisy speech, combined with the phase spectrum of the noisy speech, and subjected to an Inverse frequency transform (e.g., an Inverse Short time fourier transform (ISTFT-Time Fourier Transform)), resulting in an estimated speech from the noisy speech from which the reference scene noise data was removed as enhanced speech.
By utilizing the voice enhancement model disclosed by the invention, the specific scene noise in the noise-containing voice can be removed by means of the segment of the specific scene noise, so that different voice enhancement effects based on different scenes are realized, and the user experience is improved.
Fig. 2 is a flowchart illustrating a training method of a speech enhancement model according to an exemplary embodiment of the present disclosure. Here, as described above, the speech enhancement model may include a noise mask ratio prediction network for predicting a noise mask ratio of reference scene noise desired to be removed in the noisy speech, and a noise type discrimination network for predicting a type of reference scene noise desired to be removed in the noisy speech. That is, the speech enhancement model may be used to obtain an estimated speech enhancement signal that results after removal of reference scene noise data from noisy speech.
Referring to fig. 2, in step 201, noisy speech samples may be obtained, wherein the noisy speech samples are mixed with at least one scene noise data from speaker speech samples. Here, the types of scenes may include subway stations, cafes, buses, streets, and the like. Scene noise data may be obtained by recording in different scenes (e.g., subway stations, cafes, buses, streets, etc.) using a recording device. The speaker speech samples may be obtained from a speech data set or by recording speech segments of different speakers.
In step 202, reference scene noise data in the at least one scene noise data may be input into the noise type discrimination network, so as to obtain a noise type characteristic of the reference scene noise data. Here, the reference scene noise data may be one of the at least one scene noise data, and is scene noise data desired to be removed. In addition, the noise type feature is a vector of fixed dimension for describing scene noise type information, also referred to as auxiliary directionAmount of the components. For example, the reference scene noise data may be represented as s and the noise type discrimination network may be represented as M sv The noise type feature may be expressed as ebedding, and thus, the process of step 202 may be expressed as the following equation (1).
embedding=M sv (s) (1)
According to an exemplary embodiment of the present disclosure, the input to the noise type discrimination network may be Mel-cepstrum coefficient (Mel-scale Frequency Cepstral Coefficients, MFCC) of the reference scene noise data. For example, one implementation of a noise type discrimination network may be a three-layer Long Short Term Memory (LSTM) network. Fig. 3 is a schematic diagram illustrating a structure of a noise type discriminating network according to an exemplary embodiment of the present disclosure. The mfcc of the reference scene noise data can be input into three long-short-period memory network layers (LSTM 1, LSTM2 and LSTM 3), the Hidden State (Hidden State) output by the last LSTM3 layer is taken, and the auxiliary vector enabling is obtained through a full-connection layer (dense). Of course, the noise type discrimination network is not limited to the above network or model, but may be any other network that can realize noise type discrimination, and the present disclosure is not limited thereto.
Referring back to fig. 2, at step 203, the magnitude spectrum of the noisy speech samples and the noise-type features may be input into the noise mask ratio prediction network, resulting in an estimated noise mask ratio of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the magnitude spectrum of the noisy speech sample may be obtained by a time-frequency transform. For example, the noisy speech samples may be transformed from the time domain to the frequency domain by Short-time fourier transform (STFT) to obtain amplitude information and phase information of each frame of the audio signal, thereby obtaining amplitude spectrum and phase spectrum of the noisy speech samples. For example, if a mixed signal x containing several types of noise with a length of T is x (T) in the time domain, the reference scene noise signal is w (T), and the speech after removing the reference scene noise is y (T), where T represents time, 0 < t.ltoreq.t, the noisy speech signal x (T) can be expressed as the following equation (2) in the time domain.
x(t)=w(t)+y(n)(2)
The noisy speech signal x (t) after being subjected to short-time fourier transform can be expressed as the following equation (3) in the time-frequency domain.
X(n,k)=W(n,k)+Y(n,k) (3)
Wherein N is a frame sequence, N is more than 0 and less than or equal to N, N is the total frame number, and K is the center frequency sequence, K is more than 0 and less than or equal to K; k is the total frequency point number.
After obtaining the noise-containing signal X (n, k) in the frequency domain, the amplitude spectrum Mag thereof can be obtained ori And phase spectrum Pha ori Can be expressed as the following formula (4).
Mag(n,k)=abs(X(n,k)),Pha(n,k)=angle(X(n,k)) (4)
After obtaining the amplitude spectrum of the noisy signal, the amplitude spectrum Mag (n, k) of the noisy speech and the noise type characteristic emmbedding can be input into the noise mask ratio prediction network M se Noise mask ratio mask for obtaining an estimate of reference scene noise data w That is, the above-described process can be expressed as the following formula (5).
mask w =M se (Mag,embedding) (5)
According to an exemplary embodiment of the present disclosure, the noise mask ratio of the reference scene noise data may be a ratio of a magnitude spectrum of the reference scene noise data to a magnitude spectrum of the noisy speech signal. In particular, the noise mask ratio of the reference scene noise data may be one gain matrix that is the same as the amplitude spectrum of the reference scene noise data, wherein the value of each element is between [ 0,1 ]. The noise mask ratio of the reference scene noise data is multiplied by the amplitude spectrum point of the noise-containing voice signal, and then the time-frequency inverse transformation is carried out, so that the reference scene noise data can be obtained.
According to exemplary embodiments of the present disclosure, the amplitude spectrum and noise type characteristics of the noisy speech samples may be concatenated; and inputting the characteristics after the series connection into a noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene. According to another exemplary embodiment of the present disclosure, the amplitude spectrum of the noisy speech sample is input into a part of the network of the noise mask ratio prediction network to obtain local features of the amplitude spectrum of the noisy speech sample; the local features are connected in series with the noise type features; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the noise mask ratio prediction network may be a Convolutional Recurrent Neural Network (CRNN) including a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN). Fig. 4 is a schematic diagram illustrating deriving a noise mask ratio using a noise mask ratio prediction network according to an exemplary embodiment of the present disclosure. Referring to FIG. 4, the amplitude spectrum (Mag) and the noise type feature (empedding) of the noisy speech sample may be concatenated (Concat), and the concatenated features may be input into a noise mask ratio prediction network, extracted using CNN and fed into RNN for context establishment, outputting an estimated noise mask ratio mask w . Fig. 5 is a schematic diagram illustrating deriving a noise mask ratio using a noise mask ratio prediction network according to another exemplary embodiment of the present disclosure. Referring to FIG. 5, a local feature of the amplitude spectrum of a noisy speech sample (Mag) may be obtained by inputting the amplitude spectrum of the noisy speech sample (Mag) into a part of a network (e.g., CNN) in a noise mask ratio prediction network, then the local feature is concatenated with a noise type feature (embedding) (Concat), and then the concatenated feature is input into another part of the noise mask ratio prediction network (e.g., RNN) to obtain an estimated noise mask ratio mask w . Of course, the noise mask ratio prediction network is not limited to the above network or model, but may be any other network that may implement noise mask ratio prediction, which is not limited by the present disclosure.
Referring back to fig. 2, at step 204, a loss function may be calculated based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristics of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the estimated noise mask ratio of the reference scene noise data is complemented and multiplied by the amplitude spectrum of the noisy speech sample to obtain an estimated amplitude spectrum of the speech enhancement signal. This process may be expressed as the following equation (6), for example.
Mag est =Mag ori ⊙(1-mask w ) (6)
Further, an estimated noise-type tag vector may be obtained by passing the noise-type feature through a full connection layer. That is, the noise-type features can be projected through the full-join layer to a vector of fixed dimensions
Thus, the amplitude spectrum Mag of the speech enhancement signal may be based on the estimate est Amplitude spectrum Mag of target voice enhancement signal tar The estimated noise-type tag vectorAnd calculating a loss function according to the real noise type label vector z of the reference scene noise data. Here, the target speech enhancement signal is a signal after the noisy speech samples have removed the reference scene noise data. Further, each of the at least one scene noise data has a true noise type tag vector, e.g., a one hot vector.
For example, a mean square error loss function may be calculated based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal. For example, the mean square error loss function can be expressed as the following formula (7).
A cross entropy loss function may be calculated based on the estimated noise-type tag vector and a true noise-type tag vector of the reference scene noise data. For example, the cross entropy loss function may be expressed as the following equation (8).
The mean square error loss function and the cross entropy loss function may be summed to obtain a final loss function. For example, the final loss function may be expressed as the following equation (9).
Wherein Mag est Mag representing an amplitude spectrum of the estimated speech enhancement signal tar Representing the magnitude spectrum of the target speech enhancement signal,representing the mean square error loss function, M representing the total number of types of scene noise, i representing the traversal flag,/>Representing the estimated noise-type tag vector, z representing the true noise-type tag vector of the reference scene noise data, +.>Representing the cross entropy loss function.
In step 205, the speech enhancement model may be trained by adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network via the calculated loss function. That is, the values of equation (9) above may be utilized to counter-propagate to coordinate the parameters of the noise mask ratio prediction network and the noise type discrimination network.
Fig. 6 is a flowchart illustrating a speech enhancement method according to an exemplary embodiment of the present disclosure. Here, the voice enhancement method according to the exemplary embodiment of the present disclosure may be implemented based on the voice enhancement model according to the present disclosure. A speech enhancement model according to the present disclosure may include a noise mask ratio prediction network and a noise type discrimination network. For example, a speech enhancement model according to the present disclosure may be trained by using a training method of the speech enhancement model according to the present disclosure.
Referring to fig. 6, in step 601, a noisy speech signal to be enhanced may be obtained, wherein the noisy speech signal to be enhanced includes a speaker speech signal and at least one scene noise data, and reference scene noise data, which is scene noise data desired to be removed from among the at least one scene noise data. For example, the types of scenes may include subway stations, cafes, buses, streets, and the like. For example, the reference scene noise data may be a pre-recorded scene noise clip that the user desires to remove in the environment in which the speaker is located.
In step 602, the reference scene noise data may be input into the noise type discrimination network to obtain a noise type characteristic of the reference scene noise data. For example, the noise type discrimination network may be, but is not limited to, the structure shown in fig. 3.
Here, the present disclosure does not limit the execution order of steps 601 and 602. For example, in step 601, the reference scene noise data may be acquired first and then the noise-containing speech signal to be enhanced may be acquired first, or the noise-containing speech signal to be enhanced may be acquired first and then the reference scene noise data may be acquired, or the noise-containing speech signal to be enhanced and the reference scene noise data may be acquired simultaneously. For another example, the reference scene noise data may be acquired in step 601, the noise type feature may be acquired in step 602, and the noisy speech signal to be enhanced may be acquired in step 601.
In step 603, the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature may be input into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, where the noise mask ratio may represent a ratio of the magnitude spectrum of the reference scene noise data to the magnitude spectrum of the noise-containing speech signal.
According to an exemplary embodiment of the present disclosure, the amplitude spectrum of the noisy speech signal to be enhanced and the noise-type feature may be concatenated; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene. According to another exemplary embodiment of the present disclosure, the amplitude spectrum of the noise-containing speech signal to be enhanced may be input into a part of the noise mask ratio prediction network to obtain local features of the amplitude spectrum of the noise-containing speech sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
According to an exemplary embodiment of the present disclosure, the noise mask ratio prediction network may be a Convolutional Recurrent Neural Network (CRNN) including a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN). For example, as shown in fig. 4, the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature may be directly connected in series, and the characteristics after being connected in series are input into the noise mask ratio prediction network, so as to obtain an estimated noise mask ratio. For another example, as shown in fig. 5, the amplitude spectrum of the noise-containing speech signal to be enhanced may be input into a part of the network (e.g., CNN) in the noise mask ratio prediction network, to obtain local features of the amplitude spectrum of the noise-containing speech sample, then the local features are connected in series with the noise type features, and then the connected features are input into another part of the noise mask ratio prediction network (e.g., RNN) to obtain the estimated noise mask ratio.
In step 604, an estimated speech enhancement signal may be obtained based on the estimated noise mask ratio of the reference scene noise data and the noisy speech signal to be enhanced, wherein the estimated speech enhancement signal is the estimated speech enhancement signal obtained after removing the reference scene noise data from the noisy speech signal to be enhanced.
According to an exemplary embodiment of the present disclosure, the estimated noise mask ratio of the reference scene noise data may be complemented and multiplied by the amplitude spectrum of the noise-containing speech signal to be enhanced to obtain an amplitude spectrum of the estimated speech enhancement signal, for example, as shown in equation (6). Combining the estimated amplitude spectrum of the voice enhancement signal with the phase spectrum of the noise-containing voice signal to be enhanced and performing time-frequency inverse transformation to obtainThe estimated speech enhancement signal. For example, the estimated amplitude spectrum Mag of the speech enhancement signal may be est Phase spectrum Pha of noisy speech signal to be enhanced ori In combination, the estimated speech enhancement signal y after removal of the reference scene noise is obtained by an Inverse Short-time fourier transform (Inverse Short-Time Fourier Transform, ISTFT). For example, the estimated speech enhancement signal may be expressed as the following equation (10).
y=ISTFT(Mag est ,Pha ori ) (10)
Fig. 7 is a block diagram illustrating a training apparatus of a speech enhancement model according to an exemplary embodiment of the present disclosure.
Referring to fig. 7, a training apparatus 700 of a speech enhancement model according to an exemplary embodiment of the present disclosure may include a sample acquisition unit 701, a noise type estimation unit 702, a noise mask ratio estimation unit 703, a loss function calculation unit 704, and a model training unit 705.
The sample acquisition unit 701 may acquire a noisy speech sample, wherein the noisy speech sample is mixed by a speaker speech sample and at least one scene noise data. Here, the types of scenes may include subway stations, cafes, buses, streets, and the like. Scene noise data may be obtained by recording in different scenes (e.g., subway stations, cafes, buses, streets, etc.) using a recording device. The speaker speech samples may be obtained from a speech data set or by recording speech segments of different speakers.
The noise type estimation unit 702 may input reference scene noise data in the at least one scene noise data into the noise type discrimination network, to obtain a noise type characteristic of the reference scene noise data. Here, the reference scene noise data may be one of the at least one scene noise data, and is scene noise data desired to be removed. Furthermore, the noise type feature is a vector of fixed dimensions, also referred to as an auxiliary vector, that describes the scene noise type information.
According to an exemplary embodiment of the present disclosure, the input to the noise type discrimination network may be Mel-cepstrum coefficient (Mel-scale Frequency Cepstral Coefficients, MFCC) of the reference scene noise data. For example, one implementation of a noise type discrimination network may be a three-layer Long Short Term Memory (LSTM) network. As shown in fig. 3, the noise type estimation unit 702 may input mfcc of the reference scene noise data into three long-short-term memory network layers (LSTM 1, LSTM2, LSTM 3), take the Hidden State (Hidden State) output by the last LSTM3, and obtain the auxiliary vector ebedding through a full-connection layer (dense). Of course, the noise type discrimination network is not limited to the above network or model, but may be any other network that can realize noise type discrimination, and the present disclosure is not limited thereto.
The noise mask ratio estimation unit 703 may input the magnitude spectrum of the noise-containing speech sample and the noise type feature into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the magnitude spectrum of the noisy speech sample may be obtained by a time-frequency transform. For example, the noise mask ratio estimation unit 703 may transform the noisy speech sample from the time domain to the frequency domain by Short-time fourier transform (STFT) to obtain amplitude information and phase information of each frame of the audio signal, thereby obtaining the amplitude spectrum and phase spectrum of the noisy speech sample.
According to an exemplary embodiment of the present disclosure, the noise mask ratio of the reference scene noise data may be a ratio of a magnitude spectrum of the reference scene noise data to a magnitude spectrum of the noisy speech signal. In particular, the noise mask ratio of the reference scene noise data may be one gain matrix that is the same as the amplitude spectrum of the reference scene noise data, wherein the value of each element is between [ 0,1 ]. The noise mask ratio of the reference scene noise data is multiplied by the amplitude spectrum point of the noise-containing voice signal, and then the time-frequency inverse transformation is carried out, so that the reference scene noise data can be obtained.
According to an exemplary embodiment of the present disclosure, the noise mask ratio estimation unit 703 may concatenate the magnitude spectrum of the noisy speech sample with the noise type feature; and inputting the characteristics after the series connection into a noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene. According to another exemplary embodiment of the present disclosure, the noise mask ratio estimation unit 703 may input the amplitude spectrum of the noise-containing voice sample to a part of the network of the noise mask ratio prediction network, to obtain a local feature of the amplitude spectrum of the noise-containing voice sample; the local features are connected in series with the noise type features; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the noise mask ratio prediction network may be a Convolutional Recurrent Neural Network (CRNN) including a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN). For example, as shown in fig. 4, the noise mask ratio estimation unit 703 may concatenate (Concat) the amplitude spectrum (Mag) of the noisy speech sample and the noise type feature (embedding), input the concatenated features into the noise mask ratio prediction network, extract the features using CNN, send the extracted features into RNN for context establishment, and output the estimated noise mask ratio mask w . For another example, as shown in fig. 5, the noise mask ratio estimation unit 703 may input the amplitude spectrum (Mag) of the noise-containing voice sample into a part of the network (e.g., CNN) in the noise mask ratio prediction network to obtain local features of the amplitude spectrum of the noise-containing voice sample, serially connect (Concat) the local features with the noise type features (empedding), and input the serially connected features into another part of the noise mask ratio prediction network (e.g., RNN) to obtain the estimated noise mask ratio mask w . Of course, the noise mask ratio prediction network is not limited to the above network or model, but may be any other network that may implement noise mask ratio prediction, which is not limited by the present disclosure.
The loss function calculation unit 704 may calculate a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristic of the reference scene noise data.
According to an exemplary embodiment of the present disclosure, the loss function calculation unit 704 may obtain an estimated amplitude spectrum of the speech enhancement signal by multiplying the estimated noise mask ratio of the reference scene noise data and the amplitude spectrum of the noisy speech sample. The loss function calculation unit 704 may obtain an estimated noise type label vector by passing the noise type feature through a full connection layer. That is, noise-type features may be projected through the full connection layer to a vector of fixed dimensions. Accordingly, the loss function calculation unit 704 may calculate a loss function based on the estimated amplitude spectrum of the speech enhancement signal, the amplitude spectrum of the target speech enhancement signal, the estimated noise type tag vector, the real noise type tag vector of the reference scene noise data. Here, the target speech enhancement signal is a signal after the noisy speech samples have removed the reference scene noise data. Further, each of the at least one scene noise data has a true noise type tag vector, e.g., a one hot vector.
For example, the loss function calculation unit 704 may calculate a mean square error loss function based on the estimated amplitude spectrum of the speech enhancement signal and the amplitude spectrum of the target speech enhancement signal, as shown in equation (7). The loss function calculation unit 704 may calculate a cross entropy loss function based on the estimated noise type tag vector and the real noise type tag vector of the reference scene noise data, as shown in equation (8). The loss function calculation unit 704 may sum the mean square error loss function and the cross entropy loss function to obtain a final loss function, as shown in equation (9).
The model training unit 705 may train the speech enhancement model by adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function. That is, the model training unit 705 may use the back propagation of the values of the above equation (9) to cooperatively adjust the parameters of the noise mask ratio prediction network and the noise type discrimination network.
Fig. 8 is a block diagram illustrating a voice enhancement device according to an exemplary embodiment of the present disclosure. Here, the voice enhancement apparatus according to the exemplary embodiment of the present disclosure may be implemented based on the voice enhancement model according to the present disclosure. A speech enhancement model according to the present disclosure may include a noise mask ratio prediction network and a noise type discrimination network. For example, a speech enhancement model according to the present disclosure may be trained by using a training method of the speech enhancement model according to the present disclosure.
Referring to fig. 8, a voice enhancement apparatus 800 according to an exemplary embodiment of the present disclosure may include a data acquisition unit 801, a noise type estimation unit 802, a noise mask ratio estimation unit 803, and a voice enhancement unit 804.
The data acquisition unit 801 may acquire a noise-containing speech signal to be enhanced, including a speaker speech signal and at least one kind of scene noise data, and reference scene noise data, which is scene noise data desired to be removed from among the at least one kind of scene noise data. For example, the types of scenes may include subway stations, cafes, buses, streets, and the like. For example, the reference scene noise data may be a pre-recorded scene noise clip that the user desires to remove in the environment in which the speaker is located.
The noise type estimation unit 802 may input the reference scene noise data into the noise type discrimination network, to obtain a noise type characteristic of the reference scene noise data.
Here, the present disclosure does not limit the execution order of the data acquisition unit 801 and the noise type estimation unit 802. For example, the data acquisition unit 801 may acquire the reference scene noise data first and then acquire the noise-containing speech signal to be enhanced, or may acquire the noise-containing speech signal to be enhanced first and then acquire the reference scene noise data, or may acquire the noise-containing speech signal to be enhanced and the reference scene noise data at the same time. For another example, the data acquisition unit 801 may acquire the reference scene noise data first, the noise type estimation unit 802 acquires the noise type feature again, and then the data acquisition unit 801 acquires the noise-containing speech signal to be enhanced again.
The noise mask ratio estimation unit 803 may input the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, where the noise mask ratio may represent a ratio of the magnitude spectrum of the reference scene noise data to the magnitude spectrum of the noise-containing speech signal.
According to an exemplary embodiment of the present disclosure, the noise mask ratio estimation unit 803 may concatenate the amplitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature; and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene. According to another exemplary embodiment of the present disclosure, the noise mask ratio estimation unit 803 may input the amplitude spectrum of the noise-containing speech signal to be enhanced into a part of the noise mask ratio prediction network to obtain local features of the amplitude spectrum of the noise-containing speech sample; concatenating the local feature with the noise-type feature; and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
According to an exemplary embodiment of the present disclosure, the noise mask ratio prediction network may be a Convolutional Recurrent Neural Network (CRNN) including a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN). For example, as shown in fig. 4, the noise mask ratio estimation unit 803 may directly concatenate the magnitude spectrum of the noise-containing speech signal to be enhanced and the noise type feature, and input the concatenated feature into the noise mask ratio prediction network, to obtain an estimated noise mask ratio. For another example, as shown in fig. 5, the noise mask ratio estimation unit 803 may input the amplitude spectrum of the noise-containing speech signal to be enhanced into a part of the networks (for example, CNN) in the noise mask ratio prediction network, obtain local features of the amplitude spectrum of the noise-containing speech sample, then concatenate the local features with the noise type features, and input the concatenated features into another part of the noise mask ratio prediction network (for example, RNN) to obtain the estimated noise mask ratio.
The speech enhancement unit 804 may obtain an estimated speech enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noisy speech signal to be enhanced, wherein the estimated speech enhancement signal is an estimated speech enhancement signal obtained after removing the reference scene noise data from the noisy speech signal to be enhanced.
According to an exemplary embodiment of the present disclosure, the speech enhancement unit 804 may obtain an estimated amplitude spectrum of the speech enhancement signal by multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing speech signal to be enhanced, and then combine the amplitude spectrum of the estimated speech enhancement signal with the phase spectrum of the noise-containing speech signal to be enhanced and perform time-frequency inverse transformation to obtain the estimated speech enhancement signal.
Fig. 9 is a block diagram of an electronic device 900 according to an exemplary embodiment of the present disclosure.
Referring to fig. 9, an electronic device 900 includes at least one memory 901 and at least one processor 902, the at least one memory 901 having stored therein a set of computer-executable instructions that, when executed by the at least one processor 902, perform a training method or a speech enhancement method of a speech enhancement model according to an exemplary embodiment of the present disclosure.
By way of example, electronic device 900 may be a PC computer, tablet device, personal digital assistant, smart phone, or other device capable of executing the above-described set of instructions. Here, the electronic device 900 is not necessarily a single electronic device, but may be any apparatus or a collection of circuits capable of executing the above-described instructions (or instruction set) individually or in combination. The electronic device 900 may also be part of an integrated control system or system manager, or may be a portable electronic device configured to interface with locally or remotely (e.g., via wireless transmission).
In electronic device 900, processor 902 may include a Central Processing Unit (CPU), a Graphics Processor (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
The processor 902 may execute instructions or code stored in the memory 901, wherein the memory 1201 may also store data. The instructions and data may also be transmitted and received over a network via a network interface device, which may employ any known transmission protocol.
The memory 901 may be integrated with the processor 902, for example, RAM or flash memory disposed within an integrated circuit microprocessor or the like. In addition, memory 901 may include a stand-alone device, such as an external disk drive, storage array, or other storage device usable by any database system. The memory 901 and the processor 902 may be operatively coupled or may communicate with each other, for example, through an I/O port, network connection, etc., such that the processor 902 is able to read files stored in the memory.
In addition, the electronic device 900 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device 900 may be connected to each other via buses and/or networks.
According to an exemplary embodiment of the present disclosure, a computer-readable storage medium may also be provided, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform a training method or a speech enhancement method according to a speech enhancement model of the present disclosure. Examples of the computer readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, nonvolatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, blu-ray or optical disk storage, hard Disk Drives (HDD), solid State Disks (SSD), card memory (such as multimedia cards, secure Digital (SD) cards or ultra-fast digital (XD) cards), magnetic tape, floppy disks, magneto-optical data storage, hard disks, solid state disks, and any other means configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and to provide the computer programs and any associated data, data files and data structures to a processor or computer to enable the processor or computer to execute the programs. The computer programs in the computer readable storage media described above can be run in an environment deployed in a computer device, such as a client, host, proxy device, server, etc., and further, in one example, the computer programs and any associated data, data files, and data structures are distributed across networked computer systems such that the computer programs and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an exemplary embodiment of the present disclosure, a computer program product may also be provided, comprising computer instructions executable by at least one processor to perform a training method or a speech enhancement method of a speech enhancement model according to an exemplary embodiment of the present disclosure.
According to the training method and the training device of the voice enhancement model, the voice enhancement method and the voice enhancement device, specific scene noise can be input into the voice enhancement model by means of the specific scene noise as an auxiliary vector, and the specific scene noise can be removed under the specific scene, so that the specific scene noise can be removed according to the user requirements under the condition that the specific scene noise is included, and the voice enhancement effect expected by the user is achieved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (34)
1. A method of training a speech enhancement model, the speech enhancement model comprising a noise mask ratio prediction network and a noise type discrimination network, the method comprising:
obtaining a noise-containing voice sample, wherein the noise-containing voice sample is formed by mixing a speaker voice sample and at least one scene noise data;
inputting reference scene noise data in the at least one scene noise data into the noise type discrimination network to obtain noise type characteristics of the reference scene noise data, wherein the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data, and the voice enhancement model is used for obtaining an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noisy voice sample;
inputting the magnitude spectrum of the noise-containing voice sample and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the noise data of the reference scene, wherein the noise mask ratio represents the ratio of the magnitude spectrum of the noise data of the reference scene to the magnitude spectrum of the noise-containing voice sample;
Calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristics of the reference scene noise data;
and adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function, and training the voice enhancement model.
2. The training method of claim 1 wherein said inputting the magnitude spectrum of the noisy speech samples and the noise-type features into the noise mask ratio prediction network yields an estimated noise mask ratio of the reference scene noise data comprises:
the amplitude spectrum of the noise-containing voice sample and the noise type feature are connected in series;
and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
3. The training method of claim 1 wherein said inputting the magnitude spectrum of the noisy speech samples and the noise-type features into the noise mask ratio prediction network yields an estimated noise mask ratio of the reference scene noise data comprises:
inputting the amplitude spectrum of the noise-containing voice sample into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample;
Concatenating the local feature with the noise-type feature;
and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
4. A training method as claimed in claim 2 or 3 wherein the noise mask ratio prediction network is a convolutional recurrent neural network comprising a convolutional neural network and a recurrent neural network.
5. The training method of claim 4, wherein a portion of the noise mask ratio prediction network is a convolutional neural network of the convolutional recurrent neural networks and another portion of the noise mask ratio prediction network is a recurrent neural network of the convolutional recurrent neural networks.
6. The training method of claim 1, wherein each of the at least one scene noise data has a true noise type tag vector;
wherein calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristic of the reference scene noise data comprises:
multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice sample to obtain an estimated amplitude spectrum of the voice enhancement signal;
Obtaining an estimated noise type label vector by passing the noise type feature through a full connection layer;
and calculating a loss function based on the estimated amplitude spectrum of the voice enhancement signal, the amplitude spectrum of the target voice enhancement signal, the estimated noise type tag vector and the real noise type tag vector of the reference scene noise data, wherein the target voice enhancement signal is a signal after the noise-containing voice sample removes the reference scene noise data.
7. The training method of claim 6 wherein said calculating a loss function based on said estimated magnitude spectrum of the speech enhancement signal, said magnitude spectrum of the target speech enhancement signal, said estimated noise-type tag vector, said true noise-type tag vector of the reference scene noise data comprises:
calculating a mean square error loss function based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal;
calculating a cross entropy loss function based on the estimated noise-type tag vector and a true noise-type tag vector of the reference scene noise data;
and summing the mean square error loss function and the cross entropy loss function to obtain the loss function.
8. The training method of claim 7, wherein the loss function is represented as:
wherein Mag est Mag representing an amplitude spectrum of the estimated speech enhancement signal tar Representing the magnitude spectrum of the target speech enhancement signal,representing the mean square error loss function, M representing the total number of types of scene noise, i representing the traversal flag,/>Representing the estimated noise-type tag vector, z representing the true noise-type tag vector of the reference scene noise data, +.>Representing the cross entropy loss function.
9. A speech enhancement method, wherein the speech enhancement method is performed based on a speech enhancement model comprising a noise mask ratio prediction network and a noise type discrimination network, the speech enhancement method comprising:
acquiring a noise-containing voice signal to be enhanced and reference scene noise data, wherein the noise-containing voice signal to be enhanced comprises a speaker voice signal and at least one scene noise data, and the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data;
inputting the reference scene noise data into the noise type discrimination network to obtain the noise type characteristics of the reference scene noise data;
Inputting the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, wherein the noise mask ratio represents the ratio of the amplitude spectrum of the reference scene noise data to the amplitude spectrum of the noise-containing voice signal;
and obtaining an estimated voice enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noise-containing voice signal to be enhanced, wherein the estimated voice enhancement signal is an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noise-containing voice signal to be enhanced.
10. The method of speech enhancement according to claim 9, wherein said inputting the magnitude spectrum of the noisy speech signal to be enhanced and the noise-type features into the noise mask ratio prediction network yields an estimated noise mask ratio of the reference scene noise data, comprising:
the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type feature are connected in series;
and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
11. The method of speech enhancement according to claim 9, wherein said inputting the magnitude spectrum of the noisy speech signal to be enhanced and the noise-type features into the noise mask ratio prediction network yields an estimated noise mask ratio of the reference scene noise data, comprising:
inputting the amplitude spectrum of the noise-containing voice signal to be enhanced into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample;
concatenating the local feature with the noise-type feature;
and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
12. The speech enhancement method according to claim 10 or 11, wherein said noise mask ratio prediction network is a convolutional recurrent neural network comprising a convolutional neural network and a recurrent neural network.
13. The speech enhancement method of claim 12, wherein a portion of the noise mask ratio prediction network is a convolutional neural network of the convolutional recurrent neural networks and another portion of the noise mask ratio prediction network is a recurrent neural network of the convolutional recurrent neural networks.
14. The speech enhancement method of claim 9 wherein said deriving an estimated speech enhancement signal based on said estimated noise mask ratio of said reference scene noise data and said noisy speech signal to be enhanced comprises:
multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice signal to be enhanced after being complemented to obtain the estimated amplitude spectrum of the voice enhancement signal;
combining the amplitude spectrum of the estimated voice enhancement signal with the phase spectrum of the noise-containing voice signal to be enhanced and performing time-frequency inverse transformation to obtain the estimated voice enhancement signal.
15. The method of claim 9, wherein the reference scene noise data is a scene noise segment that is expected to be removed pre-recorded in an environment in which a speaker is located.
16. A speech enhancement method according to claim 9, wherein said speech enhancement model is trained using a training method for a speech enhancement model according to any of claims 1 to 8.
17. A training device for a speech enhancement model, wherein the speech enhancement model comprises a noise mask ratio prediction network and a noise type discrimination network, the training device comprising:
A sample acquisition unit configured to: obtaining a noise-containing voice sample, wherein the noise-containing voice sample is formed by mixing a speaker voice sample and at least one scene noise data;
a noise type estimation unit configured to: inputting reference scene noise data in the at least one scene noise data into the noise type discrimination network to obtain noise type characteristics of the reference scene noise data, wherein the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data, and the voice enhancement model is used for obtaining an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noisy voice sample;
a noise mask ratio estimation unit configured to: inputting the magnitude spectrum of the noise-containing voice sample and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the noise data of the reference scene, wherein the noise mask ratio represents the ratio of the magnitude spectrum of the noise data of the reference scene to the magnitude spectrum of the noise-containing voice sample;
a loss function calculation unit configured to: calculating a loss function based on the estimated noise mask ratio of the reference scene noise data and the noise type characteristics of the reference scene noise data;
A model training unit configured to: and adjusting parameters of the noise mask ratio prediction network and the noise type discrimination network through the calculated loss function, and training the voice enhancement model.
18. The training apparatus of claim 17, wherein the noise mask ratio estimation unit is configured to:
the amplitude spectrum of the noise-containing voice sample and the noise type feature are connected in series;
and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
19. The training apparatus of claim 17, wherein the noise mask ratio estimation unit is configured to:
inputting the amplitude spectrum of the noise-containing voice sample into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample;
concatenating the local feature with the noise-type feature;
and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
20. Training apparatus according to claim 18 or 19, wherein the noise mask ratio prediction network is a convolutional recurrent neural network comprising a convolutional neural network and a recurrent neural network.
21. The training apparatus of claim 20 wherein a portion of the noise mask ratio prediction network is a convolutional neural network of the convolutional recurrent neural networks and another portion of the noise mask ratio prediction network is a recurrent neural network of the convolutional recurrent neural networks.
22. The training apparatus of claim 17 wherein each of the at least one scene noise data has a true noise type tag vector;
wherein the loss function calculation unit is configured to:
multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice sample to obtain an estimated amplitude spectrum of the voice enhancement signal;
obtaining an estimated noise type label vector by passing the noise type feature through a full connection layer;
and calculating a loss function based on the estimated amplitude spectrum of the voice enhancement signal, the amplitude spectrum of the target voice enhancement signal, the estimated noise type tag vector and the real noise type tag vector of the reference scene noise data, wherein the target voice enhancement signal is a signal after the noise-containing voice sample removes the reference scene noise data.
23. The training apparatus of claim 22 wherein the loss function calculation unit is configured to:
calculating a mean square error loss function based on the estimated magnitude spectrum of the speech enhancement signal and the magnitude spectrum of the target speech enhancement signal;
calculating a cross entropy loss function based on the estimated noise-type tag vector and a true noise-type tag vector of the reference scene noise data;
and summing the mean square error loss function and the cross entropy loss function to obtain the loss function.
24. The training apparatus of claim 23 wherein the loss function is represented as:
wherein Mag est Mag representing an amplitude spectrum of the estimated speech enhancement signal tar Representing the magnitude spectrum of the target speech enhancement signal,representing the mean square error loss function, M representing the total number of types of scene noise, i representing the traversal flag,/>Representing the estimated noise-type tag vector, z representing the true noise-type tag vector of the reference scene noise data, +.>Representing the cross entropy loss function.
25. A speech enhancement apparatus that performs operations based on a speech enhancement model that includes a noise mask ratio prediction network and a noise type discrimination network, the speech enhancement apparatus comprising:
A data acquisition unit configured to: acquiring a noise-containing voice signal to be enhanced and reference scene noise data, wherein the noise-containing voice signal to be enhanced comprises a speaker voice signal and at least one scene noise data, and the reference scene noise data is scene noise data which is expected to be removed from the at least one scene noise data;
a noise type estimation unit configured to: inputting the reference scene noise data into the noise type discrimination network to obtain the noise type characteristics of the reference scene noise data;
a noise mask ratio estimation unit configured to: inputting the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type characteristic into the noise mask ratio prediction network to obtain an estimated noise mask ratio of the reference scene noise data, wherein the noise mask ratio represents the ratio of the amplitude spectrum of the reference scene noise data to the amplitude spectrum of the noise-containing voice signal;
a speech enhancement unit configured to: and obtaining an estimated voice enhancement signal based on the estimated noise mask ratio of the reference scene noise data and the noise-containing voice signal to be enhanced, wherein the estimated voice enhancement signal is an estimated voice enhancement signal obtained after the reference scene noise data is removed from the noise-containing voice signal to be enhanced.
26. The speech enhancement apparatus of claim 25, wherein the noise mask ratio estimation unit is configured to:
the amplitude spectrum of the noise-containing voice signal to be enhanced and the noise type feature are connected in series;
and inputting the characteristics after the series connection into the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
27. The speech enhancement apparatus of claim 25, wherein the noise mask ratio estimation unit is configured to:
inputting the amplitude spectrum of the noise-containing voice signal to be enhanced into a part of the noise mask ratio prediction network to obtain local characteristics of the amplitude spectrum of the noise-containing voice sample;
concatenating the local feature with the noise-type feature;
and inputting the characteristics after the series connection into another part of the noise mask ratio prediction network to obtain the estimated noise mask ratio of the noise data of the reference scene.
28. The speech enhancement apparatus according to claim 26 or 27, wherein said noise mask ratio prediction network is a convolutional recurrent neural network comprising a convolutional neural network and a recurrent neural network.
29. The speech enhancement apparatus of claim 28, wherein a portion of the noise mask ratio prediction network is a convolutional neural network of the convolutional recurrent neural networks and another portion of the noise mask ratio prediction network is a recurrent neural network of the convolutional recurrent neural networks.
30. The speech enhancement apparatus of claim 25, wherein the speech enhancement unit is configured to:
multiplying the estimated noise mask ratio of the reference scene noise data with the amplitude spectrum of the noise-containing voice signal to be enhanced after being complemented to obtain the estimated amplitude spectrum of the voice enhancement signal;
combining the amplitude spectrum of the estimated voice enhancement signal with the phase spectrum of the noise-containing voice signal to be enhanced and performing time-frequency inverse transformation to obtain the estimated voice enhancement signal.
31. The speech enhancement apparatus of claim 25 wherein the reference scene noise data is a prerecorded scene noise segment that is desired to be removed in the environment of the speaker.
32. The speech enhancement apparatus of claim 25, wherein the speech enhancement model is trained using a training method of a speech enhancement model according to any of claims 1 to 8.
33. An electronic device, comprising:
at least one processor;
at least one memory storing computer-executable instructions,
wherein the computer executable instructions, when executed by the at least one processor, cause the at least one processor to perform the training method of the speech enhancement model of any one of claims 1 to 8 or the speech enhancement method of any one of claims 9 to 16.
34. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by at least one processor, cause the at least one processor to perform the training method of the speech enhancement model of any of claims 1 to 8 or the speech enhancement method of any of claims 9 to 16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110529546.6A CN113284507B (en) | 2021-05-14 | 2021-05-14 | Training method and device for voice enhancement model and voice enhancement method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110529546.6A CN113284507B (en) | 2021-05-14 | 2021-05-14 | Training method and device for voice enhancement model and voice enhancement method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113284507A CN113284507A (en) | 2021-08-20 |
CN113284507B true CN113284507B (en) | 2024-02-13 |
Family
ID=77279202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110529546.6A Active CN113284507B (en) | 2021-05-14 | 2021-05-14 | Training method and device for voice enhancement model and voice enhancement method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113284507B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113593594B (en) * | 2021-09-01 | 2024-03-08 | 北京达佳互联信息技术有限公司 | Training method and equipment for voice enhancement model and voice enhancement method and equipment |
CN113921030B (en) * | 2021-12-07 | 2022-06-07 | 江苏清微智能科技有限公司 | Speech enhancement neural network training method and device based on weighted speech loss |
CN114220451A (en) * | 2021-12-08 | 2022-03-22 | 思必驰科技股份有限公司 | Audio denoising method, electronic device, and storage medium |
CN114999508B (en) * | 2022-07-29 | 2022-11-08 | 之江实验室 | Universal voice enhancement method and device by utilizing multi-source auxiliary information |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043030B1 (en) * | 1999-06-09 | 2006-05-09 | Mitsubishi Denki Kabushiki Kaisha | Noise suppression device |
CN109065067A (en) * | 2018-08-16 | 2018-12-21 | 福建星网智慧科技股份有限公司 | A kind of conference terminal voice de-noising method based on neural network model |
CN111429930A (en) * | 2020-03-16 | 2020-07-17 | 云知声智能科技股份有限公司 | Noise reduction model processing method and system based on adaptive sampling rate |
CN111554315A (en) * | 2020-05-29 | 2020-08-18 | 展讯通信(天津)有限公司 | Single-channel voice enhancement method and device, storage medium and terminal |
CN112289333A (en) * | 2020-12-25 | 2021-01-29 | 北京达佳互联信息技术有限公司 | Training method and device of voice enhancement model and voice enhancement method and device |
CN112652290A (en) * | 2020-12-14 | 2021-04-13 | 北京达佳互联信息技术有限公司 | Method for generating reverberation audio signal and training method of audio processing model |
CN112712816A (en) * | 2020-12-23 | 2021-04-27 | 北京达佳互联信息技术有限公司 | Training method and device of voice processing model and voice processing method and device |
-
2021
- 2021-05-14 CN CN202110529546.6A patent/CN113284507B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043030B1 (en) * | 1999-06-09 | 2006-05-09 | Mitsubishi Denki Kabushiki Kaisha | Noise suppression device |
CN109065067A (en) * | 2018-08-16 | 2018-12-21 | 福建星网智慧科技股份有限公司 | A kind of conference terminal voice de-noising method based on neural network model |
CN111429930A (en) * | 2020-03-16 | 2020-07-17 | 云知声智能科技股份有限公司 | Noise reduction model processing method and system based on adaptive sampling rate |
CN111554315A (en) * | 2020-05-29 | 2020-08-18 | 展讯通信(天津)有限公司 | Single-channel voice enhancement method and device, storage medium and terminal |
CN112652290A (en) * | 2020-12-14 | 2021-04-13 | 北京达佳互联信息技术有限公司 | Method for generating reverberation audio signal and training method of audio processing model |
CN112712816A (en) * | 2020-12-23 | 2021-04-27 | 北京达佳互联信息技术有限公司 | Training method and device of voice processing model and voice processing method and device |
CN112289333A (en) * | 2020-12-25 | 2021-01-29 | 北京达佳互联信息技术有限公司 | Training method and device of voice enhancement model and voice enhancement method and device |
Non-Patent Citations (1)
Title |
---|
噪声环境下语音增强的算法分析与研究;程嫚嫚;《信息化研究》;第41卷(第1期);第29-34页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113284507A (en) | 2021-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113284507B (en) | Training method and device for voice enhancement model and voice enhancement method and device | |
CN112289333B (en) | Training method and device of voice enhancement model and voice enhancement method and device | |
Das et al. | Long range acoustic and deep features perspective on ASVspoof 2019 | |
CN112927707B (en) | Training method and device for voice enhancement model and voice enhancement method and device | |
JP6594839B2 (en) | Speaker number estimation device, speaker number estimation method, and program | |
CN112309426A (en) | Voice processing model training method and device and voice processing method and device | |
CN112712816B (en) | Training method and device for voice processing model and voice processing method and device | |
CN113470685B (en) | Training method and device for voice enhancement model and voice enhancement method and device | |
JP6553015B2 (en) | Speaker attribute estimation system, learning device, estimation device, speaker attribute estimation method, and program | |
CN113241088A (en) | Training method and device of voice enhancement model and voice enhancement method and device | |
KR102018286B1 (en) | Method and Apparatus for Removing Speech Components in Sound Source | |
CN110415722B (en) | Speech signal processing method, storage medium, computer program, and electronic device | |
Kumar et al. | Speech frame selection for spoofing detection with an application to partially spoofed audio-data | |
CN113035221B (en) | Training method and device for voice processing model and voice processing method and device | |
JP5395399B2 (en) | Mobile terminal, beat position estimating method and beat position estimating program | |
CN112652290B (en) | Method for generating reverberation audio signal and training method of audio processing model | |
Felipe et al. | Acoustic scene classification using spectrograms | |
CN113555031A (en) | Training method and device of voice enhancement model and voice enhancement method and device | |
Cui et al. | Research on audio recognition based on the deep neural network in music teaching | |
Sun | Digital audio scene recognition method based on machine learning technology | |
CN116092529A (en) | Training method and device of tone quality evaluation model, and tone quality evaluation method and device | |
CN114242110A (en) | Model training method, audio processing method, device, equipment, medium and product | |
Karantaidis et al. | Efficient Capon-based approach exploiting temporal windowing for electric network frequency estimation | |
JP6827908B2 (en) | Speech enhancement device, speech enhancement learning device, speech enhancement method, program | |
JP6912780B2 (en) | Speech enhancement device, speech enhancement learning device, speech enhancement method, program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |