CN106817656B - A kind of outer method and mobile terminal for putting sound system audio calibration - Google Patents

A kind of outer method and mobile terminal for putting sound system audio calibration Download PDF

Info

Publication number
CN106817656B
CN106817656B CN201710175708.4A CN201710175708A CN106817656B CN 106817656 B CN106817656 B CN 106817656B CN 201710175708 A CN201710175708 A CN 201710175708A CN 106817656 B CN106817656 B CN 106817656B
Authority
CN
China
Prior art keywords
frequency point
curve
audio
recorded file
loudness
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
Application number
CN201710175708.4A
Other languages
Chinese (zh)
Other versions
CN106817656A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710175708.4A priority Critical patent/CN106817656B/en
Publication of CN106817656A publication Critical patent/CN106817656A/en
Application granted granted Critical
Publication of CN106817656B publication Critical patent/CN106817656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/03Synergistic effects of band splitting and sub-band processing

Abstract

The present invention provides the methods that sound system audio calibration is put outside one kind, applied to mobile terminal, mobile terminal includes that the first outer playback is rung and the second outer playback sound, obtain each frequency point and the corresponding audio loudness of each frequency point of the first recorded file, obtain each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, the first curve and the second curve are generated respectively, and audio alignment curve is generated according to the first curve and the second curve;The maximum value and minimum value of audio alignment curve are obtained, and maximum value and minimum value are compared with preset gain range, when upper limit value is greater than maximum value, and lower limit value is less than minimum value, the second curve is calibrated according to audio alignment curve.As it can be seen that before the use, being calibrated to two outer playback sound, so that the loudness and frequency response of two outer playback sound or outside speaker are consistent as far as possible.

Description

A kind of outer method and mobile terminal for putting sound system audio calibration
Technical field
The present invention relates to audio signal processing technique fields, more particularly to the method and movement for putting sound system audio calibration outside one kind Terminal.
Background technique
Now with putting outside mobile terminal using more and more, gradually appear using stereo outer the case where putting, i.e., one A equipment uses two or more outer playbacks sound or outside speaker as external speaker simultaneously, when putting outside while work Make.It can build more true sound field experience and playback under mode in this outer put.
But since perhaps outside speaker monomer itself has differences and leads to multiple sound equipments or put loudspeaker outside outer playback sound The outer of loudspeaker puts loudness and frequency response has differences, and consistency is poor in other words, and the outer of different machines is resulted in put in this way There are biggish differences for effect, influence the usage experience of user.
Summary of the invention
The present invention provides methods and mobile terminal that sound system audio calibration is put outside one kind, to solve to exist in the prior art Because outside difference playback sound or outside speaker have differences due to putting loudness and frequency response outside, caused by playback difference ask Topic.
To solve the above-mentioned problems, the invention discloses the methods that sound system audio calibration is put outside one kind, are applied to mobile whole End, the mobile terminal include that the first outer playback is rung and the second outer playback sound, which comprises obtain the first recorded file Each frequency point and the corresponding audio loudness of each frequency point, wherein the first recorded file is to ring the sound recorded using the described first outer playback Frequency file;Obtain each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is The audio file recorded is rung using the described second outer playback;It is corresponding according to each frequency point of first recorded file and each frequency point Audio loudness generate first curve of the audio loudness about frequency point;According to each frequency point of second recorded file and each frequency The corresponding audio loudness of point generates second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file It is corresponding with each frequency point of second recorded file;It is bent that audio alignment is generated according to first curve and second curve Line;The maximum value and minimum value of the audio alignment curve are obtained, and by the maximum value and the minimum value and is preset Gain ranging is compared, wherein the preset gain range includes upper limit value and lower limit value;When the upper limit value is greater than institute It states maximum value, and when the lower limit value is less than the minimum value, second curve is carried out according to the audio alignment curve Calibration.
To solve the above-mentioned problems, the invention also discloses a kind of mobile terminals, comprising: first obtains module, for obtaining Each frequency point and the corresponding audio loudness of each frequency point of the first recorded file are taken, wherein the first recorded file is to use described first Outer playback rings the audio file recorded;Second obtains module, for obtaining each frequency point and each frequency point in the second recorded file Corresponding audio loudness, wherein the second recorded file is to ring the audio file recorded using the described second outer playback;First generates Module, for according to each frequency point of first recorded file and the corresponding audio loudness of each frequency point generate audio loudness about First curve of frequency point;Second generation module, for corresponding according to each frequency point of second recorded file and each frequency point Audio loudness generates second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file and described the Each frequency point of two recorded files is corresponding;Third generation module, for generating sound according to first curve and second curve Frequency calibration curve;Third obtains module, for obtaining the maximum value and minimum value of the audio alignment curve, and by described in most Big value and the minimum value are compared with preset gain range, wherein the preset gain range include upper limit value and Lower limit value;Calibration module is used for when the upper limit value is greater than the maximum value, and the lower limit value is less than the minimum value, Second curve is calibrated according to the audio alignment curve.
Compared with prior art, the invention has the following advantages that
A kind of outer scheme for putting sound system audio calibration provided in an embodiment of the present invention, obtains each frequency point of the first recorded file And the corresponding audio loudness of each frequency point, wherein the first recorded file is the audio file for using the first outer playback to ring recording;It obtains Take each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is to use second Outer playback rings the audio file recorded;Sound is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point First curve of the frequency response degree about frequency point;It is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point Second curve of the audio loudness about frequency point, wherein each frequency point of the first recorded file and each frequency point pair of the second recorded file It answers;Audio alignment curve is generated according to the first curve and the second curve;The maximum value and minimum value of audio alignment curve are obtained, And maximum value and minimum value are compared with preset gain range, wherein preset gain range include upper limit value and under Limit value;When upper limit value is greater than maximum value, and lower limit value is less than minimum value, school is carried out to the second curve according to audio alignment curve It is quasi-.As it can be seen that the outer scheme for putting sound system audio calibration provided in an embodiment of the present invention, before the use, it is loud to two outer playbacks into Row calibration, so that the loudness and frequency response of two outer playback sound or outside speaker are consistent as far as possible, outside two such When playback sound or outside speaker play music at the same time, sound field experience and playback more really can build, Enhance the usage experience of user.
Detailed description of the invention
Fig. 1 is the step flow chart of the outer method for putting sound system audio calibration of one kind of the embodiment of the present invention one;
Fig. 2 is the step flow chart of the outer method for putting sound system audio calibration of one kind of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention five;
Fig. 6 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention six.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, the step flow chart of the outer method for putting sound system audio calibration of one kind of the embodiment of the present invention one is shown.
The outer method for putting sound system audio calibration provided in an embodiment of the present invention the following steps are included:
Step 101: obtaining each frequency point and the corresponding audio loudness of each frequency point of the first recorded file.
Wherein the first recorded file is to ring the audio file recorded using the first outer playback.
Step 102: obtaining each frequency point and the corresponding audio loudness of each frequency point in the second recorded file.
Wherein, the second recorded file is to ring the audio file recorded using the second outer playback.
When there are two outside speakers, perhaps outer playback is rung, first outside speaker or outer playback are rung in default environment Under play out, play while recorded, the file after recording be the first recorded file.
The corresponding loudness value of each Frequency point in the first recorded file is directly acquired, a corresponding frequency point and sound are obtained Spend list.
Another outside speaker or outer playback sound are played out, recorded while playing, the text after recording Part is the second recorded file.The corresponding loudness value of each Frequency point in the second recorded file is obtained, a corresponding frequency is obtained Point and loudness list.
Step 103: audio loudness is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point The first curve about frequency point.
It should be noted that the recording of the first recorded file needs the good machine of use state to record corresponding loudspeaker Frequency response curve is as the first curve.
The frequency point obtained according to step 101 and loudness list generate the first curve of frequency point and loudness.
Wherein, the abscissa of the first curve is each frequency point in the first recorded file, and the ordinate in the first curve is The corresponding audio loudness of each frequency point in first recorded file.
Step 104: audio loudness is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point The second curve about frequency point.
Wherein, each frequency point of the first recorded file and the corresponding line of each frequency point of the second recorded file.
The frequency point obtained according to step 102 and audio loudness list generate the second curve of frequency point and loudness.
Wherein, the abscissa of the second curve is each frequency point in the second recorded file, and the ordinate in the second curve is The corresponding audio loudness of each frequency point in second recorded file.
Step 105: audio alignment curve is generated according to the first curve and the second curve.
First curve and the second curve are compared, the second curve and the first curve carry out the comparison of frequency point one by one and It calculates, for a frequency point, if the corresponding audio loudness of the frequency point of the second curve is greater than the corresponding sound of frequency point of the first curve Frequency response degree then turns down the corresponding audio loudness of the frequency point of the second curve, and levels off to the corresponding audio of frequency point of the first curve Loudness, so that the corresponding audio loudness of two frequency bins is equal as far as possible.If the corresponding audio loudness of the frequency point of the second curve It is worth the audio loudness of the frequency point less than the first curve, then the corresponding audio loudness of the frequency point of the second curve is turned up, and level off to The corresponding audio loudness of the frequency point of first curve, so that the corresponding audio loudness of two frequency bins is as equal as possible.Wherein, to second The height-regulating of the corresponding audio loudness of each frequency point of curve or the value turned down, using each frequency point as abscissa, audio alignment value As ordinate, the curve of generation is audio alignment curve.
Step 106: obtaining the maximum value and minimum value of audio alignment curve, and by maximum value and minimum value and preset Gain ranging is compared.
Wherein, preset gain range includes upper limit value and lower limit value.
Wherein, preset gain range includes upper limit value and lower limit value.
Step 107: when upper limit value is greater than maximum value, and lower limit value is less than minimum value, according to audio alignment curve to the Two curves are calibrated.
For curve, audio alignment curve has maximum value and minimum value.Obtain the maximum of audio alignment curve Value and minimum value, maximum value and preset upper limit value are haggled over, minimum value is compared with preset lower limit value, works as the upper limit When system and the range of lower limitation are in the range of maxima and minima, then prove that the second outer playback sound is calibrated successfully.
It should be noted that the outer method for putting sound system audio calibration that embodiment provides can be applied to two outer playbacks and ring Or outside speaker, it also can be applied to more than two outer playback sound and outside speaker, when for 3 outer playback sound or outside When putting loudspeaker, then needs that any one outer playback sound or outside speaker are played out and recorded under default environment, generate File be the first recorded file, other two plays and the file recorded then be the second recorded file and third record it is literary Part, after the second curve of the first curve and the acquisition of the second recorded file that the first recorded file obtains is calibrated, then by the The third curve that one curve is obtained with third recorded file is calibrated.
Specifically, when perhaps outside speaker loud there are two outer playbacks when needing to carry out the first sound equipment or loudspeaker When calibration, then the file that the second loudspeaker or sound equipment is played out and recorded under default environment as the first recorded file, When needing then to play out the first loudspeaker or sound equipment simultaneously under default environment when perhaps loudspeaker are calibrated to the second sound equipment The file of recording is as the first recorded file.
A kind of outer method for putting sound system audio calibration provided in an embodiment of the present invention, obtains each frequency point of the first recorded file And the corresponding audio loudness of each frequency point, wherein the first recorded file is the audio file for using the first outer playback to ring recording;It obtains Take each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is to use second Outer playback rings the audio file recorded;Sound is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point First curve of the frequency response degree about frequency point;It is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point Second curve of the audio loudness about frequency point, wherein each frequency point of the first recorded file and each frequency point pair of the second recorded file It answers;Audio alignment curve is generated according to the first curve and the second curve;The maximum value and minimum value of audio alignment curve are obtained, And maximum value and minimum value are compared with preset gain range, wherein preset gain range include upper limit value and under Limit value;When upper limit value is greater than maximum value, and lower limit value is less than minimum value, school is carried out to the second curve according to audio alignment curve It is quasi-.As it can be seen that the outer method for putting sound system audio calibration provided in an embodiment of the present invention, before the use, it is loud to two outer playbacks into Row calibration, so that the loudness and frequency response of two outer playback sound or outside speaker are consistent as far as possible, outside two such When playback sound or outside speaker play music at the same time, sound field experience and playback more really can build, Enhance the usage experience of user.
Embodiment two
Referring to Fig. 2, the step flow chart of the outer method for putting sound system audio calibration of one kind of the embodiment of the present invention two is shown.
The outer method for putting sound system audio calibration provided in an embodiment of the present invention the following steps are included:
Step 201: in the ideal situation, the first outer playback controlled in mobile terminal rings the preset frequency sweep source of sound of broadcasting, It records and generates the first recorded file.
Wherein, perfect condition is no noise state.
The perceived audio frequency range of human ear is 20-20KHZ, and the audio signal that audio frequency apparatus issues for example can be Swept-frequency signal, swept-frequency signal refer to signal in a frequency range.Such as 200/300/400-1000/2000/15000HZ, not to this Make concrete restriction, frequency from high to low or from low to high consecutive variations.Swept-frequency signal can be special with the frequency of testing audio equipment Property, such as the frequency response curve of available audio frequency apparatus.
Frequency sweep source of sound is played when outside speaker or outer playback are rung, is recorded in machine in good condition and puts loudspeaker outside corresponding first Or outer playback ring the sound played, and recorded under no noise state, generate the first recorded file.
Step 202: whether detection current environment meets the environment of calibration, if current environment meets the environment of calibration, executes Step 203 carries out calibration operation;If current environment does not meet the environment of calibration, 215 are thened follow the steps.
The environment for wherein meeting calibration is the stable environment of noise.
When needing to calibrate outside speaker or outer playback sound, needs to detect current environment, detect Whether current environment meets the environment of recording, such as: ambient noise is stablized etc..
The detailed process of calibration operation such as subsequent step 203 is to described in step 214.
Step 203: under test mode, the second outer playback controlled in mobile terminal rings the preset frequency sweep source of sound of broadcasting, It records and generates the second recorded file.
Wherein, test mode is any recording state.
By in two any one outside speaker or outer playback sound play out, play while recorded, File after recording is the second recorded file.It should be noted that playing is default frequency sweep source of sound.
Step 204: obtaining each frequency point and the corresponding audio loudness of each frequency point of the first recorded file.
Wherein the first recorded file is to ring the audio file recorded using the first outer playback.
Step 205: obtaining each frequency point and the corresponding audio loudness of each frequency point in the second recorded file.
Wherein, the second recorded file is to ring the audio file recorded using the second outer playback.
When there are two outside speakers, perhaps outer playback is rung, first outside speaker or outer playback are rung in default environment Under play out, play while recorded, the file after recording be the first recorded file.
The corresponding loudness value of each Frequency point in the first recorded file is directly acquired, a corresponding frequency point and sound are obtained Frequency response degree list.
Another outside speaker or outer playback sound are played out, recorded while playing, the text after recording Part is test recorded file.The corresponding loudness value of each Frequency point in test recorded file is obtained, a corresponding frequency is obtained Point and audio loudness list.
Step 206: audio loudness is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point The first curve about frequency point.
It should be noted that the recording of the first recorded file needs the good machine of use state to record corresponding loudspeaker Frequency response curve is as the first curve.
The frequency point obtained according to step 201 and loudness list generate the first curve of frequency point and loudness.
Wherein, the abscissa of the first curve is each frequency point in the first recorded file, and the ordinate in the first curve is The corresponding audio loudness of each frequency point in first recorded file.
Step 207: audio loudness is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point The second curve about frequency point.
Wherein, each frequency point of the first recorded file and each frequency point of the second recorded file are corresponding.
The frequency point obtained according to step 203 and loudness list generate the second curve of frequency point and loudness.
Wherein, the abscissa of the second curve is each frequency point in the second recorded file, and the ordinate in the second curve is The corresponding audio loudness of each frequency point in second recorded file.
Step 208: by the corresponding audio loudness of each frequency point of the second curve audio corresponding with each frequency point of the first curve Loudness is successively compared, judge the corresponding audio loudness of the frequency point of the second curve whether be greater than the first curve frequency point it is corresponding Audio loudness.
When perhaps outside speaker loud for two outer playbacks since two outside speakers or outer playback ring and play same sweep Frequency source of sound, then by the corresponding audio loudness of a test frequency point of the second curve audio corresponding with each target frequency point of the first curve Loudness is compared.
Step 209: each frequency point is directed to, when the audio loudness of the second curve is more than or less than corresponding first curve sound When frequency response is spent, the audio loudness of the first curve and the difference of the audio loudness of the second curve are determined as the corresponding audio of the frequency point Calibration value.
Step 210: generating audio alignment curve according to each frequency point and the corresponding audio alignment value of each frequency point.
Specifically, the first curve and the second curve are compared, the second curve and the first curve carry out frequency point one by one Comparison and calculating, for a frequency point, if the corresponding audio loudness of the frequency point of the second curve is greater than the frequency point of the first curve Corresponding audio loudness then turns down the corresponding audio loudness of the frequency point of the second curve, and levels off to the frequency point pair of the first curve The audio loudness answered, so that the corresponding audio loudness of two frequency bins is equal as far as possible.If the frequency point of the second curve is corresponding Then the corresponding audio loudness of the frequency point of the second curve is turned up less than the audio loudness of the frequency point of the first curve for audio loudness value, And level off to the corresponding audio loudness of frequency point of the first curve, so that the corresponding audio loudness of two frequency bins is as equal as possible.Its In, height-regulating to the corresponding audio loudness of each frequency point of the second curve or the value turned down, using each frequency point as abscissa, sound For frequency calibration value as ordinate, the curve of generation is audio alignment curve.Step 211: obtaining the maximum of audio alignment curve Value and minimum value, and maximum value and minimum value are compared with preset gain range.
Wherein, preset gain range includes upper limit value and lower limit value.
Step 212: when maximum value is greater than upper limit value, output, which is used to indicate, cancels the prompt information that outer playback rings calibration.
Step 213: when minimum value is less than lower limit value, output, which is used to indicate, cancels the prompt information that outer playback rings calibration.
When maximum value be greater than upper limit value perhaps minimum value be less than lower limit value when all illustrate the outer playback currently tested sound or Outside speaker is abnormal, exports prompt information, and user is prompted not can be carried out calibration.
Step 214: when upper limit value is greater than maximum value, and lower limit value is less than minimum value, according to audio alignment curve to the Two curves are calibrated.
For curve, audio alignment curve has maximum value and minimum value.Obtain the maximum of audio alignment curve Value and minimum value, maximum value and preset upper limit value are haggled over, minimum value is compared with preset lower limit value, works as the upper limit When system and the range of lower limitation are in the range of maxima and minima, school is carried out to the second curve according to audio alignment curve It is quasi-.
It should be noted that the outer method for putting sound system audio calibration that embodiment provides can be applied to two outer playbacks and ring Or outside speaker, it also can be applied to more than two outer playback sound and outside speaker, when for 3 outer playback sound or outside When putting loudspeaker, then needs that any one outer playback sound or outside speaker are played out and recorded under default environment, generate File be the first recorded file, other two plays and the file recorded then be the second recorded file and third record it is literary Part, after the second curve of the first curve and the acquisition of the second recorded file that the first recorded file obtains is calibrated, then by the The third curve that one curve is obtained with third recorded file is calibrated.
When outside speaker perhaps outer playback ring it is more when need to mark outside speaker or outer playback sound Number, then play out frequency sweep source of sound according to the sequence of label, and recorded, the corresponding outside speaker of each label or Outer playback, which is rung, to play and records second recorded file, when needing to debug, obtains a certain label, then can obtain the label pair The second recorded file answered, the second recorded file that will acquire analyzed with the first recorded file, compared with etc., to complete school It is quasi-.
Specifically, when perhaps outside speaker loud there are two outer playbacks when needing or loudspeaker loud to the first outer playback When being calibrated, then the second loudspeaker or outer playback are rung to the file for playing out and recording under default environment as the first record File processed is being preset when needing that the first loudspeaker or outer playback are then rung to the second outer playback sound when perhaps loudspeaker are calibrated It is played out under environment and the file recorded is as the first recorded file.
Step 215: if current environment does not meet the environment of calibration, refusing calibration operation.
It is improper then to refuse calibration operation when being calibrated when detection current environment is noisy, prevent calibration operation from It completes.
A kind of outer method for putting sound system audio calibration provided in an embodiment of the present invention, obtains each frequency point of the first recorded file And the corresponding audio loudness of each frequency point, wherein the first recorded file is the audio file for using the first outer playback to ring recording;It obtains Take each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is to use second Outer playback rings the audio file recorded;Sound is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point First curve of the frequency response degree about frequency point;It is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point Second curve of the audio loudness about frequency point, wherein each frequency point of the first recorded file and each frequency point pair of the second recorded file It answers;Audio alignment curve is generated according to the first curve and the second curve;The maximum value and minimum value of audio alignment curve are obtained, And maximum value and minimum value are compared with preset gain range, wherein preset gain range include upper limit value and under Limit value;When upper limit value is greater than maximum value, and lower limit value is less than minimum value, school is carried out to the second curve according to audio alignment curve It is quasi-.As it can be seen that the outer method for putting sound system audio calibration provided in an embodiment of the present invention, before the use, it is loud to two outer playbacks into Row calibration, so that the loudness and frequency response of two outer playback sound or outside speaker are consistent as far as possible, outside two such When playback sound or outside speaker play music at the same time, sound field experience and playback more really can build, Enhance the usage experience of user.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first acquisition module 301, for obtaining the first recorded file Each frequency point and the corresponding audio loudness of each frequency point, wherein first recorded file is to ring record using the described first outer playback The audio file of system;Second obtains module 302, for obtaining each frequency point and the corresponding sound of each frequency point in the second recorded file Frequency response degree, wherein second recorded file is to ring the audio file recorded using the described second outer playback;First generation module 303, for according to each frequency point of first recorded file and the corresponding audio loudness of each frequency point generate audio loudness about First curve of frequency point;Second generation module 304, for corresponding according to each frequency point of second recorded file and each frequency point Audio loudness generate second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file with it is described Each frequency point of second recorded file is corresponding;Third generation module 305, for raw according to first curve and second curve At audio calibration curve;Third obtains module 306, for obtaining the maximum value and minimum value of the audio alignment curve, and The maximum value and the minimum value are compared with preset gain range, wherein the preset gain range includes upper Limit value and lower limit value;Calibration module 307, for being greater than the maximum value when the upper limit value, and the lower limit value is less than institute When stating minimum value, second curve is calibrated according to the audio alignment curve.
A kind of mobile terminal provided in an embodiment of the present invention, the method for putting sound system audio calibration outside obtain first and record text Each frequency point and the corresponding audio loudness of each frequency point of part, wherein the first recorded file is to ring the sound recorded using the first outer playback Frequency file;Obtain each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is The audio file recorded is rung using the second outer playback;It is rung according to each frequency point of the first recorded file and the corresponding audio of each frequency point Degree generates first curve of the audio loudness about frequency point;According to each frequency point of the second recorded file and the corresponding audio of each frequency point Loudness generates second curve of the audio loudness about frequency point, wherein each frequency point of the first recorded file and the second recorded file Each frequency point is corresponding;Audio alignment curve is generated according to the first curve and the second curve;Obtain audio alignment curve maximum value with And minimum value, and maximum value and minimum value are compared with preset gain range, wherein preset gain range includes the upper limit Value and lower limit value;When upper limit value is greater than maximum value, and lower limit value is less than minimum value, according to audio alignment curve to the second song Line is calibrated.As it can be seen that mobile terminal provided in an embodiment of the present invention before the use calibrates two outer playback sound, So that the loudness and frequency response of two outer playbacks sound or outside speaker are consistent as far as possible, the outer playback sound of two such or When person's outside speaker plays music at the same time, it can build sound field experience and playback more really, enhance user Usage experience.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first acquisition module 401, for obtaining the first recorded file Each frequency point and the corresponding audio loudness of each frequency point, wherein first recorded file is to ring record using the described first outer playback The audio file of system;Second obtains module 402, for obtaining each frequency point and the corresponding sound of each frequency point in the second recorded file Frequency response degree, wherein second recorded file is to ring the audio file recorded using the described second outer playback;First generation module 403, for according to each frequency point of first recorded file and the corresponding audio loudness of each frequency point generate audio loudness about First curve of frequency point;Second generation module 404, for corresponding according to each frequency point of second recorded file and each frequency point Audio loudness generate second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file with it is described Each frequency point of second recorded file is corresponding;Third generation module 405, for raw according to first curve and second curve At audio calibration curve;Third obtains module 406, for obtaining the maximum value and minimum value of the audio alignment curve, and The maximum value and the minimum value are compared with preset gain range, wherein the preset gain range includes upper Limit value and lower limit value;Calibration module 407, for being greater than the maximum value when the upper limit value, and the lower limit value is less than institute When stating minimum value, second curve is calibrated according to the audio alignment curve.
Preferably, the third generation module 405 includes: Comparative sub-module 4051, for by each of second curve The corresponding audio loudness of frequency point audio loudness corresponding with each frequency point of first curve is successively compared, and judges described Whether the corresponding audio loudness of the frequency point of two curves is greater than the corresponding audio loudness of frequency point of first curve;First determines son Module 4052, for being directed to each frequency point, when the audio loudness of second curve is more than or less than corresponding first curve When audio loudness, the difference of the audio loudness of first curve and the audio loudness of second curve is determined as the frequency point Corresponding audio alignment value audio alignment curve generates submodule 4053, for according to each frequency point and the corresponding sound of each frequency point Frequency calibration value generates audio alignment curve.
Preferably, the mobile terminal further include: the first output module 408 is obtained for obtaining module in the third The maximum value and minimum value of the audio alignment curve, and by the maximum value and the minimum value and preset gain range After being compared, for when the maximum value is greater than the upper limit value, output to be used to indicate the outer playback of cancellation and rings calibration Prompt information;Second output module 409, for when the minimum value is less than the lower limit value, it is outer that output is used to indicate cancellation Playback rings the prompt information of calibration.
Preferably, the mobile terminal further include: the first recorded file generation module 410, for being obtained described first Before module obtains each frequency point of the first recorded file and the corresponding audio loudness of each frequency point, in the ideal situation, control The first outer playback in the mobile terminal, which is rung, plays preset frequency sweep source of sound, records and generates the first recorded file, wherein institute Perfect condition is stated as no noise state;Second recorded file generation module 411, for controlling the movement under test mode The second outer playback in terminal, which is rung, plays the preset frequency sweep source of sound, records and generates the second recorded file, wherein the survey Examination state is any recording state.
The preferably described mobile terminal further include: detection module 412, for existing in the second recorded file generation module Under test mode, the second outer playback controlled in the mobile terminal rings the broadcasting preset frequency sweep source of sound, records and generates Before second recorded file, whether detection current environment meets the environment of calibration, if current environment meets the environment of calibration, carries out Calibration operation, wherein the environment for meeting calibration is the stable environment of noise;Refuse calibration module 413, if for working as front ring Border does not meet the environment of calibration, refuses the calibration operation that outer playback is rung.
A kind of mobile terminal provided in an embodiment of the present invention, the method for putting sound system audio calibration outside obtain first and record text Each frequency point and the corresponding audio loudness of each frequency point of part, wherein the first recorded file is to ring the sound recorded using the first outer playback Frequency file;Obtain each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein the second recorded file is The audio file recorded is rung using the second outer playback;It is rung according to each frequency point of the first recorded file and the corresponding audio of each frequency point Degree generates first curve of the audio loudness about frequency point;According to each frequency point of the second recorded file and the corresponding audio of each frequency point Loudness generates second curve of the audio loudness about frequency point, wherein each frequency point of the first recorded file and the second recorded file Each frequency point is corresponding;Audio alignment curve is generated according to the first curve and the second curve;Obtain audio alignment curve maximum value with And minimum value, and maximum value and minimum value are compared with preset gain range, wherein preset gain range includes the upper limit Value and lower limit value;When upper limit value is greater than maximum value, and lower limit value is less than minimum value, according to audio alignment curve to the second song Line is calibrated.As it can be seen that mobile terminal provided in an embodiment of the present invention before the use calibrates two outer playback sound, So that the loudness and frequency response of two outer playbacks sound or outside speaker are consistent as far as possible, the outer playback sound of two such or When person's outside speaker plays music at the same time, it can build sound field experience and playback more really, enhance user Usage experience.
Embodiment five
Referring to Fig. 5, the structural block diagram of the mobile terminal of the embodiment of the present invention is shown.
The mobile terminal 800 of the embodiment of the present invention includes: at least one processor 801, memory 802, at least one net Network interface 804 and other users interface 803.Various components in mobile terminal 800 are coupled by bus system 805. It is understood that bus system 805 is for realizing the connection communication between these components.Bus system 805 remove include data/address bus it It outside, further include power bus, control bus and status signal bus in addition.It, will be various total in Fig. 5 but for the sake of clear explanation Line is all designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (ErasablePROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application The program or instruction stored in program 8022, processor 801 are used to obtain each frequency point and each frequency point pair of the first recorded file The audio loudness answered, wherein first recorded file is to ring the audio file recorded using the described first outer playback;Obtain the Each frequency point and the corresponding audio loudness of each frequency point in two recorded files, wherein second recorded file is described in use Second outer playback rings the audio file recorded;It is rung according to each frequency point of first recorded file and the corresponding audio of each frequency point Degree generates first curve of the audio loudness about frequency point;It is corresponding according to each frequency point of second recorded file and each frequency point Audio loudness generates second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file and described the Each frequency point of two recorded files is corresponding;Audio alignment curve is generated according to first curve and second curve;Obtain institute State the maximum value and minimum value of audio alignment curve, and by the maximum value and the minimum value and preset gain range into Row compares, wherein the preset gain range includes upper limit value and lower limit value;When the upper limit value be greater than the maximum value, And the lower limit value be less than the minimum value when, second curve is calibrated according to the audio alignment curve.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 802, processor 801 reads the information in memory 802, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
Optionally, processor 801 is also used to: by the corresponding audio loudness of each frequency point and described first of second curve The corresponding audio loudness of each frequency point of curve is successively compared, and judges that the corresponding audio loudness of frequency point of second curve is The no corresponding audio loudness of frequency point greater than first curve;For each frequency point, when the audio loudness of second curve When more than or less than corresponding first curve audio loudness, by the audio loudness of first curve and second curve The difference of audio loudness is determined as the corresponding audio alignment value of the frequency point;According to each frequency point and the corresponding audio school of each frequency point Quasi- value generates audio alignment curve.
Optionally, processor 801 is also used to: when the maximum value is greater than the upper limit value, output is used to indicate cancellation Outer playback rings the prompt information of calibration;When the minimum value is less than the lower limit value, output, which is used to indicate, cancels outer playback sound The prompt information of calibration.
Optionally, processor 801 is also used to: in the ideal situation, the first outer playback controlled in the mobile terminal is rung Preset frequency sweep source of sound is played, record and generates the first recorded file, wherein the perfect condition is no noise state;It is surveying It under examination state, controls the second outer playback in the mobile terminal and rings and play the preset frequency sweep source of sound, record and generate the Two recorded files, wherein the test mode is any recording state.
Optionally, processor 801 is also used to: whether detection current environment meets the environment of calibration, if current environment meets The environment of calibration carries out calibration operation, wherein the environment for meeting calibration is the stable environment of noise;If current environment is not inconsistent The environment of calibration is closed, the calibration operation that outer playback is rung is refused.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal provided through the embodiment of the present invention, each frequency point and each frequency point for obtaining the first recorded file are corresponding Audio loudness, wherein the first recorded file is the audio file for using the first outer playback to ring recording;Obtain the second recorded file In each frequency point and each frequency point corresponding audio loudness, wherein the second recorded file is that the second outer playback is used to ring recording Audio file;Audio loudness is generated about frequency according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point First curve of point;According to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point generate audio loudness about Second curve of frequency point, wherein each frequency point of the first recorded file and each frequency point of the second recorded file are corresponding;According to the first song Line and the second curve generate audio alignment curve;Obtain audio alignment curve maximum value and minimum value, and by maximum value with And minimum value is compared with preset gain range, wherein preset gain range includes upper limit value and lower limit value;Work as upper limit value Greater than maximum value, and when lower limit value is less than minimum value, second curve is calibrated according to the audio alignment curve.It can See, mobile terminal provided in an embodiment of the present invention, before the use, two outer playback sound is calibrated, so that being put outside two Perhaps the loudness of outside speaker and frequency response are consistent the outer playback sound of two such to sound equipment as far as possible or outside speaker exists When playing music simultaneously, it can build sound field experience and playback more really, enhance the usage experience of user.
Embodiment six
Referring to Fig. 6, the structural block diagram of the mobile terminal of the embodiment of the present invention is shown.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) module 980 and power supply 990。
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 931), and according to setting in advance Fixed formula drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then The processor 960 is given, and order that processor 960 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit 930 Can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device 960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 921, and is called and is stored in Data in second memory 922 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/ Or the data in the second memory 922, processor 960 is used to obtain each frequency point of the first recorded file and each frequency point corresponds to Audio loudness, wherein first recorded file is that the audio file of recording is rung using the described first outer playback;Obtain second Each frequency point and the corresponding audio loudness of each frequency point in recorded file, wherein second recorded file is using described the Two outer playbacks ring the audio file recorded;According to each frequency point of first recorded file and the corresponding audio loudness of each frequency point Generate first curve of the audio loudness about frequency point;According to each frequency point of second recorded file and the corresponding sound of each frequency point Frequency response degree generates second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file and described second Each frequency point of recorded file is corresponding;Audio alignment curve is generated according to first curve and second curve;Described in acquisition The maximum value and minimum value of audio alignment curve, and the maximum value and the minimum value and preset gain range are carried out Compare, wherein the preset gain range includes upper limit value and lower limit value;When the upper limit value be greater than the maximum value, and When the lower limit value is less than the minimum value, second curve is calibrated according to the audio alignment curve.
Optionally, processor 960 is also used to: by the corresponding audio loudness of each frequency point and described first of second curve The corresponding audio loudness of each frequency point of curve is successively compared, and judges that the corresponding audio loudness of frequency point of second curve is The no corresponding audio loudness of frequency point greater than first curve;For each frequency point, when the audio loudness of second curve When more than or less than corresponding first curve audio loudness, by the audio loudness of first curve and second curve The difference of audio loudness is determined as the corresponding audio alignment value of the frequency point;According to each frequency point and the corresponding audio school of each frequency point Quasi- value generates audio alignment curve.
Optionally, processor 960 is also used to: when the maximum value is greater than the upper limit value, output is used to indicate cancellation Outer playback rings the prompt information of calibration;When the minimum value is less than the lower limit value, output, which is used to indicate, cancels outer playback sound The prompt information of calibration.
Optionally, processor 960 is also used to: in the ideal situation, the first outer playback controlled in the mobile terminal is rung Preset frequency sweep source of sound is played, record and generates the first recorded file, wherein the perfect condition is no noise state;It is surveying It under examination state, controls the second outer playback in the mobile terminal and rings and play the preset frequency sweep source of sound, record and generate the Two recorded files, wherein the test mode is any recording state.
Optionally, processor 960 is also used to: whether detection current environment meets the environment of calibration, if current environment meets The environment of calibration carries out calibration operation, wherein the environment for meeting calibration is the stable environment of noise;If current environment is not inconsistent The environment of calibration is closed, the calibration operation that outer playback is rung is refused.
The mobile terminal provided through the embodiment of the present invention, each frequency point and each frequency point for obtaining the first recorded file are corresponding Audio loudness, wherein first recorded file is the audio file for using the first outer playback to ring recording;Second is obtained to record Each frequency point and the corresponding audio loudness of each frequency point in file, wherein second recorded file is to use the second outer playback Ring the audio file recorded;Audio loudness is generated according to each frequency point of the first recorded file and the corresponding audio loudness of each frequency point The first curve about frequency point;Audio is generated according to each frequency point of the second recorded file and the corresponding audio loudness of each frequency point to ring Spend the second curve about frequency point, wherein each frequency point of the first recorded file and each frequency point of the second recorded file are corresponding;According to First curve and the second curve generate audio alignment curve;The maximum value and minimum value of audio alignment curve are obtained, and will most Big value and minimum value are compared with preset gain range, wherein preset gain range includes upper limit value and lower limit value;When Upper limit value be greater than maximum value, and lower limit value be less than minimum value when, second curve is carried out according to the audio alignment curve Calibration.As it can be seen that mobile terminal provided in an embodiment of the present invention is calibrated two outer playback sound, so that two before the use Perhaps the loudness of outside speaker and frequency response are consistent the outer playback sound of two such as far as possible or put outside a outer playback sound When loudspeaker play music at the same time, it can build sound field experience and playback more really, enhance the use of user Experience.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Provided herein the outer method for putting sound system audio calibration not with any certain computer, virtual system or other set It is standby intrinsic related.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has Structure required by the system of the present invention program is obvious.In addition, the present invention is also not directed to any particular programming language. It should be understood that can use various programming languages realizes summary of the invention described herein, and above to language-specific institute The description done is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the outer method for putting sound system audio calibration according to an embodiment of the present invention In some or all components some or all functions.The present invention is also implemented as described herein for executing Some or all device or device programs (for example, computer program and computer program product) of method.In this way Realization program of the invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.For system embodiment For, since it is basically similar to the method embodiment, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.

Claims (8)

1. a kind of outer method for putting sound system audio calibration, is applied to mobile terminal, the mobile terminal includes that the first outer playback is rung It is rung with the second outer playback, which is characterized in that the described method includes:
Obtain each frequency point and the corresponding audio loudness of each frequency point of the first recorded file, wherein first recorded file is The audio file recorded is rung using the described first outer playback;
Obtain each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein second recorded file To use the described second outer playback to ring the audio file recorded;
Audio loudness is generated about frequency point according to each frequency point of first recorded file and the corresponding audio loudness of each frequency point The first curve;
Audio loudness is generated about frequency point according to each frequency point of second recorded file and the corresponding audio loudness of each frequency point The second curve, wherein each frequency point of first recorded file is corresponding with each frequency point of second recorded file;
Audio alignment curve is generated according to first curve and second curve;
The maximum value and minimum value of the audio alignment curve are obtained, and by the maximum value and the minimum value and is preset Gain ranging is compared, wherein the preset gain range includes upper limit value and lower limit value;
When the upper limit value is greater than the maximum value, and the lower limit value is less than the minimum value, according to the audio alignment Curve calibrates second curve;
Described the step of audio alignment curve is generated according to first curve and second curve, comprising:
By the corresponding audio loudness of each frequency point of second curve audio loudness corresponding with each frequency point of first curve It is successively compared, judges whether the corresponding audio loudness of frequency point of second curve is greater than the frequency point pair of first curve The audio loudness answered;
For each frequency point, when the audio loudness of second curve is more than or less than corresponding first curve audio loudness When, the audio loudness of first curve and the difference of the audio loudness of second curve are determined as the corresponding sound of the frequency point Frequency calibration value;
Audio alignment curve is generated according to each frequency point and the corresponding audio alignment value of each frequency point.
2. the method according to claim 1, wherein the maximum value for obtaining the audio alignment curve with And minimum value, and after the step of maximum value and the minimum value are compared with preset gain range, the side Method further include:
When the maximum value is greater than the upper limit value, output, which is used to indicate, cancels the prompt information that outer playback rings calibration;
When the minimum value is less than the lower limit value, output, which is used to indicate, cancels the prompt information that outer playback rings calibration.
3. the method according to claim 1, wherein in each frequency point for obtaining the first recorded file and respectively Before the step of frequency point corresponding audio loudness, the method also includes:
In the ideal situation, the first outer playback controlled in the mobile terminal rings the preset frequency sweep source of sound of broadcasting, records simultaneously raw At the first recorded file, wherein the perfect condition is no noise state;
Under test mode, the second outer playback controlled in the mobile terminal rings the broadcasting preset frequency sweep source of sound, records And generate the second recorded file, wherein the test mode is any recording state.
4. according to the method described in claim 3, it is characterized in that, controlling the mobile terminal under test mode described In the second outer playback ring the step of playing preset frequency sweep source of sound, recording and generate the second recorded file before, the method Further include:
Whether detection current environment meets the environment of calibration, if current environment meets the environment of calibration, carries out calibration operation, wherein The environment for meeting calibration is the stable environment of noise;
If current environment does not meet the environment of calibration, refuse the calibration operation that outer playback is rung.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First obtains module, for obtaining each frequency point and the corresponding audio loudness of each frequency point of the first recorded file, wherein institute Stating the first recorded file is to ring the audio file recorded using the first outer playback;
Second obtains module, for obtaining each frequency point and the corresponding audio loudness of each frequency point in the second recorded file, wherein Second recorded file is to ring the audio file recorded using the second outer playback;
First generation module, for being generated according to each frequency point of first recorded file and the corresponding audio loudness of each frequency point First curve of the audio loudness about frequency point;
Second generation module, for being generated according to each frequency point of second recorded file and the corresponding audio loudness of each frequency point Second curve of the audio loudness about frequency point, wherein each frequency point of first recorded file and second recorded file Each frequency point is corresponding;
Third generation module, for generating audio alignment curve according to first curve and second curve;
Third obtains module, for obtaining the maximum value and minimum value of the audio alignment curve, and by the maximum value with And the minimum value is compared with preset gain range, wherein the preset gain range includes upper limit value and lower limit value;
Calibration module is used for when the upper limit value is greater than the maximum value, and the lower limit value is less than the minimum value, according to The audio alignment curve calibrates second curve;
The third generation module includes:
Comparative sub-module, for by each frequency point of the corresponding audio loudness of each frequency point of second curve and first curve Corresponding audio loudness is successively compared, and judges whether the corresponding audio loudness of frequency point of second curve is greater than described The corresponding audio loudness of the frequency point of one curve;
First determines submodule, for being directed to each frequency point, corresponds to when the audio loudness of second curve is more than or less than The first curve audio loudness when, the audio loudness of first curve and the difference of the audio loudness of second curve is true It is set to the corresponding audio alignment value of the frequency point;
Audio alignment curve generates submodule, for generating audio according to each frequency point and the corresponding audio alignment value of each frequency point Calibration curve.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
First output module, for obtaining the maximum value and minimum that module obtains the audio alignment curve in the third Value, and after the maximum value and the minimum value are compared with the preset gain range, for when the maximum When value is greater than the upper limit value, output, which is used to indicate, cancels the prompt information that outer playback rings calibration;
Second output module, for when the minimum value is less than the lower limit value, output to be used to indicate the outer playback of cancellation and rings school Quasi- prompt information.
7. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
First recorded file generation module obtains each frequency point of the first recorded file and each for obtaining module described first Before the corresponding audio loudness of frequency point, in the ideal situation, the first outer playback sound broadcasting controlled in the mobile terminal is default Frequency sweep source of sound, record and generate the first recorded file, wherein the perfect condition is no noise state;
Second recorded file generation module is broadcast under test mode, controlling the in the mobile terminal second outer playback sound The preset frequency sweep source of sound is put, records and generates the second recorded file, wherein the test mode is any recording state.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Detection module, under test mode, being controlled in the mobile terminal in the second recorded file generation module Second outer playback, which is rung, plays the preset frequency sweep source of sound, and before recording and generating the second recorded file, detection current environment is The no environment for meeting calibration carries out calibration operation if current environment meets the environment of calibration, wherein the environment for meeting calibration For the environment that noise is stable;
Refuse calibration module, if not meeting the environment of calibration for current environment, refuses the calibration operation that outer playback is rung.
CN201710175708.4A 2017-03-22 2017-03-22 A kind of outer method and mobile terminal for putting sound system audio calibration Active CN106817656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710175708.4A CN106817656B (en) 2017-03-22 2017-03-22 A kind of outer method and mobile terminal for putting sound system audio calibration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710175708.4A CN106817656B (en) 2017-03-22 2017-03-22 A kind of outer method and mobile terminal for putting sound system audio calibration

Publications (2)

Publication Number Publication Date
CN106817656A CN106817656A (en) 2017-06-09
CN106817656B true CN106817656B (en) 2019-08-16

Family

ID=59116524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710175708.4A Active CN106817656B (en) 2017-03-22 2017-03-22 A kind of outer method and mobile terminal for putting sound system audio calibration

Country Status (1)

Country Link
CN (1) CN106817656B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241642B (en) * 2017-07-28 2019-11-22 维沃移动通信有限公司 A kind of playback method and terminal
WO2019071491A1 (en) * 2017-10-11 2019-04-18 深圳传音通讯有限公司 Intelligent terminal-based sound effect distinguishing method and sound effect distinguishing system
CN108418961B (en) * 2018-02-13 2021-07-30 维沃移动通信有限公司 Audio playing method and mobile terminal
CN108810789B (en) * 2018-07-19 2023-05-09 恩平市奥美音响有限公司 Sound box sound quality judging method, system and device
CN108966084A (en) * 2018-08-09 2018-12-07 歌尔科技有限公司 A kind of loudspeaking equipment and its calibration method, device, equipment
CN109151705A (en) * 2018-08-27 2019-01-04 北京爱数智慧科技有限公司 A kind of alignment schemes and relevant device of conferencing data
CN109803208B (en) * 2019-01-31 2021-06-11 大陆汽车车身电子系统(芜湖)有限公司 Audio file processing method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780959A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Active sound box and speaker system calibration method
CN104581539A (en) * 2014-12-31 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Method for controlling audio playing of mobile terminal and mobile terminal
CN105357613A (en) * 2015-11-03 2016-02-24 广东欧珀移动通信有限公司 Adjustment method and device for playing parameters of audio output devices
CN105554674A (en) * 2015-12-28 2016-05-04 努比亚技术有限公司 Microphone calibration method, device and mobile terminal
CN105554637A (en) * 2015-12-30 2016-05-04 广州天逸电子有限公司 Method for generating EQ parameters matched with real-time frequency response curve
CN106068009A (en) * 2016-08-19 2016-11-02 维沃移动通信有限公司 Method and the electronic installation of calibration is put outside speaker

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9008330B2 (en) * 2012-09-28 2015-04-14 Sonos, Inc. Crossover frequency adjustments for audio speakers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780959A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Active sound box and speaker system calibration method
CN104581539A (en) * 2014-12-31 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Method for controlling audio playing of mobile terminal and mobile terminal
CN105357613A (en) * 2015-11-03 2016-02-24 广东欧珀移动通信有限公司 Adjustment method and device for playing parameters of audio output devices
CN105554674A (en) * 2015-12-28 2016-05-04 努比亚技术有限公司 Microphone calibration method, device and mobile terminal
CN105554637A (en) * 2015-12-30 2016-05-04 广州天逸电子有限公司 Method for generating EQ parameters matched with real-time frequency response curve
CN106068009A (en) * 2016-08-19 2016-11-02 维沃移动通信有限公司 Method and the electronic installation of calibration is put outside speaker

Also Published As

Publication number Publication date
CN106817656A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN106303804B (en) A kind of control method and mobile terminal of microphone
CN107369459B (en) A kind of audio-frequency processing method and mobile terminal
CN106341535B (en) A kind of audio play control method and mobile terminal
CN107071174B (en) A kind of method of speech processing and mobile terminal
CN106341538B (en) A kind of method for pushing and mobile terminal of lyrics poster
CN107743279B (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN106020612B (en) A kind of data display method and mobile terminal
CN106412282B (en) A kind of real-time messages phonetic prompt method and mobile terminal
CN106851486B (en) A kind of switching method and mobile terminal of earphone sound channel
CN106775322B (en) A kind of method preventing virtual key false triggering and mobile terminal
CN107423018B (en) A kind of multi-screen display method and terminal
CN106502619A (en) A kind of method for controlling volume and device
CN106126035A (en) A kind of method that application program shows and mobile terminal
CN106068009A (en) Method and the electronic installation of calibration is put outside speaker
CN106412671B (en) A kind of video broadcasting method and mobile terminal
CN106375576B (en) A kind of voice-frequency channel control method and mobile terminal
CN107562404A (en) A kind of audio frequency playing method, mobile terminal and computer-readable recording medium
CN106649548A (en) Alarm clock ringing method and terminal
CN107181871A (en) The method and mobile terminal of a kind of volume adjusting
CN107690026A (en) A kind of signal processing method and mobile terminal
CN107066231A (en) A kind of acoustic information player method and mobile terminal
CN106611404A (en) Puzzle template selecting method and mobile terminal
CN106303841A (en) The changing method of a kind of audio frequency broadcast mode and mobile terminal
CN107193885A (en) A kind of data cached management method of music and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant