An online speech enhancement method and device integrating filtering and learning
By combining Kalman filtering and DNN training in the wireless voice communication system, and using real-time background noise and offline corpus for online training, the problem of KMF method's poor processing of non-stationary noise and DNN method's data dependence is solved, and the problem of low overhead is achieved. Improve the effectiveness of speech enhancement performance.
Patent Information
- Application Number
- CN202111392458.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-11-19
AI Technical Summary
In existing wireless voice communication systems, the KMF method has poor processing effect on non-stationary noise, while the performance of the DNN training enhancement method relies on a large amount of and diverse training data, resulting in low speech enhancement performance in the case of huge data overhead.
An online speech enhancement method that combines filtering and learning is used to obtain the noisy speech signal in real time for Kalman filtering. DNN training is performed based on the offline corpus to obtain training weights and DNN enhancement. Finally, the output speech signal is obtained through performance comparison and real-time Background noise and offline corpus are used for DNN online training to reduce data overhead.
While ensuring the speech enhancement performance, it reduces the data collection overhead, is suitable for non-stationary noise environments, improves the speech enhancement performance, and improves the overall performance of the system with limited overhead.
Smart Images

Figure CN113990341B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication and signal processing, and more specifically to an online speech enhancement method and device integrating filtering and learning. Background Art
[0002] In wireless voice communication systems, the presence of background noise greatly reduces the intelligibility of the voice demodulated by the receiver, and speech enhancement technology is needed to extract the original clean voice signal from the noisy speech.
[0003] Speech enhancement technology can be generally divided into unsupervised speech enhancement methods and supervised speech enhancement methods. Unsupervised speech enhancement methods are also called traditional speech enhancement methods, which do not require offline training and require less computing resources. The most commonly used unsupervised speech enhancement method is the Kalman filter (KMF) method, which can be solved recursively and can perform filtering enhancement without the information of the entire speech frame. However, the KMF method only has a good processing effect on stationary noise, but has poor performance for non-stationary noise.
[0004] Supervised speech enhancement methods use existing speech data or noise data to train relevant statistical characteristic models, allowing the system to learn and remember some speech and noise patterns to guide the separation of noise from noisy speech. Since supervised speech enhancement methods make full use of existing data and master some statistical characteristics of speech and noise, they will obtain better speech enhancement performance. At present, the commonly used supervised speech enhancement method is the deep neural network (DNN) training enhancement method. The DNN training enhancement method used for speech signal processing is generally divided into two stages: training stage and enhancement stage. The training stage is used to train clean speech and noisy speech to obtain weight coefficients. The enhancement stage uses the weight coefficients obtained by training to perform real-time enhancement processing on the input speech. The DNN training enhancement method can more accurately learn the relationship between noisy speech and clean speech, thereby obtaining better speech enhancement performance. However, the performance of the DNN training enhancement method depends on the size of the training data set: the larger the amount of training data, the richer the data type, and the better the model effect obtained by training; conversely, when the amount of training data is small and the type is single, the obtained model has poor generalization ability and low speech enhancement performance. However, in wireless voice communication systems, it is difficult to obtain a large amount of corpus data for training.
[0005] In summary, KMF and DNN training enhancement are two commonly used methods in the current field of speech enhancement, and both have certain disadvantages: KMF is the optimal enhancement method for stationary noise, but its performance is poor for non-stationary noise; the performance of DNN training enhancement depends on the size of the data set used in training and the richness of the data type, and for a speech communication system, it is very expensive to obtain a large amount of training data. Therefore, a new technology is needed that can be applied to non-stationary noise and can reduce data overhead while ensuring speech enhancement performance. Summary of the invention
[0006] In order to solve the above problems in the prior art, the present invention provides an online speech enhancement method and device integrating filtering and learning, which can reduce the cost of data collection while ensuring the speech enhancement performance.
[0007] The present invention provides an online speech enhancement method integrating filtering and learning, comprising:
[0008] Step S1, acquiring an original noisy speech signal in real time, performing Kalman filtering on the original noisy speech signal, and obtaining a filtered real-time speech signal;
[0009] Step S2, performing DNN training according to the original noisy speech signal, the filtered real-time speech signal and an offline corpus to obtain training weights;
[0010] Step S3, performing DNN enhancement according to the original noisy speech signal and the training weights to obtain an enhanced speech signal;
[0011] Step S4, performing a performance comparison between the filtered speech signal and the enhanced speech signal to obtain an output speech signal.
[0012] Furthermore, the step S2 comprises:
[0013] Step S21, determining whether the original noisy speech signal is background noise, if so, outputting it as a real-time background noise signal and entering step S22; if not, ending the process;
[0014] Step S22, integrating the filtered real-time speech signal and the real-time background noise signal with the corpus in the offline corpus respectively to obtain a clean speech data block for training and a noisy speech data block for training;
[0015] Step S23, extracting features from the training clean speech data block and the training noisy speech data block to obtain training clean speech features and training noisy speech features;
[0016] Step S24, using the clean speech feature for training as a reference, performing supervised training on the noisy speech feature for training to obtain a training weight w.
[0017] Furthermore, the step S22 includes:
[0018] Step S221, cache the filtered real-time speech signal and the real-time background noise signal respectively, and obtain a real-time speech data block and a real-time background noise data block;
[0019] Step S222, adding the real-time speech data block and the real-time background noise data block to obtain a real-time noisy speech data block;
[0020] Step S223, obtaining an offline clean speech data block and an offline noisy speech data block in the offline corpus, concatenating the real-time speech data block with the offline clean speech data block to obtain a clean speech data block for training; and concatenating the real-time noisy speech data block with the offline noisy speech data block to obtain a noisy speech data block for training.
[0021] Furthermore, the step S3 comprises:
[0022] Step S31, extracting features from the original noisy speech signal to obtain original noisy speech features;
[0023] Step S32, enhancing the original noisy speech feature according to the training weight to obtain the enhanced original noisy speech feature;
[0024] Step S33, reconstructing the waveform of the enhanced original noisy speech feature to obtain an enhanced speech signal.
[0025] Furthermore, the method for obtaining the output voice signal in step S4 is: if the performance of the filtered voice signal is better than that of the enhanced voice signal, the filtered voice signal is used as the output voice signal; if the performance of the enhanced voice signal is better than that of the filtered voice signal, the enhanced voice signal is used as the output voice signal.
[0026] An online speech enhancement device integrating filtering and learning, comprising:
[0027] A Kalman filter module is configured to obtain an original noisy speech signal in real time, and perform Kalman filtering on the original noisy speech signal to obtain a filtered real-time speech signal;
[0028] A DNN training module is connected to the Kalman filter module and is configured to perform DNN training according to the original noisy speech signal, the filtered real-time speech signal and an offline corpus to obtain training weights;
[0029] A DNN enhancement module is connected to the DNN training module and is configured to perform DNN enhancement according to the original noisy speech signal and the training weights to obtain an enhanced speech signal;
[0030] The performance comparison module is connected to the Kalman filter module and the DNN enhancement module respectively, and is configured to perform a performance comparison on the filtered speech signal and the enhanced speech signal to obtain an output speech signal.
[0031] Furthermore, the DNN training module includes:
[0032] A background noise extraction module is configured to receive the original noisy speech signal and determine whether the original noisy speech signal is background noise, and if so, output the original noisy speech signal as the real-time background noise signal to the training corpus generation module;
[0033] A training corpus generation module is connected to the background noise extraction module, the Kalman filter module and an offline corpus, and is configured to integrate the filtered real-time speech signal and the real-time background noise signal with the corpus in the offline corpus to obtain a clean speech data block for training and a noisy speech data block for training;
[0034] A first feature extraction module is connected to the training corpus generation module and is configured to extract features from the training clean speech data block and the training noisy speech data block to obtain training clean speech features and training noisy speech features;
[0035] The weight training module is connected to the first feature extraction module and is configured to perform supervised training on the training noisy speech features with reference to the training clean speech features to obtain training weights.
[0036] Furthermore, the training corpus generation module includes:
[0037] A voice buffer module, connected to the Kalman filter module and configured to buffer the filtered real-time voice signal and obtain a real-time voice data block;
[0038] A noise buffer module, connected to the background noise extraction module and configured to buffer the real-time background noise signal and obtain a real-time background noise data block;
[0039] an adder, connected to the speech buffer module and the noise buffer module respectively, and configured to add the real-time speech data block and the real-time background noise data block to obtain a real-time noisy speech data block;
[0040] The corpus integration module is connected to the speech buffer module and the adder respectively, and is configured to obtain an offline clean speech data block and an offline noisy speech data block in the offline corpus, splice the real-time speech data block with the offline clean speech data block to obtain a clean speech data block for training; and splice the real-time noisy speech data block with the offline noisy speech data block to obtain a noisy speech data block for training.
[0041] Furthermore, the DNN enhancement module includes:
[0042] A second feature extraction module is connected to the Kalman filter module and is configured to extract features from the original noisy speech signal to obtain original noisy speech features;
[0043] a feature enhancement module, connected to the second feature extraction module and the weight training module respectively, and configured to enhance the original noisy speech feature according to the training weight to obtain the enhanced original noisy speech feature;
[0044] The waveform reconstruction module is connected to the feature enhancement module and is configured to perform waveform reconstruction on the enhanced original noisy speech feature to obtain an enhanced speech signal.
[0045] Furthermore, the performance comparison module is configured as follows: if the performance of the filtered speech signal is better than that of the enhanced speech signal, the filtered speech signal is used as the output speech signal; if the performance of the enhanced speech signal is better than that of the filtered speech signal, the enhanced speech signal is used as the output speech signal.
[0046] The present invention uses the background noise collected in real time and the KMF output of the background noise as training corpus, and combines the offline corpus to perform DNN online training. When the performance of DNN enhancement is better than that of KMF, the output of DNN enhancement is used as the final output of the speech enhancement system; otherwise, the output of KMF is used as the final output of the speech enhancement system, which can improve the performance of speech enhancement with limited overhead. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flow chart of the online speech enhancement method of fusion filtering and learning according to the present invention.
[0048] Figure 2 This is the flow chart of Kalman filter.
[0049] Figure 3 yes Figure 1 Flowchart of training corpus generation in .
[0050] Figure 4 yes Figure 1 DNN enhancement flowchart.
[0051] Figure 5 The present invention is a system block diagram of a communication receiver of an online speech enhancement device combining fusion filtering and learning of the present invention. DETAILED DESCRIPTION
[0052] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings and described in detail.
[0053] like Figure 1 As shown, the online speech enhancement method of fusion filtering and learning provided by the present invention comprises the following steps:
[0054] Step S1, obtaining an original noisy speech signal s(n) in real time, performing Kalman filtering on the original noisy speech signal s(n), and obtaining a filtered real-time speech signal f(n).
[0055] The process of Kalman filtering is as follows Figure 2 As shown, it includes:
[0056] 1) Framing: The original noisy speech signal s(n) is framed into 50 millisecond frames, and the framed speech signal s1(n) is output.
[0057] 2) Linear predictive coding: Solve the speech signal model for the framed speech signal s1(n), and output the signal model coefficient matrix A and the process noise covariance matrix Q.
[0058] 3) Calculation of the a posteriori estimated covariance. The input is the Kalman gain G(n), the a priori estimated covariance matrix P(n), and the output is the a posteriori estimated covariance matrix E(n). The calculation process of the a posteriori estimated covariance matrix E(n) is as follows:
[0059] E(n)=(1-G(n))P(n) (1)
[0060] 4) Unit delay. Delay the discrete sequence by one unit, such as changing the posterior estimate covariance matrix E(n) after a unit delay to the delayed posterior estimate covariance matrix E(n-1), and changing the posterior estimate f(n) after a unit delay to the delayed posterior estimate f(n-1).
[0061] 5) Calculation of prior estimation covariance. The input is the delayed a posteriori estimation covariance matrix E(n-1), the signal model coefficient matrix A, and the process noise covariance matrix Q, and the output is the a priori estimation covariance matrix P(n). The calculation process of the a priori estimation covariance matrix P(n) is as follows:
[0062] P(n)=AE(n-1)A T +Q (2)
[0063] 6) Prior estimation. The input is the signal model coefficient matrix A, the delayed a posteriori estimate f(n-1), and the output is the prior estimate A priori estimate The calculation process is as follows:
[0064]
[0065] 7) Kalman gain calculation. Input the prior estimation covariance matrix P(n) and the observation noise covariance matrix R, and output the Kalman gain G(n). The calculation process of Kalman gain G(n) is as follows:
[0066]
[0067] 8) Posterior estimation. Input is the prior estimate Kalman gain G(n), framed speech signal s1(n), output posterior estimate f(n), that is, the final filtered speech signal f(n). The filtered speech signal f(n) does not contain noise and is clean speech. The calculation process of f(n) is as follows:
[0068]
[0069] Step S2, performing DNN training based on the original noisy speech signal s(n), the filtered real-time speech signal f(n) and an offline corpus to obtain the training weight w. Specifically including:
[0070] Step S21, determine whether the original noisy speech signal s(n) is pure background noise, if so, output it as the real-time background noise signal N(n), and enter step S22; if not, it indicates that the original noisy speech signal s(n) is not a pure background noise signal but may be a noisy speech signal or a clean speech signal, discard the current speech signal s(n), and end the process. Thus, the input of step S21 is the original noisy speech signal s(n), and the output is the real-time background noise signal N(n).
[0071] The method for determining whether the original noisy speech signal s(n) is background noise may adopt the voice activity detection (VAD) method. The background noise signal N(n) may be represented by the following model:
[0072]
[0073] In the formula, 0 means no output.
[0074] Step S22, the filtered real-time speech signal f(n) and the real-time background noise signal N(n) are respectively integrated with the corpus in the offline corpus to obtain a training clean speech data block a and a training noisy speech data block b.
[0075] Among them, the offline corpus is pre-configured to store a certain amount of offline training corpus, which is jointly trained with the signals f(n) and N(n) obtained online in real time, which can improve the performance of DNN training.
[0076] Specifically, Figure 3 As shown, step S22 includes:
[0077] Step S221, cache the filtered real-time speech signal f(n) and real-time background noise signal N(n) respectively, and obtain the real-time speech data block u and the real-time background noise data block r. The purpose of caching is to solve the problem of DNN processing being out of sync with the real-time signals f(n) and N(n). The contents of the data blocks u and r are essentially consistent with the data contents of the real-time signals f(n) and N(n).
[0078] Step S222, add the real-time speech data block u and the real-time background noise data block r to obtain a new real-time noisy speech data block v. That is, the real-time noisy speech data block v satisfies:
[0079] v=u+r (5)
[0080] It should be noted that the size of the real-time speech data block u is equal to the size of the real-time background noise data block r, so as to ensure that the data lengths of u and r are equal, so as to facilitate the corresponding addition of u and r to obtain v. At the same time, it also ensures that the data lengths of u and v are equal, which is convenient for subsequent corpus integration.
[0081] Step S223, obtain the offline clean speech data block g and the offline noisy speech data block e in the offline corpus, concatenate the real-time speech data block u with the offline clean speech data block g to obtain the training clean speech data block a; concatenate the real-time noisy speech data block v with the offline noisy speech data block e to obtain the training noisy speech data block b. That is, the data blocks a and b respectively satisfy:
[0082] a=[gu] (6)
[0083] b=[ev] (7)
[0084] In the formula, [] indicates a concatenation operation, that is, the data blocks contained in it are concatenated into new data blocks in order. The order of the data blocks refers to the writing order. For example, [ev] means that data block e comes first and data block v comes later. It should be noted that the data in the offline corpus can be recycled to ensure that there is data in the offline corpus at any time to be concatenated with the real-time data for training.
[0085] Step S23, extracting features from the training clean speech data block a and the training noisy speech data block b to obtain the training clean speech feature Y a and the noisy speech feature Y for training b . Voice feature Y a and Y b It usually includes phase spectrum, amplitude spectrum and power spectrum. Taking power spectrum as an example, its calculation formula is:
[0086] Y a =ln(|F(a)| 2 ) (8)
[0087] Y b =ln(|F(b)| 2 ) (9)
[0088] Wherein, F(.) represents Fourier transform.
[0089] Step S24, using the clean speech feature Y for training a As a reference, the noisy speech feature Y b Conduct supervised training to obtain the training weight w. The calculation process of the training weight w is an optimization process, and its optimization model is:
[0090]
[0091] In the formula, is the estimated characteristic function with weight w as variable, Y′ a is the clean speech feature value for training, which is used as the target reference. The optimal solution w obtained by formula (12) is the optimal weight obtained by training.
[0092] Step S3, performing DNN enhancement according to the original noisy speech signal s(n) and the training weight w, to obtain an enhanced speech signal d(n). Specifically, Figure 4 As shown, step S3 includes:
[0093] Step S31, extracting features of the original noisy speech signal s(n) to obtain the original noisy speech feature Y s . Original noisy speech feature Y s It can be calculated by referring to the above formulas (10) and (11).
[0094] Step S32: According to the training weight w, the original noisy speech feature Y s Enhance and obtain the enhanced original noisy speech feature Y e The enhanced original noisy speech feature Y e Calculate according to the following formula:
[0095] Ye =wY s (11)
[0096] Step S33: the enhanced original noisy speech feature Y e Perform waveform reconstruction to obtain the enhanced speech signal d(n). The enhanced speech signal d(n) is calculated according to the following formula:
[0097]
[0098] In the formula, F -1 (.) denotes inverse Fourier transform, and e denotes a natural constant.
[0099] It should be noted that this embodiment only uses the power spectrum as an example to illustrate the process of DNN training and enhancement, while feature extraction and waveform reconstruction also require amplitude spectrum and phase spectrum. The steps for DNN training and enhancement of amplitude spectrum and phase spectrum are similar to those of power spectrum, which will not be repeated here.
[0100] Step S4, compare the performance of the above-mentioned filtered speech signal f(n) and the enhanced speech signal d(n). If the performance of the filtered speech signal f(n) is better than that of the enhanced speech signal d(n), the filtered speech signal f(n) is used as the output speech signal x(n); if the performance of the enhanced speech signal d(n) is better than that of the filtered speech signal f(n), the enhanced speech signal d(n) is used as the output speech signal x(n).
[0101] The method for comparing the performance of the filtered speech signal f(n) and the enhanced speech signal d(n) can adopt a speech quality evaluation method, such as the speech quality comparison method with reference and without reference of PESQ and P.563. If it is assumed that the performance comparison function is H, H is an increasing function, and its independent variable is the input speech, the better the performance, the greater the function value, so the comparison process of step S4 can be expressed by the following formula:
[0102]
[0103] The present invention also provides an online speech enhancement device integrating filtering and learning, which can be embedded in a communication receiver system as a module. Figure 5 As shown, the online speech enhancement device for fusion filtering and learning provided by the present invention is arranged between the digital speech decoder and the digital-to-analog converter, and the signal direction of the entire receiver system is as follows:
[0104] After the wireless signal is received and demodulated, the signal is converted into a binary bit stream; the binary bit stream is converted into a discrete digital voice signal after passing through a digital voice decoder, and the digital voice signal is a noisy voice signal; the voice enhancement device proposed in the present invention enhances the noisy voice signal and outputs a clean voice signal, and the clean voice signal is converted into an analog signal for playback after passing through a digital-to-analog converter.
[0105] Specifically, the online speech enhancement device integrating filtering and learning provided by the present invention comprises:
[0106] The Kalman filter module is configured to obtain the original noisy speech signal s(n) in real time, perform Kalman filtering on the original noisy speech signal s(n), and obtain a filtered real-time speech signal f(n).
[0107] The DNN training module is connected to the Kalman filter module and is configured to perform DNN training based on the original noisy speech signal s(n), the filtered real-time speech signal f(n) and an offline corpus to obtain a training weight w.
[0108] The DNN enhancement module is connected to the DNN training module and is configured to perform DNN enhancement according to the original noisy speech signal s(n) and the training weight w to obtain an enhanced speech signal d(n).
[0109] The performance comparison module is connected to the Kalman filter module and the DNN enhancement module respectively, and is configured to compare the performance of the filtered speech signal f(n) and the enhanced speech signal d(n). If the performance of the filtered speech signal f(n) is better than that of the enhanced speech signal d(n), the filtered speech signal f(n) is used as the output speech signal x(n); if the performance of the enhanced speech signal d(n) is better than that of the filtered speech signal f(n), the enhanced speech signal d(n) is used as the output speech signal x(n).
[0110] Among them, the Kalman filter module includes a frame submodule, a linear prediction coding submodule, a posterior estimation covariance calculation submodule, a unit delay submodule, a priori estimation covariance calculation submodule, a priori estimation submodule, a Kalman gain calculation submodule and a posterior estimation submodule. The functions and effects of these submodules correspond to the Kalman filtering process in the above step S1 and will not be repeated here.
[0111] The DNN training module includes:
[0112] The background noise extraction module is configured to receive the original noisy speech signal s(n) and determine whether the original noisy speech signal s(n) is background noise. If so, a real-time background noise signal N(n) is obtained and the real-time background noise signal N(n) is output to the training corpus generation module; if not, the current speech signal s(n) is discarded.
[0113] The training corpus generation module is connected to the background noise extraction module, the Kalman filter module and an offline corpus respectively, and is configured to integrate the filtered real-time speech signal f(n) and the real-time background noise signal N(n) with the corpus in the offline corpus respectively to obtain a clean speech data block a for training and a noisy speech data block b for training.
[0114] The first feature extraction module is connected to the training corpus generation module and is configured to extract features from the training clean speech data block a and the training noisy speech data block b to obtain the training clean speech feature Y a and the noisy speech feature Y for training b .
[0115] The weight training module is connected to the first feature extraction module and is set to use the clean speech feature Y for training a As a reference, the noisy speech feature Y b Perform supervised training and obtain the training weight w.
[0116] The above training corpus generation module includes:
[0117] The speech buffer module is connected to the Kalman filter module and is configured to buffer the filtered real-time speech signal f(n) to obtain the real-time speech data block u.
[0118] The noise buffer module is connected to the background noise extraction module and is configured to buffer the real-time background noise signal N(n) and obtain the real-time background noise data block r.
[0119] The adder is connected to the speech buffer module and the noise buffer module respectively, and is configured to add the real-time speech data block u and the real-time background noise data block r to obtain a new real-time noisy speech data block v.
[0120] The corpus integration module is connected to the speech buffer module and the adder respectively, and is configured to obtain an offline clean speech data block g and an offline noisy speech data block e in the offline corpus, concatenate the real-time speech data block u with the offline clean speech data block g to obtain a training clean speech data block a; and concatenate the real-time noisy speech data block v with the offline noisy speech data block e to obtain a training noisy speech data block b.
[0121] The above DNN enhancement module includes:
[0122] The second feature extraction module is connected to the Kalman filter module and is configured to extract features from the original noisy speech signal s(n) to obtain the original noisy speech feature Y s .
[0123] The feature enhancement module is connected to the second feature extraction module and the weight training module respectively, and is configured to enhance the original noisy speech feature Y according to the training weight w. s Enhance and obtain the enhanced original noisy speech feature Y e .
[0124] The waveform reconstruction module is connected to the feature enhancement module and is set to enhance the original noisy speech feature Y e Perform waveform reconstruction to obtain the enhanced speech signal d(n).
[0125] It should be noted that, in the online speech enhancement device for fusion filtering and learning provided in this embodiment, the meaning and calculation formula of each parameter are consistent with the online speech enhancement method for fusion filtering and learning, and will not be repeated here.
[0126] The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The above embodiment of the present invention can also be modified in various ways. That is, all simple, equivalent changes and modifications made according to the claims and the description of the present invention fall within the scope of protection of the claims of the present invention. The contents not described in detail in the present invention are all conventional technical contents.
Claims
1. An online speech enhancement method integrating filtering and learning, characterized in that: include: Step S1, acquiring an original noisy speech signal in real time, performing Kalman filtering on the original noisy speech signal, and obtaining a filtered real-time speech signal; Step S2, performing DNN training according to the original noisy speech signal, the filtered real-time speech signal and an offline corpus to obtain training weights; Step S3, performing DNN enhancement according to the original noisy speech signal and the training weights to obtain an enhanced speech signal; Step S4, performing a performance comparison between the filtered speech signal and the enhanced speech signal to obtain an output speech signal; The method for obtaining the output voice signal in step S4 is: if the performance of the filtered voice signal is better than that of the enhanced voice signal, the filtered voice signal is used as the output voice signal; If the performance of the enhanced speech signal is better than that of the filtered speech signal, the enhanced speech signal is used as the output speech signal.
2. The online speech enhancement method of fusion filtering and learning according to claim 1 is characterized in that: The step S2 comprises: Step S21, determining whether the original noisy speech signal is background noise, if so, outputting it as a real-time background noise signal and entering step S22; if not, ending the process; Step S22, integrating the filtered real-time speech signal and the real-time background noise signal with the corpus in the offline corpus respectively to obtain a clean speech data block for training and a noisy speech data block for training; Step S23, performing feature extraction on the training clean speech data block and the training noisy speech data block to obtain training clean speech features and training noisy speech features; Step S24, using the clean speech features for training as reference, performing supervised training on the noisy speech features for training to obtain training weights.
3. The online speech enhancement method of fusion filtering and learning according to claim 2 is characterized in that: The step S22 comprises: Step S221, cache the filtered real-time speech signal and the real-time background noise signal respectively, and obtain a real-time speech data block and a real-time background noise data block; Step S222, adding the real-time speech data block and the real-time background noise data block to obtain a real-time noisy speech data block; Step S223, obtaining an offline clean speech data block and an offline noisy speech data block in the offline corpus, concatenating the real-time speech data block with the offline clean speech data block to obtain a clean speech data block for training; and concatenating the real-time noisy speech data block with the offline noisy speech data block to obtain a noisy speech data block for training.
4. The online speech enhancement method of fusion filtering and learning according to claim 1 is characterized in that: The step S3 comprises: Step S31, extracting features from the original noisy speech signal to obtain original noisy speech features; Step S32, enhancing the original noisy speech feature according to the training weight to obtain the enhanced original noisy speech feature; Step S33, reconstructing the waveform of the enhanced original noisy speech feature to obtain an enhanced speech signal.
5. An online speech enhancement device integrating filtering and learning, characterized in that: include: A Kalman filter module is configured to obtain an original noisy speech signal in real time, and perform Kalman filtering on the original noisy speech signal to obtain a filtered real-time speech signal; A DNN training module is connected to the Kalman filter module and is configured to perform DNN training according to the original noisy speech signal, the filtered real-time speech signal and an offline corpus to obtain training weights; A DNN enhancement module is connected to the DNN training module and is configured to perform DNN enhancement according to the original noisy speech signal and the training weights to obtain an enhanced speech signal; a performance comparison module, connected to the Kalman filter module and the DNN enhancement module respectively, and configured to compare the performance of the filtered speech signal and the enhanced speech signal to obtain an output speech signal; The performance comparison module is configured to: if the performance of the filtered speech signal is better than that of the enhanced speech signal, use the filtered speech signal as the output speech signal; If the performance of the enhanced speech signal is better than that of the filtered speech signal, the enhanced speech signal is used as the output speech signal.
6. The online speech enhancement device integrating filtering and learning according to claim 5, characterized in that: The DNN training module includes: A background noise extraction module is configured to receive the original noisy speech signal and determine whether the original noisy speech signal is background noise, and if so, output the original noisy speech signal as a real-time background noise signal to a training corpus generation module; A training corpus generation module is connected to the background noise extraction module, the Kalman filter module and an offline corpus, and is configured to integrate the filtered real-time speech signal and the real-time background noise signal with the corpus in the offline corpus to obtain a clean speech data block for training and a noisy speech data block for training; A first feature extraction module is connected to the training corpus generation module and is configured to extract features from the training clean speech data block and the training noisy speech data block to obtain training clean speech features and training noisy speech features; The weight training module is connected to the first feature extraction module and is configured to perform supervised training on the training noisy speech features with reference to the training clean speech features to obtain training weights.
7. The online speech enhancement device of fusion filtering and learning according to claim 6 is characterized in that: The training corpus generation module comprises: A voice buffer module, connected to the Kalman filter module and configured to buffer the filtered real-time voice signal and obtain a real-time voice data block; A noise buffer module, connected to the background noise extraction module and configured to buffer the real-time background noise signal and obtain a real-time background noise data block; an adder, connected to the speech buffer module and the noise buffer module respectively, and configured to add the real-time speech data block and the real-time background noise data block to obtain a real-time noisy speech data block; The corpus integration module is connected to the speech buffer module and the adder respectively, and is configured to obtain an offline clean speech data block and an offline noisy speech data block in the offline corpus, splice the real-time speech data block with the offline clean speech data block to obtain a clean speech data block for training; and splice the real-time noisy speech data block with the offline noisy speech data block to obtain a noisy speech data block for training.
8. The online speech enhancement device integrating filtering and learning according to claim 6, characterized in that: The DNN enhancement module includes: A second feature extraction module is connected to the Kalman filter module and is configured to extract features from the original noisy speech signal to obtain original noisy speech features; a feature enhancement module, connected to the second feature extraction module and the weight training module respectively, and configured to enhance the original noisy speech feature according to the training weight to obtain the enhanced original noisy speech feature; The waveform reconstruction module is connected to the feature enhancement module and is configured to perform waveform reconstruction on the enhanced original noisy speech feature to obtain an enhanced speech signal.
