CN104079420B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104079420B CN104079420B CN201410302888.4A CN201410302888A CN104079420B CN 104079420 B CN104079420 B CN 104079420B CN 201410302888 A CN201410302888 A CN 201410302888A CN 104079420 B CN104079420 B CN 104079420B
- Authority
- CN
- China
- Prior art keywords
- amplitude value
- voice signal
- voice
- preset duration
- averaged amplitude
- 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
Abstract
The invention discloses a kind of information processing method and electronic equipment, this method includes:Using a preset duration as the cycle, the first averaged amplitude value for gathering the voice signal obtained in the preset duration by the voice collecting unit is periodically detected;Judge whether first averaged amplitude value meets preparatory condition;When first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice signal.When method provided by the invention and electronic equipment use communication apparatus with distal end progress voice call to solve more people in the prior art, the technical problem of existing speech quality difference.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
In order to improve communication efficiency, information distortion, the videoconference that more people participate in quilt in various types of enterprises are avoided
Widely use.Called phone meeting, it is exactly by the use of communication apparatus such as phone, mobile phones as instrument, utilizes telephone wire or wireless network
Network is as carrier come the new conference model had a meeting.It is rapid with meeting schedule compared with traditional meeting, it is low-cost to wait spy
Point.
For the ease of that can be exchanged in real time positioned at the people of same region, while communication apparatus is saved, often taken more personal
In a meeting room, a communication apparatus is arranged to hands-free mode, and distal end carries out videoconference.
But present inventor has found above-mentioned technology extremely during inventive technique scheme in realizing the embodiment of the present application
Following technical problem less be present:
Because each participant is different from the distance of communication apparatus, what the relatively remote subscriber that communication apparatus collects sent
The volume of voice signal is low, causes distal end listener to listen the content of speaking for clearing communication apparatus user farther out.
That is, in the prior art, when more people carry out voice call using communication apparatus with distal end, speech quality be present
The technical problem of difference.
The content of the invention
By providing a kind of information processing method and user equipment, solve more people in the prior art makes the embodiment of the present application
When carrying out voice call with distal end with communication apparatus, the technical problem of existing speech quality difference.
On the one hand, the embodiment of the present application provides following technical scheme:
A kind of information processing method, applied in electronic equipment, the electronic equipment has voice collecting unit, the side
Method includes:
Using a preset duration as the cycle, periodically detect in the preset duration and gathered by the voice collecting unit
First averaged amplitude value of the voice signal of acquisition;
Judge whether first averaged amplitude value meets preparatory condition;
When first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice
Signal.
Optionally, the preset duration is more than the maximum pitch period of the voice signal.
Optionally, it is described to judge whether first averaged amplitude value meets preparatory condition, be specially:Judge described first
Whether averaged amplitude value is less than the first predetermined amplitude value;Or judge whether first averaged amplitude value is less than the first predetermined amplitude
Value, and it is more than the second predetermined amplitude value, the first predetermined amplitude value is more than the second predetermined amplitude value.
Optionally, it is described when first averaged amplitude value meets the preparatory condition, according to the first preset gain, put
The big voice signal, it is specially:It is default based on described first when first averaged amplitude value meets the preparatory condition
Range value and first averaged amplitude value calculate the first preset gain;According to first preset gain, amplification institute predicate
Sound signal, so that the second averaged amplitude value of the voice signal after amplification is more than or equal to the first predetermined amplitude value.
Optionally, it is described using a preset duration as the cycle, periodically detect in the preset duration by the voice
First averaged amplitude value of the voice signal that collecting unit collection obtains, it is specially:One is received to be used to open the voice collecting
The unlatching operation of unit;Respond described open to operate, output one is used to prompt the user whether to need to adjust the voice signal
Prompt message;Based on the prompt message, receive one and be used to confirm to need the confirmation for adjusting voice signal operation;Based on institute
Confirmation operation is stated, using a preset duration as the cycle, is periodically detected in the preset duration by the voice collecting unit
Gather the first averaged amplitude value of the voice signal obtained.
On the other hand, the embodiment of the present application additionally provides a kind of electronic equipment, and the electronic equipment has voice collecting list
Member, the electronic equipment also include:
Detection module, for using a preset duration as the cycle, periodically detecting in the preset duration by institute's predicate
First averaged amplitude value of the voice signal that the collection of sound collecting unit obtains;
Judge module, for judging whether first averaged amplitude value meets preparatory condition;
Amplification module, for when first averaged amplitude value meets the preparatory condition, according to the first preset gain,
Amplify the voice signal.
Optionally, the preset duration is more than the maximum pitch period of the voice signal.
Optionally, the judge module is additionally operable to:Judge whether first averaged amplitude value is less than the first predetermined amplitude
Value;Or judge whether first averaged amplitude value is less than the first predetermined amplitude value, and it is more than the second predetermined amplitude value, described
One predetermined amplitude value is more than the second predetermined amplitude value.
Optionally, the amplification module includes:Computing unit, for meeting described preset when first averaged amplitude value
During condition, the first preset gain is calculated based on the first predetermined amplitude value and first averaged amplitude value;Amplifying unit,
For according to first preset gain, amplifying the voice signal, so that second of the voice signal after amplification is average
Range value is more than or equal to the first predetermined amplitude value.
Optionally, the detection module includes:Receiving unit, it is used to open the voice collecting unit for receiving one
Open operation;Output unit, operated for responding described open, output one is used to prompt the user whether to need to adjust the voice
The prompt message of signal;Confirmation unit, for based on the prompt message, receive one to need to adjust the voice letter for confirmation
Number confirmation operation;Detection unit, for confirming operation based on described, using a preset duration as the cycle, periodically detect institute
State the first averaged amplitude value for gathering the voice signal obtained in preset duration by the voice collecting unit.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, the method and electronic equipment that the embodiment of the present application provides, voice collecting unit is periodically detected in preset duration
First averaged amplitude value of the voice signal that interior collection obtains, when the first averaged amplitude value meets preparatory condition, to the voice
Signal is amplified, and to filter out ropy voice signal to be in real time amplified, realizes the technology effect for improving speech quality
Fruit.
2nd, the method and electronic equipment that the embodiment of the present application provides, set preset duration to be more than the maximum of the voice signal
Pitch period, it is corresponding to avoid the voice signal detected when preset duration is too short from not including a complete voice signal waveform
First averaged amplitude value can not characterize the volume of current speech signal, cause to misplace big voice signal, further lifting screening matter
Measure the degree of accuracy of the voice signal of difference.
3rd, the method and electronic equipment that the embodiment of the present application provides, not only judge whether first averaged amplitude value is less than
First predetermined amplitude value, also judges whether the first averaged amplitude value is more than the second predetermined amplitude value, prevents in voice signal
Noise also amplifies, and the degree of accuracy of ropy voice signal is screened in further lifting.
Brief description of the drawings
Fig. 1 is the flow chart of information processing method in the embodiment of the present application one;
Fig. 2A is the schematic diagram before voice signal amplification in the embodiment of the present application one;
Fig. 2 B are the schematic diagram after voice signal amplification in the embodiment of the present application one;
Fig. 3 is the structure chart of electronic equipment in the embodiment of the present application two.
Embodiment
The embodiment of the present application filters out ropy voice in real time by providing a kind of information processing method and electronic equipment
Signal is amplified, and realizes the technique effect for improving speech quality.
In order to solve technical problem existing for above-mentioned prior art, the overall think of for the technical scheme that the embodiment of the present application provides
Road is as follows:
A kind of information processing method, applied in electronic equipment, the electronic equipment has voice collecting unit, the side
Method includes:
Using a preset duration as the cycle, periodically detect in the preset duration and gathered by the voice collecting unit
First averaged amplitude value of the voice signal of acquisition;
Judge whether first averaged amplitude value meets preparatory condition;
When first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice
Signal.
By the above as can be seen that gathering acquisition in preset duration by periodically detecting voice collecting unit
Voice signal the first averaged amplitude value, when the first averaged amplitude value meets preparatory condition, the voice signal is put
Greatly, to filter out ropy voice signal to be in real time amplified, the technique effect for improving speech quality is realized.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
Embodiment one:
A kind of information processing method is provided in embodiment one, applied to the electronic equipment with voice collecting unit
In, in actual applications, the electronic equipment can be fixed line phone, smart mobile phone, tablet personal computer, notebook or intelligent watch etc.
Electronic equipment, it will not enumerate in the present embodiment.
Fig. 1 is refer to, Fig. 1 is the flow chart of the information processing method of the embodiment of the present application one, and methods described includes:
Step S101, using a preset duration as the cycle, periodically detect and adopted in the preset duration by the voice
Collect the first averaged amplitude value of the voice signal that unit collection obtains;
Step S102, judges whether first averaged amplitude value meets preparatory condition;
Step S103, when first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplification
The voice signal.
Below so that electronic equipment is smart mobile phone as an example, such scheme is tentatively illustrated from the angle of man-machine interaction.
For example, when one group of user carries out videoconference using smart mobile phone with client:
For smart mobile phone using a preset duration as the cycle, real-time period detects the average amplitude of the voice signal of its microphone acquisition
Value;
When being made a speech in this group of user from smart mobile phone user farther out a, smart mobile phone detects the voice signal of acquisition
Average amplitude it is relatively low, then after being amplified to this section of voice signal, then by the transmitting voice signal after amplification to client so that
Client can not hear user a speech content.
After the information processing method of the present embodiment offer has tentatively been provided by above-mentioned example, this is described in detail below
Apply for the specific implementation step for the method that embodiment provides:
First, step S101 is performed, i.e., using a preset duration as the cycle, periodically detects and passes through in the preset duration
First averaged amplitude value of the voice signal that the voice collecting unit collection obtains;
In specific implementation process, set because the range value of the detection voice signal of scheduling real-time periodic will necessarily increase electronics
Standby amount of calculation, therefore user can set the averaged amplitude value for whether needing detection voice signal in real time according to call scene.
That is, it is described using a preset duration as the cycle, periodically detect in the preset duration by the voice collecting
First averaged amplitude value of the voice signal that unit collection obtains, it is specially:
Receive a unlatching operation for being used to open the voice collecting unit;
Respond described open to operate, the prompting that output one is used to prompt the user whether to need to adjust the voice signal is believed
Breath;
Based on the prompt message, receive one and be used to confirm to need the confirmation for adjusting voice signal operation;
Confirm operation based on described, using a preset duration as the cycle, periodically detect and pass through institute in the preset duration
First averaged amplitude value of the voice signal that the collection of predicate sound collecting unit obtains.
Certainly, in specific implementation process, can not only be confirmed whether to need when the voice collecting unit is opened
The averaged amplitude value of voice signal is detected in real time, voice signal can also be gathered by voice collecting unit in electronic equipment
During, the operation of user is responded, generation detection instruction, carrys out the average width that control electronics start detection voice signal in real time
Angle value.
Certainly, in smart mobile phone using a preset duration as the cycle, real-time period detects the voice signal of its microphone acquisition
During averaged amplitude value, electronic equipment can also respond the operation of user, generate halt instruction, carry out control electronics and stop
The averaged amplitude value of voice signal is only detected in real time.
In specific implementation process, according to the range value of detection voice signal, to filter out the poor voice of voice quality
Signal, it is due to that range value is the main decision parameter of voice signal volume, when range value is too small, inevitably results in recipient
The speech volume played back is smaller, causes recipient user can not clearly know the content of speaking for the side of speaking.
In the embodiment of the present application, the preset duration is more than the maximum pitch period of the voice signal.
Specifically, preset duration is set to be more than the maximum pitch period of the voice signal, to avoid preset duration mistake
The voice signal detected in short-term does not include a complete voice signal waveform, and corresponding first averaged amplitude value can not characterize currently
The volume of voice signal, cause to misplace big voice signal, the degree of accuracy of ropy voice signal is screened in further lifting.
In specific implementation process, the preset duration can be empirical value, and the preset duration can be set about to use
The time of a word is finished at family, such as:The 1-5 seconds, on the one hand, be avoided that preset duration set it is too short, it is caused to user once in a while
The amplification of the syllable sent, and then cause the situation of user's intonation or the tone distortion after amplification, on the other hand, moreover it is possible to subtract
Few preset duration setting is long, caused when there is more people to make a speech in preset duration, in the too small voice signal of amplification of volume
Meanwhile the situation for excessively amplifying the moderate voice signal of volume, further realize the technique effect for improving voice call quality.
By step S101, after obtaining the first averaged amplitude value, step S102 is performed, that is, judges the described first average width
Whether angle value meets preparatory condition.
In the embodiment of the present application, it is described to judge whether first averaged amplitude value meets that preparatory condition specifically divide
For following two modes:One kind is not consider noise signal, and one kind is to consider noise signal, is illustrated separately below:
The first, does not consider noise signal.
It is i.e. described to judge whether first averaged amplitude value meets preparatory condition, be specially:Judge that described first is average
Whether range value is less than the first predetermined amplitude value.
That is, being previously stored with the first default amplitude in electronic equipment, the described first default amplitude can be passed through
The amplitude empirical value for user do not hear voice signal content that what experiment obtained allow or user are according to where electronic equipment
The range value that the speech recognition capabilities of site environment or partner where site environment, partner are set temporarily.
When first averaged amplitude value is less than the first predetermined amplitude value to prestore, illustrate to receive in current preset duration
Voice signal volume it is less than normal, it may appear that recipient can hear the situation of voice signal content, just determine that described first is flat
Equal range value meets the preparatory condition.
It refer to Fig. 2A and Fig. 2 B, electronic equipment is divided to voice signal waveform that two cycles collect as schemed with preset duration
Shown in 2A, wherein, the average amplitude for the first paragraph voice 201 that a cycle collects is less than normal, less than the first predetermined amplitude value;
The average amplitude for the second segment voice 202 that second period collects is larger, more than the first predetermined amplitude value.
As shown in Figure 2 B, electronic equipment is amplified to first paragraph speech waveform 201 in real time, the 3rd after amplification section voice
The average amplitude of signal 203 is bigger than normal in the first predetermined amplitude value, meets preparatory condition;Second segment voice 202 is because meeting default bar
Part is not dealt with.
Second, consider noise signal.
It is i.e. described to judge whether first averaged amplitude value meets preparatory condition, be specially:Judge that described first is average
Whether range value is less than the first predetermined amplitude value, and is more than the second predetermined amplitude value, and the first predetermined amplitude value is more than described
Second predetermined amplitude value.
That is, the first default amplitude and the second default amplitude are previously stored with electronic equipment, it is described as previously described
First default amplitude can be the amplitude set temporarily according to demand by the amplitude empirical value or user of experiment acquisition
Value.Described second default amplitude can be amplitude empirical value by testing the noise signal obtained or user according to
The range value that the noise situations of site environment where electronic equipment are set temporarily.
In specific implementation process, the noise situations for the ease of user's site environment according to where electronic equipment set conjunction
The second suitable predetermined amplitude value, it can correspondingly store the conduct pair of noise amplitude empirical value by different scenes in advance in the electronic device
The the second predetermined amplitude value answered, for selection by the user.
Such as:Quiet scene, conference scenario, outdoor scene, downtown area scene etc. are previously stored with electronic equipment, and correspondingly
It is stored with the noise experience range value of each scene:
When one group of user carries out videoconference in building-site and client, the user a in this group of user can pass through behaviour
Make electronic equipment, be arranged to outdoor scene;
Then in call, electronic equipment can periodically judge the first average width of the voice signal received in preset duration
Whether angle value is less than the first predetermined amplitude value, and is more than the second predetermined amplitude value corresponding to outdoor scene, when the first average amplitude
Value is less than the first predetermined amplitude value, and is more than corresponding to outdoor scene during the second predetermined amplitude value, illustrates in current preset duration
The volume of the voice signal of reception is less than normal, but more than the range value of outdoor noise, just determines that first averaged amplitude value meets
The preparatory condition.
Specifically, not only judge whether first averaged amplitude value is less than the first predetermined amplitude value, also judge first
Whether averaged amplitude value is more than the second predetermined amplitude value, prevents from also amplifying the noise in voice signal, further lifting screening
The degree of accuracy of ropy voice signal.
After judging whether first averaged amplitude value meets preparatory condition by step S102, step S103 is performed,
I.e. when first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice signal.
In the embodiment of the present application, it is described when first averaged amplitude value meets the preparatory condition, according to first
Preset gain, amplify the voice signal, be specially:
When first averaged amplitude value meets the preparatory condition, based on the first predetermined amplitude value and described
One averaged amplitude value calculates the first preset gain;
According to first preset gain, amplify the voice signal, so that second of the voice signal after amplification
Averaged amplitude value is more than or equal to the first predetermined amplitude value.
Specifically, the first preset gain can be calculated according to below equation:Gu=20*lg (Uo/Ui), wherein, Gu
For the first preset gain, Uo is the first predetermined amplitude value, and Ui is the first averaged amplitude value.
Finally, so that electronic equipment is notebook computer as an example, the information that is provided from the angle of man-machine interaction the present embodiment
Processing method illustrates:
For example, when user a is in user b progress voice calls using notebook:
First, established with user b before voice is connected, it is indoor scene that user a selects current environment on notebook;
It is connected next, user a establishes voice with user b, during user a and user b calls, user a is in room
Interior movement, once in a while close to notebook computer, once in a while away from notebook computer;
During user a and user b calls, notebook computer periodically detection is got in preset duration
The averaged amplitude value of voice signal;
When averaged amplitude value is more than the default first default amplitude, shows that user a is nearer from notebook computer, then should
Section voice signal is sent directly at user b;
Amplitude is preset when averaged amplitude value is less than default first, more than default noise amplitude value corresponding to indoor scene
When, show that from notebook computer farther out, this section of voice signal is amplified by user a, make the average amplitude of this section of voice signal
Value is more than the first default amplitude, then the voice signal after amplification is sent to user b;
When averaged amplitude value corresponding to indoor scene less than noise amplitude value is preset, it is noise to show the voice signal,
This section of voice signal is sent directly at user b.
On the other hand, provided by another embodiment of the application a kind of with implementing based on same inventive concept, the present invention
Electronic equipment corresponding to method in example one, detailed in Example two.
Embodiment two:
In embodiment two, there is provided a kind of electronic equipment, the electronic equipment have voice collecting unit, actually should
In, the electronic equipment can be the electronic equipments such as fixed line phone, smart mobile phone, tablet personal computer, notebook or intelligent watch,
It will not enumerate in the present embodiment.
Fig. 3 is refer to, Fig. 3 is the structure chart of the electronic equipment of the embodiment of the present application two, and the electronic equipment includes:
Detection module 301, for using a preset duration as the cycle, periodically detecting in the preset duration by described
First averaged amplitude value of the voice signal that the collection of voice collecting unit obtains;
Judge module 302, for judging whether first averaged amplitude value meets preparatory condition;
Amplification module 303, for when first averaged amplitude value meets the preparatory condition, presetting and increasing according to first
Benefit, amplify the voice signal.
In the embodiment of the present application, the preset duration is more than the maximum pitch period of the voice signal.
In the embodiment of the present application, the judge module 302 is additionally operable to:
Judge whether first averaged amplitude value is less than the first predetermined amplitude value;Or
Judge whether first averaged amplitude value is less than the first predetermined amplitude value, and be more than the second predetermined amplitude value, institute
State the first predetermined amplitude value and be more than the second predetermined amplitude value.
In the embodiment of the present application, the amplification module 303 includes:
Computing unit, for when first averaged amplitude value meets the preparatory condition, being preset based on described first
Range value and first averaged amplitude value calculate the first preset gain;
Amplifying unit, for according to first preset gain, amplifying the voice signal, so that institute's predicate after amplification
Second averaged amplitude value of sound signal is more than or equal to the first predetermined amplitude value.
In the embodiment of the present application, the detection module 301 includes:
Receiving unit, for receiving a unlatching operation for being used to open the voice collecting unit;
Output unit, operated for responding described open, output one is used to prompt the user whether to need to adjust the voice
The prompt message of signal;
Confirmation unit, for based on the prompt message, receive one to need to adjust the voice signal really for confirmation
Recognize operation;
Detection unit, for confirming operation based on described, using a preset duration as the cycle, periodically detect described default
The first averaged amplitude value of the voice signal obtained is gathered in duration by the voice collecting unit.
The electronic equipment provided in the present embodiment and the information processing method provided in embodiment one, are to be based on same invention
Two aspects under design, are above being described in detail to the implementation process of method, so those skilled in the art
Can be according to the structure and implementation process of the electronic equipment described above being apparent from the present embodiment, for the letter of specification
It is clean, just repeat no more herein.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
1st, the method and electronic equipment that the embodiment of the present application provides, voice collecting unit is periodically detected in preset duration
First averaged amplitude value of the voice signal that interior collection obtains, when the first averaged amplitude value meets preparatory condition, to the voice
Signal is amplified, and to filter out ropy voice signal to be in real time amplified, realizes the technology effect for improving speech quality
Fruit.
2nd, the method and electronic equipment that the embodiment of the present application provides, set preset duration to be more than the maximum of the voice signal
Pitch period, it is corresponding to avoid the voice signal detected when preset duration is too short from not including a complete voice signal waveform
First averaged amplitude value can not characterize the volume of current speech signal, cause to misplace big voice signal, further lifting screening matter
Measure the degree of accuracy of the voice signal of difference.
3rd, the method and electronic equipment that the embodiment of the present application provides, not only judge whether first averaged amplitude value is less than
First predetermined amplitude value, also judges whether the first averaged amplitude value is more than the second predetermined amplitude value, prevents in voice signal
Noise also amplifies, and the degree of accuracy of ropy voice signal is screened in further lifting.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Specifically, computer program instructions can be stored in corresponding to the information processing method in the embodiment of the present application
In the storage mediums such as CD, hard disk, USB flash disk.
The information processing method provided for embodiment one, when corresponding with described information processing method in storage medium
When computer program instructions are read or are performed by an electronic equipment, comprise the following steps:
Using a preset duration as the cycle, periodically detect in the preset duration and gathered by the voice collecting unit
First averaged amplitude value of the voice signal of acquisition;
Judge whether first averaged amplitude value meets preparatory condition;
When first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice
Signal.
Optionally, the preset duration is more than the maximum pitch period of the voice signal.
Optionally, stored in the storage medium and step:Judge whether first averaged amplitude value meets to preset
Condition, corresponding computer instruction specifically comprise the following steps during specific be performed:
Judge whether first averaged amplitude value is less than the first predetermined amplitude value;Or
Judge whether first averaged amplitude value is less than the first predetermined amplitude value, and be more than the second predetermined amplitude value, institute
State the first predetermined amplitude value and be more than the second predetermined amplitude value.
Optionally, stored in the storage medium and step:When first averaged amplitude value meets the default bar
During part, according to the first preset gain, amplify the voice signal, corresponding computer instruction is during specific be performed, tool
Body comprises the following steps:
When first averaged amplitude value meets the preparatory condition, based on the first predetermined amplitude value and described
One averaged amplitude value calculates the first preset gain;
According to first preset gain, amplify the voice signal, so that second of the voice signal after amplification
Averaged amplitude value is more than or equal to the first predetermined amplitude value.
Optionally, stored in the storage medium and step:Using a preset duration as the cycle, periodically described in detection
The first averaged amplitude value of the voice signal obtained, corresponding computer are gathered in preset duration by the voice collecting unit
Instruction specifically comprises the following steps during specific be performed:
Receive a unlatching operation for being used to open the voice collecting unit;
Respond described open to operate, the prompting that output one is used to prompt the user whether to need to adjust the voice signal is believed
Breath;
Based on the prompt message, receive one and be used to confirm to need the confirmation for adjusting voice signal operation;
Confirm operation based on described, using a preset duration as the cycle, periodically detect and pass through institute in the preset duration
First averaged amplitude value of the voice signal that the collection of predicate sound collecting unit obtains.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
1. a kind of information processing method, applied in electronic equipment, the electronic equipment has voice collecting unit, methods described
Including:
Using a preset duration as the cycle, periodically detect in the preset duration and acquisition is gathered by the voice collecting unit
Voice signal the first averaged amplitude value;
Judge whether first averaged amplitude value meets preparatory condition;
When first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplify the voice signal,
The preset duration is more than the maximum pitch period of the voice signal.
2. the method as described in claim 1, it is characterised in that described to judge whether first averaged amplitude value meets to preset
Condition, it is specially:
Judge whether first averaged amplitude value is less than the first predetermined amplitude value;Or
Judge whether first averaged amplitude value is less than the first predetermined amplitude value, and be more than the second predetermined amplitude value, described
One predetermined amplitude value is more than the second predetermined amplitude value.
3. method as claimed in claim 2, it is characterised in that described when first averaged amplitude value meets the default bar
During part, according to the first preset gain, amplify the voice signal, be specially:
When first averaged amplitude value meets the preparatory condition, based on the first predetermined amplitude value and described first flat
Equal range value calculates the first preset gain;
According to first preset gain, amplify the voice signal, so that second of the voice signal after amplification is average
Range value is more than or equal to the first predetermined amplitude value.
4. the method as described in claim 1-3 is any, it is characterised in that it is described using a preset duration as the cycle, periodically
The first averaged amplitude value for gathering the voice signal obtained in the preset duration by the voice collecting unit is detected, specifically
For:
Receive a unlatching operation for being used to open the voice collecting unit;
Respond described open to operate, output one is used to prompt the user whether to need the prompt message for adjusting the voice signal;
Based on the prompt message, receive one and be used to confirm to need the confirmation for adjusting voice signal operation;
Confirm operation based on described, using a preset duration as the cycle, periodically detect in the preset duration by institute's predicate
First averaged amplitude value of the voice signal that the collection of sound collecting unit obtains.
5. a kind of electronic equipment, the electronic equipment has voice collecting unit, and the electronic equipment also includes:
Detection module, adopted for using a preset duration as the cycle, periodically detecting in the preset duration by the voice
Collect the first averaged amplitude value of the voice signal that unit collection obtains;
Judge module, for judging whether first averaged amplitude value meets preparatory condition;
Amplification module, for when first averaged amplitude value meets the preparatory condition, according to the first preset gain, amplifying
The voice signal,
The preset duration is more than the maximum pitch period of the voice signal.
6. electronic equipment as claimed in claim 5, it is characterised in that the judge module is additionally operable to:
Judge whether first averaged amplitude value is less than the first predetermined amplitude value;Or
Judge whether first averaged amplitude value is less than the first predetermined amplitude value, and be more than the second predetermined amplitude value, described
One predetermined amplitude value is more than the second predetermined amplitude value.
7. electronic equipment as claimed in claim 6, it is characterised in that the amplification module includes:
Computing unit, for when first averaged amplitude value meets the preparatory condition, based on first predetermined amplitude
Value and first averaged amplitude value calculate the first preset gain;
Amplifying unit, for according to first preset gain, amplifying the voice signal, so that the voice letter after amplification
Number the second averaged amplitude value be more than or equal to the first predetermined amplitude value.
8. the electronic equipment as described in claim 5-7 is any, it is characterised in that the detection module includes:
Receiving unit, for receiving a unlatching operation for being used to open the voice collecting unit;
Output unit, operated for responding described open, output one is used to prompt the user whether to need to adjust the voice signal
Prompt message;
Confirmation unit, for based on the prompt message, receiving one and being used to confirm to need the confirmation for adjusting voice signal behaviour
Make;
Detection unit, for confirming operation based on described, using a preset duration as the cycle, periodically detect the preset duration
Interior the first averaged amplitude value that the voice signal obtained is gathered by the voice collecting unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410302888.4A CN104079420B (en) | 2014-06-27 | 2014-06-27 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410302888.4A CN104079420B (en) | 2014-06-27 | 2014-06-27 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104079420A CN104079420A (en) | 2014-10-01 |
CN104079420B true CN104079420B (en) | 2017-12-29 |
Family
ID=51600477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410302888.4A Active CN104079420B (en) | 2014-06-27 | 2014-06-27 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104079420B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991755B (en) * | 2015-07-10 | 2019-02-05 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN105225674B (en) * | 2015-09-25 | 2019-02-15 | 维沃移动通信(杭州)有限公司 | A kind of audio signal processing method, device and mobile terminal |
CN110580906B (en) * | 2019-08-01 | 2022-02-11 | 安徽声讯信息技术有限公司 | Far-field audio amplification method and system based on cloud data |
CN112911053B (en) * | 2021-01-19 | 2022-09-13 | 武汉凡鱼科技有限公司 | Automatic voice call switching method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212100A (en) * | 1995-12-29 | 1999-03-24 | Dsc电讯有限合伙公司 | Voice enhancement system and method |
JP2004020733A (en) * | 2002-06-13 | 2004-01-22 | Ricoh Co Ltd | Volume control system, program, and recording medium |
CN1885711A (en) * | 2005-06-24 | 2006-12-27 | 腾讯科技(深圳)有限公司 | Volume control method and system |
CN101552823A (en) * | 2008-04-03 | 2009-10-07 | 华硕电脑股份有限公司 | Volume management system and method |
CN103379231A (en) * | 2012-04-17 | 2013-10-30 | 中兴通讯股份有限公司 | Wireless conference phone and method for wireless conference phone performing voice signal transmission |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020173864A1 (en) * | 2001-05-17 | 2002-11-21 | Crystal Voice Communications, Inc | Automatic volume control for voice over internet |
-
2014
- 2014-06-27 CN CN201410302888.4A patent/CN104079420B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212100A (en) * | 1995-12-29 | 1999-03-24 | Dsc电讯有限合伙公司 | Voice enhancement system and method |
JP2004020733A (en) * | 2002-06-13 | 2004-01-22 | Ricoh Co Ltd | Volume control system, program, and recording medium |
CN1885711A (en) * | 2005-06-24 | 2006-12-27 | 腾讯科技(深圳)有限公司 | Volume control method and system |
CN101552823A (en) * | 2008-04-03 | 2009-10-07 | 华硕电脑股份有限公司 | Volume management system and method |
CN103379231A (en) * | 2012-04-17 | 2013-10-30 | 中兴通讯股份有限公司 | Wireless conference phone and method for wireless conference phone performing voice signal transmission |
Also Published As
Publication number | Publication date |
---|---|
CN104079420A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101954550B1 (en) | Volume adjustment method, system and equipment, and computer storage medium | |
TWI272860B (en) | Audio receiver and volume reminder method | |
CN103841491B (en) | Adaptable System for managing multiple microphones and loud speaker | |
CN104200810B (en) | Automatic gain control equipment and method | |
CN101370322A (en) | Microphone gain control method and communication equipment | |
CN102800323B (en) | Method and device for reducing noises of voice of mobile terminal | |
CN106797508B (en) | For improving the method and earphone of sound quality | |
CN106063238B (en) | Mixing continuous perceptually in videoconference | |
CN103607500B (en) | A kind of In Call control method based on environment and device | |
CN104079420B (en) | A kind of information processing method and electronic equipment | |
CN104991755B (en) | A kind of information processing method and electronic equipment | |
US10504538B2 (en) | Noise reduction by application of two thresholds in each frequency band in audio signals | |
US10540983B2 (en) | Detecting and reducing feedback | |
CN103024224B (en) | Speech control method and device in multi-person speech communication | |
CN106921911A (en) | Voice acquisition method and device | |
CN108235181A (en) | The method of noise reduction in apparatus for processing audio | |
US20160088160A1 (en) | Silence signatures of audio signals | |
CN115482830B (en) | Voice enhancement method and related equipment | |
CN104580764B (en) | Ultrasonic pairing signal control in TeleConference Bridge | |
CN104092809A (en) | Communication sound recording method and recorded communication sound playing method and device | |
CN103916511B (en) | The method and electronic equipment of information processing | |
CN107978312A (en) | The method, apparatus and system of a kind of speech recognition | |
WO2013170802A1 (en) | Method and device for improving call voice quality of mobile terminal | |
JP6580362B2 (en) | CONFERENCE DETERMINING METHOD AND SERVER DEVICE | |
CN104348436B (en) | A kind of parameter regulation means and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |