CN100505530C - Volume control method and system - Google Patents
Volume control method and system Download PDFInfo
- Publication number
- CN100505530C CN100505530C CNB200510035571XA CN200510035571A CN100505530C CN 100505530 C CN100505530 C CN 100505530C CN B200510035571X A CNB200510035571X A CN B200510035571XA CN 200510035571 A CN200510035571 A CN 200510035571A CN 100505530 C CN100505530 C CN 100505530C
- Authority
- CN
- China
- Prior art keywords
- volume
- value
- voice flow
- automatic gain
- processing block
- 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
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Control Of Amplification And Gain Control (AREA)
Abstract
The disclosed auto gain volume control method for communication comprises: pre-defining voice flow state to decide in transmission for AGC and smooth transition from high pitch to silence. This invention overcomes defects of volume and voice discontinuity, and fit for video conference.
Description
Technical field
The present invention relates to the voice communication technology, relate in particular to volume auto gain control method and system in a kind of voice communication.
Background technology
At present, be used to solve automatic gain that channel volume control institute generally adopts and control the core concept of (AGC) method and be: voice flow is divided into the processing block (block) of fixed size, and each processing block comprises several sample point quantized amplitudes Value Datas.By the height of current volume,,, then this multiplication factor is taken advantage of volume amplitude, as output in each sample point for each processing block calculates a multiplication factor (Gain) with certain algorithm.
The automatic gain control (AGC) of volume is used for digital loudspeaking telepnone at present.This type of digital loudspeaking telepnone generally comprises a loudspeaker, reach local user there from afar and receive input and output signal respectively, and corresponding generation and comparison input and output envelope signal and bottom noise signal level and suppress to input or output in the signal one, the automatic gain control (AGC) that realizes output signal is to allow its level and smooth switching and to suppress background noise by the transmitter transmission.Correlation technique is referring to Chinese patent 85108662.
In Digital Signal Processing, also use automatic gain control (AGC) method in the digital signal processor at present.This method is at first set up a predetermined threshold value, a predetermined automatic gain control value and a predetermined counting threshold value, and deposit in the data memory that links with signal processor.The sample value of each input signal be multiply by automatic gain control (AGC) value, and deposit product in this data memory.Get the absolute value of this product, and with itself and the threshold value addition that should be scheduled to.As operation result signal processor is overflowed, then the AGC value reduces, and deposits back this data memory.Correlation technique is referring to Chinese patent 86106498.
The shortcoming of prior art is, at first, lack in the existing AGC method a kind of during quiet effective gain process.When transmitting terminal is silent, the volume amplitude of the sample point of receiving at receiving terminal is very low, be referred to as quiet during, at this moment the automatic gain value that is calculated according to existing AGC method will be very big, promptly need to amplify very big multiple, finally cause the background noise of transmitting terminal to be amplified significantly, and also brouhaha and howling can occur at receiving terminal.
Secondly existing method all is the phenomenon that ubiquity only increases when calculating the automatic gain value.Promptly remarkable to the amplification effect of small volume sample, but not obvious to the restriction effect of big volume sample.
Summary of the invention
The object of the invention is to provide the volume auto gain control method and the system of the differentiation volume status in a kind of voice communication, background noise is amplified significantly during quiet to solve in the prior art, occur noisy and problem howling, and the voice flow volume to the louder volume state only increases in the automatic gain volume control of solution prior art, causes the excessive problem of volume.
For achieving the above object, the invention provides following technical scheme:
A kind of method for controlling volume may further comprise the steps:
A) definition voice flow volume status, this volume status comprises mute state, louder volume state and normal quantity state;
B) gather voice flow, and it is processed into several processing blocks of identical size;
C) judge the volume status of the voice flow gathered;
D) according to the volume status of being judged in the step c) voice flow of being gathered is carried out the adjustment of corresponding volume automatic gain, wherein,
D1) when the voice flow volume status is the normal quantity state, voice flow is carried out the automatic gain adjustment;
D2) when the voice flow volume status is the louder volume state, the downward modulation yield value is to reduce volume;
D3) when the voice flow volume status is mute state, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result;
E) output is through the voice flow of volume adjustment.
Preferably, each processing block in the described step b) comprises several volume sample points.
Preferably, before step c), also comprise step: max volume value and the average volume value of measuring current processing block, described current processing block max volume value is the volume of the sample point of volume maximum in this processing block, and described current processing block average volume value is the mean value of the volume of all sample points in the current processing block.
Preferably, described step c) comprises:
C1) a quiet threshold value is set, a quiet persistence length value and a louder volume threshold value;
C2) more described quiet threshold value and described current processing block max volume value in the time of continuous quiet persistence length value representative;
C3) in the time of continuous quiet persistence length value representative, during greater than current processing block max volume value, judge that voice flow is in mute state when described quiet threshold value;
C4) when described quiet threshold value in the time of continuous quiet persistence length value representative less than current processing block max volume value, then more described louder volume threshold value and described average volume value;
If described louder volume threshold value, judges then that voice flow is in the louder volume state less than described average volume value;
If described louder volume threshold value, judges then that voice flow is in the normal quantity state greater than described average volume value.
Preferably, described step of finely tuning according to comparative result also comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
Preferably, the described amplitude of at every turn dwindling of dwindling the automatic gain value gradually is identical identical with the each increase amplitude that increases the automatic gain value gradually.
Preferably, also comprise in the described step d): when voice flow was in the louder volume state, downward modulation automatic gain value was to reduce volume.
Preferably, the amplitude of described downward modulation automatic gain value is the ratio of described louder volume threshold value and described average volume value.
The present invention also provides a kind of sound-volume control system, comprises by the interconnected voice flow transmitting terminal of network, and the voice flow receiving terminal, voice server and the volume controller that is used for before receiving terminal is play voice flow, adjusting volume, this volume controller comprises:
Be used for gathering the voice flow input module of voice flow from described voice flow transmitting terminal;
Be used for the voice flow of being gathered is preserved into the voice flow processing module of the processing block of several same size;
Be used to judge the volume status judge module of the volume status of the voice flow of being preserved, described volume status comprises mute state, louder volume state and normal quantity state;
Be used for respectively the voice flow of different volume status being carried out the Audio Control Module that corresponding volume is adjusted, wherein, when the voice flow volume status is the normal quantity state, voice flow carried out the automatic gain adjustment according to the judged result of volume status judge module; When the voice flow volume status was the louder volume state, the downward modulation yield value was to reduce volume; When the voice flow volume status is mute state, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result; And
Be used to export the voice flow of adjusting through volume and give the voice flow output module of voice flow receiving terminal.
Preferably, described volume controller is at voice flow transmitting terminal, voice flow receiving terminal or voice server end.
Preferably, described voice flow transmitting terminal and voice flow receiving terminal are that operation videoconference program speech communication program or other comprise the computer of the client-side program of speech communication module.
Preferably, described voice flow transmitting terminal and voice flow receiving terminal are speech communication equipment, comprise digital telephone, mobile phone and PDA.
Preferably, system all controls by the volume to a plurality of described voice flow transmitting terminals, makes the output volume unanimity of described a plurality of voice flow transmitting terminal at described voice flow receiving terminal, reaches the multichannel balance.
Preferably, the described fine setting also according to comparative result comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
The present invention also provides the mute control method in a kind of volume automatic gain control, and this method may further comprise the steps:
Set a quiet threshold value and a quiet persistence length value;
Gather voice flow, and it is preserved into several processing blocks of identical size, and measure the descant value of each processing block;
The descant value and the quiet threshold value that in the time of continuous quiet persistence length value representative, compare processing block continuous in the voice flow continuously;
When in the time of continuous quiet persistence length value representative, the descant value of continuous processing block is all less than quiet threshold value in the voice flow, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result.
Preferably, described processing block max volume value is the volume value of the sample point of volume maximum in this processing block.
Preferably, described step of finely tuning according to comparative result comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
Preferably, the described amplitude of at every turn dwindling of dwindling the automatic gain value gradually is identical identical with the each increase amplitude that increases the automatic gain value gradually.
The present invention also provides the louder volume control method in a kind of volume automatic gain control, and this method may further comprise the steps:
Set a louder volume sound threshold value;
Gather voice flow, and it is preserved into several processing blocks of identical size, and calculate the average volume value of each processing block, this average volume value is the mean value of the volume of all sample points in each processing block;
More described louder volume threshold value and described average volume value;
If described louder volume threshold value less than described average volume value, is then reduced the automatic gain value to reduce volume.
Preferably, the described average volume value mean value that is the volume of all sample points in each processing block.
Preferably, the amplitude of described downward modulation automatic gain value is the ratio of described louder volume threshold value and described average volume value.
The present invention judges the volume status of current speech stream by pre-defined voice flow volume status, according to judged result voice flow is adjusted accordingly then.Owing to distinguish the volume status of voice flow, thereby can adjust accordingly at the voice flow of different volume status, when judging that voice flow is in mute state, dwindle gradually or increase the automatic gain value gradually with each identical amplitude, make it to be smoothly transitted into 1, eliminate the transmitting terminal background noise and excessively amplified brouhaha and the howling that brings; When judging that voice flow is in the louder volume state, downward modulation automatic gain value realizes the volume limitations to the louder volume voice flow to reduce volume, thereby reaches the level and smooth smoothness of voice flow.Since the solution of the present invention to the voice of a plurality of voice flow transmitting terminals respectively stream adjust accordingly, make the volume of a plurality of voice flow transmitting terminals reach consistent size, thereby realize the multichannel balance in the speech communication at receiving terminal.
Description of drawings
Fig. 1 is the flow chart of method for controlling volume of the present invention;
Fig. 2 is a sound-volume control system structure chart of the present invention;
The schematic diagram that Fig. 3 uses at instant communication client for the present invention;
Fig. 4 is the multichannel balance schematic diagram of a plurality of voice flow transmitting terminal of the present invention in the volume output of voice flow receiving terminal.
Embodiment
Describe the present invention with specific embodiment below in conjunction with accompanying drawing.
The present invention is a kind of method for controlling volume and system, on the basis of the volume automatic gain control of generally adopting at present, pre-defined voice flow volume status, judge the volume status of current speech stream, and according to judged result voice flow is carried out corresponding volume adjustment, the voice flow that output is at last adjusted through volume.
Figure 1 shows that and use schematic flow sheet of the present invention.
This programme is distinguished voice flow in advance and is defined as several volume status, in an embodiment of this programme, voice flow by pre-defined be three kinds of volume status, as shown in Figure 1, be respectively the normal quantity state, mute state and louder volume state, and the threshold value of setting corresponding judgment voice flow volume status, be respectively quiet threshold value, quiet persistence length value and louder volume threshold value.Quiet threshold value, quiet persistence length value and louder volume threshold value obtain through actual measurement.
Voice flow is gathered and preserved to step 102.
With existing automatic gain method for controlling volume in the same manner, voice flow is gathered the processing block of preserving into several same size, each processing block comprises several sample point quantized amplitudes Value Datas.The method for controlling volume of this programme is that each processing block of current speech stream is judged volume status, and calculate the corresponding multiplication factor of this processing block, be the automatic gain value, and then multiply by the multiplication factor that calculates for each sample point in this processing block, as output.When calculating multiplication factor, consider that simultaneously the automatic gain value must be less than the maximum amplification of current processing block, amplitude after promptly control is amplified can not surpass maximum quantification gradation, for example the sample rate when the voice flow of working as pre-treatment is 8000Hz, quantification gradation is 16, during tape symbol, the sample point amplitude after guaranteeing to amplify can not surpass 2
15-1 (32767) Hz.
Step 103 is judged the voice flow volume status.
The voice flow of having preserved is carried out the judgement of volume status according to predefined threshold value.The judgement of voice flow volume status also needs to measure calculating two parameters, current processing block max volume value and current processing block average volume value.Preferably, current processing block max volume value is the volume of the sample point of volume maximum in this processing block, and current processing block average volume value is the mean value of the volume of all sample points in the current processing block.At first more described quiet threshold value and described current processing block max volume value in the time of continuous quiet persistence length value representative, when described quiet threshold value during greater than current processing block max volume value, judges that voice flow is in mute state in the time of continuous quiet persistence length value representative; When described quiet threshold value in the time of continuous quiet persistence length value representative less than current processing block max volume value, then more described louder volume threshold value and described average volume value; If described louder volume threshold value, judges then that voice flow is in the louder volume state less than described average volume value; If described louder volume threshold value, judges then that voice flow is in the normal quantity state greater than described average volume value.
In one embodiment of the present of invention, the automatic gain controlling schemes during quiet is divided into two parts:
The one, how to judge effectively current whether be in quiet during; The 2nd, when judge current be in quiet during the time, how to regulate current automatic gain value.
How to judge current whether be in quiet during, at first must select one and judge whether quiet amplitude threshold value SILENCE_THRESHOLD.By reality test, select SILENCE_THRESHOLD=700Hz, when amplitude during less than SILENCE_THRESHOLD voice flow be defined as mute state, otherwise be non-mute state.Next, calculate the peak swing value (taking absolute value) of each processing block, and compare with SILENCE_THRESHOLD.Simultaneously, a quiet persistence length value SILENCE_DURATION is set again.By the reality test, select SILENCE_DURATION=2 second.The peak swing value that all occurs processing block in time as continuous SILENCE_DURATION judges during less than SILENCE_THRESHOLD, current be in quiet during, carry out the automatic gain adjustment during quiet.
The target that automatic gain adjustment during quiet is pursued is: can not do any processing to voice flow during quiet, promptly the automatic gain value is 1, does not amplify also and does not dwindle, and keeps the background noise former state.But, during quiet before, automatic gain value Gain may not be 1, if be set to 1 once judging the quiet value of automatic gain at once, can cause quiet before and quiet at the beginning sound volume mutation, can cause the incoherence of voice equally.Therefore, in this design, when be judged as quiet during the time, carry out following operation:
if(Gain>1.0)
Gain=Gain*0.95;
else?if(Gain<0.95)
Gain=Gain*1.05
Such processing just makes that during quiet, the automatic gain value gently is smoothly transitted into 1, reaches the effect of volume smooth excessiveness.
For the automatic gain controlling schemes of louder volume, there is the problem of two aspects equally: the one, how to judge effectively and currently whether be in during the louder volume; The 2nd, when judge current be in louder volume during the time, should how to reduce the automatic gain value effectively.
Only, can not carry out the judgement of louder volume by the peak swing value of the processing block that counts.Therefore, introduce another statistical value Block_average, the mean amplitude of tide value (absolute value) of current processing block.Judge by the Block_average value.Simultaneously, define the amplitude threshold value HIGH_THRESHOLD of a definite louder volume, and be chosen to be 15000Hz by the reality test.
if(Block_average>HIGH_THRESHOLD)
Gain=HIGH_THRESHOLD/Block_average;
When the mean amplitude of tide value greater than HIGH_THRESHOLD, then the Gain value is reduced processing, following modulation is HIGH_THRESHOLD/Block_average.
By such processing, can effectively limit the volume of the sample point of louder volume.
Figure 2 shows that and use sound-volume control system structure chart of the present invention.Sound-volume control system shown in Fig. 2 comprises voice flow transmitting terminal 201, voice flow receiving terminal 202, and voice server 203 and volume controller 204 are formed.The voice flow input module 205 of volume controller 204 is directly gathered voice flow from voice flow transmitting terminal 201.Voice flow processing module 206 is preserved into the processing block of several same size with the voice flow of being gathered, and each processing block comprises several sample points, and measures descant value and the average volume value that calculates each processing block.Volume status judge module 207 is judged the volume status of voice flow according to predefined threshold value.Audio Control Module 208 is according to the judged result of volume status judge module 207, and the voice flow to different conditions carries out corresponding volume adjustment respectively.209 outputs of voice flow output module are adjusted later voice flow through volume and are given voice flow receiving terminal 202.Voice flow input module 205 also can be gathered voice flow from voice server 203, and at this moment, the communication between voice flow transmitting terminal 201 and the voice flow receiving terminal 202 is finished by voice server 203 transfers.
Figure 3 shows that the multichannel counterbalance effect of a plurality of voice flow transmitting terminals at same receiving terminal.Volume controller 204 is gathered voice flow respectively from transmitting terminal 301 and transmitting terminal 306, preserves and judge the volume status of voice flow respectively, and adjusts the voice flow volume according to judged result respectively, exports the voice flow of adjusting through volume at last respectively and gives receiving terminal 302.Because the voice flow of transmitting terminal 301 and 306 has all been done corresponding volume adjustment respectively, so regardless of 301 and 306 volume setting, the voice flow that their send reaches consistent in the volume of receiving terminal 302.Under transit server communication situation, transmitting terminal 301 and 306 sends to voice flow voice server 304 respectively, and volume controller 204 is preserved voice flow from the voice server collection, through corresponding volume adjustment, outputs to receiving terminal 302.Transmitting terminal 306 is a mobile phone among the figure, and 306 voice messaging sends to voice server 304 by mobile communication gateway 303, is transmitted to volume controller 204 again.As shown in Figure 3, receiving terminal 305 is mobile communications tool PDA, volume controller 204 sends the adjusted voice flow of process volume to voice server 304, is transmitted to mobile communication gateway 303 by voice server 304 again, sends to receiving terminal 305 by mobile communication gateway 303 at last.
Figure 4 shows that the application of the present invention in instant communicating system.Instant communicating system shown in Figure 4 comprises the instant communication client 401 and 402 of opposite end each other, instant communication server 403, voice server 404.Instant communication client 401 and 402 all comprises instant messaging module 405, speech communication module 406 and volume controller 204.Be integrated in the speech communication instrument of instant communication client 401 when startup, during as voice-enabled chat instrument, video conference instrument etc., instant messaging module 405 is called speech communication module 406, send the speech communication request to instant communication client 402 by instant communication server 403, instant communication client 402 these speech communication requests of response, set up the speech communication passage between opposite end 401 and 402, this moment, instant communication client 401 was a transmitting terminal, and 402 is receiving terminal.The volume controller 204 of receiving terminal 402 is gathered the voice flow that receives from speech communication module 406, carries out exporting after the volume adjustment.Under transit server communication situation, instant communication client 401 sends voice flow to voice server 404, voice server 404 is transmitted to instant communication client 402, and 204 pairs of voice flows that receive of the volume controller of instant communication client 402 carry out exporting after the volume adjustment.Similarly, the volume controller 204 of transmitting terminal 401 also can be gathered voice flow from the speech communication module 406 of transmitting terminal 401, sends after adjusting through volume again.Under transit server communication situation, volume controller also can not be located at instant communication client 401 and 402, and is arranged on voice server 404, after voice server 404 receives voice flow, carries out the volume adjustment earlier, is transmitted to receiving terminal again.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (19)
1, a kind of method for controlling volume is characterized in that may further comprise the steps:
A) definition voice flow volume status, this voice flow volume status comprises mute state, louder volume state and normal quantity state;
B) gather voice flow, and it is processed into several processing blocks of identical size;
C) judge the volume status of the voice flow gathered;
D) according to the voice flow volume status of being judged in the step c) voice flow of being gathered is carried out the adjustment of corresponding volume automatic gain, wherein,
D1) when the voice flow volume status is the normal quantity state, voice flow is carried out the automatic gain adjustment;
D2) when the voice flow volume status is the louder volume state, the downward modulation yield value is to reduce volume;
D3) when the voice flow volume status is mute state, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result;
E) output is through the voice flow of volume adjustment.
2, method for controlling volume as claimed in claim 1 is characterized in that each processing block in the described step b) comprises several volume sample points.
3, method for controlling volume as claimed in claim 2, it is characterized in that, before step c), also comprise step: max volume value and the average volume value of measuring current processing block, described current processing block max volume value is the volume of the sample point of volume maximum in this processing block, and described current processing block average volume value is the mean value of the volume of all sample points in the current processing block.
4, method for controlling volume as claimed in claim 3 is characterized in that described step c) comprises:
C1) a quiet threshold value is set, a quiet persistence length value and a louder volume threshold value;
C2) more described quiet threshold value and described current processing block max volume value in the time of continuous quiet persistence length value representative;
C3) in the time of continuous quiet persistence length value representative, during greater than current processing block max volume value, judge that voice flow is in mute state when described quiet threshold value;
C4) when described quiet threshold value in the time of continuous quiet persistence length value representative less than current processing block max volume value, then more described louder volume threshold value and described average volume value;
If described louder volume threshold value, judges then that voice flow is in the louder volume state less than described average volume value;
If described louder volume threshold value, judges then that voice flow is in the normal quantity state greater than described average volume value.
As claim 1 or 4 described method for controlling volume, it is characterized in that 5, described step of finely tuning according to comparative result also comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
6, method for controlling volume as claimed in claim 5, the amplitude of at every turn dwindling that it is characterized in that dwindling gradually the automatic gain value is identical identical with the each increase amplitude that increases the automatic gain value gradually.
7, method for controlling volume as claimed in claim 4, the amplitude that it is characterized in that reducing the automatic gain value is the ratio of described louder volume threshold value and described average volume value.
8, a kind of sound-volume control system, comprise that voice flow receiving terminal and voice server is characterized in that by the interconnected voice flow transmitting terminal of network, this system also comprises the volume controller that is used for adjusting volume before receiving terminal is play voice flow, and this volume controller comprises:
Be used for gathering the voice flow input module of voice flow from described voice flow transmitting terminal;
Be used for the voice flow of being gathered is preserved into the voice flow processing module of the processing block of several same size;
Be used to judge the volume status judge module of the volume status of the voice flow of being preserved, described volume status comprises mute state, louder volume state and normal quantity state;
Be used for respectively the voice flow of different volume status being carried out the Audio Control Module that corresponding volume is adjusted, wherein, when the voice flow volume status is the normal quantity state, voice flow carried out the automatic gain adjustment according to the judged result of volume status judge module; When the voice flow volume status was the louder volume state, the downward modulation yield value was to reduce volume; When the voice flow volume status is mute state, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result; And
Be used to export the voice flow of adjusting through volume and give the voice flow output module of voice flow receiving terminal.
9, sound-volume control system as claimed in claim 8 is characterized in that described volume controller is at voice flow transmitting terminal, voice flow receiving terminal or voice server end.
10, sound-volume control system as claimed in claim 8 is characterized in that described voice flow transmitting terminal and voice flow receiving terminal are that operation videoconference program speech communication program or other comprise the computer of the client-side program of speech communication module.
11, sound-volume control system as claimed in claim 8 is characterized in that described voice flow transmitting terminal and voice flow receiving terminal are speech communication equipment, comprises digital telephone, mobile phone and PDA.
12, sound-volume control system as claimed in claim 8, it is characterized in that system all controls by the volume to a plurality of described voice flow transmitting terminals, make the output volume unanimity of described a plurality of voice flow transmitting terminal, reach the multichannel balance at described voice flow receiving terminal.
13, sound-volume control system as claimed in claim 8 is characterized in that described the fine setting also according to comparative result comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
14. the mute control method during a volume automatic gain is controlled is characterized in that may further comprise the steps:
Set a quiet threshold value and a quiet persistence length value;
Gather voice flow, and it is preserved into several processing blocks of identical size, and measure the descant value of each processing block;
The descant value and the quiet threshold value that in the time of continuous quiet persistence length value representative, compare processing block continuous in the voice flow continuously;
When in the time of continuous quiet persistence length value representative, the descant value of continuous processing block is all less than quiet threshold value in the voice flow, then obtain the automatic gain value Gain of last processing block before quiet, and Gain and 1 is compared, finely tune according to comparative result.
15, the mute control method in the volume automatic gain control as claimed in claim 14 is characterized in that the volume value of described processing block max volume value for the sample point of volume maximum in this processing block.
16, the mute control method in the volume automatic gain as claimed in claim 14 control is characterized in that described step of finely tuning according to comparative result comprises: when Gain greater than 1 the time, dwindle the automatic gain value gradually, make its convergence 1; When Gain less than 1 the time, increase the automatic gain value gradually, make its convergence 1; When Gain equals 1, then keep automatic gain value Gain constant.
17. the mute control method in the volume automatic gain as claimed in claim 16 control, the amplitude of at every turn dwindling that it is characterized in that dwindling gradually the automatic gain value is identical identical with the each increase amplitude that increases the automatic gain value gradually.
18, the louder volume control method in a kind of volume automatic gain control is characterized in that may further comprise the steps:
Set a louder volume sound threshold value;
Gather voice flow, and it is preserved into several processing blocks of identical size, and calculate the average volume value of each processing block, this average volume value is the mean value of the volume of all sample points in each processing block;
More described louder volume threshold value and described average volume value;
If described louder volume threshold value less than described average volume value, is then reduced the automatic gain value to reduce volume.
19, the louder volume control method in the volume automatic gain as claimed in claim 18 control, the amplitude that it is characterized in that reducing the automatic gain value is the ratio of described louder volume threshold value and described average volume value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510035571XA CN100505530C (en) | 2005-06-24 | 2005-06-24 | Volume control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510035571XA CN100505530C (en) | 2005-06-24 | 2005-06-24 | Volume control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1885711A CN1885711A (en) | 2006-12-27 |
CN100505530C true CN100505530C (en) | 2009-06-24 |
Family
ID=37583722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200510035571XA Active CN100505530C (en) | 2005-06-24 | 2005-06-24 | Volume control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100505530C (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067927B (en) * | 2007-04-19 | 2010-11-10 | 北京中星微电子有限公司 | Sound volume adjusting method and device |
JP4786605B2 (en) * | 2007-07-19 | 2011-10-05 | ローム株式会社 | Signal amplification circuit and audio system using the same |
CN101110217B (en) * | 2007-07-25 | 2010-10-13 | 北京中星微电子有限公司 | Automatic gain control method for audio signal and apparatus thereof |
US8315398B2 (en) * | 2007-12-21 | 2012-11-20 | Dts Llc | System for adjusting perceived loudness of audio signals |
CN101489091A (en) * | 2009-01-23 | 2009-07-22 | 深圳华为通信技术有限公司 | Audio signal transmission processing method and apparatus |
CN103237369B (en) * | 2013-05-09 | 2015-10-28 | 哈尔滨海能达科技有限公司 | A kind of Automatic voice gain adjustment method and radio network gateway |
CN105282478A (en) * | 2014-05-30 | 2016-01-27 | 三亚中兴软件有限责任公司 | Volume regulating method and device and multipoint control unit |
CN104079420B (en) * | 2014-06-27 | 2017-12-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104157287B (en) * | 2014-07-29 | 2017-08-25 | 广州视源电子科技股份有限公司 | Audio processing method and device |
CN105630336A (en) * | 2014-11-28 | 2016-06-01 | 深圳市腾讯计算机系统有限公司 | Volume control method and device |
CN108683796B (en) * | 2018-04-09 | 2020-12-15 | 惠州Tcl移动通信有限公司 | A kind of audio output power control method, mobile terminal and storage medium |
CN110493634B (en) * | 2019-07-04 | 2021-07-27 | 北京雷石天地电子技术有限公司 | Method and system for volume control |
CN110505555B (en) * | 2019-08-29 | 2021-05-18 | 昆腾微电子股份有限公司 | Acoustic gain regulation and control method and device based on sound system |
CN110971769B (en) * | 2019-11-19 | 2022-05-03 | 百度在线网络技术(北京)有限公司 | Call signal processing method and device, electronic equipment and storage medium |
CN111508513B (en) * | 2020-03-30 | 2024-04-09 | 广州酷狗计算机科技有限公司 | Audio processing method and device and computer storage medium |
CN113963716A (en) * | 2021-10-26 | 2022-01-21 | 歌尔科技有限公司 | Volume equalization method, device, device and readable storage medium for talking doorbell |
-
2005
- 2005-06-24 CN CNB200510035571XA patent/CN100505530C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN1885711A (en) | 2006-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100505530C (en) | Volume control method and system | |
EP2453438B1 (en) | Speech intelligibility control using ambient noise detection | |
US10355658B1 (en) | Automatic volume control and leveler | |
CN101669284B (en) | Automatic volume and dynamic range adjustment method and device for mobile audio devices | |
CN101447771B (en) | Method and system for automatically controlling gains | |
US11164592B1 (en) | Responsive automatic gain control | |
US11973479B2 (en) | Two-stage audio gain circuit based on analog-to-digital conversion and audio terminal | |
EP3984031B1 (en) | Automatic gain control based on machine learning level estimation of the desired signal | |
US9246962B2 (en) | Conference mixing using turbo-VAD | |
CN101067927B (en) | Sound volume adjusting method and device | |
CN101478589A (en) | Communication terminal and audio gain parameter regulation method | |
EP0765067A2 (en) | Loop gain processing system for speakerphone applications | |
CN101267189A (en) | Automatic volume adjusting device, method and mobile terminal | |
US9521263B2 (en) | Long term monitoring of transmission and voice activity patterns for regulating gain control | |
CN103327014A (en) | Voice processing method, device and system | |
CN1281002C (en) | Adaptive filter emitting control in echo suppressor using structure lagging amplitude distribution estimation method | |
US20020012324A1 (en) | Echo cancellation with dynamic latency adjustment | |
CN109819129B (en) | Conference comfort noise mixing system and method based on sound evaluation | |
US8804981B2 (en) | Processing audio signals | |
CN116506785B (en) | Automatic tuning system for enclosed space | |
CN115396406B (en) | A method and system for adjusting audio bit rate of audio and video transmission | |
CN101263705B (en) | Sound pick-up method and device for, in particular in handsfree telephone terminals | |
US20020044666A1 (en) | Echo suppression device and method for performing the same | |
US5631967A (en) | Processing audio signals using a state variable | |
US5592547A (en) | Processing audio signals using a discrete state machine |
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 |