CN110197670B - Audio noise reduction method and device and electronic equipment - Google Patents
Audio noise reduction method and device and electronic equipment Download PDFInfo
- Publication number
- CN110197670B CN110197670B CN201910480708.4A CN201910480708A CN110197670B CN 110197670 B CN110197670 B CN 110197670B CN 201910480708 A CN201910480708 A CN 201910480708A CN 110197670 B CN110197670 B CN 110197670B
- Authority
- CN
- China
- Prior art keywords
- noise
- scene
- noise reduction
- audio
- type
- 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
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 146
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000005236 sound signal Effects 0.000 claims abstract description 96
- 238000013145 classification model Methods 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 33
- 238000012549 training Methods 0.000 claims description 22
- 230000007613 environmental effect Effects 0.000 claims description 9
- 238000001228 spectrum Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 230000003595 spectral effect Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000037433 frameshift Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000036039 immunity Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0216—Noise filtering characterised by the method used for estimating noise
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/03—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
- G10L25/24—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being the cepstrum
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The invention discloses an audio noise reduction method, an audio noise reduction device and electronic equipment, wherein the audio noise reduction method comprises the following steps: determining the type of a noise scene according to the characteristics of the acquired audio signals; acquiring a noise reduction parameter group corresponding to the type of the noise scene, wherein the noise reduction parameter group at least comprises a noise reduction parameter; and carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group. The audio noise reduction method can improve the signal-to-noise ratio of the audio signal.
Description
Technical Field
The present invention relates to the field of audio processing technologies, and in particular, to an audio denoising method and apparatus, and an electronic device.
Background
At present, noise reduction is performed on audio through a digital signal processing algorithm, and generally, corresponding parameters are determined according to the noise condition of a target scene, and the parameters are used for performing noise reduction processing on the audio. However, the noise reduction method can only reduce the noise of the audio acquired in a noise scene with a single characteristic, but the noise reduction performance is low for a scene with dynamic change of environmental noise.
Disclosure of Invention
In view of this, the present invention provides an audio noise reduction method, an audio noise reduction device and an electronic device, which can improve the signal-to-noise ratio of the audio subjected to noise reduction processing.
According to a first aspect of the present invention, there is provided an audio noise reduction method comprising: determining the type of a noise scene according to the characteristics of the acquired audio signals; acquiring a noise reduction parameter group corresponding to the type of the noise scene, wherein the noise reduction parameter group at least comprises a noise reduction parameter; and carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group.
Optionally, the method further includes: before determining the type of a noise scene according to the characteristics of the acquired audio signals, dividing the scene into different types of noise scenes according to the noise intensity and the noise type of the audio signals acquired under different scenes; and establishing a corresponding relation between the type of each noise scene and a preset noise parameter group.
Optionally, the type of the noise scene is divided according to at least two kinds of information: the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise.
Optionally, the obtaining a noise reduction parameter set corresponding to the type of the noise scene includes: extracting features of the audio signal; determining the type of a noise scene corresponding to each frame in the audio signal according to the characteristics; and if the types of the noise scenes corresponding to the frames with the continuous preset number are the same, generating a noise reduction parameter group corresponding to the type of the noise scenes.
Optionally, the method further includes: acquiring audio data under different noise scenes, wherein the audio data comprises audio signals; marking the audio data according to the noise scene; and training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of the audio signal, and the output of the noise scene classification model is the noise scene corresponding to the audio signal.
Optionally, the noise reduction parameter set at least includes one of the following noise reduction parameters: an over-subtraction factor and a spectral lower limit parameter.
According to a second aspect of the present invention, there is provided an audio noise reduction apparatus comprising: the determining module is used for determining the type of a noise scene according to the characteristics of the acquired audio signals; an obtaining module, configured to obtain a noise reduction parameter set corresponding to a type of the noise scene, where the noise reduction parameter set at least includes a noise reduction parameter; and the noise reduction module is used for carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group.
Optionally, the apparatus further comprises: the dividing module is used for dividing the scenes into different types of noise scenes according to the noise intensity and the noise types of the audio signals collected under different scenes before determining the types of the noise scenes according to the characteristics of the collected audio signals; and the establishing module is used for establishing a corresponding relation between the type of each noise scene and a preset noise parameter group.
Optionally, the type of the noise scene is divided according to at least two kinds of information: the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise.
Optionally, the obtaining module includes: an extraction unit configured to extract a feature of the audio signal; a determining unit, configured to determine a type of a noise scene corresponding to each frame in the audio signal according to the feature; the generating unit is used for generating a noise reduction parameter group corresponding to the type of the noise scene if the types of the noise scenes corresponding to the frames with the continuous preset number are the same.
Optionally, the apparatus further comprises: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring audio data under different noise scenes, and the audio data comprises audio signals; the marking module is used for marking the audio data according to the noise scene; the training module is used for training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of an audio signal, and the output of the noise scene classification model is a noise scene corresponding to the audio signal.
According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing any of the audio noise reduction methods according to the first aspect of the present invention when executing the program.
From the above, it can be seen that the audio noise reduction method of the present invention can determine the current noise scene according to the acquired characteristics of the audio signal, and determine the noise reduction parameter set for performing noise reduction processing on the audio signal according to the noise scene, so as to perform noise reduction processing on the audio signal based on the noise reduction parameters in the noise reduction parameter set, and can adaptively adjust the noise reduction parameters under the condition that the ambient noise is constantly changing, so as to obtain the noise reduction parameter set most matched with the current noise scene, and can perform targeted processing on the audio signal according to the characteristics of the current noise scene, so as to improve the signal-to-noise ratio of the processed audio signal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method of audio noise reduction according to an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a method of audio noise reduction according to an exemplary embodiment;
FIG. 3 is a diagram illustrating a training process and a use process of a noise scene classification model according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating a process for denoising an original noisy signal according to a denoising parameter in a denoising parameter set, according to an exemplary embodiment;
fig. 5 is a block diagram illustrating an audio noise reduction apparatus according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Fig. 1 is a flow chart illustrating a method of audio noise reduction, as shown in fig. 1, according to an exemplary embodiment, the method comprising:
step 101: determining the type of a noise scene according to the characteristics of the acquired audio signals;
for example, after an audio signal (which is an audio signal to be denoised) is acquired, a feature of the audio signal may be extracted, and the feature of the audio signal may be, for example, MFCC (Mel Frequency Cepstrum Coefficient), and the extracted feature is input to a noise scene classification model obtained through pre-training, so as to output a type of a noise scene.
Before the step 101, noise scenes may be classified into different types according to the noise intensity and the noise type of the scene in advance, for example, in the case of applying the audio noise reduction method of the present invention to the noise reduction processing of the audio acquired in the vehicle, the noise scenes may be classified into the following types:
noise scene one: when the vehicle is in a parking lot environment, idling is carried out, the window of the vehicle is opened, the air conditioner of the vehicle is closed, and the ambient noise decibel value is 50-55 db;
a noise scene two: the vehicle is in an urban road environment and in a low-speed running state, the running speed is 40-60km/h, the window of the vehicle is closed, the air conditioner of the vehicle is opened, and the ambient noise decibel value is 55-60 db;
a third noise scene: the vehicle is in an urban road environment and in a low-speed running state, the running speed is 40-60km/h, the window of the vehicle is opened, the air conditioner of the vehicle is closed, and the ambient noise decibel value is 60-70 db;
and a noise scene four: the vehicle is in a expressway environment and in a high-speed running state, the running speed is 80-120km/h, the windows of the vehicle are closed, the air conditioner of the vehicle is opened, and the ambient noise decibel value is 55-65 db.
Step 102: acquiring a noise reduction parameter group corresponding to the type of the noise scene, wherein the noise reduction parameter group at least comprises a noise reduction parameter;
for example, different noise reduction parameter sets may be preset for each type of noise scene, and a correspondence relationship between each type of noise scene and each noise reduction parameter set may be established. Wherein the different sets of noise reduction parameters comprise at least one different noise reduction parameter. For example, for a certain noise scene, according to the characteristics of the noise scene, a plurality of different sets of noise reduction parameters may be selected to respectively perform noise reduction on the audio signal obtained in the noise scene, through a plurality of experiments, a set of noise reduction parameters with the best noise reduction result is selected, and the set of noise reduction parameters is determined as the set of noise reduction parameters corresponding to the noise scene. After the type of the noise scene is determined in step 102, a set of noise reduction parameters may be generated according to a preset correspondence between the type of the noise scene and the set of noise reduction parameters.
In one implementation, the noise reduction parameter may include at least one of an over-subtraction factor and a spectral lower limit parameter.
Step 103: and carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group.
For example, the noise reduction parameter set and the audio Signal to be noise reduced may be sent to a Digital Signal Processing (DSP) module, and the DSP performs noise reduction Processing on the audio Signal to be noise reduced and outputs the noise-reduced audio Signal.
In an implementation manner, the noise reduction method of the present invention can be applied to a speech recognition process to perform noise reduction processing on an audio signal to be recognized so as to remove noise in the audio signal to be recognized, thereby improving the accuracy of speech recognition.
The audio noise reduction method can determine the current noise scene according to the acquired characteristics of the audio signal, and determine the noise reduction parameter group for performing noise reduction processing on the audio signal according to the noise scene, so that the audio signal is subjected to noise reduction processing based on the noise reduction parameters in the noise reduction parameter group, the noise reduction parameters can be adaptively adjusted under the condition that the ambient noise is continuously changed, the noise reduction parameter group which is most matched with the current noise scene is obtained, the audio signal can be subjected to targeted processing according to the characteristics of the current noise scene, and the signal-to-noise ratio of the processed audio signal can be improved.
In one implementation, the audio denoising method may further include: before determining the type of a noise scene according to the characteristics of the acquired audio signals, dividing the scene into different types of noise scenes according to the noise intensity and the noise type of the audio signals acquired under different scenes; for example, the noise intensity may be first divided into n levels, the noise types to be referred to include m types, and it may be preset that when the noise intensity in the scene satisfies a certain level of the n levels, and at least i (0 < i < m) types of the m types of noise types are simultaneously included in the audio signal acquired in the scene, the scene is determined to be a specific noise scene. In the case of applying the audio noise reduction method of the present invention to noise reduction processing on audio acquired in a vehicle, the noise types may include: tire noise, wind noise, engine noise, noisy human noise, and other vehicle noises, and the intensity of the noise is the magnitude of the noise, e.g., decibel value of the noise.
In one implementation manner, the obtaining the set of noise reduction parameters corresponding to the type of the noise scene may include: extracting features of the audio signal; determining the type of a noise scene corresponding to each frame in the audio signal according to the characteristics; and if the types of the noise scenes corresponding to the frames with the continuously preset number are the same, generating a noise reduction parameter group corresponding to the type of the noise scene. For example, feature extraction is performed on an audio signal, the audio signal is sent to a decoder (the decoder determines a current noise scene according to audio features through a noise scene classification model obtained through pre-training), the audio signal is decoded frame by frame through the decoder, when decoding results (the decoding results are the noise scenes corresponding to the current frame) corresponding to consecutive 3-10 (which is an example of the preset number) frames are the same, that is, the decoding results are taken as target noise scenes, noise reduction parameters (for example, an over-reduction factor α and a spectrum lower limit parameter β) corresponding to the scenes are generated according to the target noise scenes, and the generated noise reduction parameters are output. Based on the method, the noise reduction parameters corresponding to the noise scene can be loaded frame by frame for the audio signal to be subjected to noise reduction, so that the noise of the audio signal to be subjected to noise reduction can be reduced according to the characteristics of the noise scene, and the signal-to-noise ratio of the audio signal is improved.
In one implementation, the audio denoising method may further include: acquiring audio data under different types of noise scenes, wherein the audio data comprises audio signals; for example, the audio data may be respectively collected in a plurality of divided noise scenes, and the collected noise may include various different types of environmental noise such as tire noise, wind noise, engine noise, noisy human voice, other vehicle noise, and the like. Marking the audio data according to the type of the noise scene; for example, audio data captured in a first noise scene is labeled as a first noise scene, audio data captured in a second noise scene is labeled as a second noise scene, and so on, audio data captured in a third noise scene is labeled as a third noise scene, and audio data captured in a fourth noise scene is labeled as a fourth noise scene. And training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of the audio signal, and the output of the noise scene classification model is the noise scene corresponding to the audio signal. When training a noise scene classification model, it can be implemented by using a model training method such as DNN (deep neural network) or HMM (hidden markov model).
In one implementation, the type of the noise scene may be divided according to at least two kinds of information: the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise. For example, a noise scene may be defined based on at least two of these pieces of information. As an example, the types of the noise scenes are divided by the above two kinds of information, in this example, the noise scene is defined as a first noise scene assuming that the vehicle is in a driving state and the windows of the vehicle are opened; assuming that the vehicle is in a running state and the window of the vehicle is closed, defining the noise scene as a second noise scene; assuming that the vehicle is in a static state and the window of the vehicle is opened, defining a noise scene as a third noise scene; assuming that the vehicle is in a stationary state and the windows of the vehicle are closed, the noise scene is defined as a fourth noise scene. As another example, the noise scene is classified into four types of information, and in this example, it is assumed that the current vehicle is in a parking lot environment, idling is performed, windows of the vehicle are opened, an air conditioner of the vehicle is closed, and an ambient noise decibel value is between 50 db and 55db, and the noise scene is defined as a first noise scene. Assuming that the current vehicle is in an urban road environment and in a low-speed driving state, the driving speed is 40-60km/h, the windows of the vehicle are closed, the air conditioner of the vehicle is opened, and the ambient noise decibel value is 55-60 db, wherein the noise scene is defined as a second noise scene. Assuming that the current vehicle is in an urban road environment and in a low-speed driving state, the driving speed is between 40 and 60km/h, the window of the vehicle is opened, the air conditioner of the vehicle is closed, the ambient noise decibel value is between 60 and 70db, and the noise scene is defined as a third noise scene; assuming that the current vehicle is in a expressway environment and in a high-speed driving state, the driving speed is between 80 and 120km/h, windows of the vehicle are closed, an air conditioner of the vehicle is opened, and the ambient noise decibel value is between 55 and 65db, the noise scene is defined as a fourth noise scene. The first noise scene, the second noise scene, the third noise scene, and the fourth noise scene are an identifier of the noise scene to distinguish different noise scenes, and in addition, the first noise scene and the second noise scene may also be used to represent the intensity of noise in the noise scene, for example, the intensity of noise in the first noise scene is greater than the intensity of noise in the second noise scene.
In an implementation manner, the audio noise reduction method of the present invention may be applied to perform noise reduction processing on an audio signal acquired in a vehicle, for example, may be applied to a voice interaction system in a vehicle, and is used to perform noise reduction on an audio acquired by the voice interaction system, so as to improve the accuracy of voice recognition, and further improve the response capability of the voice interaction system.
Fig. 2 is a schematic diagram illustrating an audio noise reduction method according to an exemplary embodiment, which may include the following processes, as shown in fig. 2:
sending the collected audio signal to an ADC (Analog-to-Digital Converter) by a sound signal collecting device such as a microphone, so as to convert the Analog signal (i.e., the collected audio signal) into a Digital signal;
sending the digital signal to an intelligent noise scene detection algorithm module (which can output the type of the noise scene according to the noise scene classification model described above) and a Digital Signal Processing (DSP) algorithm module;
the intelligent noise scene detection algorithm module identifies a noise scene of the received digital signal, judges the current noise scene, generates a noise reduction parameter group matched with the current noise scene according to the judged noise scene, and sends the noise reduction parameter group to the digital signal processing algorithm module;
the digital signal processing algorithm module updates the noise reduction parameters into the received noise reduction parameters in the noise reduction parameter group from the intelligent noise scene detection algorithm module, performs noise reduction processing on the audio signal by using the updated noise reduction parameters, and sends the processed audio signal to the rear-end voice awakening/recognition processing module so as to perform voice recognition or voice awakening and other operations on the processed audio signal.
The intelligent noise scene detection algorithm module can more accurately identify the characteristics of the current environmental noise, and provides a more suitable noise reduction parameter set for the digital signal processing algorithm module.
The digital signal processing module can dynamically load noise reduction parameters according to the current noise scene, can obtain the optimal noise reduction effect and the optimal voice signal to noise ratio, and can provide the optimal voice signals for post-processing modules such as rear-end voice recognition, voice awakening and the like in the voice interaction system, so that the noise immunity of the whole voice interaction system can be improved.
Fig. 3 is a schematic diagram illustrating a process of training a noise scene classification model and a process of using the noise scene classification model according to an exemplary embodiment, which are described below with reference to fig. 3 (where the flow shown in the upper part of fig. 3 is a process of training the noise scene classification model, and the flow shown in the lower part of fig. 3 is a process of using the noise scene classification model).
The process of training the noise scene classification model comprises the following steps:
in a driving application scene, noise data can be respectively collected in four noise scenes, namely the noise scene I, the noise scene II, the noise scene III and the noise scene IV, so that a noise database of scenes of various vehicles is obtained. For example, 50 hours of ambient noise data is collected for each noise scenario, and the collected noise data may include, for example, a plurality of different types of noise data, such as tire noise, wind noise, engine noise, noisy human noise, and other vehicle noise.
Marking each audio according to a noise scene to which each noise data belongs in a noise database, and extracting the characteristics of the audio in the database, wherein if the noise data A is collected in the noise scene, the noise scene is a noise scene of the noise data;
and extracting the characteristics of the audio signals collected under each noise scene in the noise database, and training a noise scene classification model according to the characteristics of the audio signals collected under each noise scene in the noise database to obtain a noise scene classification model. The training of the noise scene classification model can be realized by using a model training method such as DNN or HMM.
The process of using the noise scene classification model may include the following processes:
extracting the characteristics of an original band noise frequency signal (an audio signal to be denoised), sending the original band noise frequency signal into a decoder (the decoder determines a noise scene corresponding to the audio signal by using a noise scene classification model), and performing frame-by-frame decoding on the original band noise frequency signal to obtain a decoding result, wherein the decoding result comprises the type of the noise scene corresponding to the original band noise frequency signal. And when the decoding results of the continuous 3-10 frames are the same, namely the decoding result is determined to be the type of the current noise scene, generating a noise reduction parameter group corresponding to the type of the noise scene, and outputting the noise reduction parameter group to the digital signal processing module so that the digital signal processing module performs noise reduction processing on the original band noise frequency signal according to the noise reduction parameter group.
Fig. 4 is a flowchart illustrating a process of denoising an original noisy signal according to a denoising parameter in a denoising parameter set according to an exemplary embodiment, where, as shown in fig. 4, the process of denoising the original noisy signal according to the denoising parameter set includes the following operations:
in a digital signal processing module, frame processing is performed on an original band noise frequency signal, a 20ms hamming window is added, 10 second frame shift is taken, and Fast Fourier Transform (FFT) change is performed frame by frame to acquire frequency spectrum and phase information.
Calculating spectral subtraction according to the following formula by using noise reduction parameters in the noise reduction parameter group transmitted by the intelligent noise scene detection module, such as an over-subtraction factor alpha and a spectral lower limit parameter beta:
Where α (1 or more) is an over-subtraction factor, which mainly affects the degree of distortion of the speech spectrum. Beta (more than 0 and less than 1) is a spectrum lower limit parameter which can control the amount of residual noise and the size of music noise, Y (omega) represents an original signal with noise, X (omega) represents a pure speech signal, and D (omega) represents additive noise.
An IFFT (inverse FFT transform) transform is performed, and the frequency domain signal and the phase signal are converted into a time domain signal, thereby obtaining an audio signal subjected to noise reduction.
Fig. 5 is a block diagram illustrating an audio noise reduction apparatus according to an exemplary embodiment, and as shown in fig. 5, the apparatus 50 includes the following components:
a determining module 51 (which may include the above-mentioned intelligent noise scene detection algorithm module) for determining the type of the noise scene according to the characteristics of the acquired audio signal;
an obtaining module 52, configured to obtain a noise reduction parameter set corresponding to the type of the noise scene, where the noise reduction parameter set at least includes one noise reduction parameter;
and a noise reduction module 53, configured to perform noise reduction on the audio signal according to a noise reduction parameter in the noise reduction parameter set.
The obtaining module 52 and the noise reduction module 53 can be implemented by the above-mentioned digital signal processing module.
In one implementation, the apparatus may further include: the device comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for dividing a scene into different types of noise scenes according to the noise intensity and the noise type of audio signals collected under different scenes before determining the type of the noise scene according to the characteristics of the collected audio signals; and the establishing module is used for establishing a corresponding relation between the type of each noise scene and a preset noise parameter group.
In one implementation, the obtaining module may include: an extraction unit configured to extract a feature of the audio signal; a determining unit, configured to determine, according to the features, a type of a noise scene corresponding to each frame in the audio signal; the generating unit is used for generating a noise reduction parameter group corresponding to the type of the noise scene if the types of the noise scenes corresponding to the frames with the continuous preset number are the same.
In one implementation, the apparatus may further include: the acquisition module is used for acquiring audio data under different noise scenes, wherein the audio data comprises audio signals; the marking module is used for marking the audio data according to the noise scene; the training module is used for training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of an audio signal, and the output of the noise scene classification model is a noise scene corresponding to the audio signal.
In one implementation, the type of the noise scene may be divided according to at least two kinds of information: the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the audio noise reduction method according to any of the above embodiments is implemented.
Based on the same inventive concept, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the audio noise reduction method according to any of the above embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.
Claims (9)
1. An audio noise reduction method, comprising:
inputting the characteristics of the collected audio signals into a noise scene classification model obtained by pre-training, and outputting the type of a noise scene;
determining the type of a noise scene corresponding to each frame in the audio signal according to the characteristics of the audio signal;
if the types of the noise scenes corresponding to the frames with the preset number are the same, generating a noise reduction parameter group corresponding to the type of the noise scenes, wherein the noise reduction parameter group at least comprises one noise reduction parameter, the noise reduction parameter comprises at least one of an over-subtraction factor and a spectrum lower limit parameter, and the types of different noise scenes correspond to different noise reduction parameter groups;
and carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group.
2. The method of claim 1, further comprising:
before determining the type of a noise scene according to the characteristics of the acquired audio signals, dividing the scene into different types of noise scenes according to the noise intensity and the noise type of the audio signals acquired under different scenes;
and establishing a corresponding relation between the type of each noise scene and a preset noise parameter group.
3. The method of claim 2, wherein the type of the noise scene is divided according to at least two of the following information:
the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise.
4. The method of claim 1, further comprising:
acquiring audio data under different types of noise scenes, wherein the audio data comprises audio signals;
marking the audio data according to the type of the noise scene;
and training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of the audio signal, and the output of the noise scene classification model is the noise scene corresponding to the audio signal.
5. An audio noise reduction apparatus, comprising:
the determining module is used for inputting the characteristics of the acquired audio signals into a noise scene classification model obtained by pre-training and outputting the type of the noise scene;
an obtaining module, configured to determine, according to characteristics of the audio signal, a type of a noise scene corresponding to each frame in the audio signal, and if the types of the noise scenes corresponding to a preset number of frames are the same, generate a noise reduction parameter group corresponding to the type of the noise scene, where the noise reduction parameter group includes at least one noise reduction parameter, and different types of the noise scenes correspond to different noise reduction parameter groups;
and the noise reduction module is used for carrying out noise reduction on the audio signal through the noise reduction parameters in the noise reduction parameter group.
6. The apparatus of claim 5, further comprising:
the device comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for dividing a scene into different types of noise scenes according to the noise intensity and the noise type of audio signals collected under different scenes before determining the type of the noise scene according to the characteristics of the collected audio signals;
and the establishing module is used for establishing a corresponding relation between the type of each noise scene and a preset noise parameter group.
7. The apparatus of claim 6, wherein the type of the noise scene is divided according to at least two of the following information:
the environment of the vehicle, the running state of the vehicle, whether windows are opened, whether air conditioners in the vehicle are opened and the magnitude of the environmental noise.
8. The apparatus of any one of claims 5 to 7, further comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring audio data under different noise scenes, and the audio data comprises audio signals;
the marking module is used for marking the audio data according to the noise scene;
the training module is used for training a noise scene classification model by using the marked audio data, wherein the input of the noise scene classification model is the characteristics of an audio signal, and the output of the noise scene classification model is a noise scene corresponding to the audio signal.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the audio noise reduction method according to any of claims 1 to 4 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480708.4A CN110197670B (en) | 2019-06-04 | 2019-06-04 | Audio noise reduction method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480708.4A CN110197670B (en) | 2019-06-04 | 2019-06-04 | Audio noise reduction method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110197670A CN110197670A (en) | 2019-09-03 |
CN110197670B true CN110197670B (en) | 2022-06-07 |
Family
ID=67753906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910480708.4A Active CN110197670B (en) | 2019-06-04 | 2019-06-04 | Audio noise reduction method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110197670B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083591A (en) * | 2019-12-13 | 2020-04-28 | 恒玄科技(北京)有限公司 | Configuration method and device of noise reduction earphone and noise reduction earphone |
CN113496694A (en) * | 2020-03-19 | 2021-10-12 | 上汽通用汽车有限公司 | Vehicle acoustic system, vehicle seat and vehicle |
CN111787149A (en) * | 2020-06-23 | 2020-10-16 | 上海传英信息技术有限公司 | Noise reduction processing method, system and computer storage medium |
CN111724805A (en) * | 2020-06-29 | 2020-09-29 | 北京百度网讯科技有限公司 | Method and apparatus for processing information |
CN111678994A (en) * | 2020-07-01 | 2020-09-18 | 山西宏安翔科技股份有限公司 | Acoustic emission sensing system and method |
CN112309359B (en) * | 2020-07-14 | 2024-04-30 | 深圳市逸音科技有限公司 | Intelligent scene switching active noise reduction method of high-speed audio coder and earphone |
CN112185408B (en) * | 2020-10-10 | 2024-05-03 | Oppo广东移动通信有限公司 | Audio noise reduction method and device, electronic equipment and storage medium |
CN112185409A (en) * | 2020-10-15 | 2021-01-05 | 福建瑞恒信息科技股份有限公司 | Double-microphone noise reduction method and storage device |
CN112382284A (en) * | 2020-10-22 | 2021-02-19 | 珠海格力电器股份有限公司 | Pickup noise reduction method and device and server |
CN112543292A (en) * | 2020-11-30 | 2021-03-23 | 维沃移动通信有限公司 | Image noise reduction method and device, electronic equipment and readable storage medium |
CN113539283B (en) * | 2020-12-03 | 2024-07-16 | 腾讯科技(深圳)有限公司 | Audio processing method and device based on artificial intelligence, electronic equipment and storage medium |
CN112735457B (en) * | 2020-12-11 | 2022-05-17 | 中国汽车技术研究中心有限公司 | Voice denoising method and system |
CN114694666A (en) * | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Noise reduction processing method and device, terminal and storage medium |
CN112992153B (en) * | 2021-04-27 | 2021-08-17 | 太平金融科技服务(上海)有限公司 | Audio processing method, voiceprint recognition device and computer equipment |
CN113345399A (en) * | 2021-04-30 | 2021-09-03 | 桂林理工大学 | Method for monitoring sound of machine equipment in strong noise environment |
CN113266933A (en) * | 2021-05-24 | 2021-08-17 | 青岛海尔空调器有限总公司 | Voice control method of air conditioner and air conditioner |
CN113531844B (en) * | 2021-07-06 | 2023-01-13 | 青岛海尔空调器有限总公司 | Control method and system for noise reduction of air conditioner, electronic equipment and storage medium |
CN113556654B (en) * | 2021-07-16 | 2022-11-22 | RealMe重庆移动通信有限公司 | Audio data processing method and device and electronic equipment |
CN114120951A (en) * | 2021-10-28 | 2022-03-01 | 歌尔科技有限公司 | Adaptive noise reduction method, system, device and storage medium |
CN113903323B (en) * | 2021-12-08 | 2022-04-15 | 比亚迪股份有限公司 | Vehicle noise reduction system and car |
CN114882879A (en) * | 2022-05-13 | 2022-08-09 | 阿波罗智联(北京)科技有限公司 | Audio noise reduction method, method and device for determining mapping information and electronic equipment |
CN118280377A (en) * | 2022-12-30 | 2024-07-02 | 腾讯科技(深圳)有限公司 | Audio data processing method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965218A (en) * | 2004-06-04 | 2007-05-16 | 皇家飞利浦电子股份有限公司 | Performance prediction for an interactive speech recognition system |
CN102945670A (en) * | 2012-11-26 | 2013-02-27 | 河海大学 | Multi-environment characteristic compensation method for voice recognition system |
CN103219011A (en) * | 2012-01-18 | 2013-07-24 | 联想移动通信科技有限公司 | Noise reduction method, noise reduction device and communication terminal |
CN104157294A (en) * | 2014-08-27 | 2014-11-19 | 中国农业科学院农业信息研究所 | Robustness speech recognition method for agricultural product market element information collection |
CN105228054A (en) * | 2015-10-15 | 2016-01-06 | 深圳市大疆创新科技有限公司 | Flight instruments, filming apparatus and recording denoising device thereof and method |
CN107564538A (en) * | 2017-09-18 | 2018-01-09 | 武汉大学 | The definition enhancing method and system of a kind of real-time speech communicating |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3584458B2 (en) * | 1997-10-31 | 2004-11-04 | ソニー株式会社 | Pattern recognition device and pattern recognition method |
JP4169921B2 (en) * | 2000-09-29 | 2008-10-22 | パイオニア株式会社 | Speech recognition system |
EP1469457A1 (en) * | 2003-03-28 | 2004-10-20 | Sony International (Europe) GmbH | Method and system for pre-processing speech |
US7844453B2 (en) * | 2006-05-12 | 2010-11-30 | Qnx Software Systems Co. | Robust noise estimation |
CN102300140B (en) * | 2011-08-10 | 2013-12-18 | 歌尔声学股份有限公司 | Speech enhancing method and device of communication earphone and noise reduction communication earphone |
CN105427859A (en) * | 2016-01-07 | 2016-03-23 | 深圳市音加密科技有限公司 | Front voice enhancement method for identifying speaker |
CN107197388A (en) * | 2017-06-29 | 2017-09-22 | 广州华多网络科技有限公司 | A kind of method and system of live noise reduction |
CN108766454A (en) * | 2018-06-28 | 2018-11-06 | 浙江飞歌电子科技有限公司 | A kind of voice noise suppressing method and device |
-
2019
- 2019-06-04 CN CN201910480708.4A patent/CN110197670B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965218A (en) * | 2004-06-04 | 2007-05-16 | 皇家飞利浦电子股份有限公司 | Performance prediction for an interactive speech recognition system |
CN103219011A (en) * | 2012-01-18 | 2013-07-24 | 联想移动通信科技有限公司 | Noise reduction method, noise reduction device and communication terminal |
CN102945670A (en) * | 2012-11-26 | 2013-02-27 | 河海大学 | Multi-environment characteristic compensation method for voice recognition system |
CN104157294A (en) * | 2014-08-27 | 2014-11-19 | 中国农业科学院农业信息研究所 | Robustness speech recognition method for agricultural product market element information collection |
CN105228054A (en) * | 2015-10-15 | 2016-01-06 | 深圳市大疆创新科技有限公司 | Flight instruments, filming apparatus and recording denoising device thereof and method |
CN107564538A (en) * | 2017-09-18 | 2018-01-09 | 武汉大学 | The definition enhancing method and system of a kind of real-time speech communicating |
Also Published As
Publication number | Publication date |
---|---|
CN110197670A (en) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110197670B (en) | Audio noise reduction method and device and electronic equipment | |
US10580430B2 (en) | Noise reduction using machine learning | |
JP4757158B2 (en) | Sound signal processing method, sound signal processing apparatus, and computer program | |
KR102487160B1 (en) | Audio signal quality enhancement based on quantitative signal-to-noise ratio analysis and adaptive wiener filtering | |
WO2021114733A1 (en) | Noise suppression method for processing at different frequency bands, and system thereof | |
JP4769663B2 (en) | Speech segment detection apparatus and speech segment detection method | |
CN110634497A (en) | Noise reduction method and device, terminal equipment and storage medium | |
CN1210608A (en) | Noisy speech parameter enhancement method and apparatus | |
CN109147798B (en) | Speech recognition method, device, electronic equipment and readable storage medium | |
JP2007523374A (en) | Method and system for generating training data for an automatic speech recognizer | |
CN110942766A (en) | Audio event detection method, system, mobile terminal and storage medium | |
CN108847253B (en) | Vehicle model identification method, device, computer equipment and storage medium | |
CN112002307B (en) | Voice recognition method and device | |
CN105719657A (en) | Human voice extracting method and device based on microphone | |
JP2011253133A (en) | Audio signal processing system for outputting voice feature amount, audio signal processing method, and audio signal processing program | |
CN110556125A (en) | Feature extraction method and device based on voice signal and computer storage medium | |
CN112908344A (en) | Intelligent recognition method, device, equipment and medium for bird song | |
CN108574911A (en) | A method and system for unsupervised single-microphone speech noise reduction | |
US11308970B2 (en) | Voice correction apparatus and voice correction method | |
CN109741761B (en) | Sound processing method and device | |
JP2003271166A (en) | Input signal processing method and input signal processor | |
CN116312606A (en) | High-frequency noise suppression method and device, terminal equipment and storage medium | |
Tang et al. | Speech Recognition in High Noise Environment. | |
Vanambathina et al. | Real time speech enhancement using densely connected neural networks and Squeezed temporal convolutional modules | |
CN117351925B (en) | Howling suppression method, device, electronic equipment and storage medium |
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 |