[go: up one dir, main page]

CN103634731A - Method for adjusting loudspeaker, and electronic device - Google Patents

Method for adjusting loudspeaker, and electronic device Download PDF

Info

Publication number
CN103634731A
CN103634731A CN201210313039.XA CN201210313039A CN103634731A CN 103634731 A CN103634731 A CN 103634731A CN 201210313039 A CN201210313039 A CN 201210313039A CN 103634731 A CN103634731 A CN 103634731A
Authority
CN
China
Prior art keywords
sound
parameter
loud speaker
environment
information
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.)
Granted
Application number
CN201210313039.XA
Other languages
Chinese (zh)
Other versions
CN103634731B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210313039.XA priority Critical patent/CN103634731B/en
Publication of CN103634731A publication Critical patent/CN103634731A/en
Application granted granted Critical
Publication of CN103634731B publication Critical patent/CN103634731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for adjusting a loudspeaker, and an electronic device. The method for adjusting the loudspeaker is applied to the electronic device comprising the loudspeaker. The method comprises that: when the electronic device outputs standard sound corresponding to a standard sound signal via the loudspeaker, a first sound signal acquired and obtained by a sound acquisition unit is obtained; the first sound signal is analyzed so that first information of a first parameter is obtained; whether the first information is matched with the preset parameter information is judged, wherein the preset parameter information particularly refers to the parameter information which is acquired on the basis of the standard sound signal under the preset environment; and when the first information is not matched with the preset parameter information, an output parameter of the loudspeaker is adjusted from a first output parameter to a second output parameter which is different from the first output parameter.

Description

A kind of method and electronic equipment of adjusting loud speaker
Technical field
The present invention relates to areas of information technology, particularly a kind of method and electronic equipment of adjusting loud speaker.
Background technology
Generally, various electronic equipments all can comprise that generally, for convenience's sake, loud speaker and microphone are all built in electronic equipment for the loud speaker of output sound with for enrolling the microphone of sound.Under different environment, due to the different reflecting objects of environment and different conditioned reflexes, the response effect of boombox is also not identical.
In prior art, for built-in microphone that can electronic equipment can reach best response effect, conventionally adopt following two kinds of technical schemes:
The first, only, under the environment of standard (such as anechoic chamber), allows boombox reach best response effect;
The second, and employing third party software (such as: SRS, Dolby) sound of boombox output is carried out to post-processed.
Present inventor, in realizing the process of the embodiment of the present application technical scheme, at least finds to exist in prior art following technical problem:
Due in the prior art, no matter be while adopting the first scheme or first scheme to realize the optimal response effect of boombox, all only under standard environment, (namely quiet, less room) can be realized, and cannot meet the needs of non-standard environment, so there is the technical problem that inconvenient operation and range of application are comparatively single, also reduced user experience.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving prior art boombox, under non-standard environment, can not reach the technical problem of optimal response effect, reached under non-standard environment, boombox also can reach the technique effect of optimal response effect.
On the one hand, the application provides following technical scheme by the application's a embodiment:
Adjust a method for loud speaker, described method is applied in one and comprises that, in the electronic equipment of loud speaker, described method comprises:
When described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
Described first sound tone signal is analyzed, obtained the first information of the first parameter;
Judge whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
When described first information discord parameter preset information matches, the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter.
Further, described described first sound tone signal is analyzed, is obtained the first information of the first parameter, be specially:
Described first sound tone signal is analyzed, to obtain the frequency response curve information of described loud speaker under described first environment.
Further, described the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter after, described method also comprises:
S1: the second information that continues to obtain described the first parameter;
S2: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S3; If mate unsuccessfully, turn to S4;
S3: the described output parameter that keeps described loud speaker is described the second output parameter;
S4: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S1.
Further, described default environment is specially:
Environmental noise value be less than the first preset value, sound refractive index be less than the second preset value and sound reflection rate be less than the 3rd preset value environment.
Further, described parameter preset information, obtains in the following way:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
Further, described when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, specifically comprises:
Detect at least one environmental parameter value of described electronic equipment place environment;
Whether described at least one the environmental parameter value of judgement meets pre-conditioned;
In described at least one environmental parameter value, do not meet described when pre-conditioned, by the described loud speaker output standard voice corresponding with standard voice signal;
The described first sound tone signal that acquisition collects by sound collection unit.
On the other hand, the application provides following technical scheme by another embodiment of the application:
An electronic equipment, described electronic equipment comprises loud speaker, described electronic equipment also comprises:
First obtains module, for when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
Analysis module, for described first sound tone signal is analyzed, obtains the first information of the first parameter;
The first judge module, for judging whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
The first adjusting module, for when described first information discord parameter preset information matches, adjusts to second output parameter different from described the first output parameter by the output parameter of described loud speaker from the first output parameter.
Further, described the first analysis module, specifically for:
Described first sound tone signal is analyzed, to obtain the frequency response curve information of described loud speaker under described first environment.
Further, described electronic equipment also comprises:
Second obtains module, for described the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter after, execution step S1: the second information that continues to obtain described the first parameter;
The second judge module, for performing step S2: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S3; If mate unsuccessfully, turn to S4;
Keep module, for performing step S3: the described output parameter that keeps described loud speaker is described the second output parameter;
The second adjusting module, for performing step S4: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S1.
Further, described default environment is specially:
Environmental noise value be less than the first preset value, sound refractive index be less than the second preset value and sound reflection rate be less than the 3rd preset value environment.
Further, described electronic equipment also comprises:
The 3rd obtains module, for obtaining in the following way described parameter preset information:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
Further, described first obtains module, specifically comprises:
Detecting unit, for detection of at least one environmental parameter value of described electronic equipment place environment;
Judging unit, for judging whether described at least one environmental parameter value meets pre-conditioned;
Output unit, described when pre-conditioned for not meeting in described at least one environmental parameter value, by the described loud speaker output standard voice corresponding with standard voice signal;
Obtain unit, for obtaining the described first sound tone signal collecting by sound collection unit.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
(1) due in the embodiment of the present application, after the standard voice corresponding with standard voice signal based on loud speaker output, the first sound tone signal that described standard voice and first environment sound mix are formed gathers and analyzes, and then the first information of the first parameter of acquisition loud speaker, when the first information and parameter preset information are not mated, illustrate that loud speaker does not reach best response effect, so adjust the output parameter of loud speaker, so guaranteed in any environment, loud speaker can reach best response effect.
(2) due in the embodiment of the present application, after the output parameter of loud speaker is adjusted, whether continuation reaches optimal response effect to loud speaker is detected, when loud speaker does not reach optimal response effect, can continue loud speaker to adjust, so further guaranteed that loud speaker can reach best response effect.
(3) due in the embodiment of the present application, when at least one environmental parameter value of environment does not meet when pre-conditioned, just whether loud speaker being reached to optimal response effect detects, and generally, when environmental noise is smaller, loud speaker generally can reach best response effect, so guaranteeing that loud speaker has under the prerequisite of optimal response effect, has reached the technique effect of saving energy consumption.
Accompanying drawing explanation
Fig. 1 adjusts the flow chart of the method for loud speaker in the application one embodiment;
Fig. 2 obtains the flow chart of first sound tone signal in the application one embodiment;
Fig. 3 a is the schematic diagram of the first frequency response curve in the application one embodiment;
Fig. 3 b is the schematic diagram of the application's one embodiment Plays frequency response curve;
In Fig. 3 c the application one embodiment, it is the schematic diagram that the first frequency response curve and standard frequency response curve match;
The schematic diagram of the first frequency response curve in Fig. 3 d the application one embodiment for the first frequency response curve before adjusting and after adjusting;
In Fig. 4 the application one embodiment, for circulation, adjust the schematic diagram of the output parameter of loud speaker;
Fig. 5 is the block diagram of electronic equipment in another embodiment of the application.
Embodiment
The invention provides a kind of method and electronic equipment of adjusting loud speaker, in order to solve the technical problem that can not obtain the optimal response of loud speaker in prior art under non-standard environment.
Technical scheme in the embodiment of the present invention is for solving above-mentioned technical problem, and general thought is as follows:
Under first environment, in real time by the loud speaker outputting standard sound of electronic equipment, then the built-in microphone by electronic equipment is captured in the voice signal that first environment sound under described first environment and standard voice mix; Then by this first sound tone signal is analyzed, obtain the frequency response curve information of this loud speaker; If the frequency response curve information under this frequency response curve information and default environment does not match, illustrate that this loud speaker does not reach optimal response effect, so need to adjust the output parameter of loud speaker, so that it reaches optimal response effect; And if frequency response information under this frequency response curve information and default environment matches, illustrate that this loud speaker has reached optimal response effect.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
One embodiment of the invention provide a kind of method of adjusting loud speaker, and described method is applied in one and comprises in the electronic equipment of loud speaker, and this electronic equipment is such as being: the electronic equipments such as mobile phone, panel computer, notebook computer.
Please refer to Fig. 1, the method comprises the steps:
S101: when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
Wherein, in one embodiment, as shown in Figure 2, step S101 specifically comprises again:
S201: at least one the environmental parameter value that detects described electronic equipment place environment;
After obtaining at least one environmental parameter value based on step S201, just can perform step S202, that is: whether described at least one the environmental parameter value of judgement meets pre-conditioned;
After judging based on step S202, just can perform step S203, that is: in described at least one environmental parameter value, meet described when pre-conditioned, by the described loud speaker output standard voice corresponding with standard voice signal;
After based on step S203 outputting standard sound, just can perform step S204, that is: obtain the described first sound tone signal collecting by sound collection unit.
Specifically, be exactly before obtaining first sound tone signal, first gather at least one the environmental parameter value that obtains loud speaker place environment.In one embodiment, described environmental parameter value can be: environmental noise value, sound refractive index and sound reflection rate.Then, judge whether these environmental parameter values meet pre-conditioned, specifically: namely judge that whether at least one parameter information is similar with the parameter information under default environment, such as: whether environmental noise value is less than the first predetermined threshold value, such as 10dB, 20dB etc.; And judge whether sound refractive index is less than the second predetermined threshold value, and whether sound reflection rate is less than the 3rd predetermined threshold value etc.If these three conditions all meet, so, illustrate that this electronic equipment place environment is standard environment, and generally, loud speaker is not being made while arranging, and its output parameter can reach best response effect under standard environment, so do not need the output parameter of loud speaker to adjust; And if in these three conditions, at least exist one undesirable, illustrate that electronic equipment place environment is non-standard environment, so, need to adjust loud speaker, thereby just need to gather this first sound tone signal by sound collection unit.
As seen from the above description, due in the embodiment of the present application, when environment at least one environmental parameter value do not meet when pre-conditioned, just whether loud speaker being reached to optimal response effect detects, and generally, when environmental noise is smaller, loud speaker generally can reach best response effect, so guaranteeing that loud speaker has under the prerequisite of optimal response effect, reaching the technique effect of saving energy consumption.
And in another embodiment, step S101 specifically comprises again:
One timer is set in described electronic equipment, every Preset Time interval, produces a triggering command;
Based on described triggering command, by the described loud speaker output standard voice corresponding with standard voice signal;
The described first sound tone signal that acquisition collects by sound collection unit.
Specifically, namely every Preset Time interval, such as 10min, 20min etc., produce a triggering command, when receiving triggering command, just loud speaker is adjusted.
After obtaining first sound tone signal based on step S101, just can perform step S102, that is: described first sound tone signal is analyzed, obtain the first information of the first parameter;
In specific implementation process, the first parameter in described step S102 is specially the frequency response curve information of loud speaker, and so-called frequency response specifically refers to stereo set for the reduction characteristic of the waveform signal of different frequency composition.Desirable frequency response curve should be straight line, is the situation of distortion sound that do not exist completely in this case.But in actual conditions, all can there is the situation of distortion in the sound that general loud speaker sends, so the frequency response curve that different loud speakers can be corresponding different.And under different environment, identical loud speaker, frequency response curve is also different, such as: the in the situation that at environmental noise, lower and room being smaller, the frequency response curve of loud speaker may more approach straight line; And environmental noise is higher, the frequency response curve of loud speaker may be more crooked.
Suppose, as shown in Figure 3 a, under current environment, the frequency response curve 301a of loud speaker, wherein, abscissa is that frequency (Hz), ordinate are response (dB), namely the sound based on different frequency has different response effects.As can be seen from the figure, this frequency response curve non-straight, as can be seen here, under current environment, loud speaker does not reach optimal response effect.
After obtaining the first parameter information based on step S102, just can perform step S103, that is: judge whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
In one embodiment, this default environment is specially: environmental noise value is less than the first preset value, sound refractive index is less than the environment that the second preset value and sound reflection rate are less than the 3rd preset value, such as: if environmental noise value is 12dB, sound refractive index is 0.1, sound reflection rate is 0.05, and the first preset value is 15dB, the second preset value is 0.2, the 3rd preset value is 0.2, because all meeting, these three environmental parameter values of environment pre-conditionedly illustrate that so this environment is for default environment, ideally, default environment should be not have the environment of noise completely, but due to generally, the environment that can not existence there is no environmental noise completely, so as long as environmental noise is less, in another embodiment, described default environment is specially: environmental noise value is less than the first preset value and room-size is less than a default big or small environment.
In one embodiment, the parameter information of this standard voice signal is the frequency response curve of this loud speaker under default environment, and this frequency response curve can obtain in the following way:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
Specifically, namely under standard environment, such as: environmental noise is less than in the situation of a preset value, by standard voice corresponding to this loud speaker outputting standard voice signal, then by voice collection device, gather second sound signal corresponding to the second sound that this standard voice and ambient sound mix; Then this second sound signal is passed through to the signal processor in electronic equipment, such as audio decoder, such as microprocessor is processed, then, just can obtain the frequency response curve of this loud speaker under standard environment.
Suppose, as shown in Figure 3 b, under standard environment, the frequency response curve 301b of loud speaker, as can be seen from the figure, and this frequency response curve non-straight, as can be seen here, under standard environment, loud speaker has reached to optimal response effect.
In one embodiment, this standard frequency response curve 301b is stored in described electronic equipment, by this electronic equipment, is being produced when initial, directly obtains; In another embodiment, this standard frequency response curve 301b is stored in network side, the standard frequency response curve of the loud speaker that this network side comprises various electronic, and this electronic equipment can therefrom be selected suitable frequency response curve.
In specific implementation process, obtaining under this electronic equipment current environment, after the first frequency response curve 301a of loud speaker, just can recall standard frequency response curve 301b, wherein, more identical between the first frequency response curve 301a and standard frequency response curve 301b, just illustrate between these two kinds and more mate, the two kinds of frequency response curves that obtain above of take are example, as shown in Figure 3 c, it is the schematic diagram of the first frequency response curve 301a and standard frequency response curve 301b coupling, can see publish picture between the first frequency response curve 301a and standard frequency response curve 301b very major part do not overlap, wherein between region 302a and region 302c, substantially do not overlap, region 302b overlaps.
In one embodiment, when the first frequency response curve 301a and standard frequency response curve 301b complete when overlapping, the first frequency response curve 301a and standard frequency response curve 301b are described, and the match is successful; And in another embodiment, when the fluctuation between the first frequency response curve 301a and standard frequency response curve 301b is in preset range, the first frequency response curve 301a and standard frequency response curve 301b are just described, and the match is successful.
After judging based on step S103, just can perform step S104, that is: when described first information discord parameter preset information matches, the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter.
In the present embodiment, the output parameter of this loud speaker is exactly the frequency response curve of this loud speaker, in Fig. 3 c, can find out, between region 302a and region 302c, between the first frequency response curve 301a and the second frequency response curve 301b and misfit, so, to adjust the first frequency response curve 301a of this area segments, to draw high lower than the part of standard frequency response curve 301b, and the part higher than standard frequency response curve 301b is reduced, the schematic diagram of the first frequency response curve 301a of Fig. 3 d for the first frequency response curve 301c after adjusting and before adjusting, as can be seen from Figure, the the first frequency response curve 301c adjusting is very straight, namely loud speaker can obtain best response effect.
In another embodiment, after guaranteeing to adjust frequency response curve, the response effect that loud speaker obtains is best response effect, after the first frequency response curve 301a is adjusted into the second frequency response curve 301c, as shown in Figure 4, can also continue to carry out following steps:
S401: the second information that continues to obtain described the first parameter;
After obtaining the second information based on step S401, just can perform step S402, that is: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S403; If mate unsuccessfully, turn to S404;
S403: the described output parameter that keeps described loud speaker is described the second output parameter;
S404: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S401.
Specifically, namely after the frequency response curve of this loud speaker is adjusted into 301c, continue by loud speaker outputting standard voice signal, then by voice collection device, gather the morbid sound of standard voice signal and ambient sound, obtain frequency response curve, judge whether this frequency response curve mates with standard frequency response curve 301b, if the match is successful, illustrate that loud speaker has obtained optimal response effect, do not need so the frequency response curve of loud speaker to adjust again; And if mate unsuccessfully, illustrate that loud speaker does not obtain optimal response effect, thereby will frequency response curve be continued to adjust, until the match is successful.
As seen from the above description, due in the embodiment of the present application, after the output parameter of loud speaker is adjusted, whether continuation reaches optimal response effect to loud speaker is detected, when loud speaker does not reach optimal response effect, can continue loud speaker to adjust, so further guaranteed that loud speaker can reach best response effect.
A kind of electronic equipment is also provided in one embodiment of the invention, and this electronic equipment comprises loud speaker, and this electronic equipment is such as being: the electronic equipments such as mobile phone, panel computer, notebook computer.
Please refer to Fig. 5, described electronic equipment also comprises following structure:
First obtains module 501, for when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
In one embodiment, this first acquisition module 501 specifically comprises following structure:
Detecting unit, for detection of at least one environmental parameter value of described electronic equipment place environment;
Judging unit, for judging whether described at least one environmental parameter value meets pre-conditioned;
Output unit, described when pre-conditioned for meeting in described at least one environmental parameter value, by the described loud speaker output standard voice corresponding with standard voice signal;
Obtain unit, for obtaining the described first sound tone signal collecting by sound collection unit.
Specifically, be exactly before obtaining first sound tone signal, first judge whether at least one environmental parameter value meets pre-conditioned, if meet described pre-conditionedly, so, illustrate that this electronic equipment place environment is standard environment, and generally, loud speaker is not being made while arranging, and its output parameter can reach best response effect under standard environment, so do not need the output parameter of loud speaker to adjust; And if do not meet pre-conditionedly, illustrate that electronic equipment place environment is non-standard environment, so, need to adjust loud speaker, thereby just need to gather this first sound tone signal by sound collection unit.
As seen from the above description, due in the embodiment of the present application, when at least one environmental parameter value of environment does not meet when pre-conditioned, just whether loud speaker being reached to optimal response effect detects, and generally, when environmental noise is smaller, loud speaker generally can reach best response effect, so guaranteeing that loud speaker has under the prerequisite of optimal response effect, reaching the technique effect of saving energy consumption.
And in another embodiment, this first acquisition module 501 specifically comprises:
Instruction generation unit, for a timer is set in described electronic equipment, produces a triggering command every Preset Time interval;
The second output unit, for based on described triggering command, exports the standard voice corresponding with standard voice signal by described loud speaker;
Second obtains unit, for obtaining the described first sound tone signal collecting by sound collection unit.
Analysis module 502, for described first sound tone signal is analyzed, obtains the first information of the first parameter;
In the present embodiment, 502 pairs of first sound tone signal of this analysis module are analyzed, and the first parameter of acquisition is specially: the frequency response curve information of loud speaker.
The first judge module 503, for judging whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
In the present embodiment, this default environment is specially: environmental noise value is less than the environment of the first preset value.Ideally, default environment should be not have the environment of noise completely, but due to generally, can not existence there is no the environment of environmental noise completely, so it is less to need only environmental noise; In another embodiment, described default environment is specially: environmental noise value is less than the first preset value and room-size is less than a default big or small environment.
In one embodiment, this electronic equipment also comprises following structure:
The 3rd obtains module, for obtaining in the following way described parameter preset information:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
Specifically, namely under standard environment, such as: environmental noise is less than in the situation of a preset value, by standard voice corresponding to this loud speaker outputting standard voice signal, then by voice collection device, gather second sound signal corresponding to the second sound that this standard voice and ambient sound mix; Then this second sound signal is passed through to the signal processor in electronic equipment, such as audio decoder, such as microprocessor is processed, then, just can obtain the frequency response curve of this loud speaker under standard environment.
In one embodiment, this standard frequency response curve is stored in described electronic equipment, by this electronic equipment, is being produced when initial, directly obtains; In another embodiment, this standard frequency response curve is stored in network side, the standard frequency response curve of the loud speaker that this network side comprises various electronic, and this electronic equipment can therefrom be selected suitable frequency response curve.
In specific implementation process, obtaining under this electronic equipment current environment, after the first frequency response curve of loud speaker, just can recall standard frequency response curve, wherein, more identical between the first frequency response curve and standard frequency response curve, just illustrate between these two kinds and more mate.
In one embodiment, when the first frequency response curve and standard frequency response curve complete when overlapping, the first frequency response curve and standard frequency response curve are described, and the match is successful; And in another embodiment, when the fluctuation between the first frequency response curve and standard frequency response curve is in preset range, the first frequency response curve and standard frequency response curve are just described, and the match is successful.
The first adjusting module 504, for when described first information discord parameter preset information matches, adjusts to second output parameter different from described the first output parameter by the output parameter of described loud speaker from the first output parameter.
In the present embodiment, the output parameter of this loud speaker is exactly the frequency response curve of this loud speaker, after obtaining the first frequency response curve, can to it, adjust based on standard frequency response curve, such as higher place reduces, draw high etc. in place on the low side, finally obtain a straight frequency response curve.
In another embodiment, this electronic equipment can also comprise following structure:
Second obtains module, for described the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter after, execution step S401: the second information that continues to obtain described the first parameter;
The second judge module, for performing step S402: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S403; If mate unsuccessfully, turn to S404;
Keep module, for performing step S403: the described output parameter that keeps described loud speaker is described the second output parameter;
The second adjusting module, for performing step S404: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S401.
Specifically, namely after the frequency response curve of this loud speaker is adjusted, continue by loud speaker outputting standard voice signal, then by voice collection device, gather the morbid sound of standard voice signal and ambient sound, obtain frequency response curve, judge whether this frequency response curve mates with standard frequency response curve, if the match is successful, illustrate that loud speaker has obtained optimal response effect, do not need so the frequency response curve of loud speaker to adjust again; And if mate unsuccessfully, illustrate that loud speaker does not obtain optimal response effect, thereby will frequency response curve be continued to adjust, until the match is successful.
As seen from the above description, due in the embodiment of the present application, after the output parameter of loud speaker is adjusted, whether continuation reaches optimal response effect to loud speaker is detected, when loud speaker does not reach optimal response effect, can continue loud speaker to adjust, so further guaranteed that loud speaker can reach best response effect.
The electronic equipment that the electronic equipment of introducing due to the present embodiment adopts for adjusting the method for loud speaker in enforcement the embodiment of the present application, so method of the adjustment loud speaker based on introducing in the embodiment of the present application, those skilled in the art can understand the present embodiment electronic equipment embodiment with and various version, so introduce no longer in detail for this electronic equipment at this.As long as those skilled in the art implement to adjust in the embodiment of the present application the electronic equipment that the method for loud speaker adopts, all belong to the scope of the application institute wish protection.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
(1) due in the embodiment of the present application, after the standard voice corresponding with standard voice signal based on loud speaker output, the first sound tone signal that described standard voice and first environment sound mix are formed gathers and analyzes, and then the first information of the first parameter of acquisition loud speaker, when the first information and parameter preset information are not mated, illustrate that loud speaker does not reach best response effect, so adjust the output parameter of loud speaker, so guaranteed in any environment, loud speaker can reach best response effect.
(2) due in the embodiment of the present application, after the output parameter of loud speaker is adjusted, whether continuation reaches optimal response effect to loud speaker is detected, when loud speaker does not reach optimal response effect, can continue loud speaker to adjust, so further guaranteed that loud speaker can reach best response effect.
(3) due in the embodiment of the present application, when at least one environmental parameter value of environment does not meet when pre-conditioned, just whether loud speaker being reached to optimal response effect detects, and generally, when environmental noise is smaller, loud speaker generally can reach best response effect, so guaranteeing that loud speaker has under the prerequisite of optimal response effect, has reached the technique effect of saving energy consumption.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (12)

1. adjust a method for loud speaker, described method is applied in one and comprises in the electronic equipment of loud speaker, and it is characterized in that, described method comprises:
When described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
Described first sound tone signal is analyzed, obtained the first information of the first parameter;
Judge whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
When described first information discord parameter preset information matches, the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter.
2. the method for claim 1, is characterized in that, described described first sound tone signal is analyzed, and obtains the first information of the first parameter, is specially:
Described first sound tone signal is analyzed, to obtain the frequency response curve information of described loud speaker under described first environment.
3. the method for claim 1, is characterized in that, described the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter after, described method also comprises:
S1: the second information that continues to obtain described the first parameter;
S2: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S3; If mate unsuccessfully, turn to S4;
S3: the described output parameter that keeps described loud speaker is described the second output parameter;
S4: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S1.
4. the method for claim 1, is characterized in that, described default environment is specially:
Environmental noise value be less than the first preset value, sound refractive index be less than the second preset value and sound reflection rate be less than the 3rd preset value environment.
5. the method as described in as arbitrary in claim 1-4, is characterized in that, described parameter preset information obtains in the following way:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
6. the method for claim 1, is characterized in that, described when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, specifically comprises:
Detect at least one environmental parameter value of described electronic equipment place environment;
Whether described at least one the environmental parameter value of judgement meets pre-conditioned;
In described at least one environmental parameter value, do not meet described when pre-conditioned, by the described loud speaker output standard voice corresponding with standard voice signal;
The described first sound tone signal that acquisition collects by sound collection unit.
7. an electronic equipment, described electronic equipment comprises loud speaker, it is characterized in that, described electronic equipment also comprises:
First obtains module, for when described electronic equipment is exported the standard voice corresponding with standard voice signal by described loud speaker, the first sound tone signal that acquisition collects by sound collection unit, wherein, described first sound tone signal is the first environment sound of first environment at described electronic equipment place and first sound tone signal corresponding to the first sound that described standard voice is mixed to form;
Analysis module, for described first sound tone signal is analyzed, obtains the first information of the first parameter;
The first judge module, for judging whether the described first information matches with parameter preset information, wherein, described parameter preset information is specially under default environment, the parameter information obtaining based on described standard voice signal;
The first adjusting module, for when described first information discord parameter preset information matches, adjusts to second output parameter different from described the first output parameter by the output parameter of described loud speaker from the first output parameter.
8. electronic equipment as claimed in claim 7, is characterized in that, described the first analysis module, specifically for:
Described first sound tone signal is analyzed, to obtain the frequency response curve information of described loud speaker under described first environment.
9. electronic equipment as claimed in claim 7, is characterized in that, described electronic equipment also comprises:
Second obtains module, for described the output parameter of described loud speaker is adjusted to second output parameter different from described the first output parameter from the first output parameter after, execution step S1: the second information that continues to obtain described the first parameter;
The second judge module, for performing step S2: judge whether described the second information matches with parameter preset information; If the match is successful, turn to S3; If mate unsuccessfully, turn to S4;
Keep module, for performing step S3: the described output parameter that keeps described loud speaker is described the second output parameter;
The second adjusting module, for performing step S4: the described output parameter of described loud speaker is adjusted to three output parameter different from described the second output parameter from described the second output parameter, and turn to S1.
10. electronic equipment as claimed in claim 7, is characterized in that, described default environment is specially:
Environmental noise value be less than the first preset value, sound refractive index be less than the second preset value and sound reflection rate be less than the 3rd preset value environment.
11. electronic equipments as described in as arbitrary in claim 7-10, is characterized in that, described electronic equipment also comprises:
The 3rd obtains module, for obtaining in the following way described parameter preset information:
Under described default environment, by the described loud speaker output standard voice corresponding with standard voice signal;
The second sound signal that acquisition collects by sound collection unit, described second sound signal is that described electronic equipment is less than second sound signal corresponding to the second sound that second environment sound under the environment of the first preset value and described standard voice are mixed to form in environmental noise value;
Described second sound signal is analyzed, obtained described parameter preset information.
12. electronic equipments as claimed in claim 7, is characterized in that, described first obtains module, specifically comprises:
Detecting unit, for detection of at least one environmental parameter value of described electronic equipment place environment;
Judging unit, for judging whether described at least one environmental parameter value meets pre-conditioned;
Output unit, described when pre-conditioned for not meeting in described at least one environmental parameter value, by the described loud speaker output standard voice corresponding with standard voice signal;
Obtain unit, for obtaining the described first sound tone signal collecting by sound collection unit.
CN201210313039.XA 2012-08-29 2012-08-29 A kind of method adjusting speaker and electronic equipment Active CN103634731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210313039.XA CN103634731B (en) 2012-08-29 2012-08-29 A kind of method adjusting speaker and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210313039.XA CN103634731B (en) 2012-08-29 2012-08-29 A kind of method adjusting speaker and electronic equipment

Publications (2)

Publication Number Publication Date
CN103634731A true CN103634731A (en) 2014-03-12
CN103634731B CN103634731B (en) 2016-12-28

Family

ID=50215282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210313039.XA Active CN103634731B (en) 2012-08-29 2012-08-29 A kind of method adjusting speaker and electronic equipment

Country Status (1)

Country Link
CN (1) CN103634731B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601825A (en) * 2015-02-16 2015-05-06 联想(北京)有限公司 Control method and control device
CN104966522A (en) * 2015-06-30 2015-10-07 广州酷狗计算机科技有限公司 Sound effect regulation method, cloud server, stereo device and system
CN105786443A (en) * 2016-03-21 2016-07-20 腾讯科技(深圳)有限公司 Frequency response correction method, processing chip and terminal equipment
CN108600489A (en) * 2018-04-28 2018-09-28 努比亚技术有限公司 Receiver, the calibration method of loud speaker, mobile terminal and readable storage medium storing program for executing
CN110996242A (en) * 2019-12-13 2020-04-10 科大讯飞(苏州)科技有限公司 Tuning method, related device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530588A (en) * 1991-07-22 1993-02-05 Fujitsu General Ltd Automatic volume control device
CN1658097A (en) * 2004-02-19 2005-08-24 哈尔滨工业大学固泰电子有限责任公司 Adjusting method for horn working parameter
US20060126865A1 (en) * 2004-12-13 2006-06-15 Blamey Peter J Method and apparatus for adaptive sound processing parameters
US20070112563A1 (en) * 2005-11-17 2007-05-17 Microsoft Corporation Determination of audio device quality
CN101137250A (en) * 2007-10-08 2008-03-05 卢灿光 A car audio adaptive sound field adjustment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530588A (en) * 1991-07-22 1993-02-05 Fujitsu General Ltd Automatic volume control device
CN1658097A (en) * 2004-02-19 2005-08-24 哈尔滨工业大学固泰电子有限责任公司 Adjusting method for horn working parameter
US20060126865A1 (en) * 2004-12-13 2006-06-15 Blamey Peter J Method and apparatus for adaptive sound processing parameters
US20070112563A1 (en) * 2005-11-17 2007-05-17 Microsoft Corporation Determination of audio device quality
CN101137250A (en) * 2007-10-08 2008-03-05 卢灿光 A car audio adaptive sound field adjustment method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601825A (en) * 2015-02-16 2015-05-06 联想(北京)有限公司 Control method and control device
CN104966522A (en) * 2015-06-30 2015-10-07 广州酷狗计算机科技有限公司 Sound effect regulation method, cloud server, stereo device and system
CN104966522B (en) * 2015-06-30 2018-01-09 广州酷狗计算机科技有限公司 Effect adjusting method, cloud server, stereo set and system
CN105786443A (en) * 2016-03-21 2016-07-20 腾讯科技(深圳)有限公司 Frequency response correction method, processing chip and terminal equipment
CN105786443B (en) * 2016-03-21 2018-07-06 腾讯科技(深圳)有限公司 A kind of frequency response bearing calibration, processing chip and terminal device
CN108600489A (en) * 2018-04-28 2018-09-28 努比亚技术有限公司 Receiver, the calibration method of loud speaker, mobile terminal and readable storage medium storing program for executing
CN108600489B (en) * 2018-04-28 2021-03-26 努比亚技术有限公司 Earphone, calibration method of loudspeaker, mobile terminal and readable storage medium
CN110996242A (en) * 2019-12-13 2020-04-10 科大讯飞(苏州)科技有限公司 Tuning method, related device and readable storage medium
CN110996242B (en) * 2019-12-13 2021-03-02 科大讯飞(苏州)科技有限公司 Tuning method, related device and readable storage medium

Also Published As

Publication number Publication date
CN103634731B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CN103259898B (en) The method of Automatic adjusument frequency response and terminal
CN105280195B (en) The processing method and processing device of voice signal
CN106126167B (en) A sound effect processing method and terminal device
CA2766196C (en) Apparatus, method and computer program for controlling an acoustic signal
EP3048779B1 (en) Sound volume adjusting method and device
CN103945026A (en) Mobile terminal
CN105100330B (en) The method and mobile terminal of a kind of equipment effects,sound optimization
CN111508510B (en) Audio processing method and device, storage medium and electronic equipment
CN106331371A (en) Volume adjustment method and mobile terminal
CN110430500B (en) Noise reduction method of earphone and earphone
CN103634731A (en) Method for adjusting loudspeaker, and electronic device
CN103634168A (en) A volume adjusting method for a household electrical appliance in an intelligent household and a system
CN102364931B (en) Dynamic volume regulation method, device and television
CN205647878U (en) Automatic earphone of adjustment volume
CN102970632A (en) Sound based volume adjustment device, product and method
CN105338162A (en) Method and system for adaptively adjusting incoming call prompting modes of mobile phone
JP2006139307A (en) Apparatus and method having voice effect processing and noise control
CN107526570B (en) Volume adjusting method and device, terminal equipment and storage medium
CN103916511A (en) Information processing method and electronic equipment
CN108510997A (en) Electronic equipment and echo cancellation method applied to electronic equipment
US20200169803A1 (en) Headset and method of controlling headset
CN110191398A (en) Suppressing method, device and the computer readable storage medium uttered long and high-pitched sounds
CN104349244A (en) Information processing method and electronic equipment
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN112235675B (en) Active noise reduction method and chip of earphone

Legal Events

Date Code Title Description
PB01 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