A target end-to-end model training method and mixed audio signal processing method

Through the training method of the target end-to-end model, combined with the full-band network and the sub-band network, the problem of simultaneous suppression of echo and noise in long-distance pickup is solved, the simultaneous realization of AEC and ANC is achieved, the calculation amount is reduced, and the signal quality is improved. Processing efficiency and effectiveness.

CN115424630BActive Publication Date: 2024-09-10QINGDAO HI-IMAGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210668608.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-14
Publication Date
2024-09-10
Estimated Expiration
2042-06-14

AI Technical Summary

Technical Problem

Existing noise reduction algorithms cannot effectively suppress echo and noise in long-distance pickup at the same time, and models based on deep learning can only achieve echo cancellation or noise cancellation alone, which requires a large amount of calculation and cannot simultaneously achieve Acoustic Echo Cancellation (AEC) and Active Noise Cancellation (ANC).

Method used

Using the training method of the target end-to-end model, through the combination of full-band network and sub-band network, the sample feature values ​​and mask parameters are obtained, and the network parameters are adjusted to achieve the simultaneous realization of AEC and ANC and reduce the amount of calculation.

Benefits of technology

It achieves simultaneous AEC and ANC in long-distance sound pickup scenarios, reducing the amount of calculation and improving the efficiency and effect of signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115424630B
    Figure CN115424630B
Patent Text Reader

Abstract

The present application discloses a method for training a target end-to-end model and a method for processing a mixed audio signal. In this method, when training the original end-to-end model, any feature value set in a sample set and a first sample sequence corresponding to a first set mask parameter are obtained, and the sample feature values ​​in any feature value set are input into the original end-to-end model to obtain a second sample sequence. The original end-to-end model is trained according to the first sample sequence and the second sample sequence to obtain a trained target end-to-end model, thereby realizing AEC and ANC simultaneously through a target end-to-end model and reducing the amount of calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing, and in particular to a target end-to-end model training method and a mixed audio signal processing method. Background Art

[0002] High-performance long-distance voice pickup is a technical difficulty in conference call systems. First, when picking up voice at a long distance, the device usually plays loud sound, resulting in a low signal-to-echo ratio (SER). Second, the speaker is far away, and the volume of the voice received by the microphone is low, resulting in a low signal-to-noise ratio (SNR).

[0003] In this scenario, the existing noise reduction algorithm cannot effectively suppress the nonlinear part of the echo and a wide variety of noises, and the model based on the deep learning algorithm is only used to solve a single problem, that is, only realize echo cancellation (AcousticEcho Cancellation, AEC) or only realize noise cancellation (ActiveNoiseCancellation, ANC), and cannot realize AEC and ANC at the same time; when two models are used at the same time to realize AEC and ANC respectively, the amount of calculation will increase.

[0004] Therefore, how to realize AEC and ANC simultaneously and reduce the amount of calculation becomes a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a target end-to-end model training method, a mixed audio signal processing method, an apparatus, a device and a medium to solve the problem of how to simultaneously implement AEC and ANC and reduce the amount of calculation.

[0006] In a first aspect, the present application provides a method for training a target end-to-end model, the method comprising:

[0007] Acquire any eigenvalue set in the sample set and a first sample sequence of the corresponding first set mask parameters, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0008] Based on the original end-to-end model, a second sample sequence is obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value, and the fourth sample feature value;

[0009] According to the first sample sequence and the second sample sequence, parameter values ​​of various parameters of the original end-to-end model are adjusted.

[0010] Furthermore, the target end-to-end model includes a full-band network, an echo cancellation AEC sub-band network, and a noise cancellation ANC sub-band network; and the training process of the target end-to-end model includes:

[0011] Acquire any eigenvalue set in the sample set and a first sample sequence of the first set mask parameter and a third sample sequence of the second set mask parameter of the eigenvalue set, wherein the third sample sequence includes a ratio of a modulus value of a third amplitude spectrum corresponding to each frequency point of each frame to a modulus value of the second amplitude spectrum, wherein the third amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the target signal remaining after the sample mixed audio signal eliminates the echo AEC;

[0012] Inputting the first sample characteristic value and the third sample characteristic value into the full-band network to obtain a full-band mask parameter value sequence of the first set mask parameter output by the full-band network;

[0013] Inputting the full-band mask parameter value sequence, the second sample characteristic value, and the fourth sample characteristic value into the AEC sub-band network to obtain an AEC mask parameter value sequence of the second set mask parameter output by the AEC sub-band network;

[0014] Inputting the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample characteristic value into the ANC sub-band network, to obtain a second sample sequence of the first set mask parameter output by the ANC sub-band network;

[0015] Obtaining a first loss value of the full-band network according to the first sample sequence, the full-band mask parameter value sequence, and a pre-saved loss function;

[0016] Obtaining a second loss value of the AEC subband network according to the third sample sequence, the AEC mask parameter value sequence and the loss function;

[0017] Obtaining a third loss value of the ANC subband network according to the first sample sequence, the second sample sequence, and the loss function;

[0018] According to at least one loss value among the first loss value, the second loss value, and the third loss value and a pre-saved preset weight value corresponding to each network, the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

[0019] Further, according to at least one loss value among the first loss value, the second loss value, and the third loss value and a pre-stored preset weight value corresponding to each network, adjusting the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network includes:

[0020] Determine a first loss sum value of the original end-to-end model according to the first loss value, the second loss value, the third loss value, and a pre-stored preset weight value corresponding to each network, and adjust parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the first loss sum value; or,

[0021] According to the third loss value, parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

[0022] Furthermore, the first audio feature is any one of a filter bank-based feature Fbank, a Mel-cepstral coefficient MFCC, a Fourier transform FFT, a logarithmic power spectrum, a complex spectrum, and an amplitude spectrum; and the second audio feature is any one of the filter bank-based feature Fbank, the Mel-cepstral coefficient MFCC, the Fourier transform FFT, the logarithmic power spectrum, the complex spectrum, the amplitude spectrum and a time domain waveform.

[0023] In a second aspect, the present application provides a mixed audio signal processing method, the method comprising:

[0024] Training the original end-to-end model according to any of the methods described in the above-mentioned training methods of the target end-to-end model;

[0025] According to the target mixed audio signal to be processed picked up in the target environment, obtaining a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal;

[0026] Based on a pre-trained target end-to-end model, obtaining a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order;

[0027] Performing Fourier transform on the target mixed audio signal to obtain a second sequence composed of frequency spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtaining a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0028] Furthermore, obtaining the clean speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence includes:

[0029] For each frequency point of each frame of the target mixed audio signal, determine a product value of a target mask parameter value corresponding to the frequency point in the first sequence and a spectrum value corresponding to the frequency point in the second sequence, and determine the product value as a target spectrum value of the frequency point of the pure speech signal;

[0030] An inverse Fourier transform is performed on a third sequence composed of target spectrum values ​​of each frequency point of each frame arranged in frequency order to obtain the pure speech signal.

[0031] Further, if the dimension of the second audio feature is equal to the dimension of the first audio feature, the second eigenvalue is the same as the first eigenvalue, and the third eigenvalue is the same as the fourth eigenvalue.

[0032] In a third aspect, the present application provides a training device for a target end-to-end model, the device comprising:

[0033] An acquisition model is used to acquire any eigenvalue set in a sample set and a first sample sequence of a corresponding first set mask parameter, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0034] A training module is used to obtain a second sample sequence obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value and the fourth sample feature value based on the original end-to-end model; and adjust the parameter values ​​of each parameter of the original end-to-end model according to the first sample sequence and the second sample sequence.

[0035] Furthermore, the target end-to-end model includes a full-band network, an echo cancellation AEC subband network, and a noise cancellation ANC subband network; the acquisition module is specifically used to acquire any eigenvalue set in the sample set and a first sample sequence of the first set mask parameter of the eigenvalue set, and a third sample sequence of the second set mask parameter, wherein the third sample sequence includes a ratio of a modulus value of a third amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, wherein the third amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the target signal remaining after the echo AEC of the sample mixed audio signal is cancelled;

[0036] The training module is specifically used to input the first sample characteristic value and the third sample characteristic value into the full-band network to obtain the full-band mask parameter value sequence of the first set mask parameter output by the full-band network; input the full-band mask parameter value sequence, the second sample characteristic value and the fourth sample characteristic value into the AEC sub-band network to obtain the AEC mask parameter value sequence of the second set mask parameter output by the AEC sub-band network; input the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample characteristic value into the ANC sub-band network to obtain the second sample sequence of the first set mask parameter output by the ANC sub-band network; according to The first sample sequence, the full-band mask parameter value sequence and a pre-saved loss function are used to obtain a first loss value of the full-band network; the second loss value of the AEC sub-band network is obtained according to the third sample sequence, the AEC mask parameter value sequence and the loss function; the third loss value of the ANC sub-band network is obtained according to the first sample sequence, the second sample sequence and the loss function; and the parameter values ​​in the full-band network, the AEC sub-band network and the ANC sub-band network are adjusted according to at least one loss value among the first loss value, the second loss value and the third loss value and a pre-saved preset weight value corresponding to each network.

[0037] Furthermore, the training module is specifically used to determine the first loss and value of the original end-to-end model according to the first loss value, the second loss value, the third loss value, and the preset weight value corresponding to each network saved in advance, and adjust the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the first loss and value; or, adjust the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the third loss value.

[0038] In a fourth aspect, the present application provides a mixed audio signal processing device, the device comprising:

[0039] A training module, used to train the original end-to-end model according to any of the methods described in the above-mentioned training methods of the target end-to-end model;

[0040] An acquisition module, configured to acquire, according to a target mixed audio signal to be processed picked up in a target environment, a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal;

[0041] a determination module, configured to obtain, based on a pre-trained target end-to-end model, a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order;

[0042] A processing module is used to perform Fourier transform on the target mixed audio signal to obtain a second sequence composed of spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtain a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0043] Furthermore, the processing module is specifically used to determine, for each frequency point of each frame of the target mixed audio signal, the product value of the target mask parameter value corresponding to the frequency point in the first sequence and the spectrum value corresponding to the frequency point in the second sequence, and determine the product value as the target spectrum value of the frequency point of the pure speech signal; perform inverse Fourier transform on a third sequence composed of the target spectrum values ​​of each frequency point of each frame arranged in frequency order to obtain the pure speech signal.

[0044] In a fifth aspect, the present application provides a chip system comprising: a memory and a processor, wherein the processor and the memory are coupled; wherein the memory comprises program instructions, and when the program instructions are executed by the processor, the chip system executes the steps of any of the methods described in the above-mentioned target end-to-end model training method, or executes the steps of any of the methods described in the above-mentioned mixed audio signal processing method.

[0045] In a sixth aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to implement the steps of any of the methods described in the above-mentioned target end-to-end model training method when executing the computer program stored in the memory, or implement the steps of any of the methods described in the above-mentioned mixed audio signal processing method.

[0046] In the seventh aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the methods described in the training method of the above-mentioned target end-to-end model, or implements the steps of any of the methods described in the above-mentioned mixed audio signal processing method. The present application provides a training method of a target end-to-end model, a mixed audio signal processing method, an apparatus, a device and a medium. The present application discloses a training method of a target end-to-end model and a mixed audio signal processing method. In this method, when training the original end-to-end model, any feature value set in the sample set and a first sample sequence corresponding to a first set mask parameter are obtained, and the sample feature values ​​in any feature value set are input into the original end-to-end model to obtain a second sample sequence. The original end-to-end model is trained according to the first sample sequence and the second sample sequence to obtain a trained target end-to-end model, thereby realizing AEC and ANC simultaneously through a target end-to-end model and reducing the amount of calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 A schematic diagram of a process of training a target end-to-end model provided in this application;

[0049] Figure 2 A schematic diagram of the training process of a target end-to-end model provided for this application;

[0050] Figure 3 A schematic diagram of the training process of another target end-to-end model provided for this application;

[0051] Figure 4 A process diagram of a mixed audio signal processing method provided by the present application;

[0052] Figure 5 A schematic diagram of picking up a target mixed audio signal in a target environment provided by the present application;

[0053] Figure 6 A schematic diagram of a process for obtaining a pure speech signal provided in this application;

[0054] Figure 7 A schematic diagram of the structure of a training device for a target end-to-end model provided in this application;

[0055] Figure 8A schematic diagram of the structure of a mixed audio signal processing device provided in this application;

[0056] Fig. 9 It is a schematic diagram of the structure of a chip system provided by the present application;

[0057] Fig.10 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0059] In order to simultaneously implement AEC and ANC and reduce the amount of calculation, the present application provides a target end-to-end model training method, a mixed audio signal processing method, an apparatus, a device and a medium.

[0060] Embodiment 1:

[0061] Figure 1 A process diagram of a target end-to-end model training method provided in this application, the process includes the following steps:

[0062] S101: Obtain any feature value set in a sample set and a first sample sequence of a first set mask parameter of the feature value set, wherein the feature value set includes: a first sample feature value of the first audio feature of a sample mixed audio signal and a second sample feature value of the second audio feature, a third sample feature value of the first audio feature of a sample echo reference signal and a fourth sample feature value of the second audio feature, the first sample sequence includes a first ratio corresponding to each frequency point arranged in the order of frame and frequency point, wherein the first ratio is a ratio of a modulus value of a first amplitude spectrum of the frequency point to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal in the sample mixed audio signal, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal.

[0063] In order to simultaneously realize AEC and ANC and reduce the amount of calculation, a target end-to-end model training method provided in the present application is applied to an electronic device, wherein the electronic device can be a host, a tablet computer, a mobile terminal or other intelligent terminal, or a server; the server can be a local server or a cloud server; specifically, the present application does not impose any restrictions on this.

[0064] In order to simultaneously implement AEC and ANC and reduce the amount of computation, the electronic device trains the original end-to-end model to obtain a trained target end-to-end model, and simultaneously implements AEC and ANC through only one target end-to-end model, thereby reducing the amount of computation.

[0065] In order to realize the training of the target end-to-end model, in the present application, the electronic device pre-stores a sample set, obtains any feature value set in the sample set and a first sample sequence of the first set mask parameters corresponding to the feature value set, and the first sample sequence is the true value during model training.

[0066] The feature value set includes a first sample feature value of a first audio feature and a second sample feature value of a second audio feature of a sample mixed audio signal, a third sample feature value of a first audio feature and a fourth sample feature value of a second audio feature of a sample echo reference signal. The first sample sequence includes a first ratio corresponding to each frequency point, and the first ratio corresponding to each frequency point is arranged in the order of frames and frequencies.

[0067] The first audio feature and the second audio feature may be the same or different. The first audio feature is any one of a filter bank-based feature (Filter bank, Fbank), a Mel Frequency Cepstrum Coefficient (Mel Frequency Cepstrum Coefficient, MFCC), a Fourier transform (Fast Fourier Transform, FFT), a logarithmic power spectrum, a complex spectrum, and an amplitude spectrum. The second audio feature is any one of Fbank, MFCC, FFT, a logarithmic power spectrum, a complex spectrum, an amplitude spectrum, and a time domain waveform.

[0068] For each frequency point, the first ratio corresponding to the frequency point is the ratio of the modulus value of the first amplitude spectrum of the frequency point to the modulus value of the second amplitude spectrum, the first amplitude spectrum is the amplitude spectrum of the frequency point of each frame of the sample pure speech signal in the sample mixed audio signal, and the second amplitude spectrum is the amplitude spectrum of the frequency point of each frame of the sample mixed audio signal.

[0069] S102: Based on the original end-to-end model, a second sample sequence is obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value, and the fourth sample feature value.

[0070] After obtaining any feature value set and the first sample sequence, the first sample feature value, the second sample feature value, the third sample feature value and the fourth sample feature value in the feature value set are input into the original end-to-end model to obtain the second sample sequence predicted by the original end-to-end model.

[0071] S103: Adjust parameter values ​​of various parameters of the original end-to-end model according to the first sample sequence and the second sample sequence.

[0072] According to the first sample sequence and the second sample sequence and a pre-saved loss function, loss values ​​of the first sample sequence and the second sample sequence are determined, and parameter values ​​of various parameters of the original end-to-end model are adjusted according to the loss values.

[0073] The loss function may be any one of the mean-squared error loss function (MSE), the mean absolute error loss function (MAE), and the root mean square error loss function (RMSE).

[0074] Because in the present application, when the method trains the original end-to-end model, it obtains any feature value set in the sample set and the corresponding first sample sequence of set mask parameters, inputs the sample feature values ​​in any feature value set into the original end-to-end model to obtain the second sample sequence, and trains the original end-to-end model according to the first sample sequence and the second sample sequence to obtain a trained target end-to-end model, thereby realizing AEC and ANC at the same time through one target end-to-end model and reducing the amount of calculation.

[0075] In order to obtain a trained target end-to-end model, based on the above embodiments, in the present application, the target end-to-end model includes a full-band network (FullBank Module), an echo cancellation (SubBank Module_aec, AEC) sub-band network, and a noise cancellation (SubBank Module_anc, ANC) sub-band network; the training process of the target end-to-end model includes:

[0076] Acquire any eigenvalue set in a sample set and a first sample sequence of the first set mask parameter and a third sample sequence of the second set mask parameter of the eigenvalue set, wherein the third sample sequence includes a second ratio corresponding to each frequency point arranged in the order of frame and frequency point, wherein the second ratio is a ratio of a modulus value of a third amplitude spectrum of the frequency point to a modulus value of a second amplitude spectrum, the third amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a target signal after the echo signal corresponding to the sample mixed audio signal is eliminated, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0077] Inputting the first sample characteristic value and the third sample characteristic value into the full-band network to obtain a full-band mask parameter value sequence of the first set mask parameter output by the full-band network;

[0078] Inputting the full-band mask parameter value sequence, the second sample characteristic value, and the fourth sample characteristic value into the AEC sub-band network to obtain an AEC mask parameter value sequence of the second set mask parameter output by the AEC sub-band network;

[0079] Inputting the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample characteristic value into the ANC sub-band network, to obtain a second sample sequence of the first set mask parameter output by the ANC sub-band network;

[0080] Obtaining a first loss value of the full-band network according to the first sample sequence, the full-band mask parameter value sequence, and a pre-saved loss function;

[0081] Obtaining a second loss value of the AEC subband network according to the third sample sequence, the AEC mask parameter value sequence and the loss function;

[0082] Obtaining a third loss value of the ANC subband network according to the first sample sequence, the second sample sequence, and the loss function;

[0083] According to at least one loss value among the first loss value, the second loss value, and the third loss value and a pre-saved preset weight value corresponding to each network, the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

[0084] In order to obtain the trained target end-to-end model, in the present application, the target end-to-end model includes a full-band network, an echo cancellation AEC sub-band network, and a noise cancellation ANC sub-band network, wherein the AEC sub-band network and the ANC sub-band network share a full-band network, and the full-band network refers to a network that directly processes full-band information, and the sub-band network refers to a network that divides the full-band information with a width of n into k sub-bands, each sub-band covering n / k frequency bands, and processes each sub-band in turn. The network structure of each network can be any one of a fully connected network structure (Fully Connected, FC), a convolutional neural network structure (Convolutional Neural Network, CNN) and a recurrent neural network (Recurrent Neural Network, RNN).

[0085] Obtain any feature value set in the sample set and a first sample sequence of a first setting mask parameter and a third sample sequence of a second setting mask parameter of the feature value set, wherein each third sample sequence includes a second ratio corresponding to each frequency point, and the second ratio corresponding to each frequency point is arranged in frame and frequency point order.

[0086] For each frequency point of each frame, the second ratio of the frequency point is the ratio of the modulus value of the third amplitude spectrum of the frequency point to the modulus value of the second amplitude spectrum, the third amplitude spectrum is the amplitude spectrum of the frequency point of each frame of the target signal after the echo signal corresponding to the sample mixed audio signal is eliminated, and the second amplitude spectrum is the amplitude spectrum of the frequency point of each frame of the sample mixed audio signal.

[0087] The first sample eigenvalue of the sample mixed audio signal and the third sample eigenvalue of the sample reference signal are input into the full-band network. Specifically, the first sample eigenvalue and the third sample eigenvalue are combined (Concat) and then input into the full-band network, or the first sample eigenvalue and the third sample eigenvalue are multiplied (Multiply) and then input into the full-band network, and a full-band mask parameter value sequence of the first set mask parameter output by the full-band network is obtained.

[0088] The full-band mask parameter value sequence, the second sample eigenvalue of the sample mixed audio signal and the fourth sample eigenvalue of the sample reference signal are input into the AEC subband network. Specifically, the second sample eigenvalue and the fourth sample eigenvalue may be Concat-operated and then input into the AEC subband network, or the second sample eigenvalue and the fourth sample eigenvalue may be Multiply-operated and then input into the AEC subband network, thereby obtaining an AEC mask parameter value sequence of the second set mask parameter output by the AEC subband network.

[0089] The AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample eigenvalue of the sample mixed audio signal are input into the ANC subband network. Specifically, the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample eigenvalue are Concat-operated and then input into the ANC subband network. Alternatively, the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample eigenvalue are Multiply-operated and then input into the ANC subband network, thereby obtaining the second sample sequence of the first set mask parameter output by the ANC subband network.

[0090] Among them, when each network calculates the sequence of mask parameter values ​​output, it can use other mask algorithms such as Ideal Amplitude Mask (IAM) algorithm, Ideal Ratio Mask (IRM), Phase Shift Mask (PSM), or use time domain loss functions such as signal-to-noise ratio (SI-SNR). The mask parameter values ​​output by the IAM algorithm Wherein t represents the t-th frame of audio, f represents the f-th frequency point, |Y(t, f)| represents the modulus of the amplitude spectrum of the target mixed audio signal with noise and echo, when calculating the mask parameter value of the first set mask parameter, |S(t, f)| represents the modulus of the amplitude spectrum of the pure speech signal, and when calculating the mask parameter value of the second set mask parameter, |S(t, f)| represents the modulus of the amplitude spectrum of the echo-free and noisy signal.

[0091] According to the first sample sequence, the full-band mask parameter value sequence and the pre-saved loss function, a first loss value of the full-band network is obtained; according to the third sample sequence, the AEC mask parameter value sequence and the loss function, a second loss value of the AEC subband network is obtained; according to the first sample sequence, the second sample sequence and the loss function, a third loss value of the ANC subband network is obtained.

[0092] According to at least one loss value among the first loss value, the second loss value, and the third loss value and the pre-saved preset weight value corresponding to each network, the sum of the product values ​​of the loss value and the corresponding preset weight value is calculated, and the sum is determined as the loss sum value, and the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted according to the loss sum value.

[0093] The training process of the target end-to-end model of the present application is described below through a specific embodiment. Figure 2 A schematic diagram of the training process of a target end-to-end model provided for this application, such as Figure 2As shown, the first sample eigenvalue Mix of the Fbank feature of the target mixed audio signal and the third sample eigenvalue Ref of the sample reference signal are combined to obtain the eigenvalue Concat(Mix, Ref) after the combined operation, which is input into the full-band network FullBank Module to obtain the full-band mask parameter value sequence Full Mask output by the full-band network, the full-band mask parameter value sequence Full Mask, the second sample eigenvalue Mix of the FFT feature of the sample mixed audio signal and the fourth sample eigenvalue Ref of the FFT feature of the sample reference signal are combined to obtain the eigenvalue Concat(Full Mask, Mix, Ref) which is input into the AEC sub-band network SubBankModule_aec to obtain the AEC mask parameter value sequence AEC Mask output by the AEC sub-band network SubBank Module_aec, the AEC mask parameter value sequence AEC Mask, the full-band mask parameter value sequence Full Mask, and the second sample eigenvalue Mix of the FFT feature of the sample mixed audio signal are combined to obtain the eigenvalue Concat(Full Mask, Mix, AECMask) which is input into the ANC sub-band network SubBank Module_anc, obtains the second sample sequence ANC Mask output by the ANC sub-band network SubBank Module_anc.

[0094] According to the first sample sequence, the full-band mask parameter value sequence Full Mask and the pre-saved loss function, the first loss value AEC-ANC Loss of the full-band network is obtained; according to the third sample sequence, the AEC mask parameter value sequence AEC Mask and the loss function, the second loss value AEC Loss of the AEC subband network is obtained; according to the first sample sequence, the second sample sequence and the loss function, the third loss value AEC-ANC Loss of the ANC subband network is obtained.

[0095] The training process of the target end-to-end model of the present application is described below through another specific embodiment. Figure 3 A schematic diagram of the training process of another target end-to-end model provided for this application, such as Figure 3As shown, the first sample eigenvalue Mix of the Fbank feature of the target mixed audio signal and the third sample eigenvalue Ref of the sample reference signal are multiplied to obtain the eigenvalue Multiply(Mix, Ref) after the multiplication operation, which is input into the full-band network FullBank Module to obtain the full-band mask parameter value sequence Full Mask output by the full-band network, the full-band mask parameter value sequence Full Mask, the second sample eigenvalue Mix of the FFT feature of the sample mixed audio signal and the fourth sample eigenvalue Ref of the FFT feature of the sample reference signal are multiplied to obtain the eigenvalue Multiply(Full Mask, Mix, Ref) after the multiplication operation is performed, which is input into the AEC sub-band network SubBank Module_aec to obtain the AEC mask parameter value sequence AEC Mask output by the AEC sub-band network SubBank Module_aec, the AEC mask parameter value sequence AEC Mask, the full-band mask parameter value sequence Full Mask, and the second sample eigenvalue Mix of the FFT feature of the sample mixed audio signal are multiplied to obtain the eigenvalue Multiply(Full Mask, Mix, AEC The ANC Mask is input to the ANC sub-band network SubBank Module_anc to obtain a second sample sequence ANC Mask output by the ANC sub-band network SubBankModule_anc.

[0096] According to the first sample sequence, the full-band mask parameter value sequence Full Mask and the pre-saved loss function, the first loss value AEC-ANC Loss of the full-band network is obtained; according to the third sample sequence, the AEC mask parameter value sequence AEC Mask and the loss function, the second loss value AEC Loss of the AEC subband network is obtained; according to the first sample sequence, the second sample sequence and the loss function, the third loss value AEC-ANC Loss of the ANC subband network is obtained.

[0097] According to the preset weight value α corresponding to the full-band network and the ANC sub-band network, and the preset weight value β corresponding to the AEC sub-band network, the loss and value Loss of the original end-to-end model are obtained, where Loss = α×(AEC-ANC Loss)+β×(AECLoss).

[0098] Among them, the loss function of the original end-to-end model during the training process is the weighted sum of the three loss values. The preset weight value of each network can be adjusted at different stages of training. For example, in the early stage of training, the preset weight value α is increased to complete the training of the AEC subband network first. In the later stage of training, the preset weight value α is reduced and the preset weight value β is increased to complete the training of the ANC subband network. No matter how the weights are adjusted, they are all replaceable solutions of the present application.

[0099] In the present application, in order to adjust the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network, according to at least one loss value among the first loss value, the second loss value, and the third loss value and a preset weight value corresponding to each network saved in advance, adjusting the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network includes:

[0100] Determine a first loss sum value of the original end-to-end model according to the first loss value, the second loss value, the third loss value, and a pre-stored preset weight value corresponding to each network, and adjust parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the first loss sum value; or,

[0101] According to the third loss value, parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

[0102] In order to adjust the parameter values ​​in the full-band network, AEC sub-band network, and ANC sub-band network, in the present application, according to the first loss value, the second loss value, the third loss value, and the pre-saved preset weight value corresponding to each network, the first loss value, the second loss value, and the third loss value are respectively multiplied with the corresponding preset weight value to obtain the first loss sum value of each product value, and the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted according to the first loss sum value.

[0103] As a possible adjustment method, the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network can also be adjusted based on the third loss value. The above two adjustment methods can be used interchangeably during the training process of the original end-to-end model.

[0104] As another possible adjustment method, the second loss sum value of the original end-to-end model can also be determined according to the first loss value, the second loss value, and the preset weight value corresponding to each network saved in advance, and the parameter values ​​of the parameters in the full-band network and the AEC sub-band network can be adjusted according to the second loss sum value; based on the adjusted original end-to-end model, the training process of the original end-to-end model is executed again, and the third loss sum value of the adjusted original end-to-end model is determined according to the updated first loss value, the updated second loss value, the updated third loss value, and the preset weight value corresponding to each network saved in advance, and the parameter values ​​of the parameters in each network of the adjusted original end-to-end model are adjusted again according to the third loss sum value; based on the re-adjusted original end-to-end model, the training process of the original end-to-end model is executed again, and the parameter values ​​of the parameters in each network of the re-adjusted original end-to-end model are adjusted according to the updated first loss value, the updated third loss value, and the preset weight value corresponding to each network.

[0105] Figure 4 A process diagram of a mixed audio signal processing method provided in the present application, the process comprising the following steps:

[0106] S401: Train the original end-to-end model according to any of the methods described above for training the target end-to-end model.

[0107] In order to simultaneously realize AEC and ANC for mixed audio signals and reduce the amount of calculation, a mixed audio signal processing method provided in the present application is applied to an electronic device, wherein the electronic device can be a host, a tablet computer, a mobile terminal or other intelligent terminal, or a server; the server can be a local server or a cloud server; the electronic device can be an electronic device for training the target end-to-end model, or it can be other electronic devices different from the electronic device for training the target end-to-end model. Specifically, the present application does not impose any restrictions on this.

[0108] In order to realize the processing of mixed audio signals, the electronic device first trains the original end-to-end model, specifically, trains the original end-to-end model using any of the training methods of the target end-to-end model in the above embodiments, thereby obtaining a trained target end-to-end model. The trained target end-to-end model can realize AEC and ANC at the same time.

[0109] S402: According to a target mixed audio signal to be processed picked up in a target environment, a first eigenvalue of a first audio feature, a second eigenvalue of a second audio feature of the target mixed audio signal, and a third eigenvalue of the first audio feature and a fourth eigenvalue of the second audio feature of a pre-saved target echo reference signal are obtained, wherein a dimension of the second audio feature is not less than a dimension of the first audio feature.

[0110] In order to process the mixed audio signal, the electronic device first obtains the target mixed audio signal to be processed, wherein the target mixed audio signal can be picked up by a sound collecting device such as a pickup, a recorder, a microphone, etc. in a target environment, and the target mixed audio signal is sent to the electronic device for storage; or it can be picked up by the electronic device's own sound collecting device in the target environment and stored in the electronic device.

[0111] Among them, the target environment refers to a closed environment such as a conference room or an auditorium that can generate echoes. Since the problems of low signal-to-echo ratio and low signal-to-noise ratio will only occur when long-distance sound pickup is performed in the target environment, a set distance can also be pre-set in the present application. When sound is picked up at a set distance from the sound source, it indicates long-distance sound pickup, that is, the target mixed audio signal to be processed is picked up at a set distance from the sound source in the target environment.

[0112] The target mixed audio signal picked up in the target environment includes an echo signal, a noise signal and a pure speech signal. When the sound output device in the target environment outputs a pre-saved target echo reference signal, the signal transmitted to the sound collection device after the target echo reference signal is subjected to nonlinear distortion of the sound output device and reverberation reflection of the target environment is the echo signal.

[0113] Figure 5 A schematic diagram of picking up a target mixed audio signal in a target environment provided by the present application, such as Figure 5 As shown, the target mixed audio signal d(n) picked up by the sound collection device consists of three parts: the echo signal e(n), the clean speech signal y(n), and the noise signal s(n), d(n) = y(n) + e(n) + s(n). The target mixed audio signal d(n) and the echo reference signal u(n) are known, while the noise signal and the echo signal caused by nonlinear distortion and reverberation reflection are unknown. Therefore, in order to obtain the clean speech signal y(n), the echo signal e(n) and the noise signal s(n) need to be eliminated.

[0114] The electronic device obtains, for a target mixed audio signal and a pre-saved target echo reference signal, a first eigenvalue of a first audio feature of a target mixed audio signal, a second eigenvalue of a second audio feature, and a third eigenvalue of the first audio feature and a fourth eigenvalue of the second audio feature of the target echo reference signal, wherein the first audio feature and the second audio feature may be the same or different, and a dimension of the second audio feature is not less than a dimension of the first audio feature.

[0115] Among them, the first audio feature is any one of the features based on the filter bank (Filter bank, Fbank), Mel Frequency Cepstrum Coefficient (Mel Frequency Cepstrum Coefficient, MFCC), Fast Fourier Transform (Fast Fourier Transform, FFT), logarithmic power spectrum, complex spectrum, and amplitude spectrum, and the second audio feature is any one of Fbank, MFCC, FFT, logarithmic power spectrum, complex spectrum, amplitude spectrum and time domain waveform.

[0116] S403: Based on the pre-trained target end-to-end model, obtain a first sequence of the first eigenvalue, the second eigenvalue, the third eigenvalue and the fourth eigenvalue as inputs, wherein the first sequence includes target mask parameter values ​​of the first set mask parameters for each frequency point of each frame of the target mixed audio signal arranged in frequency order, and the frequency order is composed of each frequency point of each frame sorted in chronological order.

[0117] In order to eliminate the echo signal and the noise signal, the electronic device preferably stores a target end-to-end model completed by pre-training, wherein the target end-to-end model is a first sequence of target parameter values ​​of a first set mask parameter for each frequency point of each frame of the target mixed audio signal pre-trained and arranged in the order of frequency points. The first set mask parameter refers to the ratio of the modulus value of the amplitude spectrum of the pure speech signal to the modulus value of the amplitude spectrum of the mixed audio signal.

[0118] According to the pre-trained target end-to-end model, the obtained first eigenvalue, second eigenvalue, third eigenvalue and fourth eigenvalue are input into the target end-to-end model to obtain a first sequence output by the target end-to-end model, wherein each target mask parameter value in the first sequence is arranged in frequency order, and the frequency order is composed of each frequency point of each frame sorted in time order.

[0119] S404: Perform Fourier transform on the target mixed audio signal to obtain a second sequence composed of frequency spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtain a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0120] The target mixed audio signal is Fourier transformed to obtain the spectrum value of each frequency point of each frame of the target mixed audio signal, and each spectrum value is arranged in the order of the frequency points to form a second sequence. Among them, the method of Fourier transforming the target mixed audio signal belongs to the prior art, and the embodiment of the present invention does not limit this.

[0121] According to the first sequence and the second sequence, a clean speech signal is obtained after the noise signal and the echo signal in the target mixed audio signal are eliminated. Specifically, the target spectrum value of the clean speech signal can be calculated according to the first sequence and the second sequence, and the clean speech signal can be obtained after the target spectrum value is processed.

[0122] In order to obtain a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal, based on the above embodiments, in this application, Figure 6 A schematic diagram of a process for obtaining a pure speech signal provided in this application is as follows: Figure 6 As shown, the process includes the following steps:

[0123] S601: For each frequency point of each frame of the target mixed audio signal, determine the product value of the target mask parameter value corresponding to the frequency point in the first sequence and the spectrum value corresponding to the frequency point in the second sequence, and determine the product value as the target spectrum value of the frequency point of the pure speech signal.

[0124] The electronic device determines, for each frequency point of each frame of the target mixed audio signal, a target mask parameter value corresponding to the frequency point in the first sequence, and determines a spectrum value corresponding to the frequency point in the second sequence, and multiplies the target mask parameter value by the spectrum value to obtain a product value corresponding to the frequency point, which is the target spectrum value of the frequency point of the pure speech signal.

[0125] S602: Perform inverse Fourier transform on a third sequence consisting of target spectrum values ​​of each frequency point of each frame arranged in frequency order to obtain the pure speech signal.

[0126] According to the target spectrum value corresponding to each frequency point of each frame, each target spectrum value is arranged in the order of frequency points to form a third sequence, and the third sequence is inverse Fourier transformed to obtain a pure speech signal after the echo signal and the noise signal are eliminated from the target mixed audio signal.

[0127] In order to reduce the amount of calculation, based on the above embodiments, in the present application, if the dimension of the second audio feature is equal to the dimension of the first audio feature, the second eigenvalue is the same as the first eigenvalue, and the third eigenvalue is the same as the fourth eigenvalue.

[0128] In order to improve the accuracy of processing the target mixed audio signal, in the present application, the dimension of the second audio feature is not less than the dimension of the first audio feature. When the dimension of the second audio feature is equal to the dimension of the first audio feature, the second audio feature may be the same as or different from the first audio feature. When the second audio feature is different from the first audio feature, the second eigenvalue is different from the first eigenvalue, and the third eigenvalue is different from the fourth eigenvalue.

[0129] However, in order to reduce the computational complexity of processing the target mixed audio signal, in the present application, when the dimension of the second audio feature is equal to the dimension of the first audio feature, the second audio feature is the same as the first audio feature, that is, the second eigenvalue is the same as the first eigenvalue, and the third eigenvalue is the same as the fourth eigenvalue.

[0130] In the present application, the first audio feature is any one of Fbank, MFCC, FFT, logarithmic power spectrum, complex spectrum, and amplitude spectrum, and the second audio feature is any one of Fbank, MFCC, FFT, logarithmic power spectrum, complex spectrum, amplitude spectrum, and time domain waveform.

[0131] Since the dimensions of the logarithmic power spectrum, complex spectrum, and amplitude spectrum are higher than those of Fbank, MFCC, and FFT, and the dimension of the time domain waveform is higher than those of the logarithmic power spectrum, complex spectrum, and amplitude spectrum, when the dimension of the second audio feature is greater than the dimension of the first audio feature, when the first audio feature is any one of Fbank, MFCC, and FFT, the second audio feature is any one of the logarithmic power spectrum, complex spectrum, amplitude spectrum, and time domain waveform; when the first audio feature is any one of the logarithmic power spectrum, complex spectrum, and amplitude spectrum, the second audio feature is a time domain waveform.

[0132] When the dimension of the second audio feature is equal to the dimension of the first audio feature, if the first audio feature is different from the second audio feature, when the first audio feature is any one of Fbank, MFCC, and FFT, the second audio feature is any one of Fbank, MFCC, and FFT except the first audio feature; when the first audio feature is any one of logarithmic power spectrum, complex spectrum, and amplitude spectrum, the second audio feature is any one of logarithmic power spectrum, complex spectrum, and amplitude spectrum except the first audio feature.

[0133] If the first audio feature is the same as the second audio feature, and the first audio feature is any one of Fbank, MFCC, FFT, logarithmic power spectrum, complex spectrum, and amplitude spectrum, the second audio feature is the same as the first audio feature, the first eigenvalue of the first audio feature is the same as the second eigenvalue of the second audio feature, and the third eigenvalue of the first audio feature is the same as the fourth eigenvalue of the second audio feature.

[0134] Based on the above embodiments, Figure 7 A schematic diagram of a target end-to-end model training device provided in the present application, the device comprising:

[0135] An acquisition model 701 is used to acquire any eigenvalue set in a sample set and a first sample sequence of a corresponding first set mask parameter, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0136] The training module 702 is used to obtain a second sample sequence obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value and the fourth sample feature value based on the original end-to-end model; and adjust the parameter values ​​of each parameter of the original end-to-end model according to the first sample sequence and the second sample sequence.

[0137] Furthermore, the target end-to-end model includes a full-band network, an echo cancellation AEC subband network, and a noise cancellation ANC subband network; the acquisition module is specifically used to acquire any eigenvalue set in the sample set and a first sample sequence of the first set mask parameter of the eigenvalue set, and a third sample sequence of the second set mask parameter, wherein the third sample sequence includes a ratio of a modulus value of a third amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, wherein the third amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the target signal remaining after the echo AEC of the sample mixed audio signal is cancelled;

[0138] The training module is specifically used to input the first sample characteristic value and the third sample characteristic value into the full-band network to obtain the full-band mask parameter value sequence of the first set mask parameter output by the full-band network; input the full-band mask parameter value sequence, the second sample characteristic value and the fourth sample characteristic value into the AEC sub-band network to obtain the AEC mask parameter value sequence of the second set mask parameter output by the AEC sub-band network; input the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample characteristic value into the ANC sub-band network to obtain the second sample sequence of the first set mask parameter output by the ANC sub-band network; according to The first sample sequence, the full-band mask parameter value sequence and a pre-saved loss function are used to obtain a first loss value of the full-band network; the second loss value of the AEC sub-band network is obtained according to the third sample sequence, the AEC mask parameter value sequence and the loss function; the third loss value of the ANC sub-band network is obtained according to the first sample sequence, the second sample sequence and the loss function; and the parameter values ​​in the full-band network, the AEC sub-band network and the ANC sub-band network are adjusted according to at least one loss value among the first loss value, the second loss value and the third loss value and a pre-saved preset weight value corresponding to each network.

[0139] Furthermore, the training module is specifically used to determine the first loss and value of the original end-to-end model according to the first loss value, the second loss value, the third loss value, and the preset weight value corresponding to each network saved in advance, and adjust the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the first loss and value; or, adjust the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the third loss value.

[0140] Based on the above embodiments, Figure 8 This is a schematic diagram of the structure of a mixed audio signal processing device provided in the present application, the device comprising:

[0141] A training module 801 is used to train the original end-to-end model according to any of the methods described in the above-mentioned training methods of the target end-to-end model;

[0142] An acquisition module 802 is used to acquire, according to a target mixed audio signal to be processed picked up in a target environment, a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal;

[0143] A determination module 803 is used to obtain a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue based on a pre-trained target end-to-end model, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order;

[0144] The processing module 804 is used to perform Fourier transform on the target mixed audio signal to obtain a second sequence composed of spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtain a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0145] Furthermore, the processing module is specifically used to determine, for each frequency point of each frame of the target mixed audio signal, the product value of the target mask parameter value corresponding to the frequency point in the first sequence and the spectrum value corresponding to the frequency point in the second sequence, and determine the product value as the target spectrum value of the frequency point of the pure speech signal; perform inverse Fourier transform on a third sequence composed of the target spectrum values ​​of each frequency point of each frame arranged in frequency order to obtain the pure speech signal.

[0146] Fig. 9 1 is a schematic diagram of the structure of a chip system provided by the present application. The chip system includes one or more (including two) processors 901, a communication interface 902 and a memory 903. The memory 903 may include a read-only memory and a random access memory, and provide operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0147] In some embodiments, Fig. 9 As shown, the memory 903 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.

[0148] like Fig. 9 As shown, in the present application, the corresponding operation is performed by calling the operation instruction stored in the memory 903 (the operation instruction may be stored in the operating system).

[0149] like Fig. 9 As shown, the processor 901 controls the processing operation of the head-end device, and the processor can also be called a central processing unit (CPU).

[0150] like Fig. 9As shown, the memory 903 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory 903 may also include an NVRAM. For example, in an application, the communication interface and the memory are coupled together through a bus system 904, wherein the bus system 904 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Fig. 9 Various buses are labeled as bus system 904.

[0151] The method disclosed in the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The processor can be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the present application can be directly embodied as a hardware decoding processor to perform, or can be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the method in combination with its hardware.

[0152] Fig.10 This is a schematic diagram of the structure of an electronic device provided by the present application. Based on the above embodiments, the embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, it includes: a processor 1001 , a communication interface 1002 , a memory 1003 and a communication bus 1004 , wherein the processor 1001 , the communication interface 1002 , and the memory 1003 communicate with each other via the communication bus 1004 .

[0153] The memory 1003 stores a computer program. When the program is executed by the processor 1001, the processor 1001 performs the following steps:

[0154] Acquire any eigenvalue set in the sample set and a first sample sequence of the corresponding first set mask parameters, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0155] Based on the original end-to-end model, a second sample sequence is obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value, and the fourth sample feature value;

[0156] According to the first sample sequence and the second sample sequence, parameter values ​​of various parameters of the original end-to-end model are adjusted.

[0157] Or the processor 1001 is caused to execute the following steps:

[0158] Training the original end-to-end model according to any of the methods described in the above-mentioned training methods of the target end-to-end model;

[0159] According to the target mixed audio signal to be processed picked up in the target environment, obtaining a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal;

[0160] Based on a pre-trained target end-to-end model, obtaining a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order;

[0161] Performing Fourier transform on the target mixed audio signal to obtain a second sequence consisting of spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtaining a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0162] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0163] The communication interface 1002 is used for communication between the electronic device and other devices.

[0164] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0165] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0166] On the basis of the above embodiments, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program executable by a processor, and when the program runs on the processor, the processor implements the following steps when executing:

[0167] Acquire any eigenvalue set in the sample set and a first sample sequence of the corresponding first set mask parameters, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal;

[0168] Based on the original end-to-end model, a second sample sequence is obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value, and the fourth sample feature value;

[0169] According to the first sample sequence and the second sample sequence, parameter values ​​of various parameters of the original end-to-end model are adjusted.

[0170] Or cause the processor to execute the following steps:

[0171] Training the original end-to-end model according to any of the methods described in the above-mentioned training methods of the target end-to-end model;

[0172] According to the target mixed audio signal to be processed picked up in the target environment, obtaining a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal;

[0173] Based on a pre-trained target end-to-end model, obtaining a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order;

[0174] Performing Fourier transform on the target mixed audio signal to obtain a second sequence consisting of spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtaining a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

[0175] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0176] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0177] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0178] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0179] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for training a target end-to-end model, characterized in that: The method comprises: Acquire any eigenvalue set in the sample set and a first sample sequence of the corresponding first set mask parameters, wherein the eigenvalue set includes: a first sample eigenvalue and a second sample eigenvalue of a sample mixed audio signal, a third sample eigenvalue and a fourth sample eigenvalue of a sample echo reference signal, the first sample sequence includes a ratio of a modulus value of a first amplitude spectrum corresponding to each frequency point of each frame to a modulus value of a second amplitude spectrum, the first amplitude spectrum is an amplitude spectrum of the frequency point of each frame of a sample pure speech signal after the sample mixed audio signal eliminates echo AEC and noise ANC, and the second amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the sample mixed audio signal; Based on the original end-to-end model, a second sample sequence is obtained by inputting the first sample feature value, the second sample feature value, the third sample feature value, and the fourth sample feature value; According to the first sample sequence and the second sample sequence, parameter values ​​of various parameters of the original end-to-end model are adjusted.

2. The method according to claim 1, characterized in that The target end-to-end model includes a full-band network, an echo cancellation AEC sub-band network, and a noise cancellation ANC sub-band network; The training process of the target end-to-end model includes: Acquire any eigenvalue set in the sample set and a first sample sequence of the first set mask parameter and a third sample sequence of the second set mask parameter of the eigenvalue set, wherein the third sample sequence includes a ratio of a modulus value of a third amplitude spectrum corresponding to each frequency point of each frame to a modulus value of the second amplitude spectrum, wherein the third amplitude spectrum is an amplitude spectrum of the frequency point of each frame of the target signal remaining after the sample mixed audio signal eliminates the echo AEC; Inputting the first sample characteristic value and the third sample characteristic value into the full-band network to obtain a full-band mask parameter value sequence of the first set mask parameter output by the full-band network; Inputting the full-band mask parameter value sequence, the second sample characteristic value, and the fourth sample characteristic value into the AEC sub-band network to obtain an AEC mask parameter value sequence of the second set mask parameter output by the AEC sub-band network; Inputting the AEC mask parameter value sequence, the full-band mask parameter value sequence and the second sample characteristic value into the ANC sub-band network to obtain a second sample sequence of the first set mask parameter output by the ANC sub-band network; Obtaining a first loss value of the full-band network according to the first sample sequence, the full-band mask parameter value sequence, and a pre-saved loss function; Obtaining a second loss value of the AEC subband network according to the third sample sequence, the AEC mask parameter value sequence and the loss function; Obtaining a third loss value of the ANC subband network according to the first sample sequence, the second sample sequence, and the loss function; According to at least one loss value among the first loss value, the second loss value, and the third loss value and a pre-saved preset weight value corresponding to each network, the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

3. The method according to claim 2, characterized in that According to at least one loss value among the first loss value, the second loss value, and the third loss value and a pre-stored preset weight value corresponding to each network, adjusting the parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network includes: Determine a first loss sum value of the original end-to-end model according to the first loss value, the second loss value, the third loss value, and a pre-stored preset weight value corresponding to each network, and adjust parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network according to the first loss sum value; or, According to the third loss value, parameter values ​​in the full-band network, the AEC sub-band network, and the ANC sub-band network are adjusted.

4. The method according to any one of claims 1 to 3, characterized in that: The first audio feature is any one of the filter bank-based feature Fbank, the Mel-cepstral coefficient MFCC, the Fourier transform FFT, the logarithmic power spectrum, the complex spectrum, and the amplitude spectrum; the second audio feature is any one of the filter bank-based feature Fbank, the Mel-cepstral coefficient MFCC, the Fourier transform FFT, the logarithmic power spectrum, the complex spectrum, the amplitude spectrum and the time domain waveform.

5. A mixed audio signal processing method, characterized in that: The method comprises: Training the original end-to-end model according to the training method of the target end-to-end model according to any one of claims 1 to 4; According to the target mixed audio signal to be processed picked up in the target environment, obtaining a first eigenvalue and a second eigenvalue of the target mixed audio signal, and a third eigenvalue and a fourth eigenvalue of a pre-stored target echo reference signal; Based on a pre-trained target end-to-end model, obtaining a first sequence obtained by inputting the first eigenvalue, the second eigenvalue, the third eigenvalue, and the fourth eigenvalue, wherein the first sequence includes target mask parameter values ​​of first set mask parameters of the target mixed audio signal arranged in frequency order; Performing Fourier transform on the target mixed audio signal to obtain a second sequence composed of frequency spectrum values ​​of each frequency point of each frame of the target mixed audio signal arranged in the order of the frequency points, and obtaining a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence.

6. The method according to claim 5, characterized in that The step of obtaining a pure speech signal after eliminating the noise signal and the echo signal in the target mixed audio signal according to the first sequence and the second sequence comprises: For each frequency point of each frame of the target mixed audio signal, determine a product value of a target mask parameter value corresponding to the frequency point in the first sequence and a spectrum value corresponding to the frequency point in the second sequence, and determine the product value as a target spectrum value of the frequency point of the pure speech signal; An inverse Fourier transform is performed on a third sequence composed of target spectrum values ​​of each frequency point of each frame arranged in frequency order to obtain the pure speech signal.

7. The method according to claim 5, characterized in that If the dimension of the second audio feature is equal to the dimension of the first audio feature, the second eigenvalue is the same as the first eigenvalue, and the third eigenvalue is the same as the fourth eigenvalue.

8. A chip system, characterized in that: include: A memory and a processor, wherein the processor and the memory are coupled; wherein the memory includes program instructions, and when the program instructions are executed by the processor, the chip system executes the steps of the target end-to-end model training method as described in any one of claims 1-4, or the steps of the mixed audio signal processing method as described in any one of claims 5-7.

9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; A computer program is stored in the memory. When the program is executed by the processor, the processor executes the computer program stored in the memory to implement the steps of the target end-to-end model training method as described in any one of claims 1 to 4, or the steps of the mixed audio signal processing method as described in any one of claims 5 to 7.

10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the steps of the target end-to-end model training method as described in any one of claims 1-4, or the steps of the mixed audio signal processing method as described in any one of claims 5-7.