Voice enhancement method, electronic device and storage medium

Through cepstrum domain signal decomposition and time domain transformation processing, combined with the neural network method of complex cepstral and real cepstrum analysis and synthesis, the shortcomings of existing speech enhancement technology in environmental noise processing are solved, achieving lower complexity and More efficient speech enhancement effect.

CN114678036BActive Publication Date: 2024-09-03AISPEECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210474991.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-09-03
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

Existing speech enhancement technology is not effective in dealing with environmental noise. Statistical signal processing methods have poor estimation of non-stationary noise. Deep neural network-based methods rely on a large amount of training data, resulting in poor noise reduction effects on the open test set. There is a lack of effective solution.

Method used

By determining the cepstral domain signal of the speech to be enhanced, decompose it into glottal excitation and vocal tract system component signals, use the cepstrum analysis inverse system to perform time domain transformation and noise reduction processing, synthesize the target speech, and combine the complex cepstral and real cepstral The neural network method of analysis and synthesis realizes the organic fusion of speech signals.

Benefits of technology

A speech enhancement system with lower model complexity and better noise reduction performance has been implemented, which can effectively handle different noise environments and improve speech quality and understandability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114678036B
    Figure CN114678036B
Patent Text Reader

Abstract

The present invention discloses a speech enhancement method, an electronic device and a storage medium. In the method, a cepstral domain signal corresponding to the original speech to be enhanced is determined; a glottal excitation component signal and a vocal tract system component signal corresponding to the cepstral domain signal are decomposed; based on a cepstral analysis inverse system module, the glottal excitation component signal and the vocal tract system component signal are subjected to time domain transformation and noise reduction processing; and a target speech is synthesized based on the noise-reduced glottal excitation component time domain signal and the vocal tract system component time domain signal. Thus, an organic fusion of speech analysis, synthesis and noise reduction is achieved, thereby realizing a speech enhancement system with lower model complexity and better noise reduction performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of speech enhancement, and in particular relates to a speech enhancement method, electronic equipment and storage medium. Background Art

[0002] Technologies such as digital voice communication, voice recognition, and speaker recognition have become increasingly mature and are used in daily life. However, the bottleneck that restricts the further development and application of these technologies is that these technologies can achieve good results in ideal laboratory environments, but in daily applications, the quality of voice communication and the correct recognition rate are often greatly reduced due to interference from environmental noise. Speech enhancement technology can remove interference noise in speech, improve voice call quality, and improve speech recognition performance.

[0003] The research on speech enhancement technology has a history of more than ten years, which is mainly divided into traditional methods based on statistical signal processing and methods based on deep neural networks developed in recent years. Speech enhancement based on deep neural networks is a data-driven method, which can be mainly divided into short-time Fourier transform domain methods and end-to-end methods where both network input and output are time domain signals. Another method using neural networks is to combine the speech denoising module with the vocoder of the generative model to obtain a speech denoising system based on the vocoder.

[0004] However, on the one hand, speech enhancement methods based on statistical signal processing are more dependent on noise estimation algorithms, which can estimate steady-state noise more accurately but perform poorly on non-steady-state noise. On the other hand, methods based on deep neural networks have the problem of relying on a large amount of training data, which leads to poor noise reduction effects on open test sets.

[0005] The industry has not yet provided a better solution to the above problems. Summary of the invention

[0006] The embodiments of the present invention provide a speech enhancement method, an electronic device and a storage medium, which are used to solve at least one of the above-mentioned technical problems.

[0007] In a first aspect, an embodiment of the present invention provides a speech enhancement method, comprising: determining a cepstral domain signal corresponding to an original speech to be enhanced; decomposing a glottal excitation component signal and a vocal tract system component signal corresponding to the cepstral domain signal; performing time domain transformation and noise reduction processing on the glottal excitation component signal and the vocal tract system component signal based on a cepstral analysis inverse system module; and synthesizing a target speech based on the noise-reduced glottal excitation component time domain signal and the vocal tract system component time domain signal.

[0008] In a second aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the above method.

[0009] In a third aspect, an embodiment of the present invention provides a storage medium, in which one or more programs including execution instructions are stored, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute the steps of the above-mentioned method of the present invention.

[0010] In a fourth aspect, an embodiment of the present invention further provides a computer program product, wherein the computer program product comprises a computer program stored on a storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the above method.

[0011] The beneficial effect of the embodiment of the present invention is that: through the embodiment of the present invention, the speech is decomposed into glottal excitation and vocal tract system using the speech signal analysis method, and then the decomposed signal is subjected to noise reduction processing, and finally the final speech signal is synthesized. Thus, the organic integration of speech analysis, synthesis and noise reduction is achieved, so that a speech enhancement system with lower model complexity and better noise reduction performance can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A flowchart of an example of a speech enhancement method according to an embodiment of the present invention is shown;

[0014] Figure 2 A schematic diagram of a system structure framework of a speech enhancement system according to an example of an embodiment of the present invention is shown;

[0015] Figure 3 A simplified schematic diagram of an example source-filter model for speech synthesis is shown;

[0016] Figure 4 Shown for Figure 2 A flowchart of an example of a configuration operation of the speech enhancement system shown;

[0017] Figure 5 shows the structure of an exemplary deep neural network;

[0018] Figure 6 A schematic diagram of the system architecture of a neural network speech enhancement system based on complex cepstrum analysis and synthesis according to an example of an embodiment of the present invention is shown;

[0019] Figure 7 A schematic diagram of the system architecture of a neural network speech enhancement system based on real cepstrum analysis and synthesis according to an example of an embodiment of the present invention is shown;

[0020] Figure 8 A schematic diagram showing the effects of different types of speech enhancement methods when processing known noise and unknown noise;

[0021] Fig. 9 A schematic diagram showing the performance comparison of different types of speech enhancement methods with different numbers of model parameters is shown;

[0022] Fig.10 It is a schematic structural diagram of an embodiment of an electronic device of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0025] The present invention may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0026] In the present invention, "module", "system" and the like refer to related entities applied to computers, such as hardware, a combination of hardware and software, software or software in execution, etc. In detail, for example, an element can be, but is not limited to, a process, a processor, an object, an executable element, an execution thread, a program and / or a computer running on a processor. In addition, an application program or a script program, a server running on a server can be an element. One or more elements can be in the process and / or thread of execution, and an element can be localized on a computer and / or distributed between two or more computers, and can be operated by various computer-readable media. An element can also communicate by a local and / or remote process according to a signal with one or more data packets, for example, a signal from a local system, another element interacting in a distributed system, and / or a signal of data interacting with other systems through a signal on a network of the Internet.

[0027] Finally, it should be noted that, in this article, the terms "include" and "comprise" include not only those elements, but also other elements not explicitly listed, or elements inherent to such processes, methods, articles or equipment. In the absence of further restrictions, the elements defined by the sentence "include..." do not exclude the existence of other identical elements in the process, method, article or equipment that includes the elements.

[0028] It should be noted that monaural speech enhancement is one of the most challenging tasks in speech signal processing, which aims to suppress the interference noise in the observed noisy speech to improve the speech quality and intelligibility. It has positive applications in business scenarios such as mobile telecommunications, speech recognition, and hearing aids. At present, the classic statistical-based methods have been widely studied for decades.

[0029] In the current related technologies, in order to achieve a neural network speech enhancement method with lower model complexity and better generalization performance, the current research field tends to design a more sophisticated network structure and reduce the model complexity through pruning, quantization, etc. However, these methods do not consider the characteristics of the speech signal itself, and generally only estimate the time-frequency mask in the time-frequency domain or directly estimate the pure speech signal.

[0030] In addition, some experts and scholars have envisioned a joint framework combining a denoising autoencoder and a text-to-speech (TTS) vocoder to achieve speech denoising. Although the effectiveness of these methods has been well demonstrated, the computational complexity of these methods is too high to be applied in practice.

[0031] Figure 1The flowchart of an example of a speech enhancement method according to an embodiment of the present invention is shown. The execution subject of the embodiment of the present invention can be various types of electronic devices with processing capabilities, such as computers, mobile phones, intelligent robots, etc., which can be equipped with a speech enhancement system such as the embodiment of the present invention to optimize the recording or broadcasting of speech.

[0032] like Figure 1 As shown, in step 110, the cepstral domain signal corresponding to the original speech to be enhanced is determined. It should be understood that the cepstral domain signal is the logarithmic Fourier inverse transform signal of the short-time amplitude spectrum (power spectrum) of the signal, which has the characteristics of being able to approximately separate and extract spectrum envelope information and subtle structure information.

[0033] In step 120, the glottal excitation component signal and the vocal tract system component signal corresponding to the cepstral domain signal are decomposed. Here, the glottal excitation signal is the source signal of the speech signal and can be used for the effective extraction of speech feature parameters. Specifically, a homomorphic filtering module (e.g., a cepstral domain linear filter module) can be used to decompose the cepstral domain signal into two parts: the glottal excitation and the vocal tract system.

[0034] In step 130, based on the cepstrum analysis inverse system module, the glottal excitation component signal and the vocal tract system component signal are transformed in the time domain and subjected to noise reduction processing. Here, the cepstrum analysis inverse system module not only has the cepstrum time domain inverse analysis function for transforming the cepstrum domain signal into the time domain signal, but also can perform noise reduction processing on each component signal.

[0035] In step 140, the target speech is synthesized based on the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal. Specifically, the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal may be overlapped and added to obtain the target speech.

[0036] In some examples of the embodiments of the present invention, the cepstral domain signal analysis operation is performed on speech data of a specific frame format. Accordingly, before step 110, the sampling rate of the original speech to be enhanced is obtained, and the original speech to be enhanced is windowed and framed according to the frame length and frame shift corresponding to the sampling rate to meet the frame format requirements of the subsequent cepstral domain analysis operation.

[0037] In some implementations of the embodiments of the present invention, the speech enhancement system has a variety of selectable and switchable cepstrum domain analysis modes to meet the speech enhancement needs of different business scenarios. Specifically, the speech enhancement system can be compatible with two neural network speech enhancement methods based on complex cepstrum and real cepstrum analysis and synthesis. On the one hand, when choosing to use the neural network speech enhancement method of complex cepstrum analysis, the method based on complex cepstrum analysis and synthesis can theoretically achieve the optimal noise reduction effect because it can process phase information at the same time. On the other hand, when choosing to use the method based on real cepstrum analysis and synthesis, a noise reduction model with lower algorithm complexity can be achieved.

[0038] Regarding the implementation details of the above step 110, specifically, the current cepstrum analysis mode can be obtained. On the one hand, when in the complex cepstrum analysis mode, the complex cepstrum signal with phase information corresponding to the original speech to be enhanced is determined. On the other hand, when in the real cepstrum analysis mode, the real cepstrum signal and phase information without phase information corresponding to the original speech are determined. Thus, by switching the cepstrum analysis mode, a better noise reduction effect or a lower model complexity can be achieved to meet the speech enhancement needs of different business scenarios.

[0039] Furthermore, in different cepstrum analysis modes, the superposition method of time domain components during the final speech synthesis may also be different. Specifically, regarding the implementation details of the above step 140, when in the complex cepstrum analysis mode, the time domain speech signal carries phase information, and the time domain signal of the glottal excitation component and the time domain signal of the vocal tract system component after noise reduction can be directly circularly convolved, and the speech after the circular convolution can be directly overlapped and added to obtain the synthesized speech.

[0040] On the other hand, when in the real cepstrum analysis mode, regarding the implementation details of the above step 140, the time domain speech signal does not have phase information, and phase superposition is required during speech synthesis. Specifically, the noise-reduced glottal excitation component time domain signal and the vocal tract system component time domain signal can be circularly convolved, and then overlap-add based on the speech and phase information after the circular convolution to obtain the synthesized speech.

[0041] Figure 2 A schematic diagram of the system structure framework of a speech enhancement system according to an example of an embodiment of the present invention is shown.

[0042] like Figure 2As shown in the figure, the speech enhancement system is configured with a differential signal homomorphic analysis and synthesis structure, which includes three parts in sequential cascade, namely, a speech signal decomposition part, a speech noise reduction part (integrated in the inverse system module of the cepstrum analysis) and a speech synthesis part, which realizes the organic integration of speech analysis, synthesis and noise reduction, rather than simply cascading the noise reduction module and the vocoder, thereby achieving speech enhancement with lower model complexity and better noise reduction performance.

[0043] Specifically, the speech enhancement system includes a preprocessing module, a cepstral analysis system module, a homomorphic filtering module, a cepstral analysis inverse system module, a circular convolution module and a post-processing module.

[0044] The preprocessing module performs windowing and framing on the signal. For example, for speech with a sampling rate of 16kHz, Hamming window framing is used, the frame length is 512 sampling points (ie, 32ms), and the frame shift is 128 sampling points (ie, 8ms).

[0045] The cepstrum analysis system module transforms the pre-processed speech into the cepstrum domain. In some cases, the device can be selected into a cepstrum analysis mode. For example, depending on whether the phase is preserved, it can be divided into two methods: complex cepstrum analysis and real cepstrum analysis, which correspond to two speech enhancement solutions, which will be introduced in detail later.

[0046] The homomorphic filtering module can use a cepstral domain linear filter module to decompose the cepstral domain signal obtained by the previous module into two parts: glottal excitation and vocal tract system.

[0047] The cepstrum analysis inverse system module transforms the cepstrum domain signal into the time domain. Similarly, based on different cepstrum analysis modes, this module can be divided into two methods, namely, complex cepstrum analysis inverse system and minimum phase reconstruction, according to whether it is processed with phase information, which correspond to the above two speech enhancement schemes.

[0048] The circular convolution module transforms the previous module into the time domain glottal excitation and vocal tract system for circular convolution.

[0049] The post-processing module overlaps and adds the speech after the circular convolution to obtain the final synthesized speech. In addition, if it is a real cepstrum analysis, the original phase needs to be superimposed.

[0050] Furthermore, based on Figure 2 The system structure framework shown in the embodiment of the present invention proposes two neural network speech enhancement methods based on complex cepstrum and real cepstrum analysis and synthesis respectively to meet the speech enhancement needs of different business scenarios. The specific operation details will be expanded below.

[0051] It should be noted that in speech enhancement systems based on complex cepstrum analysis and synthesis or real cepstrum analysis and synthesis, a denoising neural network can be configured in the cepstrum analysis inverse system module, and a trainable deep neural network can be used. In this way, an organic fusion of speech analysis, synthesis and denoising is achieved, rather than simply cascading the denoising module and the vocoder, thereby achieving speech enhancement with lower model complexity and better denoising performance.

[0052] Through the embodiment of the present invention, a speech enhancement method based on NHS-SE (Neural Homomorphic Synthesis for Speech Enhancement) is proposed. The speech signal is first decomposed into excitation and channel by complex cepstrum analysis, and then two complex-valued neural networks are applied to estimate the target complex spectrum of the decomposed components, and then the time domain speech signal is synthesized from the estimated excitation and channel. The experimental results show that NHS-SE is superior to the existing state-of-the-art deep complex convolutional recurrent network (DCCRN) in terms of PESQ (Perceptual Evaluation of Speech Quality) and eSTOI (extended short-time objective intelligibility).

[0053] However, it should be noted that compared with current TF domain-based methods, NHS-SE has two disadvantages: the synthesis process introduces some artificial noise, and the number of model parameters is doubled.

[0054] In order to overcome these shortcomings, the embodiment of the present invention proposes an efficient speech enhancement method based on real cepstrum analysis and synthesis. The speech signal is first decomposed into excitation and human voice by real cepstrum analysis. Then, two real-valued convolutional recurrent networks (CRNs) are used to estimate the target amplitude spectrum of the decomposed components, and the time domain minimum phase speech signal is synthesized from the estimated components. Finally, the enhanced speech is obtained by synthesizing the minimum phase speech signal and the original noise phase.

[0055] A new speech enhancement method is proposed by the embodiment method of the present invention, which combines the advantages of a vocoder based on digital signal processing (DSP) and a spectral denoiser based on DNN, producing performance comparable to the most advanced algorithms. In addition, extensive experiments were conducted by the embodiment method of the present invention, and it was found that the proposed method is more effective than CRN and DCCRN, and the model is more compact (e.g., 1 million parameters).

[0056] Figure 3A simplified source filter model for speech synthesis is shown. The source filter model represents speech as a combination of a sound source and a linear acoustic filter and is widely used in speech coding and speech synthesis. Figure 3 As shown, it is assumed that the excitation signal e(n) is a voiced sound generated by the convolution of a periodic pulse p(n) and a glottal pulse filter g(n), or an unvoiced sound generated by a random noise generator u(n). The linear filter h(n) is a combination of a vocal tract model and a radiation model in speech synthesis, and is referred to as a vocal system in the method of the embodiment of the present invention. Therefore, the discrete-time speech signal is generated by the convolution of e(n) and h(n).

[0057] The following is a description of an efficient speech enhancement method based on neural homomorphic synthesis as in the present invention. Typically, a TTS vocoder can generate high-quality speech from acoustic features (e.g., logarithmic magnitude spectrum), but when the acoustic features are reduced by noise, the quality of the synthesized speech drops sharply. In contrast, speech enhancement algorithms can typically produce moderate-quality speech from noisy speech, even if the SNR is relatively low. Therefore, it is expected that speech enhancement and vocoders will be integrated into an integration to obtain high-quality and high-definition speech.

[0058] In the embodiment of the present invention, a spectral denoiser based on a complex-valued neural network is integrated into a homomorphic analysis and synthesis vocoder. First, a complex cepstrum analysis is performed on the framed speech x(n) to obtain a complex cepstrum.

[0059]

[0060] Afterwards, in the complex cepstrum Apply the booster l(n) to obtain the excitation Harmony Channel Then, two complex cepstrum inverse systems are used to obtain the corresponding time domain signal,

[0061]

[0062]

[0063] where f e {} and f h {} are complex neural networks used to estimate target excitation and vocal tract, respectively.

[0064] Finally, the synthesized speech is obtained through circular convolution and overlap addition.

[0065]

[0066] In formula (1), let represents the Fourier transform of x(n).

[0067] Furthermore, applying the complex logarithm, we obtain There is a uniqueness problem with the imaginary part of arg[X(e jw ],X(e jw ) phase angle. Some current solutions apply an unwarp operation to the phase angle, but this generates additional phase-related information (n d ), which corresponds to the number of samples of loop delay added to x(n).

[0068] In the mathematical synthesis step, n d The phase is added to equation (2) or applied in the time domain d The cyclic shift to (3) can wrap the previous unwarp operation. However, for speech enhancement, it is difficult to estimate the latent n of clean speech from noisy speech. d , a complex-valued neural network is used to solve this problem and preserve the phase unwrapping. However, this process is prone to introduce artifacts, which is also the main challenge of applying complex cepstrum analysis and synthesis for speech enhancement.

[0069] In Neural Homomorphic Synthesis Model with Minimum Phase Signals for Speech Enhancement, the main difference between speech enhancement and vocoder is whether a noisy reference speech is available. Vocoder uses acoustic features as input to synthesize speech, while speech enhancement uses a noisy reference speech. Given that estimating the phase dewarping coefficients in complex cepstrum synthesis is challenging, while in speech enhancement the phase is usually available, this paper will use real cepstrum analysis and synthesis for speech enhancement.

[0070] The speech waveform is segmented into frames with windows and a real cepstrum analysis pipeline is applied, including Fourier transform, log magnitude, and inverse Fourier transform. After that, the lifter is applied to obtain the excitation and channel. The right part illustrates the process of neural homomorphic synthesis. The decomposed excitation and channel cepstrum are transformed in the time domain through the minimum phase signal reconstruction pipeline, including windowing, Fourier transform, exponential, neural network forward propagation, and inverse Fourier transform. Finally, the speech signal is obtained by time-domain circular convolution of the two components, followed by post-processing such as combining the original phases and overlap-add.

[0071] It should be noted that the speech enhancement model provided by the embodiment of the present invention uses pure cepstrum analysis and synthesis, rather than complex ones. Therefore, the phase of the original speech is used to synthesize the final time-domain speech, which can effectively avoid the artificial noise of complex cepstrum synthesis. In addition, the DNN in the speech enhancement model provided by the embodiment of the present invention only processes the amplitude spectrum, so that the number of model parameters can be halved accordingly. In this way, based on Figure 2 The speech enhancement system shown estimates the excitation and vocal tract details from noisy speech by using a neural network.

[0072] Figure 4 Shown for Figure 2 A flowchart of an example of configuration operations of a speech enhancement system is shown.

[0073] like Figure 4 As shown, step 410 is the training data preparation stage. Specifically, clean speech and noise data are collected, and the clean speech and noise data are mixed according to different signal-to-noise ratios to obtain noisy speech. Exemplarily, the noisy speech data can be divided into three parts: training set, verification set and test set in a ratio of approximately 8:1:1, which are used for model training, hyperparameter debugging, and model testing, respectively.

[0074] In some examples of the embodiments of the present invention, a Chinese Mandarin female corpus and a DEMAND noise corpus are used, each recorded at a sampling rate of 48kHz. The speech corpus contains 10,000 recorded sentences read by female speakers, totaling about 12 hours of speech. DEMAND contains six categories, three environments in each category, and a total of 18 types of noise. All noise recordings in DEMAND use a 16-channel microphone, and the fixed length can be set to 5 minutes. Only single-channel recordings are used here.

[0075] In the experiments, both the Chinese Mandarin Female Corpus and the DEMAND Noise Corpus were downsampled to 16kHz. Specifically, four noise categories and each environment were selected as training, validation, and known (seen) noise test sets, and the other two noise categories were selected as unknown test data to evaluate noise generalization. The noise mixtures were generated by mixing the two corpora with SNR levels randomly sampled from a uniform distribution [-5dB, 10dB]. Therefore, a total of 100,000 (10,000 utterances × 10 noise) mixtures were generated. For the known (unseen) noise case, 9,000, 500, and 500 utterances were selected as the training set, validation set, and test set, respectively. For the unknown noise case, every 500 utterances were selected as the test set. In total, there were 36,000 training mixtures with a total duration of about 43 hours, 2,000 validation mixtures, 2,000 known noise test mixtures, and 3,000 unknown noise test mixtures.

[0076] Step 420 is the system model training stage. Specifically, the original noisy speech is used as Figure 2The input of the speech enhancement system is obtained through preprocessing, cepstral analysis system, homomorphic filtering, inverse cepstral analysis system, circular convolution and post-processing modules to obtain the synthesized speech output by the system. The inverse cepstral analysis system contains a trainable deep neural network part. In addition, the deep neural network part uses the synthesized speech output by the system and the expected pure speech to calculate the error value of the cost function, and uses the back propagation algorithm to update the neural network model parameters. The training is continuously iterated on the training data set, and the training is stopped when the cost function value no longer decreases significantly on the verification set.

[0077] All utterances are framed by a Hamming window of length 32ms and hop count 8ms, with an FFT length of 512 and a frequency of 29 to separate the excitation and the vocal channel. For the multi-resolution STFT loss configuration, Hanning windows of size (256, 512, 768, 1024, 1536, 2048, 3072, 4096) can be used with an overlap of 75%, and the FFT size is set to twice the window size, and can be manipulated using PyTorch Lightning tools.

[0078] It should be noted that during model training, the inventors of the present invention have tried to use various types of error cost functions to conduct effect comparison experiments, including: minimum mean square error cost function, signal-to-noise ratio, scale-invariant signal-to-noise ratio, weighted signal-to-loss ratio cost functions commonly used in speech denoising and separation tasks, and multi-resolution short-time Fourier transform cost functions commonly used in neural network vocoders, etc. The final experimental results show that the noise reduction performance achieved by the multi-resolution STFT (Short-Time Fourier Transform) cost function is better than that of other loss functions.

[0079] Through the embodiment of the present invention, a convolutional recurrent network architecture is used to estimate the amplitude spectrum of the excitation and vocal channel, and a multi-resolution STFT loss is used to train the neural network.

[0080] Figure 5 The structure of an exemplary deep neural network is shown, which follows the "hourglass" (also known as "encoder-decoder") architecture, using convolutional blocks for high-level feature extraction and recurrent network blocks for temporal modeling. For simplicity, other building blocks (e.g., batch normalization, activation) are omitted from the figure. When all building blocks are real-valued layers, the structure constitutes a CRN. Although all building blocks are extended to complex-valued layers, it constitutes a DCCRN.

[0081] It should be noted that the shielded connection from the noisy input to the clean target output is optional. When the connection is applied, the neural network O t,f The output of is considered a mask Estimated spectrum is obtained by applying the estimated mask With the input spectrum X t,f Calculated by multiplication, that is When the mask connection is not applied, the network directly outputs the estimated complex spectrum, i.e.

[0082] Let x, y and n represent noisy speech, clean speech and additive noise respectively, and the corresponding signal model is x = y + n. The goal of speech enhancement is to obtain an estimate of the clean speech y given the observed noisy speech x. That is, find a satisfying In the method provided by the present invention, a multi-resolution STFT loss commonly used in speech and audio synthesis is used to train a neural network.

[0083] Specifically, using X i and Represent the time domain speech x and The STFT transform of the i-th resolution, then the STFT loss of the i-th resolution is defined as:

[0084]

[0085] In the formula, ||·|| F and ||·||1 denote the Frobenius norm and L1 norm, respectively.

[0086] In addition, experimental results show that adding the L1 loss of time-domain speech can further improve speech quality, which is then also applied to waveform-domain speech enhancement in this method. Overall, the multi-resolution STFT (MR-STFT) loss is defined as

[0087]

[0088] In formula (5), I represents the number of STFT resolutions, Represents the L1 cost function of the signal in the time domain.

[0089] Step 430 is the system model reasoning stage. Specifically, when the performance of the model on the test set reaches the expected effect, the model and the system are deployed to the chip, embedded device or server. Figure 2 The system operation diagram from left to right in the figure shows that the input is noisy speech and the output is the noise-reduced speech.

[0090] Figure 6 FIG. 1 is a schematic diagram of a system architecture of a neural network speech enhancement system based on complex cepstrum analysis and synthesis according to an example of an embodiment of the present invention. Figure 6 The preprocessing module is omitted in the system architecture in .

[0091] When in the complex cepstrum analysis mode, the cepstrum analysis inverse system module uses the complex cepstrum analysis inverse system module to determine the time domain signal corresponding to the complex cepstrum signal.

[0092] The following will mainly introduce the two modules of complex cepstrum analysis system and complex cepstrum analysis inverse system. Other modules can refer to the above Figure 2 The relevant description of the speech enhancement system will not be repeated here.

[0093] Specifically, Figure 6 As shown, the complex cepstrum analysis system module includes three submodules of sequentially cascaded Fourier transform, complex logarithm calculation, and inverse Fourier transform, and its output is a complex cepstrum signal with phase information.

[0094] It should be noted that because the data after Fourier transformation is a complex spectrum, the denoising neural network here adopts a complex neural network structure. Each component unit of the complex neural network structure is an extension of the commonly used real neural network structure unit, which uses complex operation rules to perform addition, subtraction and multiplication operations on the real and imaginary parts of complex numbers.

[0095] Figure 7 FIG. 1 is a schematic diagram of a system architecture of a neural network speech enhancement system based on real cepstrum analysis and synthesis according to an example of an embodiment of the present invention. Figure 7 The preprocessing module is omitted in the system architecture in .

[0096] When in real cepstrum analysis mode, the cepstrum analysis inverse system module uses a minimum phase reconstruction system to determine the time domain signal corresponding to the real cepstrum signal.

[0097] Specifically, Figure 7 As shown in the figure, the real cepstrum analysis module includes three submodules: Fourier transform, amplitude spectrum, logarithm, and inverse Fourier transform, which are sequentially cascaded. Its output is a real cepstrum signal without phase information. In addition, after Fourier transform, the phase is taken out separately as the input of the subsequent post-processing module.

[0098] Furthermore, the minimum phase signal reconstruction module includes four submodules: windowing-Fourier transform, exponential calculation, denoising neural network, and inverse Fourier transform. Among them, the data after Fourier transform only takes the real number part, corresponding to the amplitude spectrum of the signal, and the denoising neural network is a commonly used real number neural network. Therefore, since the neural network only processes the real number part, the number of neural network model parameters can be reduced by half.

[0099] It should be noted that, in the process of practicing the present invention, the inventor of the present invention found that when the noise reduction module is integrated with the signal analysis and synthesis system, the noise reduction neural network module is considered to be placed in the cepstrum analysis system part and the cepstrum analysis inverse system part, and the experimental results are verified respectively. The experimental results show that placing it in the cepstrum analysis inverse system part is an effective solution.

[0100] In addition, the specific location of the denoising neural network can be placed before and after the Fourier transform submodule, and before and after the inverse Fourier transform submodule. Similarly, the experimental results show that placing the denoising neural network before the inverse Fourier transform submodule can achieve better denoising performance than other solutions.

[0101] It should be noted that speech enhancement technology and vocoder technology are two different application directions in the field of speech signal processing: speech enhancement tends to process in the short-time Fourier transform frequency domain; vocoder tends to extract acoustic features that can better characterize the signal characteristics, such as fundamental frequency, spectral envelope, excitation signal, vocal tract system, etc., and then use these acoustic features to synthesize speech.

[0102] Through the technical solution provided in the embodiment of the present invention, it is proposed to integrate the speech enhancement module and the vocoder into a whole, and instead of simply cascading the noise reduction module and the vocoder, a speech enhancement method with low algorithm complexity and good noise reduction performance is implemented. This is a brand-new technical attempt and practice in the field of speech enhancement.

[0103] In the process of practicing the scheme of the present invention, the inventors of the present invention conducted a comparative experiment on the NHS-MagSE (used to represent the speech enhancement method based on neural homomorphic synthesis) of the present invention and the currently more advanced speech enhancement methods using vanilla CRN and DCCRN. The speech enhancement method based on ordinary CRN that only operates on the amplitude spectrum is represented as CRN-MagSE.

[0104] Specifically, the network architecture of DCCRN is set to have the number of channels, kernel size, and stride set to {16, 32, 64, 128, 128, 128}, (5,2), and (2,1), respectively. NHS-MagSE uses two CRNs, one simulating the excitation and the other simulating the channel. For CRN-MagSE and DCCRN, Figure 5 The mask connection shown in is not used for NHS-MagSE.

[0105] For fair comparison, the number of parameters of CRNMagSE and NHS-MagSE is set to the same as DCCRN (i.e., 3.7M). The number of channels per layer of CRN-MagSE is set to {60, 128, 128, 128, 128, 256}, and the kernel size and stride remain unchanged. Correspondingly, the number of parameters per CRN of NHS-MagSE is set to 1.85M. Therefore, the number of channels in each layer of NHS-MagSE is set to {32, 64, 96, 128, 128, 128}.

[0106] In terms of experimental result evaluation and analysis, PESQ, eSTOI and SI-SNR (Scale-Invariant SNR) were used to evaluate the quality of enhanced speech. The experiment was conducted with a model parameter count of 3.7M. The experimental results are shown in the figure. Figure 8 The charts shown in Figure 1 show the best results in each case highlighted in bold. Specifically, the known noises include four environments (i.e., DKITCHEN, OMEETING, PCAFETER, TBUS), while the unknown noises include two categories (i.e., nature and street). The average scores of the known and unknown noises are listed in the third and fourth columns, and the total average score is listed in the last column.

[0107] The experimental results in the table show that 1) the CRN-MagSE method achieves the worst results in all indicators; 2) DCCRN achieves the highest scores in PESQ and eSTOI indicators; 3) NHS-MagSE proposed in the embodiment of the present invention achieves the highest scores in PESQ under known noise conditions and SI SNR under all conditions. By presenting the results, it can be concluded that although the proposed NHS-MagSE only operates on the amplitude spectrum, it still achieves comparable performance to the most advanced complex DNN-based speech enhancement methods.

[0108] Furthermore, the inventors of the present invention also conducted comparative experiments on the performance of CRN-MagSE, DCCRN and NHS-MagSE under different numbers of model parameters. Fig. 9 Performance curves of three types of models with different numbers of model parameters are shown.

[0109] like Fig. 9 As shown, compared with NHS-SE with 7.4M parameters, the number of model parameters of NHS-MagSE is reduced by half. Moreover, more advantageously, there is no artificial noise in the enhanced speech in the method proposed in the embodiment of the present invention.

[0110] Furthermore, in the experiment, additional comparative experiments were conducted using more compact models, such as 3.0, 2.0, and 1 million. The number of model parameters was reduced by reducing the number of channels in the convolutional layer. Fig. 9 As shown, when the number of channels in DCCRN is reduced to {8, 16, 32, 64, 64, 128}, the number of parameters is reduced by 2.0M.

[0111] from Fig. 9 From the results, it can be seen that the performance of all compared methods gradually decreases with the decrease in the number of model parameters. However, the proposed NHS-MagSE is the most effective when the number of model parameters is small. For example, when the number of model parameters is 1.0M, the PESQ and SI-SNR scores of NHSMagSE are 2.485 and 17.548dB, respectively, while those of DCCRN are 2.246 and 15.693dB, respectively.

[0112] Experimental results show that the upper limit of real-valued DNN-based speech enhancement methods is lower than that of complex-valued methods. However, due to the limitation of the number of model parameters, the proposed real-valued DNN-based NHS-MagSE is more effective than the state-of-the-art complex-valued DNN-based methods.

[0113] Therefore, based on the novel speech enhancement method of homomorphic analysis and synthesis provided by the embodiment of the present invention, the multi-resolution STFT loss outperforms other losses in terms of PESQ and eSTOI. By using the multi-resolution STFT loss, the proposed method outperforms other speech enhancement methods in both known noise and unknown noise.

[0114] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of combined actions, but those skilled in the art should be aware that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0115] In some embodiments, an embodiment of the present invention provides a non-volatile computer-readable storage medium, in which one or more programs including execution instructions are stored. The execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute any of the above-mentioned speech enhancement methods of the present invention.

[0116] In some embodiments, an embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer performs any of the above-mentioned speech enhancement methods.

[0117] In some embodiments, an embodiment of the present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a speech enhancement method.

[0118] Fig.10 FIG. 1 is a schematic diagram of the hardware structure of an electronic device for executing a speech enhancement method provided by another embodiment of the present invention. Fig.10 As shown, the device includes:

[0119] One or more processors 1010 and memory 1020, Fig.10 A processor 1010 is taken as an example.

[0120] The apparatus for performing the speech enhancement method may further include: an input device 1030 and an output device 1040 .

[0121] The processor 1010, the memory 1020, the input device 1030 and the output device 1040 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0122] The memory 1020 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the speech enhancement method in the embodiment of the present invention. The processor 1010 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 1020, that is, the speech enhancement method in the above method embodiment is implemented.

[0123] The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the voice enhancement device, etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1020 may optionally include a memory remotely arranged relative to the processor 1010, and these remote memories may be connected to the voice enhancement device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0124] The input device 1030 may receive input digital or character information and generate signals related to user settings and function control of the voice enhancement device. The output device 1040 may include a display device such as a display screen.

[0125] The one or more modules are stored in the memory 1020, and when executed by the one or more processors 1010, the speech enhancement method in any of the above method embodiments is executed.

[0126] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0127] The electronic devices of the embodiments of the present invention exist in various forms, including but not limited to:

[0128] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0129] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

[0130] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0131] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A speech enhancement method, comprising: Determine the cepstrum domain signal corresponding to the original speech to be enhanced; Decomposing the glottal excitation component signal and the vocal tract system component signal corresponding to the cepstrum domain signal; Based on the cepstrum analysis inverse system module, performing time domain transformation and noise reduction processing on the glottal excitation component signal and the vocal tract system component signal; synthesizing the target speech based on the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal; The step of determining the cepstrum domain signal corresponding to the original speech to be enhanced includes: Get the current cepstrum analysis mode; When in the complex cepstrum analysis mode, determining a complex cepstrum signal with phase information corresponding to the original speech to be enhanced; The inverse system module based on cepstrum analysis performs time domain transformation and noise reduction processing on the glottal excitation component signal and the vocal tract system component signal, including: When in the complex cepstrum analysis mode, the cepstrum analysis inverse system module adopts the complex cepstrum analysis inverse system module to determine the time domain signal corresponding to the complex cepstrum signal; wherein the complex cepstrum analysis inverse system module includes a sequentially cascaded Fourier transform submodule, a complex exponential calculation submodule, a denoising neural network and an inverse Fourier transform submodule.

2. The method according to claim 1, wherein: The step of determining the cepstrum domain signal corresponding to the original speech to be enhanced includes: When in the real cepstrum analysis mode, a real cepstrum signal without phase information and phase information corresponding to the original speech are determined.

3. The method according to claim 2, wherein: The inverse system module based on cepstrum analysis performs time domain transformation and noise reduction processing on the glottal excitation component signal and the vocal tract system component signal, including: When in the real cepstrum analysis mode, the cepstrum analysis inverse system module adopts a minimum phase reconstruction system to determine the time domain signal corresponding to the real cepstrum signal; wherein the minimum phase reconstruction system includes a sequentially cascaded windowed Fourier transform submodule, an exponential calculation submodule, a denoising neural network and an inverse Fourier transform submodule.

4. The method according to claim 3, wherein: The denoising neural network in the complex cepstrum analysis inverse system module adopts a complex neural network structure, and the denoising neural network in the minimum phase reconstruction system adopts a real neural network structure.

5. The method according to claim 3, wherein: The denoising neural network adopts a multi-resolution short-time Fourier transform function as a cost function. In the model training stage, the denoising neural network uses the synthesized speech output based on the speech sample and the expected pure speech to calculate the error value of the cost function, and uses this error value to update the neural network model parameters using a back propagation algorithm.

6. The method according to claim 2, wherein: When in the complex cepstrum analysis mode, synthesizing the target speech based on the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal comprises: Circularly convolve the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal; The speech after circular convolution is overlapped and added to obtain the synthesized speech.

7. The method according to claim 2, wherein: When in the real cepstrum analysis mode, synthesizing the target speech based on the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal comprises: Circularly convolve the de-noised glottal excitation component time domain signal and the vocal tract system component time domain signal; The speech after the circular convolution and the phase information are overlapped and added to obtain the synthesized speech.

8. The method according to claim 1, wherein: Before determining the cepstral domain signal corresponding to the original speech to be enhanced, the method further includes: Obtaining the sampling rate of the original speech to be enhanced; The original speech to be enhanced is subjected to windowing and framing processing according to the frame length and frame shift corresponding to the sampling rate.

9. An electronic device, comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 8.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Audio-reverberation inhibiting device and inhibiting method thereof

    CN103440869A

  • Homomorphic filtering speech enhancement method based on wideband noises

    CN106997766A

  • Voice enhancement method and device, equipment and storage medium

    CN113571080A

  • Single-channel speech enhancement method based on deep reconvolution network

    CN114360567A

  • Reverberation suppression method and device thereof

    JP2015049502A