CN110022514B - Method, device and system for reducing noise of audio signal and computer storage medium - Google Patents

Method, device and system for reducing noise of audio signal and computer storage medium Download PDF

Info

Publication number
CN110022514B
CN110022514B CN201910418065.0A CN201910418065A CN110022514B CN 110022514 B CN110022514 B CN 110022514B CN 201910418065 A CN201910418065 A CN 201910418065A CN 110022514 B CN110022514 B CN 110022514B
Authority
CN
China
Prior art keywords
signal
audio input
input signal
audio
envelope detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910418065.0A
Other languages
Chinese (zh)
Other versions
CN110022514A (en
Inventor
王建忠
高云辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wan District Communication Technology Co ltd
Original Assignee
Shenzhen Wan District Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wan District Communication Technology Co ltd filed Critical Shenzhen Wan District Communication Technology Co ltd
Priority to CN201910418065.0A priority Critical patent/CN110022514B/en
Publication of CN110022514A publication Critical patent/CN110022514A/en
Application granted granted Critical
Publication of CN110022514B publication Critical patent/CN110022514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a noise reduction method of an audio signal, which comprises the following steps: when an audio input signal is obtained, obtaining an envelope detection signal corresponding to the audio input signal through peak envelope detection; carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal; and outputting the audio input signal after amplitude adjustment processing. The invention also discloses a noise reduction device, a system and a computer storage medium of the audio signal, which can effectively filter the detection value corresponding to the amplitude of the noise component through peak envelope detection, and correspondingly adjust the amplitude of the audio input signal according to the change of the detection value of the envelope detection signal, thereby achieving the purpose of noise reduction and having better noise reduction effect.

Description

Method, device and system for reducing noise of audio signal and computer storage medium
Technical Field
The present invention relates to the field of audio processing technologies, and in particular, to a method, an apparatus, a system, and a computer storage medium for noise reduction of an audio signal.
Background
In the field of sound pickup devices, noise is often contained in sound collected by an audio pickup apparatus such as a microphone, and the components of the noise are generally complex, and the types of the noise are greatly different under different environments.
At present, methods of noise reduction processing can be classified into three categories: reducing noise sources, blocking noise propagation paths, and performing noise reduction processing on the device itself. However, reducing the noise source and blocking the noise propagation path are difficult to achieve, and the noise reduction process for the device itself has a low recognition accuracy when recognizing the noise signal, so the noise reduction effect of the existing noise reduction process methods is poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a noise reduction method, a noise reduction device, a noise reduction system and a computer storage medium for audio signals, which aim to effectively filter detection values corresponding to the amplitude of noise components through peak envelope detection and correspondingly adjust the amplitude of an audio input signal according to the change of the detection values of the envelope detection signals, so that the purpose of noise reduction is achieved, and the noise reduction effect is better.
In order to achieve the above object, the present invention provides a method for reducing noise of an audio signal, comprising the steps of:
when an audio input signal is obtained, obtaining an envelope detection signal corresponding to the audio input signal through peak envelope detection;
carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal;
and outputting the audio input signal after amplitude adjustment processing.
Optionally, the step of obtaining, when the audio input signal is obtained, an envelope detection signal corresponding to the audio input signal by peak envelope detection includes:
performing frequency division processing on the audio input signal to obtain a plurality of frequency band signals;
and respectively carrying out peak envelope detection processing on the frequency band signals to obtain a plurality of envelope detection signals.
Optionally, the step of performing frequency division processing on the audio input signal includes:
acquiring the frequency of the audio input signal;
acquiring a frequency interval corresponding to the frequency;
and dividing the audio input signal into a plurality of frequency band signals according to the frequency interval.
Optionally, before the step of performing amplitude adjustment processing on the audio input signal according to the detected value of the envelope detection signal, the method further includes:
determining a detection amplification factor and a detection limiting threshold according to a detection value of the envelope detection signal;
amplifying the detection value of the envelope detection signal according to the detection amplification factor;
and limiting the detection value of the amplified envelope detection signal according to the detection limiting threshold, and updating the detection value of the envelope detection signal according to the detection value of the envelope detection signal subjected to limiting processing.
Optionally, the step of performing amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal includes:
judging whether the detection value of the envelope detection signal is greater than a preset value;
when the detected value of the envelope detection signal is larger than the preset value, increasing the amplitude of a frequency band signal in the audio input signal, wherein the larger the difference value between the detected value of the envelope detection signal and the preset value is, the larger the increase amount of the amplitude of the frequency band signal is;
and when the detection value of the envelope detection signal is smaller than the preset value, reducing the amplitude of the frequency band signal, wherein the larger the difference value between the preset value and the detection value of the envelope detection signal is, the larger the reduction amount of the amplitude of the frequency band signal is.
Optionally, the step of performing amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal includes:
judging whether the detection value of the envelope detection signal changes within a preset time;
and when the detection value of the envelope detection signal is not changed within the preset time, adjusting the amplitude of the frequency band signal in the audio input signal to be the preset amplitude.
Optionally, the step of outputting the audio input signal after the amplitude adjustment processing includes:
performing frequency mixing processing on a plurality of frequency band signals in the audio input signal after amplitude adjustment processing to obtain an audio output signal;
outputting the audio output signal.
In addition, to achieve the above object, the present invention also provides an apparatus for reducing noise of an audio signal, including: a memory, a processor and a noise reduction program for an audio signal stored on the memory and executable on the processor, the noise reduction program for an audio signal implementing the steps of the method for noise reduction of an audio signal as described in any one of the above when executed by the processor.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a noise reduction program for an audio signal, which when executed by a processor, implements the steps of the noise reduction method for an audio signal as described in any one of the above.
Furthermore, in order to achieve the above object, the present invention further provides a noise reduction system for an audio signal, including a noise reduction program for an audio signal, for performing the steps of the noise reduction method for an audio signal as described in any one of the above.
According to the noise reduction method, the noise reduction device, the noise reduction system and the computer storage medium for the audio signal, when the audio input signal is obtained, an envelope detection signal corresponding to the audio input signal is obtained through peak envelope detection; carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal; and outputting the audio input signal after amplitude adjustment processing. According to the embodiment of the invention, the detection value corresponding to the amplitude of the noise component can be effectively filtered through peak envelope detection, the sensitivity of envelope detection to noise is reduced, the amplitude of the audio input signal is correspondingly adjusted according to the change of the detection value of the envelope detection signal, which is equivalent to the adjustment of the amplitude of the audio input signal according to the detection value corresponding to the effective sound, so that the purpose of noise reduction is achieved, and the noise reduction effect is better.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for denoising an audio signal according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S10 in FIG. 2;
FIG. 4 is a flowchart illustrating a method for denoising an audio signal according to another embodiment of the present invention;
fig. 5 is a detailed flowchart of step S20 in fig. 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
when an audio input signal is obtained, obtaining an envelope detection signal corresponding to the audio input signal through peak envelope detection;
carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal;
and outputting the audio input signal after amplitude adjustment processing.
In the prior art, methods for noise reduction processing can be divided into three categories: reducing noise sources, blocking noise propagation paths, and performing noise reduction processing on the device itself. However, reducing the noise source and blocking the noise propagation path are difficult to achieve, and the noise reduction process for the device itself has a low recognition accuracy when recognizing the noise signal, so the noise reduction effect of the existing noise reduction process methods is poor.
The invention provides a solution, which can effectively filter the detection value corresponding to the amplitude of the noise component through peak envelope detection, and correspondingly adjust the amplitude of the audio input signal according to the change of the detection value of the envelope detection signal, thereby achieving the purpose of noise reduction and having better noise reduction effect.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be an acoustic device, and can also be a terminal device with a microphone and a loudspeaker, such as a PC, a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may also be a storage device independent of the processor 1001, including at least one of an embedded storage device and a non-embedded storage device.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a noise reduction program of an audio signal.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a noise reduction program of the audio signal stored in the memory 1005 and perform the following operations:
when an audio input signal is obtained, obtaining an envelope detection signal corresponding to the audio input signal through peak envelope detection;
carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal;
and outputting the audio input signal after amplitude adjustment processing.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
performing frequency division processing on the audio input signal to obtain a plurality of frequency band signals;
and respectively carrying out peak envelope detection processing on the frequency band signals to obtain a plurality of envelope detection signals.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
acquiring the frequency of the audio input signal;
acquiring a frequency interval corresponding to the frequency;
and dividing the audio input signal into a plurality of frequency band signals according to the frequency interval.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
determining a detection amplification factor and a detection limiting threshold according to a detection value of the envelope detection signal;
amplifying the detection value of the envelope detection signal according to the detection amplification factor;
and limiting the detection value of the amplified envelope detection signal according to the detection limiting threshold, and updating the detection value of the envelope detection signal according to the detection value of the envelope detection signal subjected to limiting processing.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
judging whether the detection value of the envelope detection signal is greater than a preset value;
when the detected value of the envelope detection signal is larger than the preset value, increasing the amplitude of a frequency band signal in the audio input signal, wherein the larger the difference value between the detected value of the envelope detection signal and the preset value is, the larger the increase amount of the amplitude of the frequency band signal is;
and when the detection value of the envelope detection signal is smaller than the preset value, reducing the amplitude of the frequency band signal, wherein the larger the difference value between the preset value and the detection value of the envelope detection signal is, the larger the reduction amount of the amplitude of the frequency band signal is.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
judging whether the detection value of the envelope detection signal changes within a preset time;
and when the detection value of the envelope detection signal is not changed within the preset time, adjusting the amplitude of the frequency band signal in the audio input signal to be the preset amplitude.
Further, the processor 1001 may call a noise reduction program of the audio signal stored in the memory 1005, and also perform the following operations:
performing frequency mixing processing on a plurality of frequency band signals in the audio input signal after amplitude adjustment processing to obtain an audio output signal;
outputting the audio output signal.
Referring to fig. 2, in an embodiment, the method for reducing noise of an audio signal includes the following steps:
step S10, when an audio input signal is acquired, acquiring an envelope detection signal corresponding to the audio input signal by peak envelope detection;
in the present embodiment, the sound equipment generally converts various sounds in the environment into electrical signals, i.e., audio input signals, by means of a microphone or a microphone. In order to reduce noise in the audio input signal, various noise reduction processes may be performed on the audio input signal, including adjusting the amplitude of the audio input signal, and so on. However, after the noise reduction processing is performed on the audio input signal, the output sound changes to some extent, which results in distortion of the sound. Therefore, in order to minimize the influence of noise reduction processing on the output sound, the audio input signal may be divided into a plurality of frequency band signals, and noise reduction processing may be performed on each frequency band signal. Since the frequency of the effective sound is usually different from the frequency of the noise, the noise can be further reduced by adjusting the amplitude of each frequency band signal individually.
Prior to adjusting the amplitude of the audio input signal, peak envelope detection may be performed on the audio input signal to obtain an envelope detection signal, which in turn adjusts the amplitude of the audio input signal based on the detected value of the envelope detection signal. If the audio input signal is divided into a plurality of frequency band signals, peak envelope detection can be performed on each frequency band signal individually, so that an envelope detection signal corresponding to each frequency band signal is obtained, and amplitude adjustment is performed on each frequency band signal. In the audio input signal, the amplitude of the audio input signal is constantly changed along with time, the amplitude of the audio input signal is generally different at different time points, and the amplitude of noise is relatively stable, so that the envelope detection signal corresponding to the noise component can be filtered out through peak envelope detection, the envelope detection signal corresponding to effective sound is reserved to the maximum extent, and the envelope detection signal can represent the amplitude change of the signal, so that when the amplitude of the audio input signal is adjusted, the amplitude of the audio input signal is adjusted according to the amplitude change of the effective sound, the sensitivity to the noise component is reduced, and the purpose of reducing the noise is achieved. The envelope detection (envelope-demodulation) is a vibration signal processing method based on filtering detection, and mainly comprises peak envelope detection, mean envelope detection, quasi-peak envelope detection and the like. In the peak envelope detection, the detector connects peak points of a frequency band signal of a certain time length to obtain an upper (positive) line and a lower (negative) line, namely an upper envelope line and a lower envelope line. An envelope may be used to represent a curve of the amplitude variation of the frequency band signal. After the peak envelope detection, the detection value corresponding to most of noise is covered by the detection value corresponding to the effective sound, so that the noise reduction effect is realized. When carrying out peak value envelope and examining, time constant's setting is very important, and when time constant set up partially, can lead to the distortion of sound, when time constant set up partially, noise reduction effect then can be relatively poor, after a large amount of experiments, when time constant is 700 sampling periods, noise reduction effect is better, of course, in the use scene of difference, also can make corresponding adjustment to time constant to reach better noise reduction effect.
Step S20, performing amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal;
in this embodiment, when the envelope detection signal corresponding to the audio input signal is acquired, the amplitude of the audio input signal is adjusted according to the detection value of the envelope detection signal. The amplitude of the audio input signal is increased when the detection value of the envelope detection signal is large, and the amplitude of the audio input signal is decreased when the detection value of the envelope detection signal is small, wherein the detection value can be compared with a preset value to judge the magnitude of the detection value, and the larger the difference between the detection value and the preset value is, the larger the degree of increase or decrease of the amplitude of the audio input signal is. In addition, since the amplitude of the effective sound is usually constantly changing, and the amplitude of the noise component is relatively stable, if the detection value of the envelope detection signal changes little or no within a period of time, it can be considered that the corresponding audio input signal includes only the noise component, and the amplitude of the audio input signal can be reduced to a preset amplitude, which is generally 0, so as to achieve the purpose of noise reduction. If the audio input signal is divided into a plurality of frequency band signals, the amplitude adjustment process can be performed on each frequency band signal individually.
And step S30, outputting the audio input signal after the amplitude adjustment processing.
In this embodiment, after the amplitude adjustment processing, the audio input signal after the amplitude adjustment processing may be output in a conventional audio output manner, including digital-to-analog conversion of the signal. If the audio input signal is subjected to frequency division processing when the audio input signal is acquired, and the audio input signal is divided into a plurality of frequency band signals, before the audio input signal subjected to amplitude adjustment processing is output, frequency mixing processing can be performed on the frequency band signals subjected to amplitude adjustment processing, all the frequency band signals are recombined according to the time sequence to acquire a complete sound signal, and then the complete sound signal is output through a loudspeaker and other devices. Since the noise reduction processing of the sound is generally performed in real time when the user uses the audio device, a certain requirement is imposed on the processing speed of the processor to realize the dynamic noise reduction process of the sound signal and output the sound signal in time.
In the technical scheme disclosed in this embodiment, the detection value corresponding to the amplitude of the noise component can be effectively filtered by peak envelope detection, and the amplitude of the audio input signal is correspondingly adjusted according to the change of the detection value of the envelope detection signal, so that the purpose of noise reduction is achieved, and the noise reduction effect is better.
In another embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, the step S10 includes:
step S11, frequency division processing is carried out on the audio input signal to obtain a plurality of frequency band signals;
step S12, performing peak envelope detection processing on each of the plurality of frequency band signals to obtain a plurality of envelope detection signals.
In this embodiment, when the audio input signal is acquired, the frequency of the audio input signal may be acquired, different frequencies correspond to different frequency intervals, and the audio input signal is divided into a plurality of frequency band signals according to the different frequency intervals. In actual operation, the audio input signal may be frequency segmented by a band pass filter, wherein the band pass filter may allow a specific frequency band of waves to pass through and shield other frequency bands to implement the frequency division process. It should be noted that, in each frequency band signal, the frequency of the frequency band signal varies within a fixed frequency interval. The specific frequency range interval and the number of the divided frequency ranges can be adjusted according to the processing capacity of the processor, the more frequency ranges are generally divided, the better the noise reduction effect is, and the smaller the sound distortion is. For example, the frequency of the human voice is generally 20 hz to 20000 hz, and under the condition that the processing capability of the processor is sufficient, the frequency division processing is performed by taking one hz as a frequency interval, so that better noise reduction effect can be achieved when the amplitude of the frequency band signal is adjusted.
In the technical scheme disclosed in this embodiment, the audio input signal is subjected to frequency division processing to obtain a plurality of frequency band signals, and then the frequency band signals are subjected to peak envelope detection processing, and most of effective sounds and noises are divided into different frequency band signals through frequency variation of the audio input signal, so that the noise reduction effect is better when the amplitude of the audio input signal is adjusted, and the phenomenon of sound distortion can be reduced.
In another embodiment, as shown in fig. 4, on the basis of any one of the embodiments shown in fig. 2 to 3, before the step S20, the method further includes:
step S01, determining detection amplification factor and detection limit threshold value according to the detection value of the envelope detection signal;
in this embodiment, since the detected value of the envelope detection signal obtained after the peak envelope detection processing is performed on the band signal is attenuated to some extent, the step of performing the amplitude adjustment processing on the audio input signal based on the detected value of the envelope detection signal can be performed by performing amplification processing, limiting processing, and the like on the detected value of the envelope detection signal after the peak envelope detection processing, and using the detected value of the envelope detection signal after the processing as the detected value of the original envelope detection signal. If the audio input signal is divided into a plurality of band signals, amplification processing, limitation processing, and the like may be performed on each band signal individually. Specifically, the detection value of the envelope detection signal is acquired, and the detection amplification factor in the amplification process and the detection limit threshold in the limit process are determined based on the detection value, so that the detection value of the envelope detection signal is increased and the occurrence of the clipping distortion phenomenon is avoided as much as possible.
Step S02, amplifying the detection value of the envelope detection signal according to the detection amplification factor;
step S03 is to perform a limiting process on the detection value of the envelope detection signal after the amplification process, based on the detection limiting threshold, and update the detection value of the envelope detection signal based on the detection value of the envelope detection signal after the limiting process.
In this embodiment, when the detection value changes, the corresponding detection amplification factor and detection limit threshold value may also change correspondingly, and may be adjusted according to a specific use scenario. In this process, generally, the detection value of the envelope detection signal is amplified, and then the detection limit processing is performed on the amplified envelope detection signal to avoid the clipping distortion. Since there is still a part of the detected value corresponding to the amplitude of the noise component in the envelope detected signal after the envelope detection processing, the difference between the detected value corresponding to the amplitude of the effective sound and the detected value corresponding to the amplitude of the noise component can be increased by amplifying the detected value of the envelope detected signal, which is more accurate in adjusting the amplitude of the audio input signal and has a better noise reduction effect. In addition, since the amplitude of the signal is not constant but continuously changed with time, the detection amplification factor and the detection limit threshold can also be dynamically changed according to the amplitude of the signal, so as to realize a dynamic noise reduction process.
In the technical scheme disclosed in this embodiment, the detection value of the envelope detection signal is amplified and limited to increase the detection value, so that the amplitude of the audio input signal is adjusted more accurately, and a better noise reduction effect is achieved.
In another embodiment, as shown in fig. 5, on the basis of the embodiment shown in any one of fig. 2 to 4, step S20 includes:
step S21, judging whether the detection value of the envelope detection signal is larger than a preset value;
in the present embodiment, after the envelope detection signal is acquired, amplitude increase/decrease processing or the like may be performed on the amplitude of the audio input signal based on the detection value of the envelope detection signal. Specifically, a preset value may be set, and the amplitude of the audio input signal may be increased or decreased according to a magnitude relationship between the detection value and the preset value.
Step S22, when the detected value of the envelope detection signal is greater than the preset value, increasing the amplitude of the frequency band signal in the audio input signal, wherein the larger the difference between the detected value of the envelope detection signal and the preset value is, the larger the increase amount of the amplitude of the frequency band signal is;
step S23, when the detected value of the envelope detection signal is smaller than the preset value, reducing the amplitude of the frequency band signal, wherein the larger the difference between the preset value and the detected value of the envelope detection signal is, the larger the reduction amount of the amplitude of the frequency band signal is.
In this embodiment, when the detected value is greater than the preset value, the signal is considered to mainly include valid sound, and the signal-to-noise ratio of the signal is high, so that the amplitude of the audio input signal can be further increased, and thus, after the signal is output, a user mainly hears valid sound with a larger amplitude and ignores noise with a smaller amplitude, so as to achieve the effect of reducing noise. When the detection value is smaller than the preset value, the signal is considered to be mainly noise, the signal-to-noise ratio of the signal is low, and therefore the effect of reducing the noise cannot be achieved by increasing the amplitude of the audio input signal, and therefore the amplitude of the audio input signal can be reduced, so that the sensitivity of a user to the noise is reduced, wherein the larger the difference value between the preset value and the detection value is, the larger the reduction amount of the amplitude of the audio input signal can be. As another feasible amplitude adjustment method, if the detection value of the envelope detection signal does not change or changes too little within the preset time, it indicates that the current corresponding sound input signal is noise, so the amplitude of the noise can be adjusted to the preset amplitude, and in general, the preset amplitude is zero, so that the noise can be completely eliminated only when the noise component exists, so as to achieve a better noise reduction effect. In addition, since the amplitude of the signal is not constant but continuously changed with time, the amount of increase and decrease of the amplitude adjustment process may also be dynamically changed according to the amplitude of the signal, so as to implement a dynamic noise reduction process. If the audio input signal is divided into a plurality of frequency band signals, the amplitude adjustment can be individually performed on each frequency band signal, for example, if the frequency band signal of a lower frequency includes effective sound, and the frequency band signal of a higher frequency includes noise, because the detection value corresponding to the noise is generally unchanged or changes very little, at this time, the amplitude of the frequency band signal of a higher frequency can be reduced to zero by the aid of the noise adjustment method, and the amplitude of the frequency band signal of a lower frequency is increased, so that the signal-to-noise ratio is increased, and the purpose of noise reduction is achieved.
In the technical solution disclosed in this embodiment, when the detected value of the envelope detection signal is greater than the preset value, the amplitude of the frequency band signal in the audio input signal is increased, and when the detected value of the envelope detection signal is less than the preset value, the amplitude of the frequency band signal is decreased, and the amplitude of the audio input signal is correspondingly adjusted according to the change in the detected value, so as to achieve the purpose of reducing noise.
In addition, an embodiment of the present invention further provides an audio signal noise reduction apparatus, where the audio signal noise reduction apparatus includes: the noise reduction method comprises a memory, a processor and a noise reduction program of an audio signal stored on the memory and capable of running on the processor, wherein the noise reduction program of the audio signal realizes the steps of the noise reduction method of the audio signal according to the embodiment when being executed by the processor.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a noise reduction program of an audio signal is stored, and when the noise reduction program of the audio signal is executed by a processor, the steps of the noise reduction method of the audio signal according to the above embodiment are implemented.
In addition, an embodiment of the present invention further provides a noise reduction system for an audio signal, where the noise reduction system for an audio signal includes a noise reduction program for an audio signal, and is configured to execute the steps of the noise reduction method for an audio signal according to the above embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for reducing noise of an audio signal, comprising the steps of:
when an audio input signal is obtained, obtaining two envelope lines of the audio input signal through peak envelope detection, and obtaining an envelope detection signal corresponding to the audio input signal according to the two envelope lines;
carrying out amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal;
outputting the audio input signal after amplitude adjustment processing;
wherein the step of performing amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal comprises:
judging whether the detection value of the envelope detection signal is greater than a preset value;
when the detected value of the envelope detection signal is larger than the preset value, increasing the amplitude of a frequency band signal in the audio input signal, wherein the larger the difference value between the detected value of the envelope detection signal and the preset value is, the larger the increase amount of the amplitude of the frequency band signal is;
and when the detection value of the envelope detection signal is smaller than the preset value, reducing the amplitude of the frequency band signal, wherein the larger the difference value between the preset value and the detection value of the envelope detection signal is, the larger the reduction amount of the amplitude of the frequency band signal is.
2. The method for reducing noise of an audio signal according to claim 1, wherein the step of obtaining an envelope detection signal corresponding to the audio input signal by peak envelope detection when the audio input signal is obtained comprises:
performing frequency division processing on the audio input signal to obtain a plurality of frequency band signals;
and respectively carrying out peak envelope detection processing on the frequency band signals to obtain a plurality of envelope detection signals.
3. The method of noise reducing an audio signal according to claim 2, wherein the step of frequency-dividing the audio input signal comprises:
acquiring the frequency of the audio input signal;
acquiring a frequency interval corresponding to the frequency;
and dividing the audio input signal into a plurality of frequency band signals according to the frequency interval.
4. The method for reducing noise of an audio signal according to claim 1, wherein the step of performing amplitude adjustment processing on the audio input signal according to the detected value of the envelope detection signal further comprises:
determining a detection amplification factor and a detection limiting threshold according to a detection value of the envelope detection signal;
amplifying the detection value of the envelope detection signal according to the detection amplification factor;
and limiting the detection value of the amplified envelope detection signal according to the detection limiting threshold, and updating the detection value of the envelope detection signal according to the detection value of the envelope detection signal subjected to limiting processing.
5. The method for reducing noise of an audio signal according to claim 1, wherein the step of performing amplitude adjustment processing on the audio input signal according to the detection value of the envelope detection signal comprises:
judging whether the detection value of the envelope detection signal changes within a preset time;
and when the detection value of the envelope detection signal is not changed within the preset time, adjusting the amplitude of the frequency band signal in the audio input signal to be the preset amplitude.
6. The method for reducing noise of an audio signal according to claim 1, wherein the step of outputting the audio input signal after the amplitude adjustment processing includes:
performing frequency mixing processing on a plurality of frequency band signals in the audio input signal after amplitude adjustment processing to obtain an audio output signal;
outputting the audio output signal.
7. An apparatus for reducing noise of an audio signal, comprising: memory, processor and noise reduction program for audio signals stored on the memory and executable on the processor, the noise reduction program for audio signals implementing the steps of the method for noise reduction of audio signals according to any of claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a noise reduction program for an audio signal, which when executed by a processor implements the steps of the method for noise reducing an audio signal according to any one of claims 1 to 6.
CN201910418065.0A 2019-05-17 2019-05-17 Method, device and system for reducing noise of audio signal and computer storage medium Active CN110022514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910418065.0A CN110022514B (en) 2019-05-17 2019-05-17 Method, device and system for reducing noise of audio signal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910418065.0A CN110022514B (en) 2019-05-17 2019-05-17 Method, device and system for reducing noise of audio signal and computer storage medium

Publications (2)

Publication Number Publication Date
CN110022514A CN110022514A (en) 2019-07-16
CN110022514B true CN110022514B (en) 2021-08-13

Family

ID=67194030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910418065.0A Active CN110022514B (en) 2019-05-17 2019-05-17 Method, device and system for reducing noise of audio signal and computer storage medium

Country Status (1)

Country Link
CN (1) CN110022514B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116233696B (en) * 2023-05-05 2023-09-15 荣耀终端有限公司 Airflow noise suppression method, audio module, sound generating device and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4703507A (en) * 1984-04-05 1987-10-27 Holden Thomas W Noise reduction system
US6757395B1 (en) * 2000-01-12 2004-06-29 Sonic Innovations, Inc. Noise reduction apparatus and method
US7321559B2 (en) * 2002-06-28 2008-01-22 Lucent Technologies Inc System and method of noise reduction in receiving wireless transmission of packetized audio signals
CN100385794C (en) * 2004-12-17 2008-04-30 北京中星微电子有限公司 A signal processing method and apparatus
GB0715254D0 (en) * 2007-08-03 2007-09-12 Wolfson Ltd Amplifier circuit
CN106060717A (en) * 2016-05-26 2016-10-26 广东睿盟计算机科技有限公司 High-definition dynamic noise-reduction pickup
US10504538B2 (en) * 2017-06-01 2019-12-10 Sorenson Ip Holdings, Llc Noise reduction by application of two thresholds in each frequency band in audio signals
CN109493877B (en) * 2017-09-12 2022-01-28 清华大学 Voice enhancement method and device of hearing aid device

Also Published As

Publication number Publication date
CN110022514A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN106878866B (en) Audio signal processing method and device and terminal
US10524077B2 (en) Method and apparatus for processing audio signal based on speaker location information
CN106782613B (en) Signal detection method and device
CN107948869B (en) Audio processing method, audio processing device, audio system, and storage medium
KR102565447B1 (en) Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics
CN113963716A (en) Volume balancing method, device and equipment for talking doorbell and readable storage medium
US11694700B2 (en) Method, apparatus and device for processing sound signal
CN110022514B (en) Method, device and system for reducing noise of audio signal and computer storage medium
US20140341381A1 (en) Loudspeaker noise inspection method, loudspeaker noise inspection device and recording medium for recording a loudspeaker noise inspection program
JP4922427B2 (en) Signal correction device
CN111370017B (en) Voice enhancement method, device and system
CN110191398B (en) Howling suppression method, howling suppression device and computer readable storage medium
CN112333534B (en) Noise elimination method and device, intelligent television system and readable storage medium
CN111726730A (en) Sound playing device and method for adjusting output sound
CN111988702B (en) Audio signal processing method, electronic device and storage medium
CN112866877B (en) Speaker control method, speaker control device, electronic apparatus, and storage medium
CN111045633A (en) Method and apparatus for detecting loudness of audio signal
US9514765B2 (en) Method for reducing noise and computer program thereof and electronic device
CN113990283A (en) Noise reduction processing method and device, earphone and computer readable storage medium
CN113766385A (en) Earphone noise reduction method and device
CN109716432B (en) Gain processing method and device, electronic equipment, signal acquisition method and system
CN111050261A (en) Hearing compensation method, device and computer readable storage medium
CN111785290A (en) Microphone array voice signal processing method, device, equipment and storage medium
CN110996205A (en) Earphone control method, earphone and readable storage medium
CN112312258B (en) Intelligent earphone with hearing protection and hearing compensation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant