Audio noise reduction method and device

Through the combination of digital gain and driving gain in the audio noise reduction method, combined with peak detection and bias compensation, the power consumption and area increase problems caused by noise suppression in the prior art are solved, and high signal-to-noise ratio and low noise output are achieved. At the same time, the generation of POP sound is avoided.

CN114387988BActive Publication Date: 2025-01-10KTMICRO ELECTRONICS
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210060939.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-19
Publication Date
2025-01-10
Estimated Expiration
2042-01-19

Smart Images

  • Figure CN114387988B_ABST
    Figure CN114387988B_ABST
Patent Text Reader

Abstract

The present application provides an audio noise reduction method and device, the method comprising: obtaining an audio digital signal; performing bias compensation on an audio array signal according to a first compensation value to obtain a first compensation signal; performing digital gain on the first compensation signal according to a first gain value to obtain a digital gain signal; performing digital-to-analog conversion on the digital gain signal according to a preset conversion factor to obtain an audio analog signal; performing bias compensation on the audio analog signal according to a second compensation value to obtain a second compensation signal; performing driving gain on the second compensation signal according to the second gain value to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one. It can be seen that the implementation of this embodiment can suppress noise without significantly increasing the chip area and chip power consumption, thereby improving the output signal-to-noise ratio of the audio; at the same time, it can also solve the problem of easy generation of POP sound in the existing noise reduction structure and noise reduction method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing technology, and in particular to an audio noise reduction method and device. Background Art

[0002] In the field of audio processing, it is very common to process noise. As we all know, the main factors affecting noise are thermal noise and flicker noise of analog circuits. Among them, the common approach to suppress thermal noise is to increase the drive current, while the approach to suppress flicker noise is to increase the size of related analog circuit devices. Obviously, the former will increase the power consumption of the chip, and the latter will increase the chip area. When both chip power consumption and cost are required, the above method will not be a good choice. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an audio noise reduction method and device, which can suppress noise without significantly increasing the chip area and chip power consumption, thereby improving the output signal-to-noise ratio of the audio; at the same time, it can also achieve gain-independent coverage compensation by compensating the bias voltage of two different nodes, thereby solving the problem of POP sound that is easily generated in existing noise reduction structures and noise reduction methods.

[0004] A first aspect of an embodiment of the present application provides an audio noise reduction method, comprising:

[0005] Acquire audio digital signal;

[0006] According to the first gain value, digitally gain the audio digital signal to obtain a digital gain signal;

[0007] According to a preset conversion factor, the digital gain signal is converted into a digital-to-analog signal to obtain an audio analog signal;

[0008] According to the second gain value, the audio analog signal is driven to gain to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one.

[0009] Furthermore, the first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

[0010] Further, after the step of acquiring the audio digital signal and before the step of performing digital gain on the audio digital signal according to the first gain value to obtain a digital gain signal, the method further includes:

[0011] Detecting the peak value of the audio digital signal within a preset time window to obtain a peak detection result;

[0012] In a preset peak gain table, a first gain value and a second gain value corresponding to the peak detection result are matched.

[0013] Furthermore, the peak gain table includes a plurality of continuous peak intervals, and each peak interval corresponds to a first gain value and a second gain value.

[0014] Furthermore, the step of performing digital gain on the audio digital signal according to the first gain value to obtain a digital gain signal comprises:

[0015] According to the first compensation value, offset compensation is performed on the audio array signal to obtain a first compensation signal;

[0016] According to the first gain value, the first compensation signal is digitally gained to obtain a digital gain signal.

[0017] Furthermore, the step of driving the audio analog signal with a gain according to the second gain value to obtain an audio output signal includes:

[0018] According to the second compensation value, the audio analog signal is offset compensated to obtain a second compensation signal;

[0019] According to the second gain value, the second compensation signal is driven to increase the gain to obtain an audio output signal.

[0020] A second aspect of an embodiment of the present application provides an audio noise reduction device, the audio noise reduction device comprising:

[0021] An acquisition unit, used for acquiring an audio digital signal;

[0022] A digital gain unit, configured to perform digital gain on the audio digital signal according to a first gain value to obtain a digital gain signal;

[0023] A digital-to-analog conversion unit, configured to perform digital-to-analog conversion on the digital gain signal according to a preset conversion factor to obtain an audio analog signal;

[0024] A driving gain unit is used to perform driving gain on the audio analog signal according to a second gain value to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one.

[0025] Furthermore, the first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

[0026] Furthermore, the audio noise reduction device also includes:

[0027] A peak detection unit, used to detect the peak value of the audio digital signal within a preset time window and obtain a peak detection result;

[0028] The matching unit is used to match the first gain value and the second gain value corresponding to the peak detection result in a preset peak gain table.

[0029] Furthermore, the peak gain table includes a plurality of continuous peak intervals, and each peak interval corresponds to a first gain value and a second gain value.

[0030] Furthermore, the audio noise reduction device also includes:

[0031] A first compensation unit, configured to perform offset compensation on the audio array signal according to a first compensation value to obtain a first compensation signal;

[0032] The digital gain unit is specifically configured to perform digital gain on the first compensation signal according to a first gain value to obtain a digital gain signal.

[0033] Furthermore, the audio noise reduction device also includes:

[0034] A second compensation unit, configured to perform offset compensation on the audio analog signal according to a second compensation value to obtain a second compensation signal;

[0035] The driving gain unit is specifically used to perform driving gain on the second compensation signal according to the second gain value to obtain an audio output signal.

[0036] A third aspect of an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the audio noise reduction method described in any one of the first aspects of the embodiments of the present application.

[0037] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium storing computer program instructions. When the computer program instructions are read and executed by a processor, the audio noise reduction method described in any one of the first aspects of the embodiment of the present application is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A flowchart of an audio noise reduction method provided in an embodiment of the present application;

[0040] Figure 2A schematic diagram of the structure of an audio noise reduction device provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of the implementation flow of an audio noise reduction method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0043] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0044] Example 1

[0045] Please see Figure 1 , Figure 1 A flowchart of an audio noise reduction method is provided for an embodiment of the present application. The audio noise reduction method includes:

[0046] S101: Acquire an audio digital signal.

[0047] S102: Detect a peak value of the audio digital signal within a preset time window to obtain a peak detection result.

[0048] In this embodiment, the method can perform peak value detection on each packet of digital signal data.

[0049] S103: Match the first gain value and the second gain value corresponding to the peak detection result in a preset peak gain table.

[0050] In this embodiment, the method can calculate the gain level to be applied at this time in the gain controller according to the peak value result detected within the set time window, and configure the gain value to the gain adjuster.

[0051] In this embodiment, the gain adjuster controls the digital gain and the driving gain simultaneously according to the gain configuration value, thereby achieving gain adjustment.

[0052] In this embodiment, the gain product of the first gain value and the second gain value is one.

[0053] In this embodiment, the product of the digital gain and the driving gain of any gear is always kept equal to one, thereby ensuring that the output amplitude of the audio digital signal remains unchanged.

[0054] In this embodiment, the first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

[0055] In this embodiment, the digital gain and the drive gain need to be adjusted synchronously to prevent a gain difference in the total gain over time, which affects the signal output amplitude.

[0056] In this embodiment, the peak gain table includes a plurality of consecutive peak intervals, and each peak interval corresponds to a first gain value and a second gain value.

[0057] In this embodiment, the method can divide the control interval for the input signal amplitude according to the gain gear situation in the hardware design, that is, if the signal amplitude falls within a certain interval, the corresponding gain gear needs to be used. As can be seen from the following peak gain table, when the signal amplitude Amp > -24 dBFS, gear 1 is used; when -26 dBFS < Amp ≤ -24 dBFS, gear 2 is used, and so on.

[0058] In addition, to prevent the problem of data overflow after applying gain to the digital signal caused by untimely switching of the input gear due to signal mutation, it should be used within the peak range where the peak amplitude of the useful signal multiplied by the maximum digital gain is distortion-free; for example, if the digital gain range is 0 to 20 dB, then the interval for implementing gain control is < -20 dBFS. For details, please refer to the following table.

[0059] Digital signal peak value (dBFS) <![CDATA[Digital gain G dig (dB)]]> <![CDATA[Driver gain G Dri (dB)]]> Noise level (dBV) -24<Amp 0 0 -105 -26<Amp≤-24 2 -2 -107 -28<Amp≤-26 4 -4 -108 -30<Amp≤-28 6 -6 -110 -32<Amp≤-30 8 -8 -111 -34<Amp≤-32 10 -10 -112 -36<Amp≤-34 12 -12 -113 -38<Amp≤-36 14 -14 -114 -40<Amp≤-38 16 -16 -115 -42<Amp≤-40 18 -18 -116 Amp≤-42 20 -20 -116

