Voice noise reduction method and device, electronic equipment and storage medium

By identifying the types of noise in audio signals and adopting adaptive noise reduction processing methods, the problem of poor effectiveness of traditional audio noise reduction solutions is solved, and higher speech noise reduction accuracy and clarity are achieved.

CN118737175APending Publication Date: 2024-10-01GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310336187.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional audio noise reduction solutions cannot process the noise in audio signals in a targeted manner, resulting in poor noise reduction effects, reducing the accuracy of speech noise reduction, and affecting users' ability to obtain clear speech audio.

Method used

By obtaining the characteristic data of the audio signal, the noise type is determined to be stationary noise or non-stationary noise, and corresponding noise reduction processing methods are used, including target filters or trained speech noise reduction models for noise reduction processing.

Benefits of technology

It improves the accuracy of speech noise reduction of audio signals, especially the ability to accurately remove non-steady-state noise, ensuring that users obtain clear speech audio through electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737175A_ABST
    Figure CN118737175A_ABST
Patent Text Reader

Abstract

The invention discloses a voice noise reduction method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring audio feature data corresponding to a to-be-processed audio signal; according to the audio feature data, determining a noise type corresponding to a noise signal contained in the audio signal to be processed, the noise type including steady-state noise and unsteady-state noise; and performing noise reduction processing on the audio signal to be processed according to a noise reduction processing mode corresponding to the noise type. By implementing the embodiment of the invention, adaptive audio noise reduction processing can be performed on different types of noise signals contained in the audio signal, so that the accuracy of voice noise reduction on the audio signal can be improved, and the clarity of voice audio acquired by a user through the electronic equipment can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio signal processing, and in particular to a speech noise reduction method and device, an electronic device, and a storage medium. Background Art

[0002] At present, in human-computer interaction scenarios such as voice calls that require audio signal collection, transmission and playback, since the environment in which the electronic equipment is located is often complex, it is easy to cause noise interference to the audio signal (especially the voice signal), and at this time it is usually necessary to perform certain noise reduction processing on the audio signal. However, in practice, it is found that traditional audio noise reduction solutions are often unable to perform noise reduction processing on the noise in the audio signal in a targeted manner, resulting in poor noise reduction effect, greatly reducing the accuracy of voice noise reduction on the audio signal, and is not conducive to ensuring the clarity of voice audio obtained by users through electronic devices. Summary of the invention

[0003] The embodiments of the present application disclose a speech noise reduction method and device, an electronic device, and a storage medium, which can perform adaptive audio noise reduction processing on different types of noise signals contained in an audio signal, thereby improving the accuracy of speech noise reduction on the audio signal, which is beneficial to ensuring the clarity of speech audio obtained by users through electronic devices.

[0004] The first aspect of the embodiment of the present application discloses a method for reducing speech noise, including:

[0005] Obtaining audio feature data corresponding to the audio signal to be processed;

[0006] Determine, according to the audio feature data, a noise type corresponding to a noise signal contained in the audio signal to be processed, wherein the noise type includes steady-state noise and non-steady-state noise;

[0007] The audio signal to be processed is subjected to noise reduction processing according to the noise reduction processing mode corresponding to the noise type.

[0008] As an optional implementation manner, in the first aspect of the embodiment of the present application, determining, according to the audio feature data, the noise type corresponding to the noise signal contained in the audio signal to be processed includes:

[0009] In a case where the audio signal to be processed contains speech, a noise type corresponding to a noise signal contained in the audio signal to be processed is determined according to the audio feature data.

[0010] As an optional implementation manner, in the first aspect of the embodiment of the present application, when the audio signal to be processed includes speech, determining the noise type corresponding to the noise signal included in the audio signal to be processed according to the audio feature data includes:

[0011] Calculating speech probability information corresponding to the audio signal to be processed according to the audio feature data, wherein the speech probability information is used to indicate the probability that the audio signal to be processed contains speech;

[0012] When the speech probability information indicates that the audio signal to be processed contains speech, the noise type corresponding to the noise signal contained in the audio signal to be processed is determined according to the audio feature data.

[0013] As an optional implementation, in the first aspect of the embodiment of the present application, the audio feature data includes at least audio energy data and frequency domain feature data, and the calculating, based on the audio feature data, the speech probability information corresponding to the audio signal to be processed includes:

[0014] When the audio energy data is greater than an energy threshold, the speech probability information corresponding to the audio signal to be processed is calculated according to the frequency domain feature data.

[0015] As an optional implementation, in the first aspect of the embodiment of the present application, the audio feature data further includes a short-time zero-crossing rate and long-time feature data, the short-time zero-crossing rate is used to represent the ratio between the number of audio amplitude zero crossings corresponding to multiple sampling points of the audio signal to be processed within a first time length and the number of the multiple sampling points, and the long-time feature data is used to represent statistical characteristic data of the audio signal to be processed within a second time length;

[0016] The step of calculating speech probability information corresponding to the audio signal to be processed according to the frequency domain feature data includes:

[0017] Calculating the probability value of the audio signal to be processed not containing speech at each sampling point according to the frequency domain feature data, the short-time zero-crossing rate and the long-time feature data;

[0018] Based on the probability values ​​corresponding to the sampling points, speech probability information corresponding to the audio signal to be processed is determined.

[0019] As an optional implementation, in the first aspect of the embodiment of the present application, the audio feature data includes at least audio energy data and frequency domain feature data; the step of obtaining the audio feature data corresponding to the audio signal to be processed includes:

[0020] Obtaining audio energy data corresponding to the audio signal to be processed;

[0021] When the audio energy data is greater than the energy threshold, Fourier transform is performed on the audio signal to be processed to obtain a frequency domain audio signal, and frequency domain feature data corresponding to the audio signal to be processed is obtained according to the frequency domain audio signal.

[0022] As an optional implementation manner, in the first aspect of the embodiment of the present application, determining, according to the audio feature data, the noise type corresponding to the noise signal contained in the audio signal to be processed includes:

[0023] In the case where the audio signal to be processed contains speech, determining N pairs of speech endpoints in the audio signal to be processed according to the audio feature data; wherein N is a natural number, each pair of the speech endpoints respectively includes two sampling points in the audio signal to be processed, and each pair of the speech endpoints is respectively used to determine one or more speech segments contained in the audio signal to be processed;

