CN100589183C - Digital auto gain control method and device - Google Patents

Digital auto gain control method and device Download PDF

Info

Publication number
CN100589183C
CN100589183C CN200710063109A CN200710063109A CN100589183C CN 100589183 C CN100589183 C CN 100589183C CN 200710063109 A CN200710063109 A CN 200710063109A CN 200710063109 A CN200710063109 A CN 200710063109A CN 100589183 C CN100589183 C CN 100589183C
Authority
CN
China
Prior art keywords
frame
sampling point
voice
present frame
yield value
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.)
Expired - Fee Related
Application number
CN200710063109A
Other languages
Chinese (zh)
Other versions
CN101009099A (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN200710063109A priority Critical patent/CN100589183C/en
Publication of CN101009099A publication Critical patent/CN101009099A/en
Application granted granted Critical
Publication of CN100589183C publication Critical patent/CN100589183C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

This invention discloses one digital automatic gains control method and its device, which comprises the following steps: dividing the sound signals by fix interval into several frames; processing active sound test on each sound signal and dividing them into two types of sound frame and noise frame; according to current frame and next frame of sound types to processing slide on current sound samples gains between frames; processing frame slide on current each sound sample.

Description

Digital auto gain control method and device
Technical field
The present invention relates to the disposal route and the device of voice signal, relate in particular to a kind of gain is controlled to voice method and device.
Background technology
Encoding for voice signal, after the digital processing such as enhancing, generally can certain damage arranged voice signal.We can compensate this damage in Applied Digital automatic gain control (AGC).Digital AGC algorithm fundamental purpose is that the digital signal that receives is carried out certain processing, makes its amplitude relatively stable, thereby increases the subjective acoustical quality of sound.
The structure of common AGC mainly contains two kinds: feedback arrangement and do not have feedback arrangement.The feedback system method of adjustment is: the amplitude of the output signal after relatively the previous moment gain is adjusted and the amplitude R of our expectation with the variation of ride gain, if output then increases gain less than R, then reduce gain on the contrary.The cardinal principle of no feedback arrangement is: extract the amplitude envelops of input signal, set the gain that agc algorithm is controlled current sampling point according to this envelope.
For the digital AGC method of feedback arrangement, do not use the information of current input voice sampling point that gain is adjusted.This process be non-linear, the time feedback system that become, that depend on input.Total system is difficult to actual analysis, and the variation that gains between the stability and the size of gain, two adjacent spots is not easy control.Under the situation that sampling point varies in size, can cause the difference of gain adjustment simultaneously.The structure of not having feedback has been utilized the information of current input voice sampling point, voice signal is divided into several frames according to fixing duration, every frame comprises some sampling points, each sampling point has amplitude separately respectively, the control method of existing automatic gain is: 1, calculate each sampling point amplitude average absolute of present frame, with this mean value the average energy value as present frame; 2, with the energy value of the current broadcast sound volume correspondence of receiving end divided by this average energy value, obtain an enlargement factor, with the yield value of this enlargement factor as present frame, 3, this yield value multiply by the amplitude and the output of each sampling point of present frame, thereby reaches the purpose that the energy value of present frame is amplified to the energy value of current broadcast sound volume correspondence; Every frame of voice signal is all carried out the aforesaid operations process, thereby realizes the integral body of voice signal is amplified, and the energy value of each frame correspondence equals the energy value of current broadcast sound volume correspondence respectively in the voice signal behind feasible the amplification; Wherein, because the amplitude of sampling point has nothing in common with each other in each frame, therefore, the yield value that each frame calculated just has nothing in common with each other.Though the prior art can be by amplifying the purpose that reaches unified speech volume to voice signal, but, also there is following shortcoming: because the yield value of consecutive frame has nothing in common with each other, and, the average energy value of the energy value of first or last sampling point and speech frame is inequality in the speech frame, every frame adopts identical yield value to amplify, the joining place that can cause adjacent speech frame, the yield value cataclysm appears in amplitude sudden change place, thereby causing voice, instantaneous great changes will take place, make voice discontinuous, influence the subjective acoustical quality of voice.
Summary of the invention
Defective and deficiency at prior art exists the invention provides a kind of joining place at adjacent speech frame, can prevent that the digital auto gain control method and the device of yield value cataclysm from appearring in amplitude sudden change place.
For achieving the above object, the present invention by the following technical solutions: digital auto gain control method of the present invention comprises the steps:
Steps A is divided into some frames with voice signal by fixing duration;
Step B carries out movable voice to each frame voice signal and detects, and it is divided into two types of speech frame or noise frame;
Step C obtains the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame.
Among the described step C, in the process of the yield value of each voice sampling point that obtains present frame, further,, smoothing processing in the frame is carried out in the gain when the voice sampling point of pre-treatment according to the type of present frame.
In described digital auto gain control method, step B is specially: if present frame comprises voice signal information, then present frame is a speech frame, otherwise is noise frame.
In described digital auto gain control method, step C comprises:
Step C11 carries out envelope detected to present frame, obtains the envelope information of present frame;
Step C12 according to the type and the envelope information of present frame voice signal, adjusts the gain of present frame voice sampling point.
In described digital auto gain control method, step C comprises:
Step C21 carries out envelope detected to present frame, obtains the envelope information of present frame;
Step C22 according to the voice signal and the envelope information of the former frame of present frame and present frame, adjusts the gain of present frame voice sampling point.
In described digital auto gain control method, step C11, C21 comprise the steps:
Step 1 is chosen a voice sampling point in the present frame as the current speech sampling point, the range value x (n) of current speech sampling point is asked thoroughly deserve | x (n) |;
Step 2 is passed through formula
Figure C20071006310900081
Make the variation of envelope-tracking input signal; α is a predetermined constant,
Figure C20071006310900082
M is used for carrying out the level and smooth window length of envelope;
Step 3 at current sampling point with count forward in the scope of c (n) of N voice sampling points, is chosen the c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
Step 4 according to the maximal value of choosing, calculates the envelope value of current speech sampling point:
e max(n)=αx max(n)+(1-α)e max(n-1)
Step 5 at the current speech sampling point with count forward in the scope of M voice sampling points, is averaged after the envelope value addition to all voice sampling points
In described digital auto gain control method, step C12 is specially:
If present frame is a noise frame, the gain of present frame is made as 1, promptly for all n, g (n)=1 does not amplify each voice sampling point of present frame yet and not to dwindle;
If present frame is a speech frame, the yield value of each voice sampling point of present frame adjusted to seamlessly transit yield value g (n),
g ( n ) = ( threshold e ave ( n ) ) θ
θ represent one with the relevant constant of adjusting of effect, generally satisfy 0<θ≤1, threshold represents predefined threshold value.
In described digital auto gain control method, step C22 is specially:
If the former frame of present frame and present frame is noise frame, the gain of present frame is made as 1, present frame is not amplified yet do not dwindle;
If former frame is a noise frame, present frame is a speech frame, noise frame is to the speech frame transition, this moment, the yield value with first voice sampling point of present frame was taken as 1, the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value;
If former frame is a speech frame, present frame is a noise frame, speech frame is to the transition of noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1;
If former frame and present frame are speech frame, the yield value of each voice sampling point of present frame all is taken as and seamlessly transits yield value.
In described digital auto gain control method, the described yield value g (n) that seamlessly transits,
g ( n ) = ( threshold e ave ( n ) ) θ - - - ( 5 )
θ represent one with the relevant constant of adjusting of effect, generally satisfy 0<θ≤1, threshold represents predefined threshold value.
In described digital auto gain control method, smoothing processing is specially in the described frame: the gain of each voice sampling point of present frame is adjusted into level and smooth yield value g in the frame Ave(n):
g ave ( n ) = 1 M Σ i = 0 M g ( n - i ) .
In described digital auto gain control method, if level and smooth yield value is greater than predetermined threshold in the frame of current sampling point, then level and smooth yield value is made as predetermined threshold in the frame.
In described digital auto gain control method, also comprise step D: the input voice range value of N voice sampling point multiply by the interior level and smooth yield value of frame and obtains exporting voice before the current speech sampling point.
A kind of automatic gain control equipment comprises:
Voice signal is cut apart module, is used for voice signal is divided into some frames by fixing duration;
It is characterized in that also comprising:
The movable voice detection module is cut apart each frame after the module segmentation with described voice signal, divides into two types of speech frame or noise frame;
Interframe smoothing processing module is obtained the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame.
In described automatic gain control equipment, also comprise: smoothing processing module in the frame, according to the type of present frame, smoothing processing in the frame is carried out in the gain when the voice sampling point of pre-treatment.
In described automatic gain control equipment, described interframe smoothing processing module comprises:
The envelope detected module is carried out envelope detected to present frame, obtains the envelope information of present frame;
Gain regulation module according to the type and the envelope information of present frame voice signal, is adjusted the gain of present frame voice sampling point.
In described automatic gain control equipment, described gain regulation module according to the voice signal and the envelope information of the former frame of present frame and present frame, is adjusted the gain of present frame voice sampling point.
In described automatic gain control equipment, described envelope detected module comprises:
Range value is asked form unit, is used for the range value x (n) of present frame current speech sampling point is asked absolute value, obtains | x (n) |;
Envelope smoothing processing unit, according to | x (n) |, utilize formula
Figure C20071006310900102
Make the variation of envelope-tracking input speech signal;
Maximal value is chosen the unit, at the current speech sampling point with count forward in the scope of c (n) of N voice sampling points, chooses the range value c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
The envelope value computing unit, the amplitude peak value c (n) according to choosing utilizes formula e Max(n)=α x Max(n)+(1-α) e Max(n-1) envelope value of calculating current speech sampling point;
At the current speech sampling point with count forward in the scope of M voice sampling points, average after the envelope value addition to all voice sampling points in envelope amplitude smoothing processing unit
Figure C20071006310900111
In described automatic gain control equipment, described gain regulation module comprises:
Seamlessly transit the yield value computing unit, according to formula
Figure C20071006310900112
Calculating seamlessly transits yield value.
Control module is adjusted in gain, adjusts the gain of present frame voice sampling point.
In described automatic gain control equipment, described gain adjustment control module gains to present frame voice sampling point and carries out following adjustment:
If present frame is a noise frame, the gain of present frame is made as 1, promptly for all n, g (n)=1 does not amplify each voice sampling point of present frame yet and not to dwindle;
If present frame is a speech frame, the yield value of each voice sampling point of present frame is adjusted to seamlessly transit yield value.
In described automatic gain control equipment, described gain adjustment control module gains to present frame voice sampling point and carries out following adjustment:
If the former frame of present frame and present frame is noise frame, the gain of present frame is made as 1, present frame is not amplified yet do not dwindle;
If former frame is a noise frame, present frame is a speech frame, noise frame is to the speech frame transition, this moment, the yield value with first voice sampling point of present frame was taken as 1, the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value;
If former frame is a speech frame, present frame is a noise frame, speech frame is to the transition of noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1;
If former frame and present frame are speech frame, the yield value of each voice sampling point of present frame all is taken as and seamlessly transits yield value.
In described automatic gain control equipment, the smoothing processing module comprises in the described frame:
Level and smooth yield value computing unit in the frame is according to formula
Figure C20071006310900113
Calculate level and smooth yield value in the frame;
Gain adjusting unit in the frame is adjusted into level and smooth yield value g in the frame with the gain of each voice sampling point of present frame Ave(n).
In described automatic gain control equipment, also comprise: the voice output module, according to the input voice range value of N voice sampling point before the current speech sampling point, multiply by the interior level and smooth yield value of frame and obtain exporting voice, and export this voice.
Digital auto gain control method of the present invention is divided into two types of speech frame or noise frame with each frame voice signal; Joining place between dissimilar speech frames carries out the interframe smoothing processing.For the transition of noise frame to speech frame, gain the present invention of each voice sampling point is made as 1 in the noise frame, the gain of first voice sampling point is 1 in the speech frame, the gain of last voice sampling point is for seamlessly transitting yield value, the yield value of each middle voice sampling point by 1 linear increment to seamlessly transitting yield value.Prevented from like this to the joining place of speech frame transition the gain cataclysm to take place in noise frame.For the transition of speech frame to noise frame, the yield value of first voice sampling point is for seamlessly transitting yield value in the speech frame, and the yield value of last voice sampling point is 1, and the yield value of each middle voice sampling point is by seamlessly transitting yield value linear attenuation to 1.Prevented from like this to the joining place of noise frame transition the gain cataclysm to take place at speech frame.For two continuous speech frames, the yield value of each voice sampling point of present frame is adjusted into and seamlessly transits yield value.Prevented from like this to the joining place of speech frame transition the gain cataclysm to take place at speech frame.
Digital auto gain control method of the present invention not only can prevent the yield value cataclysm at the joining place of adjacent speech frame, and can in speech frame between adjacent voice sampling point, prevent the yield value cataclysm.With the gain of each voice sampling point in the present frame, adjust to level and smooth yield value in the frame by seamlessly transitting yield value.Level and smooth yield value is that the yield value that seamlessly transits to several continuous speech sampling points is averaged and obtains in the frame.Make gain transitions smooth between adjacent voice sampling point like this.
Description of drawings
Fig. 1 is the process flow diagram of auto gain control method embodiment 1 of the present invention;
Fig. 2 is the process flow diagram of auto gain control method embodiment 2 of the present invention;
Fig. 3 is the block scheme of automatic gain control equipment of the present invention;
Fig. 4 is the block diagram that seamlessly transits the yield value computing unit.
Embodiment
In order to solve the joining place of adjacent speech frame, the problem of yield value cataclysm appears in amplitude sudden change place, and auto gain control method of the present invention adopts the interframe antialiasing.Below in conjunction with the drawings and specific embodiments the present invention is described in further detail:
Embodiment 1:
With reference to accompanying drawing 1, the present embodiment digital auto gain control method comprises:
Step 1, voice signal that will be to be imported carry out the branch frame to be handled.
Be about to voice signal to be imported and be divided into some frames according to fixing duration (as 20ms), every frame comprises several voice sampling points, and each voice sampling point has amplitude separately respectively.
Step 2, movable voice detection module (VAD detection module) detects the voice signal of each frame input, divides into two types of speech frame and noise frame.
Select a frame voice signal as present frame.Present frame detects through the movable voice detection module, obtains the information vad_flag whether present frame comprises voice signal, if comprise voice signal vad_flag=1, otherwise vad_flag=0.The main effect of movable voice detection module is a noise frame of distinguishing speech frame and no voice, and purpose is: only speech frame is adjusted when gain is adjusted below, noise frame is not amplified yet do not dwindle.Noise when avoiding when gain is adjusted, amplifying no voice.
Step 3 can be carried out simultaneously with step 2, and present frame is carried out envelope detected, obtains the envelope information of present frame.
Envelope detected comprises preprocessing part and envelope detected part.
Described preprocessing part concrete steps are as follows:
Step 1 is chosen a voice sampling point in the present frame as current sampling point, the range value x (n) of current sampling point is asked thoroughly deserve | x (n) | and, wherein n is the sequence number of voice sampling point.
Step 2, in order to make envelope can follow the tracks of the variation of input signal, incite somebody to action | x (n) | do smoothing processing:
c ( n ) = max [ | x ( n ) | , | x ( n ) | - β e ave ( n - 1 ) 1 - β ] - - - ( 1 )
Step 3 is that several forward N the voice sampling points of starting point are in the scope of terminal point with current sampling point, chooses the maximal value of the corresponding c of voice sampling point (n)
x max(n)=max[c(n-N),…,c(n)] (2);
Wherein, the span of N is 10~40, can value be 20 in the present embodiment, is several forward 20 the voice sampling points of starting point with current sampling point promptly.Obviously, when handling top N-1 voice sampling point of present frame, in N several forward the voice sampling points, be the voice sampling point of former frame with some voice sampling point.
Be the envelope detected part below:
Step 4 is according to the amplitude peak value x that chooses Max(n) and the envelope value e of the previous sampling point of current sampling point Max(n-1), calculate the envelope value of current sampling point:
e max(n)=αx max(n)+(1-α)e max(n-1) (3)
In order to obtain level and smooth envelope amplitude, through following smoothing processing:, average after the envelope value addition to all voice sampling points at current sampling point with forward in the scope of several M voice sampling points:
e ave ( n ) = 1 M Σ i = 0 M e max ( n - i ) - - - ( 4 )
α is a predetermined constant in the above formula 1~4, can adjust as requested; General, at x Max(n)>e Max(n-1) the α time=0.2, otherwise α=0.01.
β = 1 M Σ i = 0 M - 1 ( 1 - α ) N + 1 - i ;
M is used for carrying out the level and smooth window length of envelope, for integer and generally greater than 10, can get M=20 in the present embodiment.
Step 4 is determined the sampling point gain according to the type and the envelope information of present frame voice signal.
In this step, at different classification, we adopt diverse ways to handle.Overall thought is:
0 expression present frame is a noise frame, the gain of present frame can be made as 1, and promptly for all n, g (n)=1 does not amplify present frame yet and not dwindle.
1 expression present frame is a speech frame, and need carry out the interframe smoothing processing this moment to the yield value of each sampling point.
Interframe gain-smoothing processing procedure in the time of will describing present frame below in detail and be speech frame.
Steps A 1 is by the yield value g (n) of each voice sampling point in formula (5) the calculating present frame.
g ( n ) = ( threshold e ave ( n ) ) θ - - - ( 5 )
θ represent one with the relevant constant of adjusting of effect, generally satisfy 0<θ≤1, best value is 0.5, θ is big more, and the speech energy that obtains is smooth more.The envelope of limiting case θ=1 o'clock output voice will be held constant at threshold.Threshold represents predefined threshold value, and general value is 16384, and with reduced, and the big more multiple that dwindles of amplitude is also big more greater than the voice of threshold; Voice less than threshold will be exaggerated, and the more for a short time multiple that is exaggerated of the amplitude of voice sampling point is big more.
Step 5 in order to prevent in the present frame that the yield value cataclysm takes place between adjacent voice sampling point, is carried out smoothing processing in the frame to the gain of each voice sampling point of present frame below.Promptly the yield value g (n) that calculates according to steps A 2 calculates level and smooth yield value g in the frame Ave(n):
g ave ( n ) = 1 M Σ i = 0 M g ( n - i ) - - - ( 6 ) ;
In addition, excessive in order to prevent that ground unrest is exaggerated in step 4, also can set a maximum multiple MAX_GAIN who allows amplification, MAX_GAIN is an empirical constant, is MAX_GAIN=3 as best value.If the gain of current sampling point is made as MAX_GAIN greater than the gain of the so current sampling point of MAX_GAIN.
Step 6 utilizes the yield value that obtains to multiply by the current speech sampling point input voice range value of N voice sampling point before, obtains final digital AGC adjustment output voice afterwards.
Be formulated as: y (n)=g Ave(n) * x (n-N).
The method that embodiment 1 provides by the envelope detected step, can detect the envelope of voice signal accurately and make its level and smooth variation.And, when obtaining yield value, by smoothing processing, prevent that yield value from interframe and frame cataclysm taking place to yield value according to envelope value.Simultaneously, present embodiment has adopted different disposal routes at noise frame and speech frame, can prevent that noise frame is exaggerated.Therefore adopt the digital gain control method of present embodiment, can obtain the voice signal that voice link up and do not have the good quality of instantaneous cataclysm phenomenon.
The present invention provides the device of realizing this method simultaneously.With reference to accompanying drawing 3, automatic gain control equipment of the present invention comprises:
Voice signal is cut apart module, is used for voice signal is divided into some frames by fixing duration;
The movable voice detection module is cut apart each frame after the module segmentation with described voice signal, divides into two types of speech frame or noise frame;
Interframe smoothing processing module is obtained the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame.
Smoothing processing module in the frame according to the type of present frame, is carried out smoothing processing in the frame to the gain when the voice sampling point of pre-treatment.
The voice output module according to the input voice range value of N voice sampling point before the current speech sampling point, multiply by the interior level and smooth yield value of frame and obtains exporting voice, and export this voice.
Described interframe smoothing processing module comprises:
The envelope detected module is carried out envelope detected to present frame, obtains the envelope information of present frame;
Gain regulation module according to the type and the envelope information of present frame voice signal, is adjusted the gain of present frame voice sampling point.
With reference to accompanying drawing 4, described envelope detected module comprises:
Range value is asked form unit, is used for the range value x (n) of present frame current speech sampling point is asked absolute value, obtains | x (n) |;
Envelope smoothing processing unit, according to | x (n) |, utilize formula Make the variation of envelope-tracking input speech signal;
Maximal value is chosen the unit, at the current speech sampling point with count forward in the scope of c (n) of N voice sampling points, chooses the range value c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
The envelope value computing unit, the amplitude peak value c (n) according to choosing utilizes formula e Max(n)=α x Max(n)+(1-α) e Max(n-1) envelope value of calculating current speech sampling point;
At the current speech sampling point with count forward in the scope of M voice sampling points, average after the envelope value addition to all voice sampling points in envelope amplitude smoothing processing unit
Figure C20071006310900161
Described gain regulation module comprises:
Seamlessly transit the yield value computing unit, according to formula
Figure C20071006310900162
Calculating seamlessly transits yield value.
Control module is adjusted in gain, adjusts the gain of present frame voice sampling point.
Gain adjustment control module gains to present frame voice sampling point and carries out following adjustment:
If present frame is a noise frame, the gain of present frame is made as 1, promptly for all n, g (n)=1 does not amplify each voice sampling point of present frame yet and not to dwindle;
If present frame is a speech frame, the yield value of each voice sampling point of present frame is adjusted to seamlessly transit yield value.
The smoothing processing module comprises in the described frame:
Level and smooth yield value computing unit in the frame is according to formula
Figure C20071006310900163
Calculate level and smooth yield value in the frame;
Gain adjusting unit in the frame is adjusted into level and smooth yield value g in the frame with the gain of each voice sampling point of present frame Ave(n).
Embodiment 2:
With reference to accompanying drawing 2, the present embodiment digital auto gain control method comprises:
Step 100 (not shown) is carried out the branch frame with voice signal to be imported and is handled.
Be about to voice signal to be imported and be divided into some frames according to fixing duration (as 20ms), every frame comprises several voice sampling points, and each voice sampling point has amplitude separately respectively.
Step 101, movable voice detection module (VAD detection module) detects the voice signal of each frame input, divides into two types of speech frame and noise frame, and the type of each frame voice signal is preserved.
Select a frame voice signal as present frame.Present frame detects through the movable voice detection module, obtains the information vad_flag whether present frame comprises voice signal, if comprise voice signal vad_flag=1, otherwise vad_flag=0.The main effect of movable voice detection module is a noise frame of distinguishing speech frame and no voice, and purpose is: only speech frame is adjusted when gain is adjusted below, noise frame is not amplified yet do not dwindle.Noise when avoiding when gain is adjusted, amplifying no voice.
Step 102 can be carried out simultaneously with step 101, and present frame is carried out envelope detected, obtains the envelope information of present frame.
Envelope detected comprises preprocessing part and envelope detected part.
Described preprocessing part concrete steps are as follows:
Step 1 is chosen a voice sampling point in the present frame as current sampling point, the range value x (n) of current sampling point is asked thoroughly deserve | x (n) |; Wherein n is the sequence number of voice sampling point.
Step 2, in order to make envelope can follow the tracks of the variation of input signal, incite somebody to action | x (n) | do smoothing processing:
c ( n ) = max [ | x ( n ) | , | x ( n ) | - β e ave ( n - 1 ) 1 - β ] - - - ( 1 )
Step 3 is that several forward N the voice sampling points of starting point are in the scope of terminal point with current sampling point, chooses the maximal value x of the corresponding c of voice sampling point (n) Max(n)=max[c (n-N) ..., c (n)] and (2);
Wherein, the span of N is 10~40, can value be 20 in the present embodiment, is several forward 20 the voice sampling points of starting point with current sampling point promptly.Obviously, when handling top N-1 voice sampling point of present frame, in N several forward the voice sampling points, be the voice sampling point of former frame with some voice sampling point.
Be the envelope detected part below:
Step 4 is according to the amplitude peak value x that chooses Max(n) and the envelope value e of the previous sampling point of current sampling point Max(n-1),
Calculate the envelope value of current sampling point:
e max(n)=αx max(n)+(1-α)e max(n-1) (3)
In order to obtain level and smooth envelope amplitude, through following smoothing processing:, average after the envelope value addition to all voice sampling points at current sampling point with forward in the scope of several M voice sampling points:
e ave ( n ) = 1 M Σ i = 0 M e max ( n - i ) - - - ( 4 )
α is a predetermined constant in the above formula 1~4, can adjust as requested; General, at x Max(n)>e Max(n-1) the α time=0.2, otherwise α=0.01.
β = 1 M Σ i = 0 M - 1 ( 1 - α ) N + 1 - i ;
M is used for carrying out the level and smooth window length of envelope, for integer and generally greater than 10, can get M=20 in the present embodiment.
Step 103, the type of the former frame voice signal of the present frame that taking-up step 101 is preserved.
In the present embodiment, can adopt the method for time-delay 1 frame, the type of output former frame voice signal.
Step 104 is utilized the type of present frame and its former frame voice signal, and present frame is divided into 4 classes.
To import voice according to the vad_flag of the vad_flag of former frame and present frame and be divided into four classes, and represent that with xy wherein x will represent the vad_flag of former frame, y represents the vad_flag of present frame.Four classes are respectively 00,01, and 10,11.
Step 105 is determined the sampling point gain according to different classification and envelope information.
In this step, at different classification, we adopt diverse ways to handle.Overall thought is:
00 former frame that is expressed as present frame and present frame is noise frame, the gain of present frame can be made as 1, present frame is not amplified yet do not dwindle.
01 expression former frame is a noise frame, and present frame is a speech frame, and noise frame is to the speech frame transition, and the gain linearity that can make each sampling point of present frame this moment is from 1 gain that is incremented to last sampling point of present frame.
10 expression former frame are speech frame, and present frame is a noise frame, and at this moment speech frame can make the gain of each sampling point of present frame decay to 1 gradually to the transition of noise frame.
11 expression former frame and present frame are speech frame, need carry out smoothing processing to the yield value of each sampling point.
To describe the gain-smoothing processing procedure of this four classes situation below in detail.
(1), when being 00, the former frame that is expressed as present frame and present frame is noise frame, as previously mentioned, the gain of present frame is made as 1, promptly for all n, and g (n)=1.
(2), when being 01, former frame is a noise frame, present frame is a speech frame, this moment, the yield value with first voice sampling point of present frame was taken as 1, the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value.Its processing procedure is specific as follows:
Steps A 1 is by the yield value g (n) of last voice sampling point in formula (5) the calculating present frame.
g ( n ) = ( threshold e ave ( n ) ) θ - - - ( 5 )
θ represent one with the relevant constant of adjusting of effect, generally satisfy 0<θ≤1, best value is 0.5, θ is big more, and the speech energy that obtains is smooth more.The envelope of limiting case θ=1 o'clock output voice will be held constant at threshold.Threshold represents predefined threshold value, and general value is 16384, and with reduced, and the big more multiple that dwindles of amplitude is also big more greater than the voice of threshold; Voice less than threshold will be exaggerated, and the more for a short time multiple that is exaggerated of the amplitude of voice sampling point is big more.
Steps A 2, get the yield value that calculates last sampling point of the present frame that obtains in the steps A 1 and seamlessly transit yield value as it, the yield value of getting first sampling point of present frame is 1, yield value to other sampling point in the present frame carries out the yield value that linearization process obtains each sampling point in order, and makes the seamlessly transit yield value of yield value from 1 linear increment to a last sampling point of each sampling point in the present frame.
The process of described linearization process can be the arithmetic progression that order increases progressively for the yield value that makes each voice sampling point in the present frame.
This step is the joining place to adjacent speech frame, carries out the interframe smoothing processing.
Steps A 3 in order to prevent in the present frame that the yield value cataclysm takes place between adjacent voice sampling point, is carried out smoothing processing in the frame to the gain of each voice sampling point of present frame below.Promptly the yield value g (n) that calculates according to steps A 2 calculates level and smooth yield value g in the frame Ave(n):
g ave ( n ) = 1 M Σ i = 0 M g ( n - i ) - - - ( 6 ) ;
(3) when being 10, be that former frame is a speech frame, present frame is a noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1.
Its processing procedure is roughly the same with the situation that is categorized as at 01 o'clock, and same execution in step A1 utilizes formula 5 to try to achieve the yield value of first sampling point of present frame; Carrying out A3 carries out smoothly the gain of trying to achieve, when difference is execution in step A2, be that yield value with first voice sampling point of present frame is taken as first sampling point yield value of present frame that steps A 1 is calculated gained, and the yield value of last voice sampling point is taken as 1, the arithmetic progression that successively decreases is in order then got the yield value of other voice sampling point.
Also should be noted that in this step the yield value of last voice sampling point of desirable former frame as seamlessly transitting yield value, then with the yield value of each sampling point in present frame linear decrease to 1 in order.So just need not to have carried out the calculating of steps A 1 again.
(4) when being 11, promptly former frame and present frame are speech frame, and the yield value of each sampling point of present frame all should be taken as and seamlessly transit yield value at this moment.
Its processing procedure is with the difference that is categorized as at 01 o'clock, utilizes formula 5 to try to achieve the yield value of each sampling point at execution in step A1; Promptly obtained the yield value that seamlessly transits of each voice sampling point behind the execution A3.And do not need to carry out A2.
In addition, excessive in order to prevent that ground unrest is exaggerated in step 105, also can set a maximum multiple MAX_GAIN who allows amplification, MAX_GAIN is an empirical constant, is MAX_GAIN=3 as best value.If the gain of current sampling point is made as MAX_GAIN greater than the gain of the so current sampling point of MAX_GAIN.
Step 106 utilizes the yield value that obtains to multiply by the current speech sampling point input voice range value of N voice sampling point before, obtains final digital AGC adjustment output voice afterwards.
Be formulated as: y (n)=g Ave(n) * x (n-N).
In the present embodiment, introduce additional noise in order noise not to be adjusted, adding and voice activity detection (vad) module are in order to classify to the input voice in system architecture, and be divided into 4 classes in conjunction with the characteristic of former frame voice and handle respectively, make the adjustment of gain more level and smooth, the voice that finally obtain do not have audible distortion, and make the relative size of input voice concern the low voice segments of raising energy under the condition that remains unchanged, and reduce the too high voice segments of energy.
In a word, through above-mentioned processing, the digital AGC algorithm that present embodiment provides is handled the signal of high s/n ratio, can effectively adjust small-signal and excessive signal, make it in reasonable range, and whole adjustment process is not introduced additional voice audible distortion.
The present invention provides the device of realizing this method simultaneously.With reference to accompanying drawing 3, automatic gain control equipment of the present invention comprises:
Voice signal is cut apart module, is used for voice signal is divided into some frames by fixing duration;
The movable voice detection module is cut apart each frame after the module segmentation with described voice signal, divides into two types of speech frame or noise frame;
Interframe smoothing processing module is obtained the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame.
Smoothing processing module in the frame according to the type of present frame, is carried out smoothing processing in the frame to the gain when the voice sampling point of pre-treatment.
The voice output module according to the input voice range value of N voice sampling point before the current speech sampling point, multiply by the interior level and smooth yield value of frame and obtains exporting voice, and export this voice.
Described interframe smoothing processing module comprises:
The envelope detected module is carried out envelope detected to present frame, obtains the envelope information of present frame;
Described gain regulation module according to the voice signal and the envelope information of the former frame of present frame and present frame, is adjusted the gain of present frame voice sampling point.
With reference to accompanying drawing 4, described envelope detected module comprises:
Range value is asked form unit, is used for the range value x (n) of present frame current speech sampling point is asked absolute value, obtains | x (n) |;
Envelope smoothing processing unit, according to | x (n) |, utilize formula
Figure C20071006310900201
Make the variation of envelope-tracking input speech signal;
Maximal value is chosen the unit, at the current speech sampling point with count forward in the scope of c (n) of N voice sampling points, chooses the range value c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
The envelope value computing unit, the amplitude peak value c (n) according to choosing utilizes formula e Max(n)=α x Max(n)+(1-α) e Max(n-1) envelope value of calculating current speech sampling point;
At the current speech sampling point with count forward in the scope of M voice sampling points, average after the envelope value addition to all voice sampling points in envelope amplitude smoothing processing unit
Figure C20071006310900202
Described gain regulation module comprises:
Seamlessly transit the yield value computing unit, according to formula Calculating seamlessly transits yield value.
Control module is adjusted in gain, adjusts the gain of present frame voice sampling point.
Gain adjustment control module gains to present frame voice sampling point and carries out following adjustment:
If the former frame of present frame and present frame is noise frame, the gain of present frame is made as 1, present frame is not amplified yet do not dwindle;
If former frame is a noise frame, present frame is a speech frame, noise frame is to the speech frame transition, this moment, the yield value with first voice sampling point of present frame was taken as 1, the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value;
If former frame is a speech frame, present frame is a noise frame, speech frame is to the transition of noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1;
If former frame and present frame are speech frame, the yield value of each voice sampling point of present frame all is taken as and seamlessly transits yield value.
The smoothing processing module comprises in the described frame:
Level and smooth yield value computing unit in the frame is according to formula
Figure C20071006310900212
Calculate level and smooth yield value in the frame; Gain adjusting unit in the frame is adjusted into level and smooth yield value g in the frame with the gain of each voice sampling point of present frame Ave(n).

Claims (17)

1, a kind of digital auto gain control method comprises:
Steps A is divided into some frames with voice signal by fixing duration;
It is characterized in that also comprising:
Step B carries out movable voice to each frame voice signal and detects, and it is divided into two types of speech frame or noise frame;
Step C obtains the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame;
Described step C comprises:
Present frame is carried out envelope detected, obtain the envelope information of present frame;
According to the type and the envelope information of present frame voice signal, adjust the gain of present frame voice sampling point;
Perhaps
According to the voice signal and the envelope information of the former frame of present frame and present frame, adjust the gain of present frame voice sampling point.
2, digital auto gain control method according to claim 1 is characterized in that also comprising step D: according to the type of present frame, smoothing processing in the frame is carried out in the gain when the voice sampling point of pre-treatment.
3, digital auto gain control method according to claim 1 is characterized in that step B is specially: if present frame comprises the information of voice signal, then present frame is a speech frame, otherwise is noise frame.
4, digital auto gain control method according to claim 1 is characterized in that described present frame being carried out envelope detected, and the step that obtains the envelope information of present frame comprises:
Step 1, a voice sampling point choosing present frame be as the current speech sampling point, the range value x (n) of current speech sampling point asked thoroughly deserve | x (n) | and, n is the sequence number of voice sampling point;
Step 2 is passed through formula c ( n ) = max [ | x ( n ) | , | x ( n ) | - βe ave ( n - 1 ) 1 - β ] Make the variation of envelope-tracking input signal; α is a predetermined constant, β = 1 M Σ i = 0 M - 1 ( 1 - α ) N + 1 - i , M is used for carrying out the level and smooth window length of envelope; e Ave(n-1) be the level and smooth envelope value of the previous voice sampling point of current speech sampling point;
Step 3 at current sampling point with count forward in the scope of c (n) of N voice sampling points, is chosen the c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
Step 4 according to the maximal value of choosing, calculates the envelope value of current speech sampling point:
e max(n)=αx max(n)+(1-α)e max(n-1)
Step 5 at the current speech sampling point with count forward in the scope of M voice sampling points, is averaged after the envelope value addition to all voice sampling points, calculates the level and smooth envelope value of current speech sampling point:
e ave ( n ) = 1 M Σ i = 0 M e max ( n - i ) .
5, digital auto gain control method according to claim 1 is characterized in that described type and envelope information according to the present frame voice signal, and the step of adjusting the gain of present frame voice sampling point is specially:
If present frame is a noise frame, the gain of present frame is made as 1, promptly for all n, g (n)=1 does not amplify each voice sampling point of present frame yet and not to dwindle;
If present frame is a speech frame, the yield value of each voice sampling point of present frame adjusted to seamlessly transit yield value g (n),
g ( n ) = ( threshold e ave ( n ) ) θ
N is the sequence number of voice sampling point, θ represent one with the relevant constant of adjusting of effect, 0<θ≤1, threshold represents predefined threshold value, e Ave(n) be at the current speech sampling point and count forward in the scope of M voice sampling points, the mean value after the envelope value addition of all voice sampling points.
6, digital auto gain control method according to claim 1 is characterized in that the voice signal and the envelope information of described former frame according to present frame and present frame, and the step of adjusting the gain of present frame voice sampling point is specially:
If the former frame of present frame and present frame is noise frame, the gain of present frame is made as 1, present frame is not amplified yet do not dwindle;
If former frame is a noise frame, present frame is a speech frame, this moment, the yield value with first voice sampling point of present frame was taken as 1, and the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value;
If former frame is a speech frame, present frame is a noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, and the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1;
If former frame and present frame are speech frame, the yield value of each voice sampling point of present frame all is taken as and seamlessly transits yield value.
7, digital auto gain control method according to claim 2 is characterized in that smoothing processing is specially in the described frame: the gain of each voice sampling point of present frame is adjusted into level and smooth yield value g in the frame Ave(n):
g ave ( n ) = 1 M Σ i = 0 M g ( n - i )
N is the sequence number of voice sampling point.
8, digital auto gain control method according to claim 7 is characterized in that, if level and smooth yield value is greater than predetermined threshold in the frame of current sampling point, then level and smooth yield value is made as predetermined threshold in the frame.
9, digital auto gain control method according to claim 2 is characterized in that also comprising:
The input voice range value of N voice sampling point multiply by the interior level and smooth yield value of frame and obtains exporting voice before the step e, current speech sampling point.
10, a kind of automatic gain control equipment comprises:
Voice signal is cut apart module, is used for voice signal is divided into some frames by fixing duration;
It is characterized in that also comprising:
The movable voice detection module is cut apart each frame after the module segmentation with described voice signal, divides into two types of speech frame or noise frame;
Interframe smoothing processing module is obtained the yield value of each voice sampling point of present frame, and in obtaining the process of yield value, according to the type of present frame, the interframe smoothing processing is carried out in the gain of the voice sampling point of present frame;
Described interframe smoothing processing module comprises:
The envelope detected module is carried out envelope detected to present frame, obtains the envelope information of present frame;
Gain regulation module according to the type and the envelope information of present frame voice signal, is adjusted the gain of present frame voice sampling point; Perhaps, adjust the gain of present frame voice sampling point according to the voice signal and the envelope information of the former frame of present frame and present frame.
11, automatic gain control equipment according to claim 10 is characterized in that also comprising: smoothing processing module in the frame, according to the type of present frame, smoothing processing in the frame is carried out in the gain when the voice sampling point of pre-treatment.
12, automatic gain control equipment according to claim 10 is characterized in that described envelope detected module comprises:
Range value is asked form unit, is used for the range value x (n) of present frame current speech sampling point is asked absolute value, obtains | x (n) |;
Envelope smoothing processing unit, according to | x (n) |, utilize formula c ( n ) = max [ | x ( n ) | , | x ( n ) | - βe ave ( n - 1 ) 1 - β ] Make the variation of envelope-tracking input speech signal, n is the sequence number of voice sampling point, and α is a predetermined constant, β = 1 M Σ i = 0 M - 1 ( 1 - α ) N + 1 - i , M is used for carrying out the level and smooth window length of envelope; e Ave(n-1) be the level and smooth envelope value of the previous voice sampling point of current speech sampling point;
Maximal value is chosen the unit, at the current speech sampling point with count forward in the scope of c (n) of N voice sampling points, chooses the range value c (n) of maximum, i.e. x Max(n)=max[c (n-N) ..., c (n)];
The envelope value computing unit, the amplitude peak value c (n) according to choosing utilizes formula e Max(n)=α x Max(n)+(1-α) e Max(n-1) envelope value of calculating current speech sampling point;
Envelope amplitude smoothing processing unit is at the current speech sampling point with count forward in the scope of M voice sampling points, to all voice
Average after the envelope value addition of sampling point, calculate the level and smooth envelope value of current speech sampling point:
e ave ( n ) = 1 M Σ i = 0 M e max ( n - i ) .
13, automatic gain control equipment according to claim 10 is characterized in that described gain regulation module comprises:
Seamlessly transit the yield value computing unit, according to formula g ( n ) = ( threshold e ave ( n ) ) θ Calculating seamlessly transits yield value, and n is the sequence number of voice sampling point, θ represent one with the relevant constant of adjusting of effect, 0<θ≤1, threshold represents predefined threshold value, e Ave(n) be at the current speech sampling point and count forward in the scope of M voice sampling points, the mean value after the envelope value addition of all voice sampling points.
Control module is adjusted in gain, adjusts the gain of present frame voice sampling point.
14, automatic gain control equipment according to claim 13 is characterized in that described gain adjusts control module to the following adjustment of present frame voice sampling point gain carrying out:
If present frame is a noise frame, the gain of present frame is made as 1, promptly for all n, g (n)=1 does not amplify each voice sampling point of present frame yet and not to dwindle, and n is the sequence number of voice sampling point;
If present frame is a speech frame, the yield value of each voice sampling point of present frame is adjusted to seamlessly transit yield value.
15, automatic gain control equipment according to claim 13 is characterized in that described gain adjusts control module to the following adjustment of present frame voice sampling point gain carrying out:
If the former frame of present frame and present frame is noise frame, the gain of present frame is made as 1, present frame is not amplified yet do not dwindle;
If former frame is a noise frame, present frame is a speech frame, noise frame is to the speech frame transition, this moment, the yield value with first voice sampling point of present frame was taken as 1, the yield value of last voice sampling point is for seamlessly transitting yield value, the yield value of all the other each voice sampling points by 1 linear increment to seamlessly transitting yield value;
If former frame is a speech frame, present frame is a noise frame, speech frame is to the transition of noise frame, be taken as the yield value of first voice sampling point of present frame and seamlessly transit yield value this moment, the yield value of last voice sampling point is 1, and the yield value of all the other each voice sampling points is by seamlessly transitting yield value linear decrease to 1;
If former frame and present frame are speech frame, the yield value of each voice sampling point of present frame all is taken as and seamlessly transits yield value.
16, automatic gain control equipment according to claim 11 is characterized in that the smoothing processing module comprises in the described frame:
Level and smooth yield value computing unit in the frame is according to formula g ave ( n ) = 1 M Σ i = 0 M g ( n - i ) Calculate level and smooth yield value in the frame, n
Sequence number for the voice sampling point;
Gain adjusting unit in the frame is adjusted into level and smooth yield value g in the frame with the gain of each voice sampling point of present frame Ave(n).
17, automatic gain control equipment according to claim 10, it is characterized in that also comprising: the voice output module, according to the input voice range value of N voice sampling point before the current speech sampling point, multiply by the interior level and smooth yield value of frame and obtain exporting voice, and export this voice.
CN200710063109A 2007-01-26 2007-01-26 Digital auto gain control method and device Expired - Fee Related CN100589183C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710063109A CN100589183C (en) 2007-01-26 2007-01-26 Digital auto gain control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710063109A CN100589183C (en) 2007-01-26 2007-01-26 Digital auto gain control method and device

Publications (2)

Publication Number Publication Date
CN101009099A CN101009099A (en) 2007-08-01
CN100589183C true CN100589183C (en) 2010-02-10

Family

ID=38697496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710063109A Expired - Fee Related CN100589183C (en) 2007-01-26 2007-01-26 Digital auto gain control method and device

Country Status (1)

Country Link
CN (1) CN100589183C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243631A (en) * 2020-01-14 2020-06-05 北京声智科技有限公司 Automatic gain control method and electronic equipment

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101203063B (en) * 2007-12-19 2012-11-28 北京中星微电子有限公司 Method and apparatus for noise elimination of microphone array
CN101192411B (en) * 2007-12-27 2010-06-02 北京中星微电子有限公司 Large distance microphone array noise cancellation method and noise cancellation system
ES2371619B1 (en) * 2009-10-08 2012-08-08 Telefónica, S.A. VOICE SEGMENT DETECTION PROCEDURE.
CN102332264A (en) * 2011-09-21 2012-01-25 哈尔滨工业大学 Robust mobile speech detecting method
CN104200810B (en) * 2014-08-29 2017-07-18 无锡中感微电子股份有限公司 Automatic gain control equipment and method
CN105811975B (en) * 2014-12-30 2018-11-27 展讯通信(上海)有限公司 A kind of method and device reducing quantizing noise
CN105355197B (en) * 2015-10-30 2020-01-07 百度在线网络技术(北京)有限公司 Gain processing method and device for voice recognition system
CN106060717A (en) * 2016-05-26 2016-10-26 广东睿盟计算机科技有限公司 High-definition dynamic noise-reduction pickup
CN106448712B (en) * 2016-10-20 2019-06-25 广州视源电子科技股份有限公司 A kind of auto gain control method and device of audio signal
CN106412689A (en) * 2016-10-28 2017-02-15 北京数码视讯科技股份有限公司 Audio volume adjusting method and apparatus
CN108133712B (en) * 2016-11-30 2021-02-12 华为技术有限公司 Method and device for processing audio data
CN108174328A (en) * 2018-02-06 2018-06-15 深圳市富励逻辑科技有限公司 The auto gain control method and control device of speech processing system
CN108962275B (en) * 2018-08-01 2021-06-15 电信科学技术研究院有限公司 Music noise suppression method and device
WO2020107385A1 (en) * 2018-11-30 2020-06-04 深圳市汇顶科技股份有限公司 Gain processing method and device implementing same, electronic apparatus, signal acquisition method and system implementing same
CN110111805B (en) * 2019-04-29 2021-10-29 北京声智科技有限公司 Automatic gain control method and device in far-field voice interaction and readable storage medium
CN110660408B (en) * 2019-09-11 2022-02-22 厦门亿联网络技术股份有限公司 Method and device for digital automatic gain control
CN110971769B (en) * 2019-11-19 2022-05-03 百度在线网络技术(北京)有限公司 Call signal processing method and device, electronic equipment and storage medium
CN112151047B (en) * 2020-09-27 2022-08-05 桂林电子科技大学 Real-time automatic gain control method applied to voice digital signal
CN112669878B (en) * 2020-12-23 2024-04-19 北京声智科技有限公司 Sound gain value calculation method and device and electronic equipment
CN113470691A (en) * 2021-07-08 2021-10-01 浙江大华技术股份有限公司 Automatic gain control method of voice signal and related device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243631A (en) * 2020-01-14 2020-06-05 北京声智科技有限公司 Automatic gain control method and electronic equipment

Also Published As

Publication number Publication date
CN101009099A (en) 2007-08-01

Similar Documents

Publication Publication Date Title
CN100589183C (en) Digital auto gain control method and device
CN104200810B (en) Automatic gain control equipment and method
US8275153B2 (en) System and method for generating an audio gain control signal
EP2172930B1 (en) Audio signal processing device and audio signal processing method
WO2006116024A3 (en) Systems, methods, and apparatus for gain factor attenuation
AU2001282454A1 (en) Voice enhancement system
CN101533641A (en) Method for correcting channel delay parameters of multichannel signals and device
DE10260657B4 (en) Audio amplifier with voltage limiting in response to the spectral content
CN102402987A (en) Noise suppression device, noise suppression method, and program
CN103226952A (en) Voice processing apparatus, method and program
US9002033B2 (en) Scaling a plurality of signals to prevent amplitude clipping
CN1166244A (en) Amplifier circuit and method for controlling amplifier in RF system
CN101729034A (en) Speech processing apparatus, dynamic range control module, and method for amplitude adjustment for a speech signal
CN105490654B (en) The automatic gain controller control method and circuit of speech collecting system
CN101567672B (en) Method and system for acquiring gain
CN102307323B (en) Method for modifying sound channel delay parameter of multi-channel signal
CN106782586A (en) A kind of acoustic signal processing method and device
US6081603A (en) Method and apparatus for automatic gain control using a linear limiter circuit with voltage controlled resistors as a variable element
US8155327B2 (en) Tone detector and method used in a robot for detecting a tone
CN103278548A (en) Electrical signal calibration method for solid-state nanopore DNA sequencing
US20120262233A1 (en) Mixed signal dynamic range compression
CN107516528B (en) Audio link self-checking method
CN1119070C (en) Arrangement, system, circuit and method for enhancing a stereo image
CN101820563B (en) Speaker protection system
US20140023208A1 (en) Digital audio amplification device using harmonics and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

Termination date: 20200126