Noise reduction balance factor determination method and device, equipment and storage medium

By splitting the frame to process the audio signal and constructing the expression of the noise reduction balance factor, the problem of excessive noise suppression caused by the fixed noise balance factor is solved, and a more accurate noise reduction effect and robust signal processing are achieved.

CN118762708APending Publication Date: 2024-10-11REMO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410891589.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing noise reduction algorithms use fixed values ​​to determine the noise balance factor, resulting in excessive noise suppression, poor noise reduction effect, and inability to quickly adapt to signal changes.

Method used

Process the original audio signal by splitting the frame, set the prior signal-to-noise ratio of the target speech frame and the historical prior signal-to-noise ratio, construct a noise reduction balance factor expression, use the target posterior signal-to-noise ratio and set the prior signal-to-noise ratio The relationship determines the target noise reduction balance factor to avoid excessive suppression and improve the noise reduction effect.

Benefits of technology

Accurately determine the noise reduction balance factor, improve the noise reduction effect, avoid excessive noise suppression, and enhance the robustness and response speed of signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762708A_ABST
    Figure CN118762708A_ABST
Patent Text Reader

Abstract

The invention discloses a noise reduction balance factor determination method and device, equipment and a storage medium. The method comprises the following steps: performing frame splitting processing on an obtained original audio signal to obtain a target voice frame; setting a set prior signal-to-noise ratio corresponding to the target voice frame, and determining a historical prior signal-to-noise ratio of a previous frame of the target voice frame; determining a noise reduction balance factor expression according to the set prior signal-to-noise ratio and the historical prior signal-to-noise ratio; and based on a relationship between a target posterior signal-to-noise ratio corresponding to the target voice frame and the set prior signal-to-noise ratio, according to the historical prior signal-to-noise ratio and the noise reduction balance factor expression, a target noise reduction balance factor corresponding to the target voice frame can be accurately determined. Therefore, the prior signal-to-noise ratio estimated by the target voice frame can be accurately calculated, excessive suppression can be avoided, and the noise reduction effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio signal processing, and in particular to a method, device, equipment and storage medium for determining a noise reduction balance factor. Background Art

[0002] When collecting audio signals in daily calls, recordings, and other scenarios, it is inevitable that there will be unwanted sounds in the environment, which is the so-called noise. These noises will be mixed with the voice we want to collect, which will reduce the signal-to-noise ratio, and in serious cases, will affect the intelligibility and recognizability of the voice. Therefore, before further processing the signal (such as speech recognition and speech coding), it is often necessary to reduce the noise of the signal to remove the noise as much as possible and retain the useful audio signal.

[0003] At present, the mainstream noise reduction algorithms can be divided into traditional noise reduction algorithms and methods based on neural network models. However, due to its high computational complexity and difficulty in implementation, the former is generally used to process audio signals. In the actual algorithm of traditional noise reduction, the decision-guided method is usually used to estimate the variance of the noise of the prior signal-to-noise ratio estimation, and the newly estimated prior SNR is the weighted average of the noise balance factor, the historical prior SNR (the previous frame of the current frame) and the current prior SNR (the current frame) in the next frame. The noise balance factor, its value controls the balance between the smoothness of the prior signal-to-noise ratio when there is no speech segment and the instantaneous distortion level when there is speech.

[0004] For the noise balance factor, current noise reduction algorithms usually use a fixed value as the noise balance factor. However, the fixed value cannot control the decision-directed method to respond quickly and appropriately to the signal frame, resulting in excessive noise suppression and poor noise reduction effect. Summary of the invention

[0005] The present invention provides a method, device, equipment and storage medium for determining a noise reduction balance factor to accurately determine a target noise reduction balance factor, thereby accurately calculating a priori signal-to-noise ratio of target speech frame estimation, avoiding excessive suppression and improving noise reduction effect.

[0006] According to one aspect of the present invention, a method for determining a noise reduction balance factor is provided. The method comprises:

[0007] De-framing the obtained original audio signal to obtain a target speech frame;

[0008] Setting a set priori signal-to-noise ratio corresponding to the target speech frame, and determining a historical priori signal-to-noise ratio of a frame before the target speech frame;

[0009] Determining a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio;

[0010] Based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, the target noise reduction balance factor corresponding to the target speech frame is determined according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression.

[0011] According to another aspect of the present invention, a device for determining a noise reduction balance factor is provided. The device comprises:

[0012] A target speech frame determination module is used to perform frame de-framing processing on the obtained original audio signal to obtain a target speech frame;

[0013] A priori signal-to-noise ratio determination module, used to set a set priori signal-to-noise ratio corresponding to the target speech frame, and determine a historical priori signal-to-noise ratio of a frame before the target speech frame;

[0014] A factor expression determination module, used to determine a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio;

[0015] The noise reduction balance factor determination module is used to determine the target noise reduction balance factor corresponding to the target speech frame based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression.

[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the noise reduction balance factor determination method described in any embodiment of the present invention.

[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a noise reduction balance factor described in any embodiment of the present invention when executed.

[0021] The technical solution of the embodiment of the present invention is to obtain a target speech frame by de-framing the obtained original audio signal. A set a priori signal-to-noise ratio corresponding to the target speech frame is set, and a historical a priori signal-to-noise ratio of a frame before the target speech frame is determined. According to the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio, a noise reduction balance factor expression is constructed. Using the relationship between the target posterior signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, the target posterior signal-to-noise ratio and the historical a priori signal-to-noise ratio are input into the noise reduction balance factor expression, so that the target noise reduction balance factor corresponding to the target speech frame can be accurately determined, excessive suppression can be avoided, and the noise reduction effect can be improved.

[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0024] Figure 1 is a flow chart of a method for determining a noise reduction balance factor provided according to Embodiment 1 of the present invention;

[0025] Figure 2 is a flow chart of a method for determining a noise reduction balance factor provided in accordance with Embodiment 2 of the present invention;

[0026] Figure 3 is a structural diagram of a device for determining a noise reduction balance factor according to Embodiment 3 of the present invention;

[0027] Figure 4 It is a structural schematic diagram of an electronic device for implementing the method for determining a noise reduction balance factor according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1 A flowchart of a method for determining a noise reduction balance factor is provided for the first embodiment of the present invention. This embodiment is applicable to the case where the original audio signal is subjected to noise reduction processing. The method can be executed by a noise reduction balance factor determination device. The noise reduction balance factor determination device can be implemented in the form of hardware and / or software. The noise reduction balance factor determination device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0032] S101, performing frame de-framing processing on the obtained original audio signal to obtain a target speech frame.

[0033] The original audio signal may refer to a signal to be subjected to signal noise reduction. The target speech frame may refer to a speech frame to be subjected to determination of a noise reduction balance factor, which may be any speech frame in the original audio signal.

[0034] Specifically, the original audio signal is preprocessed, and the preprocessed audio signal is divided into discrete signals of each single frame while maintaining a certain degree of temporal continuity. The common frame length ranges from 10ms to 30ms. It should be noted that there is usually overlap between frames, and the length of the overlapping part (called frame shift) is shorter. For example, a frame length of 10ms may be accompanied by a frame shift of 5ms to ensure temporal continuity and reduce information loss.

[0035] S102: setting a set a priori signal-to-noise ratio corresponding to the target speech frame, and determining a historical a priori signal-to-noise ratio of a frame previous to the target speech frame.

[0036] The set priori signal-to-noise ratio may refer to the set priori signal-to-noise ratio of the target speech frame, and the set priori signal-to-noise ratio is an unknown parameter. The historical priori signal-to-noise ratio may refer to the pre-estimated priori signal-to-noise ratio of the previous speech frame of the target speech frame.

[0037] Specifically, the historical priori signal-to-noise ratio may be previously estimated and obtained, and the historical priori signal-to-noise ratio may be queried through record information, and the set priori signal-to-noise ratio may be obtained through setting.

[0038] S103: Determine a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio.

[0039] Among them, the noise reduction balance factor is a parameter used to adjust or control the performance of the algorithm, especially an important parameter in the process of estimating the prior signal-to-noise ratio (SNR) in audio signal processing. When there is no speech signal, the noise reduction balance factor can help smooth the estimated value of the prior SNR. It can reduce the estimation error caused by noise fluctuations and make the estimation result more stable and continuous. At the moment when speech is present, that is, the active period of speech, the noise reduction balance factor affects the response speed and sensitivity of the algorithm to sudden changes. A suitable noise reduction balance factor can prevent the estimated value from fluctuating too much due to the rapid changes of the audio signal, that is, control the instantaneous distortion level and maintain the robustness of the estimate. In addition, the noise reduction balance factor expression is used to accurately determine the noise reduction balance factor.

[0040] Specifically, an estimated priori signal-to-noise ratio expression is constructed by using the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio, and then a noise reduction balance factor expression is constructed based on the estimated priori signal-to-noise ratio expression, so that the noise reduction balance factor can be accurately determined using the noise reduction balance factor expression.

[0041] Exemplarily, determining the noise reduction balance factor expression according to the set priori signal-noise ratio and the historical priori signal-noise ratio includes: constructing an estimated priori signal-noise ratio expression corresponding to the target speech frame according to the set priori signal-noise ratio and the historical priori signal-noise ratio; constructing a noise reduction minimization error square expression according to the historical priori signal-noise ratio, the estimated priori signal-noise ratio expression and the set priori signal-noise ratio; and determining the noise reduction balance factor expression based on the noise reduction minimization error square expression.

[0042] The estimated priori signal-to-noise ratio expression can be an expression obtained by improving the decision-directed method. The noise reduction minimization square error expression can be obtained based on minimizing the square error function, and the goal of the noise reduction minimization square error expression is to minimize the signal-to-noise ratio error.

[0043] Specifically, the estimated prior signal-to-noise ratio expression is as follows:

[0044] X k(m) =a k(m) ×Z k(m-1) +(1-a k(m) )×Y k(m) ;

[0045] Among them, Xk(m) It refers to the estimated prior signal-to-noise ratio; Y k(m) Refers to setting the prior signal-to-noise ratio; Z k(m-1) refers to the historical prior signal-to-noise ratio; a k(m) refers to the noise reduction balance factor; k refers to the frequency band index; m refers to the speech frame index.

[0046] It should be noted that the prior signal-to-noise ratio Y is set at this time k(m) and noise reduction balance factor a k(m) For unknown parameters, estimate the prior signal-to-noise ratio X k(m) is also an unknown quantity. Only the historical prior signal-to-noise ratio Z k(m-1) is a known parameter. Therefore, we can only construct an expression for estimating the priori signal-to-noise ratio, but cannot determine the exact value of the estimated priori signal-to-noise ratio.

[0047] The original minimization square error expression is determined, and the estimated priori signal-to-noise ratio expression is input into the original minimization square error expression, so as to obtain the noise reduction minimization square error expression. The minimization square error expression is sorted to obtain the noise reduction balance factor expression.

[0048] Exemplarily, constructing a noise reduction minimization error square expression according to the historical priori signal-to-noise ratio, the estimated priori signal-to-noise ratio expression and the set priori signal-to-noise ratio includes:

[0049] Determine the historical priori signal-to-noise ratio as an evaluation annotation condition for a noise reduction minimization error square expression;

[0050] Determine the difference expression between the estimated a priori signal-to-noise ratio expression and the set a priori signal-to-noise ratio as the a priori signal-to-noise ratio difference of the noise reduction minimization error square expression;

[0051] According to the evaluation labeling condition and the priori signal-to-noise ratio difference, a noise reduction minimization error square expression is constructed.

[0052] Specifically, the original denoising minimizes the square error expression as follows:

[0053] Minimin J=E{[X k(m) -Y k(m) ]|Z k(m-1)};

[0054] Among them, J refers to the objective function or cost function, which is the parameter to be minimized; E refers to the expected value, which represents the mathematical expectation of the prior signal-to-noise ratio difference; Z k(m-1) It refers to the evaluation of the labeling conditions;

[0055] X k(m) -Y k(m) is the a priori signal-to-noise ratio difference.

[0056] In addition, the estimated priori signal-to-noise ratio expression is substituted into the original minimization square error expression to obtain the denoising minimization square error expression as shown below:

[0057] Minimin J=a 2 k(m) ×[Z k(m-1) -Y k(m) ] 2 +[1-a k(m) ] 2 ×[Y k(m) -1] 2 ;

[0058] Where J refers to the objective function or cost function; X k(m) It refers to the estimated prior signal-to-noise ratio; Y k(m) Refers to setting the prior signal-to-noise ratio; Z k(m-1) refers to the historical prior signal-to-noise ratio; a k(m) refers to the noise reduction balance factor; k refers to the frequency band index; m refers to the speech frame index. Similarly, at this time, the prior signal-to-noise ratio X is set k(m) and noise reduction balance factor a k(m) is an unknown parameter.

[0059] The noise reduction minimization error square expression is derivatized, that is, J is derivatized, and the noise reduction balance factor expression can be obtained as shown below:

[0060]

[0061] Among them, Y k(m) Refers to setting the prior signal-to-noise ratio; Z k(m-1) refers to the historical prior signal-to-noise ratio; a k(m) refers to the noise reduction balance factor; k refers to the frequency band index; m refers to the speech frame index.

[0062] S104: Based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, and according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression, determine the target noise reduction balance factor corresponding to the target speech frame.

[0063] In the present invention, the relationship between the target a posteriori signal-to-noise ratio and the set a priori signal-to-noise ratio may be set to be an equivalent relationship.

[0064] The target a posteriori signal-to-noise ratio can be obtained based on the current a posteriori signal-to-noise ratio corresponding to the target speech frame. The target a posteriori signal-to-noise ratio is obtained as follows:

[0065]

[0066] in, refers to the target posterior signal-to-noise ratio; γ k(m) refers to the current a posteriori signal-to-noise ratio; k refers to the frequency band index; and m refers to the speech frame index.

[0067] The current a posteriori signal-to-noise ratio can be obtained through the noise estimate and the original audio signal as follows:

[0068]

[0069] Among them, γ k(m) refers to the current a posteriori signal-to-noise ratio; λd k(m) refers to the noise estimate; M k(m) refers to the original audio signal; k refers to the frequency band index; m refers to the speech frame index.

[0070] Exemplarily, the set a priori signal-to-noise ratio in the noise reduction balance factor expression is replaced by the target a posteriori signal-to-noise ratio corresponding to the target speech frame; and the target noise reduction balance factor corresponding to the target speech frame is determined according to the target a posteriori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

[0071] After replacing the set prior signal-to-noise ratio with the target posterior signal-to-noise ratio, the noise reduction balance factor expression is as follows:

[0072]

[0073] in, refers to the target posterior signal-to-noise ratio; Z k(m-1) refers to the historical prior signal-to-noise ratio; a k(m) refers to the noise reduction balance factor; k refers to the frequency band index; m refers to the speech frame index.

[0074] When the target posterior signal-to-noise ratio and the historical prior signal-to-noise ratio are known, the target noise reduction balance factor can be determined by the above replaced noise reduction balance factor expression.

[0075] Exemplarily, determining the target noise reduction balance factor corresponding to the target speech frame according to the historical priori signal-to-noise ratio and the noise reduction balance factor expression includes:

[0076] Substituting the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio into the noise reduction balance factor expression, determining the noise reduction balance factor corresponding to the target speech frame; comparing the noise reduction balance factor with a preset noise reduction factor threshold; when the noise reduction balance factor is less than or equal to the preset noise reduction factor threshold, determining the preset noise reduction factor threshold as the target noise reduction balance factor; when the noise reduction balance factor is greater than the preset noise reduction factor threshold, determining the noise reduction balance factor as the target noise reduction balance factor.

[0077] The noise reduction balance factor may refer to a balance factor directly output by the noise reduction balance factor expression according to known parameters. The target noise reduction balance factor is a balance factor comprehensively determined based on the noise reduction balance factor and a preset noise reduction factor threshold.

[0078] In the present invention, when the balance factor is too low, music noise is mixed in the noise-reduced speech frame, which will also affect the noise reduction effect. Therefore, the present invention sets a preset noise reduction factor threshold to prevent the balance factor from being too low. Specifically, the obtained noise reduction balance factor and the preset noise reduction factor threshold are compared. When the noise reduction balance factor is less than or equal to the preset noise reduction factor threshold, the preset noise reduction factor threshold is determined as the target noise reduction balance factor; when the noise reduction balance factor is greater than the preset noise reduction factor threshold, the noise reduction balance factor is determined as the target noise reduction balance factor, thereby preventing the balance factor from being too low, and further improving the quality of audio signal processing.

[0079] The technical solution of the embodiment of the present invention is to obtain a target speech frame by de-framing the obtained original audio signal. A set a priori signal-to-noise ratio corresponding to the target speech frame is set, and a historical a priori signal-to-noise ratio of a frame before the target speech frame is determined. According to the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio, a noise reduction balance factor expression is constructed. Using the relationship between the target posterior signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, the target posterior signal-to-noise ratio and the historical a priori signal-to-noise ratio are input into the noise reduction balance factor expression, so that the target noise reduction balance factor corresponding to the target speech frame can be accurately determined, excessive suppression can be avoided, and the noise reduction effect can be improved.

[0080] Embodiment 2

[0081] Figure 2 This is a flow chart of a method for determining a noise reduction balance factor provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment can also determine a new estimated priori signal-to-noise ratio according to the target noise reduction balance factor. Figure 2 As shown, the method includes:

[0082] S201: Perform frame de-framing processing on the obtained original audio signal to obtain a target speech frame.

[0083] S202: Setting a set priori signal-to-noise ratio corresponding to the target speech frame, and determining a historical priori signal-to-noise ratio of a frame previous to the target speech frame.

[0084] S203: Determine a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio.

[0085] S204: Based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, and according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression, determine the target noise reduction balance factor corresponding to the target speech frame.

[0086] S205: Determine a target a priori signal-to-noise ratio corresponding to the target speech frame according to the target noise reduction balance factor, the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

[0087] The target a priori signal-to-noise ratio may refer to a priori signal-to-noise ratio corresponding to a target speech frame.

[0088] Specifically, based on the relationship between the target a posteriori signal-to-noise ratio and the set a priori signal-to-noise ratio, the target a posteriori signal-to-noise ratio replaces the set a priori signal-to-noise ratio. The target noise reduction balance factor, the historical a priori signal-to-noise ratio and the target a posteriori signal-to-noise ratio are input into the estimated a priori signal-to-noise ratio expression, and the output result is obtained according to the output of the estimated a priori signal-to-noise ratio expression, and the output result is comprehensively sorted to obtain the target a priori signal-to-noise ratio.

[0089] Exemplarily, determining the target priori signal-noise ratio corresponding to the next frame according to the target noise reduction balance factor and the set priori signal-noise ratio includes: substituting the target noise reduction balance factor, the set priori signal-noise ratio and the historical priori signal-noise ratio into an estimated priori signal-noise ratio expression to determine the estimated priori signal-noise ratio corresponding to the next frame; comparing the estimated priori signal-noise ratio with a priori signal-noise ratio threshold; when the estimated priori signal-noise ratio is less than the priori signal-noise ratio threshold, updating the target noise reduction balance factor based on a preset factor coefficient, and re-determining the target priori signal-noise ratio according to the updated target noise reduction balance factor; when the estimated priori signal-noise ratio is greater than or equal to the priori signal-noise ratio threshold, determining the estimated priori signal-noise ratio as the target priori signal-noise ratio.

[0090] The updated target noise reduction balance factor refers to a balance factor in which the target noise reduction balance factor is updated based on a preset factor coefficient.

[0091] In the present invention, when the estimation value of the prior signal-to-noise ratio by the decision-directed method is too low, it is easy to cause excessive suppression of the audio signal, affecting the signal processing quality. The present invention can update the target noise reduction balance factor to improve the prior signal-to-noise ratio.

[0092] Specifically, the estimated prior signal-to-noise ratio is compared with the prior signal-to-noise ratio threshold. When the estimated prior signal-to-noise ratio is less than the prior signal-to-noise ratio threshold, the target noise reduction balance factor is updated by a preset factor coefficient to obtain an updated target noise reduction balance factor, so as to re-determine the target prior signal-to-noise ratio according to known parameters. When the estimated prior signal-to-noise ratio is greater than or equal to the prior signal-to-noise ratio threshold, there is no need to redetermine, and the estimated prior signal-to-noise ratio is directly determined as the target prior signal-to-noise ratio. Different noise reduction balance factors are adopted for different levels of estimated prior signal-to-noise ratios to avoid excessive suppression affecting the signal processing quality.

[0093] The technical solution of the embodiment of the present invention can accurately calculate the target priori signal-to-noise ratio of the target speech frame estimation by setting the priori signal-to-noise ratio and the historical priori signal-to-noise ratio according to the target noise reduction balance factor, so as to quickly converge to the final value through the target priori signal-to-noise ratio, respond quickly to the processing of the signal, and avoid suppressing the signal transition. At the same time, when the determined priori signal-to-noise ratio is small, the estimated priori signal-to-noise ratio is updated again using the preset factor coefficient to avoid excessive suppression and improve the noise reduction effect.

[0094] Embodiment 3

[0095] Figure 3 This is a schematic diagram of the structure of a device for determining a noise reduction balance factor provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0096] The target speech frame determination module 301 is used to perform frame de-framing processing on the obtained original audio signal to obtain the target speech frame;