[0024] Based on the N pairs of voice endpoints, performing voice smoothing processing on the audio signal to be processed to obtain a smoothed audio signal;

[0025] Noise probability information corresponding to the noise signal contained in the audio signal to be processed is calculated according to the smoothed audio signal, and a noise type corresponding to the noise signal is determined according to the noise probability information.

[0026] As an optional implementation manner, in the first aspect of the embodiment of the present application, the performing noise reduction processing on the audio signal to be processed according to the noise reduction processing mode corresponding to the noise type includes:

[0027] In a case where the noise type is the steady-state noise, filtering the audio signal to be processed by a target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed;

[0028] In the case where the noise type is the non-stationary noise, the audio signal to be processed is input into a trained speech noise reduction model, and a noise-reduced speech signal corresponding to the audio signal to be processed output by the speech noise reduction model is obtained; wherein the speech noise reduction model is obtained by training a non-stationary noise data set, and the non-stationary noise data set includes multiple sample non-stationary noise signals and corresponding sample noise suppression parameters, and the sample noise suppression parameters are used to perform frequency domain noise reduction processing on the corresponding sample non-stationary noise signals.

[0029] As an optional implementation manner, in the first aspect of the embodiment of the present application, filtering the audio signal to be processed by a target filter to obtain a noise reduction speech signal corresponding to the audio signal to be processed includes:

[0030] Performing filtering processing on the audio signal to be processed by using a target filter to determine a noise component amplitude spectrum corresponding to the noise signal;

[0031] Subtracting the noise component amplitude spectrum from the noise component amplitude spectrum to obtain the noise-reduced speech amplitude spectrum; wherein the noise-reduced amplitude spectrum is obtained by performing Fourier transform on the audio signal to be processed;

[0032] Performing an inverse Fourier transform on the noise-reduced speech amplitude spectrum to obtain a noise-reduced speech signal corresponding to the audio signal to be processed.

[0033] As an optional implementation, in the first aspect of the embodiments of the present application, the target filter includes a Wiener filter.

[0034] A second aspect of an embodiment of the present application discloses a speech noise reduction device, comprising:

[0035] A feature data acquisition unit, used to acquire audio feature data corresponding to the audio signal to be processed;

[0036] A noise type determination unit, configured to determine a noise type corresponding to a noise signal contained in the audio signal to be processed according to the audio feature data, wherein the noise type includes steady-state noise and non-steady-state noise;

[0037] The noise reduction processing unit is used to perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the noise type.

[0038] A third aspect of an embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements all or part of the steps in any one of the speech noise reduction methods disclosed in the first aspect of the embodiment of the present application.

[0039] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, all or part of the steps in any one of the speech noise reduction methods disclosed in the first aspect of the embodiment of the present application are implemented.

[0040] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0041] In an embodiment of the present application, an electronic device using a speech noise reduction method can obtain audio feature data corresponding to an audio signal to be processed, and determine the noise type corresponding to the noise signal contained in the audio signal to be processed according to the audio feature data. Among them, the above noise type may include steady-state noise and non-steady-state noise. On this basis, the electronic device can perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the above noise type. It can be seen that by implementing the embodiment of the present application, different types of noise signals contained in the audio signal, especially steady-state noise and non-steady-state noise, can be used to perform adaptive audio noise reduction processing using different noise reduction processing methods to avoid excessive noise reduction due to excessive estimation of the noise signal, damaging normal speech and other audio content; or the noise reduction effect is not obvious due to the estimation of the noise signal being too small. In this way, the accuracy of speech noise reduction for the audio signal can be effectively improved, and in particular, the accurate removal of non-steady-state noise can be achieved as much as possible, which is conducive to ensuring the clarity of the voice audio obtained by the user through the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 This is a schematic diagram of an application scenario of the speech noise reduction method disclosed in the embodiment of the present application;

[0044] Figure 2 It is a modular schematic diagram of the electronic device disclosed in the embodiment of the present application;

[0045] Figure 3 It is a flow chart of a speech noise reduction method disclosed in an embodiment of the present application;

[0046] Figure 4 It is a flowchart of another speech noise reduction method disclosed in an embodiment of the present application;

[0047] Figure 5 It is a schematic diagram of a process of performing endpoint detection and speech noise reduction on an audio signal to be processed disclosed in an embodiment of the present application;

[0048] Figure 6 This is a specific flow chart of performing endpoint detection and speech noise reduction on an audio signal to be processed disclosed in an embodiment of the present application;

[0049] Figure 7 It is a flowchart of another speech noise reduction method disclosed in an embodiment of the present application;

[0050] Figure 8 It is a schematic diagram of a noise reduction effect of performing speech noise reduction on an audio signal to be processed disclosed in an embodiment of the present application;

[0051] Fig. 9 It is a modular schematic diagram of a speech noise reduction device disclosed in an embodiment of the present application;

[0052] Fig.10 This is another modular schematic diagram of the electronic device disclosed in the embodiment of the present application. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] It should be noted that the terms "including" and "having" and any variations of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0055] The embodiments of the present application disclose a speech noise reduction method and device, an electronic device, and a storage medium, which can perform adaptive audio noise reduction processing on different types of noise signals contained in an audio signal, thereby improving the accuracy of speech noise reduction on the audio signal, which is beneficial to ensuring the clarity of speech audio obtained by users through electronic devices.

[0056] The following is a detailed description with reference to the accompanying drawings.

[0057] See also Figure 1 , Figure 1 1 is a schematic diagram of an application scenario of a speech noise reduction method disclosed in an embodiment of the present application, which may include an electronic device 100, and the electronic device 100 may include a processing module 110. The electronic device 100 may process the audio data collected or received by the electronic device 100 through its processing module 110, for example, perform feature extraction, speech noise reduction, etc. on the audio signal to be processed.

[0058] Exemplarily, the electronic device 100 may include various terminal devices or systems with a built-in processing module 110, such as smart phones, smart wearable devices (including smart watches, smart bracelets, etc.), vehicle terminals, tablet computers, PCs (Personal Computers), PDAs (Personal Digital Assistants), etc., which are not specifically limited in the embodiments of the present application. It should be noted that, Figure 1 The electronic device 100 shown in the figure is a mobile phone, which is merely an example and should not be regarded as a limitation on the device type of the electronic device 100 in the embodiment of the present application.