[0060] It can be seen that this method can achieve a smooth transition of signal noise, thus avoiding the mutation of signal noise at the critical value of -42 dBFS, and further avoiding the impact on the user experience.

[0061] In this embodiment, digital-to-analog conversion uses a DAC (digital-to-analog converter).

[0062] Implementing this implementation method can provide an automatic gain control method, which can adjust the analog and digital gains in real time according to the different amplitudes of the DAC input signal, achieve a smooth transition of the noise amplitude, and thus can gradually adjust the signal amplitude through multiple gain control gears, and further ensure that the chip noise does not have a large mutation within the range of as large a useful signal amplitude as possible.

[0063] S104. According to the first compensation value, perform bias compensation on the audio array signal to obtain a first compensation signal.

[0064] In this embodiment, due to non-ideal factors in the processing and manufacturing of the DAC and Driver circuits, when the digital input is 0 after the chip is powered on, the analog output has a non-zero analog DC signal, that is, the existence of a DC offset voltage DC Offset; due to the existence of DC Offset, there will be voltage jumps at the moment of power-on and power-off, thereby generating POP sound, which is a harmful component. To solve this problem, digital compensation can be used.

[0065] In this embodiment, the first compensation value and the subsequent second compensation value are used to solve this technical problem.

[0066] In this embodiment, the first compensation value is V Comp1 , the second compensation value is V Comp2 .

[0067] S105 . Perform digital gain on the first compensation signal according to the first gain value to obtain a digital gain signal.

[0068] S106: Perform digital-to-analog conversion on the digital gain signal according to a preset conversion factor to obtain an audio analog signal.

[0069] S107: Perform offset compensation on the audio analog signal according to the second compensation value to obtain a second compensated signal.

[0070] In this embodiment, the method uses the second compensation value V Comp2 The DAC output has its offset voltage V DcDac compensation, and then through the first compensation value V Comp1 To achieve the self-offset voltage V after the driver circuit gain DcDri The compensation relationship is expressed by the formula:

[0071] V DcOut =(V Comp2 *C+V DcDac )*G Dri +(V Comp1 *G dig *C*G Dri +V DcDri );

[0072] According to the description of the compensation principle, ideally there are the following conditions:

[0073] V Comp2 *C+V DcDac =0:

[0074] G dig *G Dri =1:

[0075] V Comp1 *C+VDcDri =0:

[0076] Therefore, theoretically, given a known V DcDac and V DcDri In the case of V DcQut Achieve gain-independent override compensation.

[0077] Among them, V DcDac and V DcDri The test can be used as follows:

[0078] Step 1: Keep the DAC digital input at 0 and the compensation value V Comp1 and V Comp2 All are 0, when the Driver gain position is G Dri1 Test the DCOffset voltage V at the Driver output DcOut1 ;

[0079] Step 2: Keep the DAC digital input at 0 and the compensation value V Comp1 and V Comp2 All are 0, when the Driver gain position is G Dri2 Test the DCOffset voltage V at the Driver output DcOut2 ;

[0080] According to the circuit structure, we can get:

[0081] V DcOut1 =V DcDac *G Dri1 +V DcDri ;

[0082] V DcOut2 =V DcDac *G Dri2 +V DcDri ;

[0083] Among them, V DcOut1 , V DcOut2 , G Dri1 , G Dri2 All are known, and solving the equations can give V DcDac and V DcDrri , and then according to the DAC conversion factor C, the corresponding compensation value V can be obtained Comp1 and V Comp2 .

[0084] By implementing this embodiment, a DC Offset compensation method can be proposed to solve the problem of output DC Offset variation. Specifically, the method uses two-point calibration to implement a gain-independent overlay compensation method. Specifically, the method only measures the DC Offset at the 0dB gain and minimum gain point of the Driver, so that the calculated compensation value can be applied to DC Offset compensation at other gain points.

[0085] S108. According to the second gain value, drive the second compensation signal to obtain an audio output signal.

[0086] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram showing an implementation flow of an audio noise reduction method. Dig A digital gain may be performed first, and the gain uses a first gain value, and the first gain value is G dig ; Then, it is sent to the DAC to convert it into an analog signal S Dac , the conversion factor is C; then, the driving circuit reacts to the analog signal S Dac Drive gain, get the audio output signal S Out , the gain uses a second gain value, the second gain value is G Dri Specifically, the formula in this process can be expressed as follows:

[0087] The expression of audio output signal: S Out =S Dig *G dig *C*G Dri ;

[0088] Output noise expression: N Out =N DAC *G Dri +N Dri ;

[0089] The expression of signal-to-noise ratio is:

[0090] The expression for the ratio of noise to signal is:

[0091] Under condition G dig *G Dri =0dB, then the above formula becomes:

[0092]

[0093] In S Dig If G Dri The smaller the NSR, the larger the SNR. The limit value is:

[0094]

[0095] In fact, the noise of the driving circuit itself N Dri Often than N DAC The digital gain G is smaller than 10dB, and the audio digital signal does not change. dig and drive gain G Dri Achieve SNR performance that is more than 10dB higher than traditional audio decoder architecture.

[0096] at the same time, Figure 3 The relevant contents of DC Offset compensation are also shown in FIG. 5 . For detailed explanation, please refer to the description in step S107 , which will not be described here.

[0097] By implementing this embodiment, it is possible to utilize the combined control of digital gain and driver circuit (Driver) gain to realize a circuit structure that reduces the noise of the DAC output circuit (i.e., a noise reduction circuit structure). While maintaining the output amplitude of the audio digital signal unchanged, the output noise at this time is significantly reduced, thereby improving the signal-to-noise ratio.

[0098] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.

[0099] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.

[0100] It can be seen that the implementation of the audio noise reduction method described in this embodiment can reduce the noise of the encoder output signal and improve the signal-to-noise ratio. Specifically, the method can be used to reduce output noise. Among them, the method achieves the noise reduction goal through gain control, so that the method does not need to significantly increase the chip area and chip power consumption. At the same time, the method can also pre-compensate the DC Offset factor that may produce POP sound. It can be seen that the implementation of this implementation method can enhance the practicality of audio noise reduction and expand the application of audio noise reduction; for audio fields with relatively high signal-to-noise ratio requirements, this method can also greatly reduce the difficulty of improving product noise indicators and achieve the effect of shortening the product development cycle.

[0101] Example 2

[0102] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of an audio noise reduction device provided in an embodiment of the present application. Figure 2 As shown, the audio noise reduction device comprises:

[0103] An acquisition unit 210, configured to acquire an audio digital signal;

[0104] The digital gain unit 220 is used to perform digital gain on the audio digital signal according to the first gain value to obtain a digital gain signal;

[0105] The digital-to-analog conversion unit 230 is used to perform digital-to-analog conversion on the digital gain signal according to a preset conversion factor to obtain an audio analog signal;

[0106] The driving gain unit 240 is used to perform driving gain on the audio analog signal according to the second gain value to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one.

[0107] As an optional implementation, the first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

[0108] As an optional implementation, the audio noise reduction device further includes:

[0109] The peak detection unit 250 is used to detect the peak value of the audio digital signal within a preset time window and obtain a peak detection result;

[0110] The matching unit 260 is used to match the first gain value and the second gain value corresponding to the peak detection result in a preset peak gain table.

[0111] As an optional implementation manner, the peak gain table includes a plurality of continuous peak intervals, and each peak interval corresponds to a first gain value and a second gain value.

[0112] As an optional implementation, the audio noise reduction device further includes:

[0113] A first compensation unit 270, configured to perform offset compensation on the audio array signal according to a first compensation value to obtain a first compensation signal;

[0114] The digital gain unit 220 is specifically configured to perform digital gain on the first compensation signal according to the first gain value to obtain a digital gain signal.

[0115] As an optional implementation, the audio noise reduction device further includes:

[0116] A second compensation unit 280, configured to perform offset compensation on the audio analog signal according to a second compensation value to obtain a second compensation signal;

[0117] The driving gain unit 240 is specifically configured to perform driving gain on the second compensation signal according to the second gain value to obtain an audio output signal.

[0118] In the embodiment of the present application, the explanation of the audio noise reduction device can refer to the description in Embodiment 1, and no further elaboration will be given in this embodiment.

[0119] It can be seen that the implementation of the audio noise reduction device described in this embodiment can reduce the noise of the encoder output signal and improve the signal-to-noise ratio. Specifically, the method can be used to reduce the output noise. Among them, the method achieves the noise reduction goal through gain control, so that the method does not need to significantly increase the chip area and chip power consumption. At the same time, the method can also pre-compensate the DC Offset factor that may produce POP sound. It can be seen that the implementation of this implementation method can enhance the practicality of audio noise reduction and expand the application of audio noise reduction; for audio fields with relatively high signal-to-noise ratio requirements, this method can also greatly reduce the difficulty of improving product noise indicators and achieve the effect of shortening the product development cycle.

[0120] An embodiment of the present application provides an electronic device, including a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the audio noise reduction method in Embodiment 1 of the present application.

[0121] An embodiment of the present application provides a computer-readable storage medium storing computer program instructions. When the computer program instructions are read and executed by a processor, the audio noise reduction method in Embodiment 1 of the present application is executed.

[0122] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0123] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0124] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0125] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0127] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. An audio noise reduction method, characterized in that: include: Acquire audio digital signal; According to the first gain value, digitally gain the audio digital signal to obtain a digital gain signal; According to a preset conversion factor, the digital gain signal is converted into a digital-to-analog signal to obtain an audio analog signal; According to the second gain value, the audio analog signal is driven to gain to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one; The step of performing digital gain on the audio digital signal according to the first gain value to obtain a digital gain signal comprises: According to the first compensation value, offset compensation is performed on the audio digital signal to obtain a first compensation signal; According to a first gain value, digitally gain the first compensation signal to obtain a digital gain signal; The step of driving the audio analog signal for gain according to the second gain value to obtain an audio output signal comprises: According to the second compensation value, the audio analog signal is offset compensated to obtain a second compensation signal; According to the second gain value, the second compensation signal is driven to increase the gain to obtain an audio output signal.

2. The audio noise reduction method according to claim 1, characterized in that: The first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

3. The audio noise reduction method according to claim 1, characterized in that: After the step of acquiring the audio digital signal and before the step of performing digital gain on the audio digital signal according to the first gain value to obtain a digital gain signal, the method further includes: Detecting the peak value of the audio digital signal within a preset time window to obtain a peak detection result; In a preset peak gain table, a first gain value and a second gain value corresponding to the peak detection result are matched.

4. The audio noise reduction method according to claim 3, characterized in that: The peak gain table includes a plurality of continuous peak intervals, and each peak interval corresponds to a first gain value and a second gain value.

5. An audio noise reduction device, characterized in that: The audio noise reduction device comprises: An acquisition unit, used for acquiring an audio digital signal; A digital gain unit, configured to perform digital gain on the audio digital signal according to a first gain value to obtain a digital gain signal; A digital-to-analog conversion unit, configured to perform digital-to-analog conversion on the digital gain signal according to a preset conversion factor to obtain an audio analog signal; A driving gain unit, configured to perform driving gain on the audio analog signal according to a second gain value to obtain an audio output signal; wherein the gain product of the first gain value and the second gain value is one; Wherein, the audio noise reduction device further includes: A first compensation unit, configured to perform offset compensation on the audio digital signal according to a first compensation value to obtain a first compensation signal; The digital gain unit is specifically used to perform digital gain on the first compensation signal according to the first gain value to obtain a digital gain signal; Wherein, the audio noise reduction device further includes: A second compensation unit, configured to perform offset compensation on the audio analog signal according to a second compensation value to obtain a second compensation signal; The driving gain unit is specifically used to perform driving gain on the second compensation signal according to the second gain value to obtain an audio output signal.

6. The audio noise reduction device according to claim 5, characterized in that: The first gain value is zero gain or positive gain, and the second gain value is zero gain or negative gain.

7. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the audio noise reduction method according to any one of claims 1 to 4.

8. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the audio noise reduction method according to any one of claims 1 to 4 is executed.

Citation Information

Patent Citations

  • Reducing audio artifacts in a system for enhancing dynamic range of audio signal path

    CN105282655A

  • Audio power amplifier and gain control circuit and method thereof

    CN110212871A

  • Audio output method and device

    CN112804618A