Sound signal enhancement method and device based on waveform and frequency domain information fusion network
Through a multi-modal fusion network based on waveform and frequency domain information, the problem of inaccurate local information of time domain or frequency domain enhanced signals in the existing technology is solved, achieving high-quality enhancement of sound signals and increasing the upper limit of enhancement.
Patent Information
- Application Number
- CN202210627965.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-01
AI Technical Summary
When the existing technology enhances sound signals in a separate time domain or frequency domain, it is easy for the local information of the signal to be too strong or too weak, resulting in inaccurate spectrum or waveform estimation, which limits the upper limit of sound signal enhancement.
Using a multi-modal fusion network based on waveform and frequency domain information, by obtaining the sound training sample set, inputting the initial fusion network model, calculating the loss function and iteratively adjusting the network parameters, a trained multi-modal fusion network model is generated for treating The enhanced sound signal carries the complementary advantages of time domain and frequency domain information.
The enhancement quality and upper limit of enhancement of the sound signal are improved, the quality of the output speech signal is higher, and the advantages of time domain and frequency domain information are complemented.
Smart Images

Figure CN114783457B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of signal processing technology, and more specifically, to a single-channel sound signal enhancement method and device based on a multimodal fusion network of waveform and frequency domain information. Background Art
[0002] Due to the influence of environmental noise, the interference of sound signals in the communication process is inevitable. The noise caused by the surrounding environment seriously affects the sound signal collection of electronic equipment. Many applications related to sound signals, such as automatic sound signal recognition and hearing assistance systems, face severe challenges. Therefore, it is of great significance to extract useful sound signal information from noisy signals and improve the quality and intelligibility of sound signals.
[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: Learning the corresponding mapping target in the time domain or frequency domain alone can easily lead to the situation where the local information of the enhanced signal is too strong or too weak, which in turn makes the reconstruction of the spectrum estimation or waveform estimation inaccurate, and ultimately limits the upper limit of the enhancement of the sound signal. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a single-channel sound signal enhancement method, device, electronic device, computer-readable storage medium and computer program product based on a waveform and frequency domain information multimodal fusion network.
[0005] One aspect of an embodiment of the present disclosure provides a single-channel sound signal enhancement method based on a waveform and frequency domain information multimodal fusion network, comprising:
[0006] Acquire a sound training sample set, wherein the sound training sample set includes a plurality of sound training samples and corresponding label data, and each of the sound training samples includes a training sound signal and a training amplitude spectrum;
[0007] Input the above sound training samples into the initial fusion network model, and output enhanced training sound data, wherein the above initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of sound signals;
[0008] Calculate the loss function based on the label data and the enhanced training sound data to obtain a loss result;
[0009] Iteratively adjusting the network parameters of the initial fusion network model according to the loss result to generate a trained multimodal fusion network model;
[0010] The sound signal to be enhanced is input into the above multimodal fusion network model, and an enhanced speech signal is output.
[0011] According to an embodiment of the present disclosure, the above-mentioned initial fusion network model includes a dual-path joint optimization training unit and a multimodal information fusion unit;
[0012] The step of inputting the sound training samples into the initial fusion network model and outputting enhanced training sound data includes:
[0013] Inputting the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit, and outputting an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum respectively;
[0014] The enhanced training sound signal and the enhanced training amplitude spectrum are input into the multimodal information fusion unit, and the enhanced training sound data is output.
[0015] According to an embodiment of the present disclosure, the dual-path joint optimization training unit includes a main path subunit and an auxiliary path subunit;
[0016] The main path subunit comprises a plurality of first convolutional layers, a plurality of first gated recurrent layers and a plurality of second convolutional layers connected in sequence, wherein each first convolutional layer is respectively connected to one of the second convolutional layers, and the connection relationship is symmetrical about the plurality of first gated recurrent layers;
[0017] The auxiliary path subunit includes a plurality of third convolutional layers, a plurality of second gated recurrent layers and a plurality of fourth convolutional layers connected in sequence, wherein each of the third convolutional layers is respectively connected to one of the fourth convolutional layers, and the connection relationship is symmetrical about the plurality of second gated recurrent layers.
[0018] According to an embodiment of the present disclosure, the inputting of the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit, and outputting an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum, respectively, comprises:
[0019] Inputting the training sound signal into the plurality of first convolutional layers, and outputting a first sound feature;
[0020] Inputting the first sound feature into the plurality of first gated recurrent layers, and outputting a second sound feature, wherein the first gated recurrent layer is used to establish a temporal correlation between frames in the first sound feature;
[0021] Inputting the second sound feature into the plurality of second convolutional layers, and outputting the enhanced training sound signal;
[0022] The training amplitude spectrum is input into the auxiliary path sub-unit, and the enhanced training amplitude spectrum is output.
[0023] According to an embodiment of the present disclosure, the step of inputting the training amplitude spectrum into the auxiliary path subunit and outputting the enhanced training amplitude spectrum includes:
[0024] Inputting the training amplitude spectrum into the plurality of third convolutional layers, and outputting a first spectrum feature;
[0025] Inputting the first spectrum feature into a plurality of second gated recurrent layers, and outputting a second spectrum feature, wherein the second gated recurrent layers are used to establish a temporal correlation between frames in the first spectrum feature;
[0026] The second frequency spectrum feature is input into the plurality of fourth convolutional layers, and the enhanced training amplitude spectrum is output.
[0027] According to an embodiment of the present disclosure, the step of inputting the enhanced training sound signal and the enhanced training amplitude spectrum into the multimodal information fusion unit and outputting the enhanced training sound data includes:
[0028] Performing short-time Fourier transform on the enhanced training sound signal to obtain phase information and auxiliary amplitude spectrum;
[0029] According to the auxiliary amplitude spectrum and the training amplitude spectrum, a fused amplitude spectrum is obtained;
[0030] According to the above phase information and the above fused amplitude spectrum, a target spectrum diagram is obtained;
[0031] Performing short-time inverse Fourier transform on the target spectrogram to obtain the enhanced training sound data.
[0032] According to an embodiment of the present disclosure, the loss function of the main path subunit is as follows:
[0033]
[0034] Among them, θ represents a set of learnable parameters in the multimodal fusion network model; N represents the number of training sound signals in the sound training sample set; y i Representation of training sound signal, s i Represents the pure sound signal in the label data corresponding to the training sound signal; F(y i ; θ) represents the enhanced training sound signal generated by the main path subunit; L m (θ) represents the loss value between the enhanced training sound signal and the pure sound signal in the main path subunit;
[0035] The loss function of the auxiliary path subunit above is as follows:
[0036]
[0037] Among them, Y(i) mag Characterizes the amplitude spectrum of the input noisy signal, S(i) mag Characterizes the amplitude spectrum of pure sound signal; F(Y(i) mag ; θ) characterizes the enhanced training amplitude spectrum generated by the auxiliary path subunit; L a (θ) represents the loss value between the enhanced training amplitude spectrum in the auxiliary path subunit and the amplitude spectrum of the pure sound signal in the label data;
[0038] The loss function L of the above multimodal fusion network model is as follows:
[0039] L=k1*L m +k2*L a
[0040] Among them, k1 and k2 both represent preset coefficients, L m Characterize the loss function of the main path subunit, L a Loss function characterizing auxiliary path subunits.
[0041] According to an embodiment of the present disclosure, before inputting the sound signal to be enhanced into the multimodal fusion network model, the method further includes:
[0042] The sound signal to be enhanced is preprocessed to obtain a preprocessed sound signal.
[0043] According to an embodiment of the present disclosure, preprocessing the sound signal to be enhanced to obtain a preprocessed sound signal includes:
[0044] Resampling the sound signal to be enhanced according to a preset sampling frequency to obtain a first sound signal;
[0045] Performing short-time Fourier transform on the first sound signal according to a preset dimension to obtain the preprocessed sound signal, wherein the preprocessed sound signal includes a signal amplitude spectrum.
[0046] Another aspect of the embodiments of the present disclosure provides a single-channel sound signal enhancement device based on a waveform and frequency domain information multimodal fusion network, comprising:
[0047] An acquisition module is used to acquire a sound training sample set, wherein the sound training sample set includes a plurality of sound training samples and corresponding label data, and each of the sound training samples includes a training sound signal and a training amplitude spectrum;
[0048] A training module, used to input the above-mentioned sound training samples into an initial fusion network model, and output enhanced training sound data, wherein the above-mentioned initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of sound signals;
[0049] A calculation module, used to calculate a loss function based on the label data and the enhanced training sound data to obtain a loss result;
[0050] An iteration module, used for iteratively adjusting the network parameters of the initial fusion network model according to the loss result to generate a trained multimodal fusion network model; and
[0051] The enhancement module is used to input the sound signal to be enhanced into the above-mentioned multimodal fusion network model and output an enhanced speech signal.
[0052] Another aspect of an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described above.
[0053] Another aspect of an embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the method described above when executed.
[0054] Another aspect of an embodiment of the present disclosure provides a computer program product, wherein the computer program product includes computer executable instructions, and the instructions are used to implement the method described above when executed.
[0055] According to an embodiment of the present disclosure, a multimodal fusion network model is trained by training samples that may include training sound signals and training amplitude spectra. Since the multimodal fusion network model can fuse the time domain information and frequency domain information of the sound signal, the multimodal fusion network model can complement the time domain information and frequency domain information of the sound signal to be enhanced, thereby making the output enhanced speech signal of higher quality and at the same time improving the enhancement upper limit of the sound signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0057] Figure 1 An exemplary system architecture of a method for enhancing a single-channel sound signal according to an embodiment of the present disclosure is schematically shown;
[0058] Figure 2A flowchart of a single-channel sound signal enhancement method according to an embodiment of the present disclosure is schematically shown;
[0059] Figure 3 The model structure diagram of the multimodal fusion network model according to the embodiment of the present disclosure is schematically shown;
[0060] Figure 4 A flowchart of a method for obtaining enhanced training sound data according to an embodiment of the present disclosure is schematically shown;
[0061] Figure 5 A block diagram schematically shows a single-channel sound signal enhancement device according to an embodiment of the present disclosure; and
[0062] Figure 6 A block diagram of an electronic device for implementing a single-channel sound signal enhancement method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0063] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0064] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0065] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0066] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0067] In the related art, single-channel sound signal enhancement methods based on deep neural networks are mainly divided into two categories: mapping-based sound signal enhancement and mask-based sound signal enhancement.
[0068] Mapping-based sound signal enhancement directly learns the mapping relationship between noisy sound signals and pure sound signals by training a neural network model. There are mainly two mapping schemes. One is spectrum mapping, which converts noisy sound signals from the time domain to the frequency domain, using the amplitude spectrum or complex spectrum as input and optimization target. The other is waveform mapping, which directly uses the noisy sound signal waveform as input, and the model directly outputs the enhanced sound signal.
[0069] Mask-based sound signal enhancement is usually used to estimate the time-frequency mask used to restore the pure sound signal, such as ideal binary mask (IBM) and ideal amplitude mask (IAM).
[0070] However, the above method learns the corresponding mapping targets in the time domain or frequency domain alone, which can easily lead to the situation where the local information of the enhanced signal is too strong or too weak, thereby making the reconstruction of the spectrum estimation or waveform estimation inaccurate, and ultimately resulting in a limited enhancement range of the sound signal.
[0071] In view of this, the embodiments of the present disclosure provide a method and device for enhancing a sound signal based on a waveform and frequency domain information fusion network. The method includes obtaining a sound training sample set, wherein the sound training sample set includes multiple sound training samples and corresponding label data, and each sound training sample includes a training sound signal and a training amplitude spectrum; inputting the sound training sample into an initial fusion network model, and outputting enhanced training sound data, wherein the initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of the sound signal; calculating a loss function based on the label data and the enhanced training sound data to obtain a loss result; iteratively adjusting the network parameters of the initial fusion network model based on the loss result to generate a trained multimodal fusion network model; inputting the sound signal to be enhanced into the multimodal fusion network model, and outputting an enhanced speech signal.
[0072] Figure 1 The exemplary system architecture 100 to which the single-channel sound signal enhancement method according to an embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0073] like Figure 1As shown, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, a server 105, and a sound signal collection device 106. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103, the server 105, and the sound signal collection device 106. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0074] Users can use terminal devices 101, 102, 103 to interact with server 105 and sound signal collection device 106 through network 104 to receive or send messages, etc. Various communication client applications, such as sound signal enhancement applications, can be installed on terminal devices 101, 102, 103.
[0075] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0076] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0077] It should be noted that the single-channel sound signal enhancement method provided in the embodiment of the present disclosure can generally be performed by the terminal device 101, 102, or 103, or can also be performed by other terminal devices different from the terminal devices 101, 102, or 103. Accordingly, the single-channel sound signal enhancement system provided in the embodiment of the present disclosure can be set in the terminal device 101, 102, or 103, or in other terminal devices different from the terminal device 101, 102, or 103. Alternatively, the single-channel sound signal enhancement method provided in the embodiment of the present disclosure can also be performed by the server 105. Accordingly, the single-channel sound signal enhancement system provided in the embodiment of the present disclosure can generally be set in the server 105. The single-channel sound signal enhancement method provided in the embodiment of the present disclosure can also be performed by a server or server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the single-channel sound signal enhancement system provided by the embodiment of the present disclosure may also be disposed in a server or server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101 , 102 , 103 and / or the server 105 .
[0078] It should be understood that Figure 1 The number of terminal devices, networks, servers and sound signal collection devices in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0079] Figure 2 The flowchart of the single-channel sound signal enhancement method according to the embodiment of the present disclosure is schematically shown.
[0080] like Figure 2 As shown, the single-channel sound signal enhancement method based on the waveform and frequency domain information multimodal fusion network may include operations S210 to S250.
[0081] In operation S210, a sound training sample set is acquired, wherein the sound training sample set may include a plurality of sound training samples and corresponding label data, and each sound training sample may include a training sound signal and a training amplitude spectrum.
[0082] In operation S220, the sound training sample is input into an initial fusion network model, and enhanced training sound data is output, wherein the initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of the sound signal.
[0083] In operation S230, a loss function is calculated according to the label data and the enhanced training sound data to obtain a loss result.
[0084] In operation S240, network parameters of the initial fusion network model are iteratively adjusted according to the loss result to generate a trained multimodal fusion network model.
[0085] In operation S250, the sound signal to be enhanced is input into the multimodal fusion network model, and an enhanced speech signal is output.
[0086] According to an embodiment of the present disclosure, the sound signal to be enhanced may include the sound to be de-noised, so the single-channel sound signal enhancement method of the present disclosure may be applied to various audio output devices such as headphones, televisions, mobile phones, and intercoms.
[0087] According to an embodiment of the present disclosure, the label data may include a clean sound signal s(t) corresponding to the sound training sample and a corresponding amplitude spectrum S mag The training sound signal may include a sound signal time domain waveform y(t).
[0088] According to an embodiment of the present disclosure, the initial fusion network model is trained using a sound training sample set that may include multiple sound training samples and corresponding label data. Each training sample can output an enhanced training sound data after being input into the initial fusion network model. The corresponding loss function is calculated based on the enhanced training sound data and the corresponding label data, so that the network parameters of the initial fusion network model are iteratively adjusted according to the calculated loss result. When the initial fusion network model reaches convergence, a trained multimodal fusion network model can be obtained. The sound signal to be enhanced is input into the multimodal fusion network model. The multimodal fusion network model can jointly optimize the learning and cross-fusion of the time domain information and frequency domain information of the input sound signal to be enhanced, thereby realizing the complementary advantages of multiple modal information, thereby outputting an enhanced speech signal with higher speech signal quality.
[0089] According to an embodiment of the present disclosure, a multimodal fusion network model is trained by training samples that may include training sound signals and training amplitude spectra. Since the multimodal fusion network model can fuse the time domain information and frequency domain information of the sound signal, the multimodal fusion network model can complement the time domain information and frequency domain information of the sound signal to be enhanced, thereby making the output enhanced speech signal of higher quality and at the same time improving the enhancement upper limit of the sound signal.
[0090] Figure 3 The model structure diagram of the multimodal fusion network model according to an embodiment of the present disclosure is schematically shown.
[0091] According to an embodiment of the present disclosure, the initial fusion network model may include a dual-path joint optimization training unit and a multimodal information fusion unit.
[0092] like Figure 3 As shown, inputting the sound training sample into the initial fusion network model and outputting the enhanced training sound data may include the following operations:
[0093] The training sound signal and the training amplitude spectrum are input into the dual-path joint optimization training unit, and the enhanced training sound signal corresponding to the training sound signal and the training amplitude spectrum is output. and enhanced training amplitude spectrum Enhanced training sound signals and enhanced training amplitude spectrum Input the multimodal information fusion unit and output the enhanced training sound data.
[0094] According to the embodiment of the present disclosure, the dual-path joint optimization training unit realizes the joint optimization learning of the sound signal waveform and amplitude spectrum. The multimodal information fusion unit is composed of a modal conversion mechanism and a complementary enhancement mechanism. The modal conversion mechanism is mainly responsible for and Modeling is done and unified into the same modal space. The complementary fusion mechanism is mainly used to realize the complementary advantages of time domain information and frequency domain information.
[0095] According to an embodiment of the present disclosure, the dual-path joint optimization training unit may include a main path sub-unit and an auxiliary path sub-unit.
[0096] The main path subunit may include a plurality of first convolutional layers, a plurality of first gated recurrent layers, and a plurality of second convolutional layers connected in sequence, wherein each first convolutional layer is respectively connected to a second convolutional layer, and the connection relationship is symmetrical about the plurality of first gated recurrent layers.
[0097] The auxiliary path subunit may include a plurality of third convolutional layers, a plurality of second gated recurrent layers, and a plurality of fourth convolutional layers connected in sequence, wherein each third convolutional layer is respectively connected to a fourth convolutional layer, and the connection relationship is symmetrical about the plurality of second gated recurrent layers.
[0098] In an exemplary embodiment, the number of the first convolutional layer and the second convolutional layer may be the same, for example, 6. The number of the third convolutional layer and the fourth convolutional layer may also be the same, for example, 6, and the specific number may be set according to actual needs.
[0099] According to the embodiments of the present disclosure, the stacking of multiple first convolutional layers can realize the mapping of the waveform information of the input sound signal to a higher-dimensional vector space. Multiple first gated recurrent layers can model the feature vector in the latent space. Multiple second convolutional layers can realize the decoding and reconstruction of the feature vector, thereby obtaining the sound signal after the main path enhancement.
[0100] According to the embodiments of the present disclosure, the third convolution layer can realize the nonlinear mapping of two-dimensional frequency domain information to high-dimensional space. Multiple second gated recurrent layers can establish the temporal correlation between frames. The fourth convolution layer can realize the reconstruction of spectral information, thereby obtaining the amplitude spectrum after auxiliary path enhancement.
[0101] According to an embodiment of the present disclosure, the first convolution layer may include multiple one-dimensional convolution layers, a rectified linear layer, and a gated mechanism activation function layer, and the second convolution layer may include a one-dimensional convolution layer, a gated mechanism activation function layer, a sub-pixel convolution layer, and a rectified linear layer.
[0102] According to an embodiment of the present disclosure, the third convolution layer may include a two-dimensional convolution layer, a batch normalization layer, and an exponential linear activation function layer, and the fourth convolution layer may include a sub-pixel convolution layer, a batch normalization layer, and an exponential linear activation function layer.
[0103] According to the embodiment of the present disclosure, the main path subunit adopts a skip connection method to fuse the semantic information of the shallow feature vector and the deep vector to realize the decoding reconstruction of the feature vector, thereby obtaining the sound signal after the main path enhancement.
[0104] According to the embodiment of the present disclosure, the auxiliary path subunits use a skip connection method to realize the interconnection of corresponding positions, build the association between shallow semantic information and deep semantic information, so as to realize the reconstruction of spectrum information, thereby obtaining the amplitude spectrum after the auxiliary path enhancement.
[0105] According to an embodiment of the present disclosure, the skip connection method in the main path sub-unit may refer to connecting the first first convolutional layer and the last second convolutional layer, connecting the second first convolutional layer and the second to last second convolutional layer, and so on to realize the skip connection between multiple first convolutional layers and multiple first convolutional layers.
[0106] According to an embodiment of the present disclosure, the skip connection method in the auxiliary path sub-unit may refer to connecting the first third convolutional layer and the last fourth convolutional layer, connecting the second third convolutional layer and the second to last fourth convolutional layer, and so on to realize the skip connection of multiple third convolutional layers and multiple fourth convolutional layers.
[0107] like Figure 3 As shown, the training sound signal and the training amplitude spectrum are input into the dual-path joint optimization training unit, and the enhanced training sound signal corresponding to the training sound signal and the training amplitude spectrum is output. and enhanced training amplitude spectrum The following operations may be included.
[0108] Input the training sound signal into multiple first convolutional layers to output the first sound feature. Input the first sound feature into multiple first gated recurrent layers to output the second sound feature, wherein the first gated recurrent layer is used to establish the temporal correlation between frames in the first sound feature. Input the second sound feature into multiple second convolutional layers to output the enhanced training sound signal. Input the training amplitude spectrum into the auxiliary path subunit and output the enhanced training amplitude spectrum
[0109] According to an embodiment of the present disclosure, inputting the training amplitude spectrum into the auxiliary path subunit and outputting the enhanced training amplitude spectrum may include the following operations:
[0110] The training amplitude spectrum is input into a plurality of third convolutional layers, and a first spectrum feature is output. The first spectrum feature is input into a plurality of second gated recurrent layers, and a second spectrum feature is output, wherein the second gated recurrent layers are used to establish a temporal correlation between frames in the first spectrum feature. The second spectrum feature is input into a plurality of fourth convolutional layers, and an enhanced training amplitude spectrum is output.
[0111] Figure 4 A flowchart of a method for obtaining enhanced training sound data according to an embodiment of the present disclosure is schematically shown.
[0112] like Figure 4 As shown, the enhanced training sound signal and enhanced training amplitude spectrum Inputting a multimodal information fusion unit and outputting enhanced training sound data may include operations S401 to S405.
[0113] In operation S401, the enhanced training sound signal Perform short-time Fourier transform to obtain phase information and auxiliary amplitude spectrum
[0114] In operation S402, according to the auxiliary amplitude spectrum and training amplitude spectrum Get the fused amplitude spectrum.
[0115] In operation S403, according to the phase information And the fused amplitude spectrum to get the target spectrum diagram.
[0116] In operation S404, a short-time inverse Fourier transform is performed on the target spectrogram to obtain enhanced training sound data.
[0117] According to the embodiment of the present disclosure, after the dual-path joint optimization training unit completes the noise reduction and enhancement of the input training sound signal, in order to achieve the complementary fusion of frequency domain information and time domain information, a multimodal information fusion unit can be used for processing. The multimodal information fusion unit is composed of a modal conversion mechanism and a complementary enhancement mechanism. The modal conversion mechanism is mainly responsible for and Modeling is done and unified into the same modal space. The complementary fusion mechanism is mainly used to realize the complementary advantages of time domain information and frequency domain information.
[0118] According to an embodiment of the present disclosure, the training sound signal is transformed into Convert to frequency domain and then extract its auxiliary amplitude spectrum Since a single type of mapping scheme often results in inaccurate reconstruction of the amplitude spectrum and phase spectrum, the present invention performs amplitude spectrum compensation by weighting multiple enhanced spectra in the amplitude domain to obtain the final enhanced fused amplitude spectrum. After obtaining the fused amplitude spectrum, in order to further enhance the model's ability to track phase information, The phase information implied in Introduced into the signal reconstruction process for signal synthesis, and the waveform of the enhanced training sound data is obtained by performing short-time inverse Fourier transform
[0119] According to an embodiment of the present disclosure, the loss function of the main path subunit may be a MAE loss function, and the MAE loss function is shown in formula (1):
[0120]
[0121] Among them, θ represents a set of learnable parameters in the multimodal fusion network model; N represents the number of training sound signals in the sound training sample set; y i Representation of training sound signal, s i Represents the pure sound signal in the label data corresponding to the training sound signal; F(y i ; θ) represents the enhanced training sound signal generated by the main path subunit; L m (θ) represents the loss value between the enhanced training sound signal and the pure sound signal in the main path sub-unit.
[0122] According to an embodiment of the present disclosure, the loss function of the auxiliary path subunit may be an MSE loss function, and the MSE loss function is shown in formula (2):
[0123]
[0124] Among them, Y(i) mag Characterizes the amplitude spectrum of the input noisy signal, S(i) mag Characterizes the amplitude spectrum of pure sound signal; F(Y(i) mag ; θ) characterizes the enhanced training amplitude spectrum generated by the auxiliary path subunit; L a (θ) represents the loss value between the enhanced training amplitude spectrum in the auxiliary path sub-unit and the amplitude spectrum of the pure sound signal in the label data.
[0125] The loss function L of the multimodal fusion network model is shown in formula (3):
[0126] L=k1*L m +k2*L a (3)
[0127] Among them, k1 and k2 both represent preset coefficients, L m Characterize the loss function of the main path subunit, L a Loss function characterizing auxiliary path subunits.
[0128] According to the embodiments of the present disclosure, the preset coefficients may be specifically set according to actual conditions, for example, k1 and k2 may both be 0.5. It should be noted that the preset coefficients may also be other values, for example, k1=0.4 and k2=0.6.
[0129] According to an embodiment of the present disclosure, before inputting the sound signal to be enhanced into the multimodal fusion network model, the following operations may also be included:
[0130] The sound signal to be enhanced is preprocessed to obtain a preprocessed sound signal.
[0131] According to an embodiment of the present disclosure, in order to make the signal quality of the sound signal to be enhanced input into the multimodal fusion network model higher, thereby making the quality of the output enhanced speech signal better, the sound signal to be enhanced may be preprocessed.
[0132] According to an embodiment of the present disclosure, preprocessing the sound signal to be enhanced to obtain the preprocessed sound signal may include the following operations:
[0133] Resampling the sound signal to be enhanced according to a preset sampling frequency to obtain a first sound signal;
[0134] The first sound signal is subjected to short-time Fourier transform according to a preset dimension to obtain a preprocessed sound signal, wherein the preprocessed sound signal may include a signal amplitude spectrum.
[0135] According to an embodiment of the present disclosure, the sampling frequency of the resampling process may be 16 khz or other sampling frequencies. The present disclosure does not specifically limit the specific value of the sampling frequency.
[0136] According to an embodiment of the present disclosure, the preset dimension may refer to 320 dimensions or other dimensions, and the present disclosure does not specifically limit the specific value of the preset dimension.
[0137] According to an embodiment of the present disclosure, the Hamming window size of the signal amplitude spectrum can be 20ms, and the overlap time can be 10ms. Similarly, the above-mentioned Hamming window size and overlap time are only examples, and do not mean that the Hamming window size and overlap time of the present disclosure can only be the above-mentioned values.
[0138] Figure 5 The block diagram of a single-channel sound signal enhancement device according to an embodiment of the present disclosure is schematically shown.
[0139] like Figure 5 As shown, the single-channel sound signal enhancement device 500 based on the waveform and frequency domain information multimodal fusion network may include an acquisition module 510 , a training module 520 , a calculation module 530 , an iteration module 540 and an enhancement module 550 .
[0140] The acquisition module 510 is used to acquire a sound training sample set, wherein the sound training sample set may include multiple sound training samples and corresponding label data, and each sound training sample may include a training sound signal and a training amplitude spectrum.
[0141] The training module 520 is used to input the sound training samples into the initial fusion network model and output the enhanced training sound data, wherein the initial fusion network model is a multimodal fusion network model for fusing the time domain information and frequency domain information of the sound signal.
[0142] The calculation module 530 is used to calculate the loss function according to the label data and the enhanced training sound data to obtain the loss result.
[0143] The iteration module 540 is used to iteratively adjust the network parameters of the initial fusion network model according to the loss result to generate a trained multimodal fusion network model.
[0144] The enhancement module 550 is used to input the sound signal to be enhanced into the multimodal fusion network model and output an enhanced speech signal.
[0145] According to an embodiment of the present disclosure, a multimodal fusion network model is trained by training samples that may include training sound signals and training amplitude spectra. Since the multimodal fusion network model can fuse the time domain information and frequency domain information of the sound signal, the multimodal fusion network model can complement the time domain information and frequency domain information of the sound signal to be enhanced, thereby making the output enhanced speech signal of higher quality and at the same time improving the enhancement upper limit of the sound signal.
[0146] According to an embodiment of the present disclosure, the initial fusion network model may include a dual-path joint optimization training unit and a multimodal information fusion unit.
[0147] According to an embodiment of the present disclosure, the training module 520 may include a first training submodule and a second training submodule.
[0148] The first training submodule is used to input the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit, and output an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum respectively.
[0149] The second training submodule is used to input the enhanced training sound signal and the enhanced training amplitude spectrum into the multimodal information fusion unit, and output the enhanced training sound data.
[0150] According to an embodiment of the present disclosure, the dual-path joint optimization training unit may include a main path sub-unit and an auxiliary path sub-unit.
[0151] According to an embodiment of the present disclosure, the main path subunit may include a plurality of first convolutional layers, a plurality of first gated recurrent layers, and a plurality of second convolutional layers connected in sequence, wherein each first convolutional layer is respectively connected to a second convolutional layer, and the connection relationship is symmetrical about the plurality of first gated recurrent layers.
[0152] The auxiliary path subunit may include a plurality of third convolutional layers, a plurality of second gated recurrent layers, and a plurality of fourth convolutional layers connected in sequence, wherein each third convolutional layer is respectively connected to a fourth convolutional layer, and the connection relationship is symmetrical about the plurality of second gated recurrent layers.
[0153] According to an embodiment of the present disclosure, the first training submodule may include a first training unit, a second training unit, a third training unit, and a fourth training unit.
[0154] The first training unit is used to input the training sound signal into multiple first convolutional layers and output the first sound feature.
[0155] The second training unit is used to input the first sound feature into multiple first gated recurrent layers and output the second sound feature, wherein the first gated recurrent layer is used to establish the time correlation between frames in the first sound feature.
[0156] The third training unit is used to input the second sound feature into multiple second convolutional layers and output an enhanced training sound signal.
[0157] The fourth training unit is used to input the training amplitude spectrum into the auxiliary path sub-unit and output an enhanced training amplitude spectrum.
[0158] According to an embodiment of the present disclosure, the fourth training unit may include a first training sub-unit, a second training sub-unit, and a third training sub-unit.
[0159] The first training subunit is used to input the training amplitude spectrum into multiple third convolutional layers and output the first spectrum feature.
[0160] The second training subunit is used to input the first spectrum feature into a plurality of second gated recurrent layers and output a second spectrum feature, wherein the second gated recurrent layer is used to establish a temporal correlation between frames in the first spectrum feature.
[0161] The third training subunit is used to input the second spectrum features into multiple fourth convolutional layers and output enhanced training amplitude spectra.
[0162] According to an embodiment of the present disclosure, the second training submodule may include a transform unit, a fusion unit, a derive unit and an inverse transform unit.
[0163] The transform unit is used to perform short-time Fourier transform on the enhanced training sound signal to obtain phase information and auxiliary amplitude spectrum.
[0164] The fusion unit is used to obtain a fused amplitude spectrum according to the auxiliary amplitude spectrum and the training amplitude spectrum.
[0165] The obtaining unit is used to obtain a target spectrum diagram according to the phase information and the fused amplitude spectrum.
[0166] The inverse transform unit is used to perform short-time Fourier inverse transform on the target spectrum to obtain enhanced training sound data.
[0167] According to an embodiment of the present disclosure, the single-channel sound signal enhancement device may further include a pre-processing module.
[0168] The preprocessing module is used to preprocess the sound signal to be enhanced to obtain a preprocessed sound signal.
[0169] According to an embodiment of the present disclosure, the preprocessing module may include a resampling submodule and a transformation module.
[0170] The resampling submodule is used to resample the sound signal to be enhanced according to a preset sampling frequency to obtain a first sound signal.
[0171] The transformation module is used to perform short-time Fourier transform on the first sound signal according to a preset dimension to obtain a preprocessed sound signal, wherein the preprocessed sound signal may include a signal amplitude spectrum.
[0172] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (Field Programmable Gate Array, FPGA), programmable logic arrays (Programmable Logic Arrays, PLA), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), or can be implemented by hardware or firmware of any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware or by a suitable combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0173] For example, any multiple of the acquisition module 510, the training module 520, the calculation module 530, the iteration module 540, and the enhancement module 550 can be combined in one module / submodule / unit / subunit for implementation, or any one of the modules / submodules / units / subunits can be split into multiple modules / submodules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / submodules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / submodule / unit / subunit. According to an embodiment of the present disclosure, at least one of the acquisition module 510, the training module 520, the calculation module 530, the iteration module 540 and the enhancement module 550 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the acquisition module 510, the training module 520, the calculation module 530, the iteration module 540 and the enhancement module 550 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be performed.
[0174] It should be noted that the single-channel sound signal enhancement device part in the embodiment of the present disclosure corresponds to the single-channel sound signal enhancement method part in the embodiment of the present disclosure. The description of the single-channel sound signal enhancement device part specifically refers to the single-channel sound signal enhancement method part, which will not be repeated here.
[0175] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0176] like Figure 6 As shown, the electronic device 600 according to the embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.
[0177] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0178] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The system 600 may further include one or more of the following components connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0179] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0180] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0181] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM (Erasable Programmable Read Only Memory, EPROM) or flash memory), a portable compact disk read-only memory (Computer Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device.
[0182] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or the RAM 603 described above and / or one or more memories other than the ROM 602 and the RAM 603 .
[0183] The embodiments of the present disclosure also include a computer program product, which includes a computer program, which contains program code for executing the method provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the single-channel sound signal enhancement method provided by the embodiments of the present disclosure.
[0184] When the computer program is executed by the processor 601, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0185] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0186] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0187] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, a plurality of boxes represented in succession can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0188] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A single-channel sound signal enhancement method based on waveform and frequency domain information multimodal fusion network, include: Acquire a sound training sample set, wherein the sound training sample set includes a plurality of sound training samples and corresponding label data, and each of the sound training samples includes a training sound signal and a training amplitude spectrum; Inputting the sound training sample into an initial fusion network model, and outputting enhanced training sound data, wherein the initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of sound signals; Calculate a loss function based on the label data and the enhanced training sound data to obtain a loss result; Iteratively adjusting the network parameters of the initial fusion network model according to the loss result to generate a trained multimodal fusion network model; Inputting the sound signal to be enhanced into the multimodal fusion network model, and outputting an enhanced speech signal; Wherein, the initial fusion network model includes a dual-path joint optimization training unit and a multimodal information fusion unit; The step of inputting the sound training sample into the initial fusion network model and outputting enhanced training sound data comprises: Inputting the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit, and outputting an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum respectively; Inputting the enhanced training sound signal and the enhanced training amplitude spectrum into the multimodal information fusion unit, and outputting the enhanced training sound data; Wherein, the dual-path joint optimization training unit includes a main path subunit and an auxiliary path subunit; The main path subunit includes a plurality of first convolutional layers, a plurality of first gated recurrent layers, and a plurality of second convolutional layers connected in sequence, wherein each first convolutional layer is respectively connected to one of the second convolutional layers, and the connection relationship is symmetrical about the plurality of first gated recurrent layers; The auxiliary path subunit includes a plurality of third convolutional layers, a plurality of second gated recurrent layers, and a plurality of fourth convolutional layers connected in sequence, wherein each of the third convolutional layers is respectively connected to one of the fourth convolutional layers, and the connection relationship is symmetrical about the plurality of second gated recurrent layers; The step of inputting the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit and outputting an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum, respectively, comprises: Inputting the training sound signal into the plurality of first convolutional layers, and outputting a first sound feature; Inputting the first sound feature into the plurality of first gated recurrent layers, and outputting a second sound feature, wherein the first gated recurrent layer is used to establish a temporal correlation between frames in the first sound feature; Inputting the second sound feature into the plurality of second convolutional layers, and outputting the enhanced training sound signal; The training amplitude spectrum is input into the auxiliary path subunit, and the enhanced training amplitude spectrum is output.
2. The method according to claim 1, in, The step of inputting the training amplitude spectrum into the auxiliary path subunit and outputting the enhanced training amplitude spectrum comprises: Inputting the training amplitude spectrum into the plurality of third convolutional layers, and outputting a first frequency spectrum feature; Inputting the first spectrum feature into a plurality of second gated recurrent layers, and outputting a second spectrum feature, wherein the second gated recurrent layers are used to establish a temporal correlation between frames in the first spectrum feature; The second frequency spectrum features are input into the multiple fourth convolutional layers, and the enhanced training amplitude spectrum is output.
3. The method according to any one of claims 1 to 2, in, The step of inputting the enhanced training sound signal and the enhanced training amplitude spectrum into the multimodal information fusion unit and outputting the enhanced training sound data comprises: Performing short-time Fourier transform on the enhanced training sound signal to obtain phase information and auxiliary amplitude spectrum; Obtaining a fused amplitude spectrum according to the auxiliary amplitude spectrum and the training amplitude spectrum; Obtaining a target frequency spectrum diagram according to the phase information and the fused amplitude spectrum; Performing an inverse short-time Fourier transform on the target spectrogram to obtain the enhanced training sound data.
4. The method according to any one of claims 1 to 2, in, The loss function of the main path subunit is shown in formula (1): (1) in, Represents a set of learnable parameters in the multimodal fusion network model; N represents the number of training sound signals in the sound training sample set; Characterize the training sound signal, Representing a pure sound signal in the label data corresponding to the training sound signal; characterizing an enhanced training sound signal generated by the main path subunit; Characterizing the loss value between the enhanced training sound signal and the pure sound signal in the main path subunit; The loss function of the auxiliary path subunit is shown in formula (2): (2) in, Characterize the amplitude spectrum of the input noisy sound signal, Characterize the amplitude spectrum of pure sound signal; characterizing the enhanced training amplitude spectrum generated by the auxiliary pathway subunits; Characterizing the loss value between the enhanced training amplitude spectrum in the auxiliary path subunit and the amplitude spectrum of the pure sound signal in the label data; The loss function of the multimodal fusion network model As shown in formula (3): (3) in, and Both represent preset coefficients, Characterize the loss function of the main path subunit, Loss function characterizing auxiliary path subunits.
5. The method according to claim 1, in, Before inputting the sound signal to be enhanced into the multimodal fusion network model, the method further includes: The sound signal to be enhanced is preprocessed to obtain a preprocessed sound signal.
6. The method according to claim 5, in, The preprocessing of the sound signal to be enhanced to obtain a preprocessed sound signal includes: Resampling the sound signal to be enhanced according to a preset sampling frequency to obtain a first sound signal; Performing a short-time Fourier transform on the first sound signal according to a preset dimension to obtain the preprocessed sound signal, wherein the preprocessed sound signal includes a signal amplitude spectrum.
7. A single-channel sound signal enhancement device based on a waveform and frequency domain information multimodal fusion network, include: An acquisition module, configured to acquire a sound training sample set, wherein the sound training sample set includes a plurality of sound training samples and corresponding label data, and each of the sound training samples includes a training sound signal and a training amplitude spectrum; A training module, used for inputting the sound training sample into an initial fusion network model, and outputting enhanced training sound data, wherein the initial fusion network model is a multimodal fusion network model for fusing time domain information and frequency domain information of sound signals; A calculation module, used to calculate a loss function according to the label data and the enhanced training sound data to obtain a loss result; an iteration module, configured to iteratively adjust network parameters of the initial fusion network model according to the loss result to generate a trained multimodal fusion network model; and An enhancement module, used for inputting the sound signal to be enhanced into the multimodal fusion network model and outputting an enhanced speech signal; Among them, the initial fusion network model includes a dual-path joint optimization training unit and a multimodal information fusion unit; The training modules include: A first training submodule is used to input the training sound signal and the training amplitude spectrum into the dual-path joint optimization training unit, and output an enhanced training sound signal and an enhanced training amplitude spectrum corresponding to the training sound signal and the training amplitude spectrum respectively; A second training submodule is used to input the enhanced training sound signal and the enhanced training amplitude spectrum into the multimodal information fusion unit, and output the enhanced training sound data; Wherein, the dual-path joint optimization training unit includes a main path subunit and an auxiliary path subunit; The main path subunit includes a plurality of first convolutional layers, a plurality of first gated recurrent layers, and a plurality of second convolutional layers connected in sequence, wherein each first convolutional layer is respectively connected to a second convolutional layer, and the connection relationship is symmetrical about the plurality of first gated recurrent layers; The auxiliary path subunit includes a plurality of third convolutional layers, a plurality of second gated recurrent layers, and a plurality of fourth convolutional layers connected in sequence, wherein each third convolutional layer is respectively connected to a fourth convolutional layer, and the connection relationship is symmetrical about the plurality of second gated recurrent layers; The first training submodule includes: A first training unit, configured to input a training sound signal into a plurality of first convolutional layers and output a first sound feature; A second training unit is used to input the first sound feature into a plurality of first gated recurrent layers and output a second sound feature, wherein the first gated recurrent layers are used to establish a temporal correlation between frames in the first sound feature; a third training unit, configured to input the second sound feature into a plurality of second convolutional layers and output an enhanced training sound signal; The fourth training unit is used to input the training amplitude spectrum into the auxiliary path sub-unit and output an enhanced training amplitude spectrum.
Citation Information
Patent Citations
Method and device for converting ear voice into normal voice by combining time-frequency domain expansion convolution
CN111326170A
Speech enhancement method based on time-frequency domain joint loss function
CN112927709A
