CN101067927B - Sound volume adjusting method and device - Google Patents

Sound volume adjusting method and device Download PDF

Info

Publication number
CN101067927B
CN101067927B CN2007100985234A CN200710098523A CN101067927B CN 101067927 B CN101067927 B CN 101067927B CN 2007100985234 A CN2007100985234 A CN 2007100985234A CN 200710098523 A CN200710098523 A CN 200710098523A CN 101067927 B CN101067927 B CN 101067927B
Authority
CN
China
Prior art keywords
volume
module
end signal
remote signaling
far
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
CN2007100985234A
Other languages
Chinese (zh)
Other versions
CN101067927A (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.)
Guangdong Zhongxing Electronics Co ltd
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 CN2007100985234A priority Critical patent/CN101067927B/en
Publication of CN101067927A publication Critical patent/CN101067927A/en
Application granted granted Critical
Publication of CN101067927B publication Critical patent/CN101067927B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a volume adjusting method including detecting phone state of near end signal and far end signal to adjust volume of the near end signal. This invention also discloses a volume adjusting device including: a test module of near end state, a test module of far end and a volume adjusting module of the near end, which realizes automatic adjustment of phone volume and increases its efficiency and increases session quality of double-speaking state by testing phone state of near and far ends at the same time, reduces signal distortion because of too fast gain-adjustment by applying a volume adjusting mode based on sample blocks and reduces zipper noise.

Description

Method for regulation of sound volume and device
Technical field
The present invention relates to the voice process technology field, be specifically related to a kind of method for regulation of sound volume and device of voice signal.
Background technology
Speech real time communication system as: during ip voice (VoIP), voice-enabled chat, teleconference etc. are used; little phenomenon when big when the call voice volume appears in regular meeting; need both call sides by manual setting button relevant etc., obtain suitable volume with voice collecting and broadcast sound volume.Like this, the shortcoming of bringing is: volume is adjusted consumed time and may can't be guaranteed than long and adjusted volume effect, because: the caller is by the manual adjustment volume, subjective, each amplitude of adjusting can't reliably be controlled, and therefore, adjusting consumed time can be longer; Simultaneously, the caller just adjusts according to the sensation of people's ear is subjective, can only be rough adjustment, can't realize the adjustment that quantizes, thereby can't guarantee adjusted volume effect.
Summary of the invention
In view of this, the invention provides a kind of method for regulation of sound volume and device,, improve volume and adjust efficient to realize the automatic adjusting of speech volume in the communication process.
Technical scheme of the present invention is achieved in that
A kind of method for regulation of sound volume comprises:
Detect the voice status of near end signal and remote signaling,, adjust the volume of near end signal according to the voice status of near end signal and remote signaling.
The volume that described voice status according near end signal and remote signaling is adjusted near end signal comprises:
Judge whether remote signaling is voice, if, the volume of minimizing near end signal; If be not, judge whether near end signal is voice, if, according to predefined best volume, adjust the volume of near end signal, otherwise, keep the volume of near end signal constant.
Further comprise before the voice status of described detection near end signal and remote signaling: preestablish maximum adjustment gain and minimum the adjustment and gain,
The described volume of adjusting near end signal according to predefined best volume comprises: according to the volume of described best volume and current near end signal, calculate and adjust gain, judge that whether the adjustment gain that calculates is greater than the described maximum gain of adjusting, if greater than, according to the described maximum volume that near end signal is adjusted in gain of adjusting; If be not more than, whether judge the adjustment gain that calculates less than the described minimum gain of adjusting, if, according to the described minimum volume that near end signal is adjusted in gain of adjusting, otherwise, the volume of near end signal adjusted according to the adjustment gain that calculates.
Further comprise before the voice status of described detection near end signal: determine that near-end is set up with far-end and communicate by letter, begin to gather the near end signal of predetermined length, the average volume of the near end signal that calculating is gathered, with this volume as the near-end noise threshold value;
The voice status of described detection near end signal comprises: whether judge near end signal less than described near-end noise threshold value, if the judgement near end signal is a noise; Otherwise the judgement near end signal is voice.
Further comprise before the voice status of described detection remote signaling: determine that near-end is set up with far-end and communicate by letter, begin to gather the remote signaling of predetermined length, the average volume of the remote signaling that calculating is gathered, with this volume as the far-end noise threshold value;
The voice status of described detection remote signaling comprises: whether judge remote signaling less than described far-end noise threshold value, if the judgement remote signaling is a noise; Otherwise the judgement remote signaling is voice.
Further comprise before the voice status of described detection near end signal and remote signaling: preestablish sample block length,
Described near end signal is: length equals the near-end sample block of predefined sample block length, and described remote signaling is: length equals the far-end sample block of predefined sample block length.
The volume of described minimizing near-end sample block comprises: search zero crossing in current near-end sample block, reduce the volume of the sample point after the zero crossing in the current near-end sample block.
The volume of described adjustment near end signal comprises: search zero crossing in current near-end sample block, adjust the volume of the sample point after the zero crossing in the current near-end sample block.
A kind of volume adjusting apparatus comprises: near-end state detection module, far-end state detection module and near-end Audio Control Module, wherein:
The near-end state detection module receives the outside near end signal of sending, and detects the voice status of this near end signal, and the voice status information of this near end signal is sent to the near-end Audio Control Module;
The far-end state detection module receives the outside remote signaling of sending, and detects the voice status of this remote signaling, and the voice status information of this remote signaling is sent to the near-end Audio Control Module;
The near-end Audio Control Module, the voice status information of reception near end signal and remote signaling according to the voice status of near end signal and remote signaling, is carried out the volume adjustment near end signal.
Described near-end Audio Control Module comprises: adjust judge module and adjusting module, wherein:
Adjust judge module, receive the voice status information of near end signal and remote signaling, when remote signaling is voice, send the minimizing indication to adjusting module; When remote signaling is noise and near end signal when being voice, send the best indication of adjusting to adjusting module;
Adjusting module receives and adjusts the minimizing indication that judge module is sent, and reduces the volume of current near end signal according to this indication; Receive and adjust the best adjustment indication that judge module is sent,, adjust the volume of near end signal according to this indication and predefined best volume.
Described near-end Audio Control Module further comprises: adjust gain and limit module, preserving maximum adjustment gain and minimum the adjustment gains, receive the adjustment gain that adjusting module is sent,, then should maximum adjustment gain output to adjusting module if detect this adjustment gain greater than maximum adjustment gain; If detect this adjustment gain, then should minimum adjustment gain output to adjusting module less than minimum adjustment gain; Otherwise, will keep indication to send to adjusting module;
Described adjusting module should being adjusted gain and sending to and adjust gain and limit module further after determine adjusting gain according to predefined best volume, limited the adjustment gain of module output or kept indicating the volume of adjustment near end signal according to adjusting gain.
Described device further comprises: the near-end noise threshold calculation module, be used for setting up when communicating by letter at definite near-end and far-end, gather the near end signal of predetermined length, calculate the average volume of the near end signal of being gathered, this volume is outputed to the near-end state detection module as the near-end noise threshold value.
Described near-end state detection module comprises: the near-end volume computing module and first state detection module, wherein:
Near-end volume computing module, the volume of the outside near end signal of sending of calculating sends to first state detection module with this volume;
First state detection module, the volume of the near end signal that near-end noise threshold value that reception near-end noise threshold calculation module is sent and near-end volume computing module are sent is if the volume of near end signal determines that less than the near-end noise threshold value near end signal is a noise; Otherwise, determine that near end signal is voice, the near end signal state of determining is sent to the near-end Audio Control Module.
Described device further comprises: the far-end noise threshold calculation module, be used for setting up when communicating by letter at definite near-end and far-end, gather the remote signaling of predetermined length, calculate the average volume of the remote signaling of being gathered, this volume is outputed to the far-end state detection module as the far-end noise threshold value.
Described far-end state detection module comprises: the far-end volume computing module and second state detection module, wherein:
Far-end volume computing module, the volume of the outside remote signaling of sending of calculating sends to second state detection module with this volume;
Second state detection module, the volume of the remote signaling that far-end noise threshold value that reception far-end noise threshold calculation module is sent and far-end volume computing module are sent is if the volume of remote signaling determines that less than the far-end noise threshold value remote signaling is a noise; Otherwise, determine that remote signaling is voice, the remote signaling state of determining is sent to the near-end Audio Control Module.
Described device further comprises: the zero crossing detection module, receive the outside near end signal of sending, and in current near-end sample block, search zero crossing, the positional information of this zero crossing is sent to the near-end Audio Control Module,
Described near-end Audio Control Module receives the positional information of described zero crossing, begins to adjust the volume of current near-end sample block from described zero crossing.
Compared with prior art, the present invention is by detecting the voice status of near end signal and remote signaling, voice status according near end signal and remote signaling, adjust the volume of near end signal, realized the automatic adjustment of speech volume in the communication process, improve volume and adjusted efficient, and simultaneously near-end and remote signaling have been carried out voice status detection, the speech quality in the time of can improving double speaking state (double-talk);
Further, the present invention adopts based on the volume of sample block and adjusts mode, has reduced because of adjusting the distorted signals that change in gain is introduced too soon;
Simultaneously, the present invention has introduced from zero crossing and has begun to carry out the mechanism that volume is adjusted, and has reduced the zipper noise, has improved speech quality;
In addition, adopt the noise threshold that dynamically generates to detect the voice status of near-end and remote signaling among the present invention, improved accuracy in detection, thereby improved the accuracy that volume is adjusted.
Description of drawings
The process flow diagram of the adjustment volume that Fig. 1 provides for the embodiment of the invention;
The process flow diagram of the detection sample block state that Fig. 2 provides for the embodiment of the invention;
The realization volume adjusting device composition diagram that Fig. 3 provides for the embodiment of the invention;
The composition diagram of the near-end state detection module that Fig. 4 provides for the embodiment of the invention;
The composition diagram of the far-end state detection module that Fig. 5 provides for the embodiment of the invention;
The composition diagram of the near-end Audio Control Module that Fig. 6 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The process flow diagram of the adjustment volume that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1, its concrete steps are as follows:
Step 101: preestablish sample block length.
The length of sample block can rule of thumb wait setting, and the length of selecting is 10~20ms usually.
Step 102: detect the voice status of current near-end sample block and far-end sample block simultaneously, that is: detecting near-end sample block and far-end sample block is voice or noise.
The voice status of mentioning in the embodiment of the invention comprises: voice and noise.
Step 103: judge whether the far-end sample block is voice, if, execution in step 104; Otherwise, execution in step 105.
Step 104: according to predefined adjustment step-length, reduce the volume of near-end sample block, go to step 107.
Usually, set adjusting step-length is 0.5, that is: nearly the volume of end sample piece is reduced to original 1/2.
Step 105: judge whether the near-end sample block is voice, if, execution in step 106; Otherwise, go to step 107.
When near-end sample block and far-end sample block are noise simultaneously, the near-end sample block is not carried out the volume adjustment.
Step 106:, adjust the volume of near-end sample block, execution in step 107 according to predefined best volume.
This step can specifically be expressed as follows:
Calculate the volume of current near-end sample block, calculate the ratio of the volume of predefined best volume and current near-end sample block then, with of the adjustment gain of this ratio as current near-end sample block, the volume of each sample point in the current near section sample block be multiply by this adjustment gain, obtain through the adjusted near end signal of volume.Wherein, best volume is generally chosen half of volume of full width of cloth signal, and for example: if 16 digit pulse coded modulation (PCM) modes of employing are encoded to signal, then best volume can be chosen for 2 14=16384.
Excessive or too small in order to prevent each volume adjusting range, can set in advance maximum adjustment gain and minimum adjustment and gain, when the adjustment gain that calculates gains greater than the maximum adjustment, maximum adjustment gain is gained as current adjustment; When the adjustment that calculates gain gain less than the minimum adjustment, as current adjustment gain, maximum usually to adjust gain be 10 promptly with minimum adjustment gain: 20dB, minimumly adjust that to gain be 0.1 promptly :-20dB.
Step 107: begin to handle next near-end sample block and far-end sample block, go to step 102.
It is pointed out that step 101 embodiment illustrated in fig. 1~107 are equally applicable to only comprise in the sample block situation of a sample point.
In addition, for two adjacent near-end sample block, if last sample point of previous near-end sample block and first sample point of a back sample block have all carried out the volume adjustment, and it is different to adjust gain, then may cause the discontinuous of this two sample point, this will cause the distortion of near end signal.If distortion occurs in high-octane sample point place, this distortion might can be perceived by people's ear, and this phenomenon is commonly referred to the zipper noise.In order to reduce the zipper noise, when the near-end sample block is adjusted, can allow the adjustment starting point occur in the zero crossing place.Zero crossing refers to, if the opposite in sign of the value of the value of the previous sample point of a sample point and this sample point, then this sample point is a zero crossing.For example: if x (i-1)<0 and x (i)>0 or x (i-1)>0 and x (i)<0 claims that then x (i) is a zero crossing.
Therefore, in the step 104 of embodiment one, can also in current near-end sample block, seek zero crossing before reducing the volume of near-end sample block,, then begin to reduce the volume of each sample point of current near-end sample block from this zero crossing if find; Otherwise, begin to reduce the volume of each sample point of this near-end sample block from the starting point of current near-end sample block.
Simultaneously, in the step 106 of embodiment one, can also in current near-end sample block, seek zero crossing before adjusting the volume of near-end sample block,, then begin to adjust the volume of each sample point of current near-end sample block from this zero crossing if find; Otherwise, begin to adjust the volume of each sample point of this near-end sample from the starting point of current near-end sample block.
Below the process that near-end sample block and far-end sample block are carried out state-detection mentioned in the step 102 to embodiment one be described in detail, in following examples, sample block is the general designation of near-end sample block and far-end sample block.
The process flow diagram of the state of the detection sample block that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2, its concrete steps are as follows:
Step 201: carry out smoothing processing to the received signal.
This step can adopt existing signal smoothing method, for example: according to volume evaluation indexes such as peak value rank, RMS ranks signal is carried out smoothly.To be example with the RMS rank as the volume evaluation index, smoothing formula is as follows:
x rms(n)=(1-TAV)*x rms(n-1)+TAV*x 2(n) (1)
Wherein, x (n) is a n sample of signal point, x Rms(n) be n signal sampling point after level and smooth, x Rms(n-1) be (n-1) individual signal sampling point after level and smooth,
TAV is a smoothing factor, and its value is relevant with the changes in amplitude of signal, and is specific as follows:
When the amplitude of signal is in ascent stage, TAV=0.1, x 2(n)>x Rms(n-1);
When the amplitude of signal is in the decline stage, TAV=0.01, x 2(n)<x Rms(n-1).
Can obtain from formula (1), the transition function that formula (1) is corresponding is:
H ( z ) = TAV 1 - ( 1 - TAV ) * z - 1 - - - ( 2 )
From formula (2) as can be seen, H (z) is a low-pass filter, and purpose is square x to input signal 2(n) carry out smothing filtering.
Step 202: the volume E that calculates current sample block Rms
E rms = 1 N Σ n = 0 N - 1 x rms ( n ) - - - ( 3 )
Wherein, N is the length of current sample block.
Step 203: judge E RmsWhether<SDL sets up, if judge that current sample block is a noise; Otherwise, judge that current sample block is voice.
Wherein, SDL is a noise threshold, and concrete value can rule of thumb be determined, perhaps, owing to set up communication when both sides begin to converse at both call sides, has one period quiet duration, therefore, can utilize the quiet persistent signal of this section to calculate SDL:
E ( i ) = Σ k = 0 N - 1 x i 2 ( k ) - - - ( 4 )
SDL = 1 M Σ i = 0 M - 1 E ( i ) = 1 M Σ i = 0 M - 1 Σ k = 0 N - 1 x i 2 ( k ) - - - ( 5 )
Wherein, N is the length of each sample block, and M is the number of the sample block that comprised in the quiet persistent signal that is adopted, and usually, the length of the quiet persistent signal of choosing is 1~2 second; x i(k) be k sample point in i the sample block.
When communicating pair is set up communication, need gather the microphone of near-end and the signal of loudspeaker output simultaneously, the SDL that will obtain according to the calculated signals of microphone output is as the noise threshold of near-end sample block, and the SDL that will obtain according to the calculated signals of loudspeaker output is as the noise threshold of far-end sample block.
The realization volume adjusting device composition diagram that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, it mainly comprises: near-end state detection module 31, far-end state detection module 32 and near-end Audio Control Module 33, wherein:
Near-end state detection module 31: receive near end signal, detect the voice status of this near end signal, the voice status information of this near end signal is sent to near-end Audio Control Module 33.
Far-end state detection module 32: receive remote signaling, detect the voice status of this remote signaling, the voice status information of this remote signaling is sent to near-end Audio Control Module 33.
Near-end Audio Control Module 33: receive the outside near end signal of sending, the voice status information of the near end signal that reception near-end state detection module 31 is sent, the voice status information of the remote signaling that reception far-end state detection module 32 is sent, voice status information according near end signal and remote signaling, determine the voice status of near end signal and remote signaling, according to the voice status of this near end signal and remote signaling, near end signal is carried out the volume adjustment.
As shown in Figure 3, this device also can comprise: near-end noise threshold calculation module 30 and/or far-end noise threshold calculation module 34, wherein:
Near-end noise threshold calculation module 30: be used for setting up when communicate by letter at definite near-end and far-end, gather the near end signal of predetermined length, the average volume of the near end signal that calculating is gathered outputs to near-end state detection module 31 with this volume as the near-end noise threshold value.
Far-end noise threshold calculation module 34: be used for setting up when communicate by letter at definite near-end and far-end, gather the remote signaling of predetermined length, the average volume of the remote signaling that calculating is gathered outputs to far-end state detection module 32 with this volume as the far-end noise threshold value.
This device also can comprise: zero crossing detection module 35: receive the outside near end signal of sending, in current near-end sample block, search zero crossing, the positional information of this zero crossing is sent to near-end Audio Control Module 33,
Accordingly, near-end Audio Control Module 33 further receives the positional information of described zero crossing, begins to adjust the volume of current near-end sample block from described zero crossing.
As shown in Figure 4, near-end state detection module 31 comprises: the near-end volume computing module 311 and first state detection module 312, wherein:
Near-end volume computing module 311: calculate the volume of the outside near-end sample block of sending, this volume is sent to first state detection module 312.
First state detection module 312: the volume of the near-end sample block that near-end noise threshold value that reception near-end noise threshold calculation module 30 is sent and near-end volume computing module 311 are sent, if the volume of near-end sample block determines that less than the near-end noise threshold value near-end sample block is a noise; Otherwise, determine that the near-end sample block is voice, the voice status information of the near-end sample block determined is sent to near-end Audio Control Module 33.
As shown in Figure 5, far-end state detection module 32 comprises: the far-end volume computing module 321 and second state detection module 322, wherein:
Far-end volume computing module 321: calculate the volume of the outside far-end sample block of sending, this volume is sent to second state detection module 322.
Second state detection module 322: the volume of the far-end sample block that far-end noise threshold value that reception far-end noise threshold calculation module 34 is sent and far-end volume computing module 321 are sent, if the volume of far-end sample block determines that less than the far-end noise threshold value far-end sample block is a noise; Otherwise, determine that the far-end sample block is voice, the voice status information of the far-end sample block determined is sent to near-end Audio Control Module 33.
As shown in Figure 6, near-end Audio Control Module 33 comprises: adjust judge module 331 and adjusting module 332, wherein:
Adjust judge module 331: the voice status information of the near-end sample block that reception near-end state detection module 31 is sent, the voice status information that the far-end sample that reception far-end state detection module 32 is sent is determined, when far-end sample block state is voice, send the minimizing indication to adjusting module 332; When far-end sample block state is noise and near-end sample block state when being voice, send the best indication of adjusting to adjusting module 332.
Adjusting module 332: receive and adjust the minimizing indication that judge module 331 is sent, reduce the volume of current near-end sample block according to this indication; Receive and adjust the best adjustment indication that judge module 331 is sent,, adjust the volume of near-end sample block according to this indication and predefined best volume.
Near-end Audio Control Module 33 also can comprise: adjust gain and limit module 333: preserve maximum and adjust gain and minimum adjustment gain, receive the adjustment gain that adjusting module 332 is sent, if detect this adjustment gain, then should maximum adjustment gain output to adjusting module 332 greater than maximum adjustment gain; If detect this adjustment gain, then should minimum adjustment gain output to adjusting module 332 less than minimum adjustment gain; Otherwise, will keep indication to send to adjusting module 332;
Accordingly, adjusting module 332 is further after determining to adjust gain according to predefined best volume, should adjust gain and sending to and adjust gain and limit module 333, and limiting the adjustment gain of module 333 outputs or keep indication, adjusting the volume of near end signal according to adjusting gain.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a method for regulation of sound volume is characterized in that, comprising:
Detect the voice status of near end signal and remote signaling, judge whether remote signaling is voice, if, the volume of minimizing near end signal; If be not, judge whether near end signal is voice, if, according to predefined best volume, adjust the volume of near end signal, otherwise, keep the volume of near end signal constant.
2. the method for claim 1 is characterized in that, further comprises before the voice status of described detection near end signal and remote signaling: preestablish maximum adjustment gain and minimum the adjustment and gain,
The described volume of adjusting near end signal according to predefined best volume comprises: according to the volume of described best volume and current near end signal, calculate and adjust gain, judge that whether the adjustment gain that calculates is greater than the described maximum gain of adjusting, if greater than, according to the described maximum volume that near end signal is adjusted in gain of adjusting; If be not more than, whether judge the adjustment gain that calculates less than the described minimum gain of adjusting, if, according to the described minimum volume that near end signal is adjusted in gain of adjusting, otherwise, the volume of near end signal adjusted according to the adjustment gain that calculates.
3. the method for claim 1, it is characterized in that, further comprise before the voice status of described detection near end signal: determine that near-end is set up with far-end and communicate by letter, begin to gather the near end signal of predetermined length, calculate the average volume of the near end signal gathered, with this volume as the near-end noise threshold value;
The voice status of described detection near end signal comprises: whether judge near end signal less than described near-end noise threshold value, if the judgement near end signal is a noise; Otherwise the judgement near end signal is voice.
4. the method for claim 1, it is characterized in that, further comprise before the voice status of described detection remote signaling: determine that near-end is set up with far-end and communicate by letter, begin to gather the remote signaling of predetermined length, calculate the average volume of the remote signaling gathered, with this volume as the far-end noise threshold value;
The voice status of described detection remote signaling comprises: whether judge remote signaling less than described far-end noise threshold value, if the judgement remote signaling is a noise; Otherwise the judgement remote signaling is voice.
5. as each described method in the claim 1~4, it is characterized in that, further comprise before the voice status of described detection near end signal and remote signaling: preestablish sample block length,
Described near end signal is: length equals the near-end sample block of predefined sample block length, and described remote signaling is: length equals the far-end sample block of predefined sample block length.
6. method as claimed in claim 5 is characterized in that, the volume of described minimizing near end signal comprises: search zero crossing in current near-end sample block, reduce the volume of the sample point after the zero crossing in the current near-end sample block.
7. method as claimed in claim 5 is characterized in that, the volume of described adjustment near end signal comprises: search zero crossing in current near-end sample block, adjust the volume of the sample point after the zero crossing in the current near-end sample block.
8. a volume adjusting apparatus is characterized in that, comprising: near-end state detection module, far-end state detection module and near-end Audio Control Module, wherein:
The near-end state detection module receives the outside near end signal of sending, and detects the voice status of this near end signal, and the voice status information of this near end signal is sent to the near-end Audio Control Module;
The far-end state detection module receives the outside remote signaling of sending, and detects the voice status of this remote signaling, and the voice status information of this remote signaling is sent to the near-end Audio Control Module;
The near-end Audio Control Module comprises: adjust judge module and adjusting module, wherein:
Adjust judge module, receive the voice status information of near end signal and remote signaling, when remote signaling is voice, send the minimizing indication to adjusting module; When remote signaling is noise and near end signal when being voice, send the best indication of adjusting to adjusting module;
Adjusting module receives and adjusts the minimizing indication that judge module is sent, and reduces the volume of current near end signal according to this indication; Receive and adjust the best adjustment indication that judge module is sent,, adjust the volume of near end signal according to this indication and predefined best volume.
9. device as claimed in claim 8, it is characterized in that, described near-end Audio Control Module further comprises: adjust gain and limit module, preserving maximum adjustment gain and minimum the adjustment gains, receive the adjustment gain that adjusting module is sent, if detect this adjustment gain, then should maximum adjustment gain output to adjusting module greater than maximum adjustment gain; If detect this adjustment gain, then should minimum adjustment gain output to adjusting module less than minimum adjustment gain; Otherwise, will keep indication to send to adjusting module;
Described adjusting module should being adjusted gain and sending to and adjust gain and limit module further after determine adjusting gain according to predefined best volume, limited the adjustment gain of module output or kept indicating the volume of adjustment near end signal according to adjusting gain.
10. device as claimed in claim 8, it is characterized in that, described device further comprises: the near-end noise threshold calculation module, be used for setting up when communicating by letter at definite near-end and far-end, gather the near end signal of predetermined length, calculate the average volume of the near end signal of being gathered, this volume is outputed to the near-end state detection module as the near-end noise threshold value.
11. device as claimed in claim 10 is characterized in that, described near-end state detection module comprises: the near-end volume computing module and first state detection module, wherein:
Near-end volume computing module, the volume of the outside near end signal of sending of calculating sends to first state detection module with this volume;
First state detection module, the volume of the near end signal that near-end noise threshold value that reception near-end noise threshold calculation module is sent and near-end volume computing module are sent is if the volume of near end signal determines that less than the near-end noise threshold value near end signal is a noise; Otherwise, determine that near end signal is voice, the near end signal state of determining is sent to the near-end Audio Control Module.
12. device as claimed in claim 8, it is characterized in that, described device further comprises: the far-end noise threshold calculation module, be used for setting up when communicating by letter at definite near-end and far-end, gather the remote signaling of predetermined length, calculate the average volume of the remote signaling of being gathered, this volume is outputed to the far-end state detection module as the far-end noise threshold value.
13. device as claimed in claim 12 is characterized in that, described far-end state detection module comprises: the far-end volume computing module and second state detection module, wherein:
Far-end volume computing module, the volume of the outside remote signaling of sending of calculating sends to second state detection module with this volume;
Second state detection module, the volume of the remote signaling that far-end noise threshold value that reception far-end noise threshold calculation module is sent and far-end volume computing module are sent is if the volume of remote signaling determines that less than the far-end noise threshold value remote signaling is a noise; Otherwise, determine that remote signaling is voice, the remote signaling state of determining is sent to the near-end Audio Control Module.
14. device as claimed in claim 8 is characterized in that, described device further comprises: the zero crossing detection module, receive the outside near end signal of sending, in current near-end sample block, search zero crossing, the positional information of this zero crossing is sent to the near-end Audio Control Module
Described near-end Audio Control Module receives the positional information of described zero crossing, begins to adjust the volume of current near-end sample block from described zero crossing.
CN2007100985234A 2007-04-19 2007-04-19 Sound volume adjusting method and device Expired - Fee Related CN101067927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100985234A CN101067927B (en) 2007-04-19 2007-04-19 Sound volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100985234A CN101067927B (en) 2007-04-19 2007-04-19 Sound volume adjusting method and device

Publications (2)

Publication Number Publication Date
CN101067927A CN101067927A (en) 2007-11-07
CN101067927B true CN101067927B (en) 2010-11-10

Family

ID=38880459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100985234A Expired - Fee Related CN101067927B (en) 2007-04-19 2007-04-19 Sound volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN101067927B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168518B (en) * 2013-05-16 2018-03-20 海尔集团公司 Talk back equipment control method, control device and intercom system
CN103337242B (en) * 2013-05-29 2016-04-13 华为技术有限公司 A kind of sound control method and opertaing device
CN106504765B (en) * 2016-10-20 2019-08-13 广州视源电子科技股份有限公司 A kind of auto gain control method and device of audio signal
CN108259654B (en) * 2016-12-28 2019-10-22 上海大唐移动通信设备有限公司 The setting method and device of terminal volume in a kind of test of network quality
CN106601269A (en) * 2016-12-28 2017-04-26 北京小米移动软件有限公司 Terminal state determining method and apparatus
CN106791245B (en) * 2016-12-28 2021-07-06 北京小米移动软件有限公司 Method and device for determining filter coefficients
CN106683683A (en) * 2016-12-28 2017-05-17 北京小米移动软件有限公司 Terminal state determining method and device
CN111277784A (en) * 2018-12-05 2020-06-12 中兴通讯股份有限公司 Volume automatic control method, device, terminal and readable storage medium
CN109994104B (en) * 2019-01-14 2021-05-14 珠海慧联科技有限公司 Self-adaptive call volume control method and device
JP2020202448A (en) * 2019-06-07 2020-12-17 ヤマハ株式会社 Acoustic device and acoustic processing method
CN113299310B (en) * 2020-02-21 2022-05-13 阿里巴巴集团控股有限公司 Sound signal processing method and device, electronic equipment and readable storage medium
CN111711881B (en) * 2020-06-29 2022-02-18 深圳市科奈信科技有限公司 Self-adaptive volume adjustment method according to environmental sound and wireless earphone
CN115695642A (en) * 2022-09-26 2023-02-03 展讯通信(天津)有限公司 Method and device for adjusting call volume

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331883A (en) * 1998-12-23 2002-01-16 艾利森电话股份有限公司 Methods and appts. for adaptive signal gain control in communications systems
US20020173864A1 (en) * 2001-05-17 2002-11-21 Crystal Voice Communications, Inc Automatic volume control for voice over internet
CN1780393A (en) * 2004-11-24 2006-05-31 日本电气株式会社 Easy volume adjustment for communication terminal in multipoint conference
CN1885711A (en) * 2005-06-24 2006-12-27 腾讯科技(深圳)有限公司 Volume control method and system
US20070033030A1 (en) * 2005-07-19 2007-02-08 Oded Gottesman Techniques for measurement, adaptation, and setup of an audio communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331883A (en) * 1998-12-23 2002-01-16 艾利森电话股份有限公司 Methods and appts. for adaptive signal gain control in communications systems
US20020173864A1 (en) * 2001-05-17 2002-11-21 Crystal Voice Communications, Inc Automatic volume control for voice over internet
CN1780393A (en) * 2004-11-24 2006-05-31 日本电气株式会社 Easy volume adjustment for communication terminal in multipoint conference
CN1885711A (en) * 2005-06-24 2006-12-27 腾讯科技(深圳)有限公司 Volume control method and system
US20070033030A1 (en) * 2005-07-19 2007-02-08 Oded Gottesman Techniques for measurement, adaptation, and setup of an audio communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李忠慧.基于静音检测技术的多带激励语音声码器的研究.CNKI-中国优秀硕士论文全文数据库.2006,21-23. *