[0059] In the related art, in order to eliminate the influence of environmental noise as much as possible in human-computer interaction scenarios such as voice calls, so as to obtain clearer call voice, the call voice collected or received by the electronic device 100 can usually be subjected to noise reduction processing. However, since traditional audio noise reduction schemes often cannot distinguish noise signals with different fluctuation stability, they tend to adopt noise reduction processing methods for steady-state noise (such as continuous noise with noise intensity fluctuations within a certain intensity range, or pulse noise with a repetition frequency higher than a certain frequency threshold, etc.), which can easily lead to poor noise reduction effects due to inaccurate estimation of noise signals. For example, the noise signal is estimated too much, which damages the normal call voice during the noise reduction process; or the noise signal is estimated too little, which fails to completely and cleanly remove the noise signal during the noise reduction process.

[0060] In order to solve the above problems, the type of noise signal can be judged to adopt a suitable noise reduction processing method for different noise types. Exemplarily, in an embodiment of the present application, the electronic device 100 (specifically, it can be its built-in processing module 110) can obtain audio feature data corresponding to the audio signal to be processed, and determine the noise type corresponding to the noise signal contained in the audio signal to be processed based on the above audio feature data. Among them, the above noise types can include steady-state noise and non-steady-state noise (such as knocking noise, traffic noise, pulse noise with relatively low repetition frequency, etc.). On this basis, the electronic device 100 can perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the above noise type.

[0061] In some embodiments, Figure 2 As shown, in the case where the audio signal to be processed contains voice, the voice endpoints (i.e., the endpoints where the voice starts and ends) in the above-mentioned audio signal to be processed can be detected by the endpoint detection module built into the electronic device, and then the noise reduction processing module can be used to perform appropriate voice noise reduction processing on the noise signal that interferes with the above-mentioned voice to obtain the corresponding noise-reduced voice signal.

[0062] Optionally, the above-mentioned audio signal to be processed may also be audio data stored locally in the electronic device 100, so that the electronic device 100 can extract the audio signal to be processed from a local storage module (not specifically shown in the figure), and process it in sequence through the above-mentioned endpoint detection module and noise reduction processing module to obtain a corresponding noise reduction voice signal for storage or output by the electronic device 100.

[0063] It can be seen that by implementing the embodiment of the present application, the electronic device 100 can use different noise reduction processing methods to perform adaptive audio noise reduction processing for different types of noise signals contained in the audio signal, especially steady-state noise and non-steady-state noise, to avoid excessive noise reduction due to overestimation of the noise signal, which damages normal audio content such as speech; or the noise reduction effect is not obvious due to underestimation of the noise signal. This can effectively improve the accuracy of voice noise reduction for audio signals, especially to achieve accurate removal of non-steady-state noise as much as possible, which is conducive to ensuring the clarity of voice audio obtained by users through the electronic device 100.

[0064] See also Figure 3 , Figure 3 is a flow chart of a speech noise reduction method disclosed in an embodiment of the present application. Figure 3 As shown, the speech noise reduction method may include the following steps:

[0065] 302. Obtain audio feature data corresponding to the audio signal to be processed.

[0066] In the embodiment of the present application, the electronic device can call the audio data stored in the local storage module to obtain the audio signal to be processed; it can also obtain the audio signal to be processed transmitted by other devices based on the communication connection between it and other devices (such as mobile data communication connection, Wi-Fi communication connection, Bluetooth communication connection, etc.), which is not specifically limited in the embodiment of the present application. It can be understood that the voice noise reduction method in the embodiment of the present application is particularly suitable for human-computer interaction scenarios such as voice calls that require audio signal collection, transmission and playback. By performing appropriate voice noise reduction processing on the audio signal to be processed, a clearer call voice can be obtained.

[0067] Exemplarily, the audio feature data corresponding to the audio signal to be processed may include audio energy data and frequency domain feature data of the audio signal to be processed. The audio energy data may include the instantaneous energy value of the audio signal to be processed at each sampling point, and / or the energy spectrum, power spectrum, etc. in the frequency domain; the frequency domain feature data may include the frequency spectrum features (such as amplitude-frequency features, phase-frequency features, etc.), fundamental frequency and harmonic features, etc. of the audio signal to be processed.

[0068] In some embodiments, the above-mentioned audio feature data may further include short-time zero-crossing rate and long-time feature data, etc. Among them, the above-mentioned short-time zero-crossing rate can be used to represent the ratio between the number of zero-crossing times of the audio amplitude corresponding to multiple sampling points of the audio signal to be processed within the first time length (for example, 0.5 seconds, 1 second, etc.) and the number of the multiple sampling points. It should be noted that the audio amplitude corresponding to adjacent sampling points is one positive (i.e. greater than 0) and one negative (i.e. less than 0), which can be regarded as a "zero crossing". The above-mentioned long-time feature data can be used to represent the statistical characteristic data of the audio signal to be processed within the second time length (for example, 0.5 seconds, 1 second, etc.), such as the number and distribution of phonemes (the smallest speech unit, based on the pronunciation action in the syllable, each action constitutes a phoneme) within the unit time length.

[0069] It can be understood that the above-mentioned audio feature data can be used to determine whether the audio signal to be processed contains speech, and can also be further used to determine the noise type corresponding to the noise signal contained in the audio signal to be processed, so that the electronic device can perform corresponding noise reduction processing for different types of noise signals in subsequent steps.

[0070] 304. Determine, according to the audio feature data, a noise type corresponding to a noise signal included in the audio signal to be processed, where the noise type includes steady-state noise and non-steady-state noise.

[0071] In an embodiment of the present application, the electronic device can extract, analyze and judge the noise signal contained in the processed audio signal according to the above-mentioned audio feature data to determine the noise type corresponding to the noise signal. Exemplarily, the above-mentioned noise types may include steady-state noise and non-steady-state noise. Among them, steady-state noise may include noise signals with relatively stable fluctuations, such as continuous noise with noise intensity fluctuations within a certain intensity range, or pulse noise with a repetition frequency higher than a certain frequency threshold, etc.; non-steady-state noise may include noise signals with relatively unstable fluctuations, such as knocking noise, traffic noise, pulse noise with a relatively low repetition frequency, etc.

[0072] In some embodiments, the electronic device may determine the noise type corresponding to the noise signal contained in the audio signal to be processed based on its audio feature data only when the audio signal to be processed contains speech, so as to avoid wasting computing resources when the audio signal to be processed does not contain speech.

[0073] Exemplarily, the electronic device can obtain audio energy data corresponding to the audio signal to be processed, and determine whether the audio signal to be processed contains speech based on the audio energy data. Specifically, when the above audio energy data is greater than the energy threshold, the electronic device can determine that the audio signal to be processed contains speech (the audio energy of speech is usually much greater than the audio energy of the noise signal), and then perform Fourier transform on the audio signal to be processed to obtain the corresponding frequency domain audio signal, and further obtain frequency domain feature data corresponding to the audio signal to be processed based on the frequency domain audio signal.

[0074] On this basis, that is, when the electronic device determines that the audio signal to be processed contains speech, the noise type corresponding to the noise signal contained in the audio signal to be processed can be judged based on the above-mentioned frequency domain feature data and other necessary audio feature data (such as the short-time zero-crossing rate of the audio signal to be processed, long-time feature data, etc.) to determine whether the noise signal belongs to steady-state noise or non-steady-state noise.

[0075] 306. Perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the noise type.

[0076] In the embodiment of the present application, according to different situations in which the above-mentioned noise signal belongs to steady-state noise or non-steady-state noise, the electronic device can adopt different noise reduction processing methods to perform appropriate noise reduction processing on the audio signal to be processed.

[0077] In some embodiments, if the noise type of the noise signal is steady-state noise, the electronic device can filter and reduce noise on the audio signal to be processed by filtering. Exemplarily, the electronic device can configure a target filter and filter the audio signal to be processed by the target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed.

[0078] In other embodiments, if the noise type of the above-mentioned noise signal is non-steady-state noise, the electronic device may not be able to completely and cleanly remove the noise signal through filtering, and thus a certain speech noise reduction model may be used to perform noise reduction processing on the audio signal to be processed. Among them, the above-mentioned speech noise reduction model can be obtained by training a non-steady-state noise data set, and the non-steady-state noise data set may include multiple sample non-steady-state noise signals and corresponding sample noise suppression parameters, and the sample noise suppression parameters can be used to perform frequency domain noise reduction processing on the corresponding sample non-steady-state noise signals. On this basis, the electronic device can input the audio signal to be processed into the trained speech noise reduction model, and obtain the noise reduction speech signal corresponding to the above-mentioned audio signal to be processed output by the speech noise reduction model, so as to achieve the removal of non-steady-state noise.

[0079] It can be seen that the speech noise reduction method described in the above embodiment can be implemented to perform adaptive audio noise reduction processing using different noise reduction processing methods for different types of noise signals contained in the audio signal, especially steady-state noise and non-steady-state noise, to avoid excessive noise reduction due to overestimation of the noise signal, which damages normal speech and other audio content; or the noise reduction effect is not obvious due to underestimation of the noise signal. This can effectively improve the accuracy of speech noise reduction for audio signals, especially to achieve accurate removal of non-steady-state noise as much as possible, which is conducive to ensuring the clarity of speech audio obtained by users through electronic devices.

[0080] See also Figure 4 , Figure 4 FIG. 1 is a flow chart of another method for reducing speech noise disclosed in an embodiment of the present application. Figure 4 As shown, the speech noise reduction method may include the following steps:

[0081] 402. Obtain audio feature data corresponding to the audio signal to be processed.

[0082] Among them, step 402 is similar to the above step 302 and will not be repeated here.

[0083] 404. Calculate speech probability information corresponding to the audio signal to be processed based on the audio feature data, where the speech probability information is used to indicate the probability that the audio signal to be processed contains speech.

[0084] In an embodiment of the present application, the electronic device can detect the voice endpoints in the audio signal to be processed (i.e., VAD, Voice Activity Detection) through its built-in endpoint detection module, and the detection process can be implemented based on calculating the voice probability information corresponding to the audio signal to be processed. The above-mentioned voice probability information can be used to indicate the probability that the audio signal to be processed contains voice, and can also be used to indicate the probability that the audio signal to be processed does not contain voice.

[0085] Exemplarily, taking the above-mentioned speech probability information representing the probability that the audio signal to be processed contains speech as an example, the audio feature data acquired by the electronic device may include audio energy data and frequency domain feature data, then the electronic device can calculate the speech probability information corresponding to the audio signal to be processed according to the frequency domain feature data when the above-mentioned audio energy data is greater than the energy threshold. If the speech probability information (i.e., the probability that the audio signal to be processed contains speech) is greater than a specified first probability threshold (e.g., 50%, 80%, etc.), it can be determined that the audio signal to be processed contains speech; otherwise, it can be determined that the audio signal to be processed does not contain speech.

[0086] In some embodiments, the audio feature data acquired by the electronic device may also include short-time zero-crossing rate and long-time feature data. The electronic device may also calculate the probability value of the audio signal to be processed containing speech (or the probability value of not containing speech) at each sampling point based on the above-mentioned frequency domain feature data, short-time zero-crossing rate and long-time feature data, and then determine the speech probability information corresponding to the audio signal to be processed based on the probability value corresponding to each sampling point.

[0087] Exemplarily, the electronic device can determine whether the audio signal to be processed contains speech at each sampling point based on the probability value corresponding to each sampling point, and use the first sampling point of the multiple consecutive sampling points containing speech as the speech start endpoint and the last sampling point as the speech end endpoint, so as to achieve endpoint detection of the audio signal to be processed, and then determine the speech probability information corresponding to the audio signal to be processed based on the result of the above endpoint detection. Optionally, in the case where the audio signal to be processed contains at least one pair of speech start endpoints and speech end endpoints, the electronic device can also directly determine that the audio signal to be processed contains speech.

[0088] 406. When the speech probability information indicates that the audio signal to be processed contains speech, determine, according to the audio feature data, a noise type corresponding to the noise signal contained in the audio signal to be processed.

[0089] In an embodiment of the present application, if the electronic device determines that the audio signal to be processed contains speech based on the above-mentioned speech probability information, it can further determine the noise type of the noise signal contained in the audio signal to be processed based on the above-mentioned audio feature data.

[0090] For example, Figure 5 As shown, the electronic device can perform Fourier transform on the audio signal to be processed through the endpoint detection module to obtain the corresponding frequency domain audio signal to obtain its frequency domain feature data, and then can combine other audio feature data (such as the above-mentioned audio energy data, short-time zero-crossing rate and long-time feature data, etc.) to perform noise estimation on the audio signal to be processed containing speech (such as calculating the signal-to-noise ratio, calculating the noise probability information belonging to different noise types, etc.), and determine whether the above-mentioned noise signal belongs to steady-state noise or non-steady-state noise.

[0091] Among them, for non-steady-state noise, the electronic device can input the processed audio signal containing non-steady-state noise into the trained speech noise reduction model through the noise reduction processing module, and perform inverse Fourier transform on the model output to obtain the noise-reduced speech signal corresponding to the above-mentioned processed audio signal. For steady-state noise, the electronic device can also filter the processed audio signal containing steady-state noise through the noise reduction processing module using the target filter, and then perform inverse Fourier transform on the filtered output to obtain the corresponding noise-reduced speech signal.

[0092] Please read further Figure 6 , Figure 6 This is a schematic diagram of a specific process of performing endpoint detection and speech noise reduction on an audio signal to be processed disclosed in an embodiment of the present application. Figure 6 As shown, the electronic device can obtain audio energy data corresponding to the audio signal to be processed, and determine whether the audio energy data is greater than an energy threshold. When the audio energy data is greater than the energy threshold, the electronic device can perform Fourier transform on the audio signal to be processed to obtain a frequency domain audio signal, and obtain frequency domain feature data corresponding to the audio signal to be processed based on the frequency domain audio signal.

[0093] Furthermore, the electronic device may combine the above frequency domain feature data, the short-time zero-crossing rate and the long-time feature data of the audio signal to be processed to calculate the speech probability information corresponding to the audio signal to be processed. When the above speech probability information indicates that the audio signal to be processed contains speech, the electronic device may perform speech smoothing processing on the audio signal to be processed to further determine the noise type of the noise signal contained therein.

[0094] Exemplarily, in the case where the above-mentioned audio signal to be processed contains speech, the electronic device can determine N pairs of speech endpoints (N is a natural number) in the audio signal to be processed based on the above-mentioned audio feature data (including audio energy data, frequency domain feature data, short-time zero-crossing rate and long-time feature data, etc.). Among them, each pair of speech endpoints can respectively include two sampling points in the audio signal to be processed, and each pair of speech endpoints can be used to determine one or more segments of speech contained in the audio signal to be processed (that is, each pair of speech start endpoints and speech end endpoints can be used to determine one or more segments of speech).

[0095] On this basis, the electronic device can perform voice smoothing processing on the audio signal to be processed based on the above-mentioned N pairs of voice endpoints, and in particular can smooth one or more segments of voice determined by each pair of voice endpoints to obtain a corresponding smoothed audio signal. Based on the above-mentioned smoothed audio signal, the electronic device can calculate the noise probability information corresponding to the noise signal contained in the audio signal to be processed, and based on the noise probability information, determine whether the noise type corresponding to the noise signal is steady-state noise or non-steady-state noise.

[0096] Optionally, the electronic device may also respectively calculate the first probability that the noise signal belongs to steady-state noise and the second probability that it belongs to non-steady-state noise, and then determine the noise type corresponding to the noise signal (for example, the noise type corresponding to the larger value of the first probability and the second probability) based on the first probability and the second probability.

[0097] Similar to Figure 5 As shown, the electronic device can subsequently adopt corresponding noise reduction processing methods for different noise types, that is, perform noise reduction processing on the audio signal to be processed containing non-steady-state noise through a trained speech noise reduction model, or perform noise reduction processing on the audio signal to be processed containing steady-state noise through a target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed.

[0098] 408. Perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the noise type.

[0099] Among them, step 408 is similar to the above step 306 and will not be repeated here.

[0100] It can be seen that the speech noise reduction method described in the above embodiment can be implemented to carry out adaptive audio noise reduction processing by using different noise reduction processing methods for different types of noise signals contained in the audio signal, which may especially include steady-state noise and non-steady-state noise, so as to avoid poor noise reduction effect due to inaccurate estimation of the noise signal, thereby effectively improving the accuracy of speech noise reduction for the audio signal, and achieving accurate removal of non-steady-state noise as much as possible, which is conducive to ensuring the clarity of speech audio obtained by users through electronic devices. In addition, by combining a variety of different features of the audio signal, the voice endpoints contained in the audio signal can be accurately determined, which is conducive to improving the accuracy of judging whether the audio signal contains speech, and further judging the type of noise when speech is contained, which helps to further improve the accuracy of speech noise reduction for audio signals by electronic devices.

[0101] See also Figure 7 , Figure 7 FIG. 1 is a flow chart of another method for reducing speech noise disclosed in an embodiment of the present application. Figure 7 As shown, the speech noise reduction method may include the following steps:

[0102] 702. Obtain audio energy data corresponding to the audio signal to be processed.

[0103] 704. When the audio energy data is greater than the energy threshold, perform Fourier transform on the audio signal to be processed to obtain a frequency domain audio signal, and obtain frequency domain feature data corresponding to the audio signal to be processed according to the frequency domain audio signal.

[0104] Among them, step 702 and step 704 are similar to some specific implementations of the above-mentioned step 302 and step 304. In addition to the audio energy data and the frequency domain feature data, the above-mentioned audio feature data may further include a short-time zero-crossing rate and long-time feature data, wherein the short-time zero-crossing rate may be used to represent the ratio between the number of audio amplitude zero-crossing times corresponding to multiple sampling points of the audio signal to be processed within the first time length and the number of multiple sampling points, and the long-time feature data may be used to represent the statistical characteristic data of the audio signal to be processed within the second time length.

[0105] 706. When the audio energy data is greater than the energy threshold, the probability value of the audio signal to be processed not containing speech at each sampling point is calculated according to the frequency domain feature data, the short-time zero-crossing rate and the long-time feature data.

[0106] 708. Determine speech probability information corresponding to the audio signal to be processed based on the probability value corresponding to each sampling point.

[0107] Among them, step 706 and step 708 are similar to some specific implementations of the above step 404, and will not be repeated here.

[0108] 710. When the speech probability information indicates that the audio signal to be processed contains speech, determine, according to the audio feature data, a noise type corresponding to the noise signal contained in the audio signal to be processed.

[0109] Among them, step 710 is similar to the above step 406 and will not be repeated here.

[0110] 712. When the noise type is steady-state noise, filter the audio signal to be processed by a target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed.

[0111] In an embodiment of the present application, the electronic device can filter the processed audio signal through a pre-configured target filter to determine the noise component amplitude spectrum corresponding to the above noise signal, and then the noise reduction amplitude spectrum corresponding to the processed audio signal (obtained by Fourier transforming the processed audio signal) can be subtracted from the noise component amplitude spectrum to obtain the corresponding noise reduction speech amplitude spectrum. On this basis, the electronic device can perform an inverse Fourier transform on the above noise reduction speech amplitude spectrum to obtain a noise reduction speech signal corresponding to the processed audio signal.

[0112] In some embodiments, the target filter may include a Wiener filter, that is, the electronic device may filter the audio signal to be processed by Wiener filtering to remove steady-state noise contained in the audio signal to be processed.

[0113] Exemplarily, when the target filter is used to perform filtering processing on the audio signal to be processed, the error between the obtained noise reduction speech signal and the real speech signal can be shown as Formula 1.

[0114] Formula 1:

[0115] e(w k )=X(w k )-H(w k )·Y(w k )

[0116] Among them, e(w k ) represents the above error, X(w k ) is the frequency domain representation of the real speech signal, Y(w k ) is the frequency domain representation of the audio signal to be processed, H(w k ) is the frequency domain representation of the system response corresponding to the target filter. On this basis, in order to make the error e(w k ) corresponds to the smallest mean square error, which can make X(w k )Y(w k ) and H(w k ) satisfies the following formula 2.

[0117] Formula 2:

[0118] E[|X(w k )| 2 ]=E{[X(w k )-H(w k )·Y(w k )]*[X(w k )-H(w k )·Y(w k )]}

[0119] Among them, E represents the average value. By simplifying, we can get the system response H(w k ), as shown in the following formula 3.

[0120] Formula 3:

[0121]

[0122] in, And P xx (w k )=E[N(w k )·N * (w k )],P nn (w k )=E[X(w k )·X * (w k)], the above N(w k ) is the frequency domain representation of the noise signal, N * (w k ) represents the complex conjugate operation. k ) can be used to perform Wiener filtering on the audio signal to be processed, thereby obtaining a noise-reduced speech signal corresponding to the audio signal to be processed.

[0123] 714. In the case where the above-mentioned noise type is non-steady-state noise, the audio signal to be processed is input into a trained speech noise reduction model, and a noise-reduced speech signal corresponding to the audio signal to be processed output by the speech noise reduction model is obtained; wherein the speech noise reduction model is obtained by training a non-steady-state noise data set, and the non-steady-state noise data set includes multiple sample non-steady-state noise signals and corresponding sample noise suppression parameters, and the sample noise suppression parameters are used to perform frequency domain noise reduction processing on the corresponding sample non-steady-state noise signals.

[0124] In the embodiment itself, the trained speech noise reduction model can be used to determine the target noise suppression parameter corresponding to the audio signal to be processed. By multiplying the target noise suppression parameter with the corresponding frequency points of the audio signal to be processed (that is, the frequency domain components of the frequency domain audio signal corresponding to the audio signal to be processed at each frequency point), the frequency domain noise reduction of the audio signal to be processed can be achieved.

[0125] On this basis, by performing an inverse Fourier transform on the frequency domain audio signal after frequency domain denoising, the above-mentioned speech denoising model can output a denoised speech signal corresponding to the audio signal to be processed. Optionally, the above-mentioned inverse Fourier transform process can also be performed immediately after the speech denoising model output, which is not specifically limited in the embodiments of the present application.

[0126] For example, see Figure 8 , Figure 8 Schematic diagram of a noise reduction effect of performing speech noise reduction on an audio signal to be processed disclosed in an embodiment of the present application. Figure 8 As shown, after the audio signal to be processed is subjected to noise reduction processing by the speech noise reduction method in the above embodiment, the noise signal is obviously removed from the obtained noise-reduced speech signal, thereby effectively improving the clarity of the speech contained therein.

[0127] It should be noted that step 714 can be performed in parallel with the above step 712 , that is, step 714 can also be performed immediately after the above step 710 .

[0128] It can be seen that the speech noise reduction method described in the above embodiment can be implemented to perform adaptive audio noise reduction processing using different noise reduction processing methods for different types of noise signals contained in the audio signal, which may especially include steady-state noise and non-steady-state noise, to avoid poor noise reduction effects due to inaccurate estimation of the noise signal, thereby effectively improving the accuracy of speech noise reduction for the audio signal, and achieving accurate removal of non-steady-state noise as much as possible, which is beneficial to ensuring the clarity of speech audio obtained by users through electronic devices. In addition, by training a speech noise reduction model to perform noise reduction processing on audio signals containing non-steady-state noise, it is possible to overcome the difficulty of removing noise signals due to their large volatility, and remove noise signals as completely and cleanly as possible, which is beneficial to improving the clarity of voice calls made by users through electronic devices.

[0129] The method in the embodiment of the present application is described in detail above. The device in the embodiment of the present application is introduced below with reference to the accompanying drawings.

[0130] See also Fig. 9 , Fig. 9 is a modular schematic diagram of a speech noise reduction device disclosed in an embodiment of the present application, and the speech noise reduction device can be the aforementioned Figures 1 to 8 The electronic device to which the speech noise reduction method is applied may also be a device applied in the electronic device, which is not limited here. In some embodiments, the speech noise reduction device may also be a chip or a chip system, such as a system on chip (SoC). For example, Fig. 9 As shown, the speech noise reduction device may include a feature data acquisition unit 901, a noise type determination unit 902, and a noise reduction processing unit 903, wherein:

[0131] The feature data acquisition unit 901 is used to acquire audio feature data corresponding to the audio signal to be processed;

[0132] A noise type determination unit 902 is used to determine the noise type corresponding to the noise signal contained in the audio signal to be processed according to the audio feature data, where the noise type includes steady-state noise and non-steady-state noise;

[0133] The noise reduction processing unit 903 is used to perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the above noise type.

[0134] It can be seen that the speech noise reduction device described in the above embodiment can use different noise reduction processing methods to perform adaptive audio noise reduction processing for different types of noise signals contained in the audio signal, especially steady-state noise and non-steady-state noise, to avoid excessive noise reduction due to overestimation of the noise signal, which damages normal speech and other audio content; or the noise reduction effect is not obvious due to underestimation of the noise signal. This can effectively improve the accuracy of speech noise reduction for audio signals, especially to achieve accurate removal of non-steady-state noise as much as possible, which is conducive to ensuring the clarity of speech audio obtained by users through electronic devices.

[0135] In one embodiment, the noise type determination unit 902 may be specifically configured to:

[0136] In the case that the audio signal to be processed contains speech, the noise type corresponding to the noise signal contained in the audio signal to be processed is determined according to the above audio feature data.

[0137] Exemplarily, the noise type determination unit 902 may calculate speech probability information corresponding to the audio signal to be processed according to the audio feature data, and the speech probability information may be used to indicate the probability that the audio signal to be processed contains speech; and

[0138] When the speech probability information indicates that the audio signal to be processed contains speech, the noise type corresponding to the noise signal contained in the audio signal to be processed is determined according to the audio feature data.

[0139] In an embodiment, the audio feature data may include at least audio energy data and frequency domain feature data. The noise type determination unit 902 may specifically include:

[0140] When the audio energy data is greater than the energy threshold, the speech probability information corresponding to the audio signal to be processed is calculated according to the frequency domain feature data.

[0141] In one embodiment, the above-mentioned audio feature data may also include a short-time zero-crossing rate and long-time feature data. The short-time zero-crossing rate can be used to represent the ratio between the number of audio amplitude zero crossings corresponding to multiple sampling points of the audio signal to be processed within a first time length and the number of multiple sampling points, and the long-time feature data can be used to represent the statistical characteristic data of the audio signal to be processed within a second time length.

[0142] On this basis, when the noise type determination unit 902 is used to calculate the speech probability information corresponding to the audio signal to be processed according to the frequency domain feature data, it may specifically include:

[0143] According to the frequency domain feature data, the short-time zero-crossing rate and the long-time feature data, respectively calculating the probability value that the audio signal to be processed does not contain speech at each sampling point;

[0144] Based on the probability value corresponding to each sampling point, the speech probability information corresponding to the audio signal to be processed is determined.

[0145] In one embodiment, the feature data acquisition unit 901 may be specifically used for:

[0146] Obtaining audio energy data corresponding to the audio signal to be processed;

[0147] When the audio energy data is greater than the energy threshold, Fourier transform is performed on the audio signal to be processed to obtain a frequency domain audio signal, and frequency domain feature data corresponding to the audio signal to be processed is obtained according to the frequency domain audio signal.

[0148] In one embodiment, the noise type determination unit 902 may also be specifically used for:

[0149] In the case where the audio signal to be processed contains speech, N pairs of speech endpoints in the audio signal to be processed are determined according to the audio feature data; wherein N is a natural number, each pair of speech endpoints respectively includes two sampling points in the audio signal to be processed, and each pair of speech endpoints is respectively used to determine one or more speech segments contained in the audio signal to be processed;

[0150] Based on the N pairs of voice endpoints, performing voice smoothing processing on the audio signal to be processed to obtain a smoothed audio signal;

[0151] According to the above-mentioned smoothed audio signal, noise probability information corresponding to the noise signal contained in the audio signal to be processed is calculated, and according to the noise probability information, the noise type corresponding to the noise signal is determined.

[0152] In one embodiment, the noise reduction processing unit 903 may also be used to:

[0153] In the case where the above-mentioned noise type is steady-state noise, filtering the audio signal to be processed by a target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed;

[0154] In the case where the above-mentioned noise type is non-stationary noise, the audio signal to be processed is input into a trained speech noise reduction model, and a noise-reduced speech signal corresponding to the audio signal to be processed output by the speech noise reduction model is obtained; wherein the speech noise reduction model can be obtained by training a non-stationary noise data set, and the non-stationary noise data set includes multiple sample non-stationary noise signals and corresponding sample noise suppression parameters, and the sample noise suppression parameters can be used to perform frequency domain noise reduction processing on the corresponding sample non-stationary noise signals.

[0155] In one embodiment, the noise reduction processing unit 903 is used to filter the audio signal to be processed through the target filter to obtain the noise reduction speech signal corresponding to the audio signal to be processed, which may specifically include:

[0156] The audio signal to be processed is filtered by a target filter to determine the noise component amplitude spectrum corresponding to the noise signal;

[0157] Subtracting the noise component amplitude spectrum from the noise component amplitude spectrum of the to-be-processed audio signal to obtain the noise-reduced speech amplitude spectrum; wherein the noise-reduced amplitude spectrum is obtained by performing Fourier transform on the to-be-processed audio signal;

[0158] Perform inverse Fourier transform on the noise reduction speech amplitude spectrum to obtain a noise reduction speech signal corresponding to the audio signal to be processed.

[0159] Exemplarily, the target filter may include a Wiener filter.

[0160] It can be seen that the speech noise reduction device described in the above embodiment can be used for different types of noise signals contained in the audio signal, especially steady-state noise and non-steady-state noise, and different noise reduction processing methods can be used to perform adaptive audio noise reduction processing, so as to avoid poor noise reduction effect due to inaccurate estimation of the noise signal, thereby effectively improving the accuracy of speech noise reduction for the audio signal, and achieving accurate removal of non-steady-state noise as much as possible, which is conducive to ensuring the clarity of the voice audio obtained by the user through the electronic device. In addition, by combining a variety of different features of the audio signal, the voice endpoint contained in the audio signal can be accurately determined, which is conducive to improving the accuracy of judging whether the audio signal contains voice, and further judging the type of noise when the voice is contained, which helps to further improve the accuracy of the electronic device for voice noise reduction of the audio signal. In addition, by training the speech noise reduction model to perform noise reduction processing on the audio signal containing non-steady-state noise, it is possible to overcome the difficulty of removing the noise signal due to its large volatility, and remove the noise signal as completely and cleanly as possible, which is conducive to improving the clarity of the voice call made by the user through the electronic device.

[0161] See also Fig.10 , Fig.10 is another modular schematic diagram of the electronic device disclosed in the embodiment of the present application. Fig.10 As shown, the electronic device may include:

[0162] A memory 1001 storing executable program codes;

[0163] A processor 1002 coupled to the memory 1001;

[0164] The processor 1002 calls the executable program code stored in the memory 1001 to execute all or part of the steps in any one of the speech noise reduction methods described in the above embodiments.

[0165] In addition, an embodiment of the present application further discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute all or part of the steps in any one of the speech noise reduction methods described in the above embodiments.

[0166] In addition, an embodiment of the present application further discloses a computer program product. When the computer program product is run on a computer, the computer can execute all or part of the steps in any one of the speech noise reduction methods described in the above embodiments.

[0167] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, the storage medium including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically-erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0168] The above is a detailed introduction to a speech noise reduction method and device, an electronic device, and a storage medium disclosed in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A speech noise reduction method, characterized in that: include: Obtaining audio feature data corresponding to the audio signal to be processed; Determine, according to the audio feature data, a noise type corresponding to a noise signal contained in the audio signal to be processed, wherein the noise type includes steady-state noise and non-steady-state noise; The audio signal to be processed is subjected to noise reduction processing according to the noise reduction processing mode corresponding to the noise type.

2. The method according to claim 1, characterized in that The step of determining, according to the audio feature data, a noise type corresponding to a noise signal included in the audio signal to be processed comprises: In a case where the audio signal to be processed contains speech, a noise type corresponding to a noise signal contained in the audio signal to be processed is determined according to the audio feature data.

3. The method according to claim 2, characterized in that In the case where the audio signal to be processed includes speech, determining, according to the audio feature data, a noise type corresponding to a noise signal included in the audio signal to be processed, comprises: Calculating speech probability information corresponding to the audio signal to be processed according to the audio feature data, wherein the speech probability information is used to indicate the probability that the audio signal to be processed contains speech; When the speech probability information indicates that the audio signal to be processed contains speech, the noise type corresponding to the noise signal contained in the audio signal to be processed is determined according to the audio feature data.

4. The method according to claim 3, characterized in that The audio feature data at least includes audio energy data and frequency domain feature data, and the calculating, based on the audio feature data, speech probability information corresponding to the audio signal to be processed includes: When the audio energy data is greater than an energy threshold, the speech probability information corresponding to the audio signal to be processed is calculated according to the frequency domain feature data.

5. The method according to claim 4, characterized in that The audio feature data further includes a short-time zero-crossing rate and long-time feature data, wherein the short-time zero-crossing rate is used to represent the ratio between the number of audio amplitude zero-crossing times corresponding to a plurality of sampling points of the audio signal to be processed within a first duration and the number of the plurality of sampling points, and the long-time feature data is used to represent statistical characteristic data of the audio signal to be processed within a second duration; The step of calculating speech probability information corresponding to the audio signal to be processed according to the frequency domain feature data includes: Calculating the probability value of the audio signal to be processed not containing speech at each sampling point according to the frequency domain feature data, the short-time zero-crossing rate and the long-time feature data; Based on the probability values ​​corresponding to the sampling points, speech probability information corresponding to the audio signal to be processed is determined.

6. The method according to any one of claims 1 to 5, characterized in that: The audio feature data at least includes audio energy data and frequency domain feature data; The step of obtaining audio feature data corresponding to the audio signal to be processed includes: Obtaining audio energy data corresponding to the audio signal to be processed; When the audio energy data is greater than the energy threshold, Fourier transform is performed on the audio signal to be processed to obtain a frequency domain audio signal, and frequency domain feature data corresponding to the audio signal to be processed is obtained according to the frequency domain audio signal.

7. The method according to any one of claims 1 to 5, characterized in that: The step of determining, according to the audio feature data, a noise type corresponding to a noise signal included in the audio signal to be processed comprises: In the case where the audio signal to be processed contains speech, determining N pairs of speech endpoints in the audio signal to be processed according to the audio feature data; wherein N is a natural number, each pair of the speech endpoints respectively includes two sampling points in the audio signal to be processed, and each pair of the speech endpoints is respectively used to determine one or more speech segments contained in the audio signal to be processed; Based on the N pairs of voice endpoints, performing voice smoothing processing on the audio signal to be processed to obtain a smoothed audio signal; Noise probability information corresponding to the noise signal contained in the audio signal to be processed is calculated according to the smoothed audio signal, and a noise type corresponding to the noise signal is determined according to the noise probability information.

8. The method according to any one of claims 1 to 5, characterized in that: The performing noise reduction processing on the audio signal to be processed according to the noise reduction processing mode corresponding to the noise type includes: In a case where the noise type is the steady-state noise, filtering the audio signal to be processed by a target filter to obtain a noise-reduced speech signal corresponding to the audio signal to be processed; In the case where the noise type is the non-stationary noise, the audio signal to be processed is input into a trained speech noise reduction model, and a noise-reduced speech signal corresponding to the audio signal to be processed output by the speech noise reduction model is obtained; wherein the speech noise reduction model is obtained by training a non-stationary noise data set, and the non-stationary noise data set includes multiple sample non-stationary noise signals and corresponding sample noise suppression parameters, and the sample noise suppression parameters are used to perform frequency domain noise reduction processing on the corresponding sample non-stationary noise signals.

9. The method according to claim 8, characterized in that The filtering the audio signal to be processed by a target filter to obtain a noise reduction speech signal corresponding to the audio signal to be processed includes: Performing filtering processing on the audio signal to be processed by using a target filter to determine a noise component amplitude spectrum corresponding to the noise signal; Subtracting the noise component amplitude spectrum from the noise component amplitude spectrum to obtain the noise-reduced speech amplitude spectrum; wherein the noise-reduced amplitude spectrum is obtained by performing Fourier transform on the audio signal to be processed; Performing an inverse Fourier transform on the noise-reduced speech amplitude spectrum to obtain a noise-reduced speech signal corresponding to the audio signal to be processed.

10. The method according to claim 9, characterized in that The target filter includes a Wiener filter.

11. A speech noise reduction device, characterized in that: include: A feature data acquisition unit, used to acquire audio feature data corresponding to the audio signal to be processed; A noise type determination unit, configured to determine a noise type corresponding to a noise signal contained in the audio signal to be processed according to the audio feature data, wherein the noise type includes steady-state noise and non-steady-state noise; The noise reduction processing unit is used to perform noise reduction processing on the audio signal to be processed according to the noise reduction processing method corresponding to the noise type.

12. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.