[0097] A priori signal-to-noise ratio determination module 302 is used to set a set priori signal-to-noise ratio corresponding to the target speech frame, and determine a historical priori signal-to-noise ratio of a frame before the target speech frame;

[0098] A factor expression determination module 303, configured to determine a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio;

[0099] The noise reduction balance factor determination module 304 is used to determine the target noise reduction balance factor corresponding to the target speech frame based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression.

[0100] The technical solution of the embodiment of the present invention is to obtain a target speech frame by de-framing the obtained original audio signal. A set a priori signal-to-noise ratio corresponding to the target speech frame is set, and a historical a priori signal-to-noise ratio of a frame before the target speech frame is determined. According to the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio, a noise reduction balance factor expression is constructed. Using the relationship between the target posterior signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, the target posterior signal-to-noise ratio and the historical a priori signal-to-noise ratio are input into the noise reduction balance factor expression, so that the target noise reduction balance factor corresponding to the target speech frame can be accurately determined, excessive suppression can be avoided, and the noise reduction effect can be improved.

[0101] Optionally, the noise reduction balance factor determination module 304 is specifically configured to:

[0102] Substituting the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio into the noise reduction balance factor expression to determine the noise reduction balance factor corresponding to the target speech frame;

[0103] Comparing the noise reduction balance factor with a preset noise reduction factor threshold;

[0104] When the noise reduction balance factor is less than or equal to the preset noise reduction factor threshold, determining the preset noise reduction factor threshold as the target noise reduction balance factor;

[0105] When the noise reduction balance factor is greater than the preset noise reduction factor threshold, the noise reduction balance factor is determined as a target noise reduction balance factor.

[0106] Optionally, the factor expression determination module 303 includes:

[0107] A priori expression determination unit, used to construct an estimated priori signal-to-noise ratio expression corresponding to the target speech frame according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio;

[0108] An error square expression determination unit, used for constructing a noise reduction minimization error square expression according to the historical priori signal-to-noise ratio, the estimated priori signal-to-noise ratio expression and the set priori signal-to-noise ratio;

[0109] The factor expression determination unit is used to determine the noise reduction balance factor expression based on the noise reduction minimization error square expression.

[0110] Optionally, the error square expression determination unit is specifically used to:

[0111] Determine the historical priori signal-to-noise ratio as an evaluation annotation condition of a noise reduction minimization error square expression;

[0112] Determine the difference expression between the estimated a priori signal-to-noise ratio expression and the set a priori signal-to-noise ratio as the a priori signal-to-noise ratio difference of the noise reduction minimization error square expression;

[0113] According to the evaluation labeling condition and the priori signal-to-noise ratio difference, a noise reduction minimization error square expression is constructed.

[0114] Optionally, the device further comprises:

[0115] The a priori signal-to-noise ratio determination module is used to determine the target a priori signal-to-noise ratio corresponding to the target speech frame according to the target noise reduction balance factor, the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

[0116] Optionally, the a priori signal-to-noise ratio determination module is specifically used to:

[0117] Substituting the target noise reduction balance factor, the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio into an estimated priori signal-to-noise ratio expression to determine the estimated priori signal-to-noise ratio corresponding to the target speech frame;

[0118] Comparing the estimated a priori signal-to-noise ratio with a priori signal-to-noise ratio threshold;

[0119] When the estimated priori signal-to-noise ratio is less than the priori signal-to-noise ratio threshold, the target noise reduction balance factor is updated based on a preset factor coefficient, and the target priori signal-to-noise ratio is re-determined according to the updated target noise reduction balance factor;

[0120] When the estimated a priori signal-to-noise ratio is greater than or equal to the a priori signal-to-noise ratio threshold, the estimated a priori signal-to-noise ratio is determined as a target a priori signal-to-noise ratio.

[0121] Optionally, the noise reduction balance factor determination module 304 is specifically configured to:

[0122] Replacing the set a priori signal-to-noise ratio in the noise reduction balance factor expression with the target a posteriori signal-to-noise ratio corresponding to the target speech frame;

[0123] A target noise reduction balance factor corresponding to the target speech frame is determined according to the target a posteriori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

[0124] The noise reduction balance factor determination device provided in the embodiment of the present invention can execute the noise reduction balance factor determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0125] Embodiment 4

[0126] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0127] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0128] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0129] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 performs the various methods and processes described above, such as the method for determining the noise reduction balance factor.

[0130] In some embodiments, the method noise reduction balance factor determination may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method noise reduction balance factor determination described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method noise reduction balance factor determination in any other suitable manner (e.g., by means of firmware).

[0131] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0132] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0133] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0134] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0135] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0136] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0137] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0138] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining a noise reduction balance factor, characterized in that: include: De-framing the obtained original audio signal to obtain a target speech frame; Setting a set priori signal-to-noise ratio corresponding to the target speech frame, and determining a historical priori signal-to-noise ratio of a frame before the target speech frame; Determining a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio; Based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, the target noise reduction balance factor corresponding to the target speech frame is determined according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression.

2. The method according to claim 1, characterized in that The step of determining the target noise reduction balance factor corresponding to the target speech frame according to the historical priori signal-to-noise ratio and the noise reduction balance factor expression includes: Substituting the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio into the noise reduction balance factor expression to determine the noise reduction balance factor corresponding to the target speech frame; Comparing the noise reduction balance factor with a preset noise reduction factor threshold; When the noise reduction balance factor is less than or equal to the preset noise reduction factor threshold, determining the preset noise reduction factor threshold as the target noise reduction balance factor; When the noise reduction balance factor is greater than the preset noise reduction factor threshold, the noise reduction balance factor is determined as a target noise reduction balance factor.

3. The method according to claim 1, characterized in that: The step of determining the noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio includes: Constructing an estimated priori signal-to-noise ratio expression corresponding to the target speech frame according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio; Constructing a noise reduction minimization error square expression according to the historical priori signal-to-noise ratio, the estimated priori signal-to-noise ratio expression and the set priori signal-to-noise ratio; Based on the noise reduction minimization error square expression, a noise reduction balance factor expression is determined.

4. The method according to claim 3, characterized in that The constructing of a noise reduction minimization error square expression according to the historical priori signal-to-noise ratio, the estimated priori signal-to-noise ratio expression and the set priori signal-to-noise ratio comprises: Determine the historical priori signal-to-noise ratio as an evaluation annotation condition for a noise reduction minimization error square expression; Determine the difference expression between the estimated a priori signal-to-noise ratio expression and the set a priori signal-to-noise ratio as the a priori signal-to-noise ratio difference of the noise reduction minimization error square expression; According to the evaluation labeling condition and the priori signal-to-noise ratio difference, a noise reduction minimization error square expression is constructed.

5. The method according to claim 1, characterized in that After determining the target noise reduction balance factor corresponding to the target speech frame, the method further includes: A target a priori signal-to-noise ratio corresponding to the target speech frame is determined according to the target noise reduction balance factor, the set a priori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

6. The method according to claim 5, characterized in that The step of determining a target a priori signal-to-noise ratio corresponding to the target speech frame according to the target noise reduction balance factor and the set a priori signal-to-noise ratio includes: Substituting the target noise reduction balance factor, the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio into an estimated priori signal-to-noise ratio expression to determine the estimated priori signal-to-noise ratio corresponding to the target speech frame; Comparing the estimated a priori signal-to-noise ratio with a priori signal-to-noise ratio threshold; When the estimated priori signal-to-noise ratio is less than the priori signal-to-noise ratio threshold, the target noise reduction balance factor is updated based on a preset factor coefficient, and the target priori signal-to-noise ratio is re-determined according to the updated target noise reduction balance factor; When the estimated a priori signal-to-noise ratio is greater than or equal to the a priori signal-to-noise ratio threshold, the estimated a priori signal-to-noise ratio is determined as a target a priori signal-to-noise ratio.

7. The method according to claim 1, characterized in that The determining, based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, of the target noise reduction balance factor corresponding to the target speech frame according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression, comprises: Replacing the set a priori signal-to-noise ratio in the noise reduction balance factor expression with the target a posteriori signal-to-noise ratio corresponding to the target speech frame; A target noise reduction balance factor corresponding to the target speech frame is determined according to the target a posteriori signal-to-noise ratio and the historical a priori signal-to-noise ratio.

8. A device for determining a noise reduction balance factor, characterized in that: include: A target speech frame determination module is used to perform frame de-framing processing on the obtained original audio signal to obtain a target speech frame; A priori signal-to-noise ratio determination module, used to set a set priori signal-to-noise ratio corresponding to the target speech frame, and determine a historical priori signal-to-noise ratio of a frame before the target speech frame; A factor expression determination module, used to determine a noise reduction balance factor expression according to the set priori signal-to-noise ratio and the historical priori signal-to-noise ratio; The noise reduction balance factor determination module is used to determine the target noise reduction balance factor corresponding to the target speech frame based on the relationship between the target a posteriori signal-to-noise ratio corresponding to the target speech frame and the set a priori signal-to-noise ratio, according to the historical a priori signal-to-noise ratio and the noise reduction balance factor expression.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the noise reduction balance factor determination method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a noise reduction balance factor according to any one of claims 1 to 7 when executed.