Also Published As

Publication number Publication date
CN101067927A (en) 2007-11-07

Similar Documents

Publication Publication Date Title
CN101067927B (en) Sound volume adjusting method and device
EP0364383B1 (en) Half-duplex speakerphone
KR100974110B1 (en) Method for discontinuous transmission and accurate reproduction of background noise information
US8374851B2 (en) Voice activity detector and method
CN101267189A (en) Automatic volume adjusting device, method and mobile terminal
US9246962B2 (en) Conference mixing using turbo-VAD
KR100343776B1 (en) Apparatus and method for volume control of the ring signal and/or input speech following the background noise pressure level in digital telephone
JP2007179073A (en) Voice activity detecting device, mobile station, and voice activity detecting method
JP4241831B2 (en) Method and apparatus for adaptive control of echo and noise
KR20000070686A (en) Method and apparatus for using state determination to control functional elements in digital telephone systems
US8363820B1 (en) Headset with whisper mode feature
CN101179635B (en) Device, method and system for performing echo control to hand-free telephone
US6741873B1 (en) Background noise adaptable speaker phone for use in a mobile communication device
US20020103636A1 (en) Frequency-domain post-filtering voice-activity detector
US5187741A (en) Enhanced acoustic calibration procedure for a voice switched speakerphone
US20210272575A1 (en) Adaptive comfort noise parameter determination
CN1331883A (en) Methods and appts. for adaptive signal gain control in communications systems
EP1969721B1 (en) Telecommunications terminal and method of operation of the terminal
CN101826891B (en) Enhanced echo cancellation
CN101119135B (en) Step parameter regulation means and equipment for eliminating echo
JP4850191B2 (en) Automatic volume control device and voice communication device using the same
CN1551516A (en) Apparatus and method for controlling noise in mobile communication terminal
CN102118530A (en) Method and device for echo cancellation
EP2158753B1 (en) Selection of audio signals to be mixed in an audio conference
US5912965A (en) Telephone set which can be adjusted in response to ambient noise

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151222

Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105 -478

Patentee after: Guangdong Zhongxing Electronics Co.,Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Patentee before: VIMICRO Corp.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101110