CN105808204B - A kind of audio method of adjustment and electronic equipment - Google Patents

A kind of audio method of adjustment and electronic equipment Download PDF

Info

Publication number
CN105808204B
CN105808204B CN201610203152.0A CN201610203152A CN105808204B CN 105808204 B CN105808204 B CN 105808204B CN 201610203152 A CN201610203152 A CN 201610203152A CN 105808204 B CN105808204 B CN 105808204B
Authority
CN
China
Prior art keywords
frequency
output
response curve
gain
frequency response
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
CN201610203152.0A
Other languages
Chinese (zh)
Other versions
CN105808204A (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 CN201610203152.0A priority Critical patent/CN105808204B/en
Publication of CN105808204A publication Critical patent/CN105808204A/en
Application granted granted Critical
Publication of CN105808204B publication Critical patent/CN105808204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a kind of audio method of adjustment and electronic equipments, the poor technical problem of the effect for solving audio adjustment, to improve the accuracy that electronic equipment adjusts audio, the effect of enhancing audio adjustment.The described method includes: carrying out audio enhancing processing to the first voice data stream in electronic equipment with the first audio enhancement method, the first frequency response curve of output is obtained;The first frequency response curve of output is compared with the corresponding gain of identical frequency institute in predetermined frequency response curve of output, to determine the second frequency response curve of output according to comparison result;First voice data stream is exported according to the second frequency response curve of output.

Description

A kind of audio method of adjustment and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of audio method of adjustment and electronic equipments.
Background technique
With the development of communication technology, more and more electronic equipments with audio/video playback function progress into people Life in, such as smart phone, tablet computer (PAD), smart television etc..User is in the process using electronic equipment In, may the audio effect according to their own needs to audio be adjusted, for example, some users may like supper bass Effect, then can enhance software by audio carries out enhancing processing to bass part included by audio signal, to meet use The use demand at family.
By taking bass boost as an example, refer to that the output gain by part bass (such as < 500HZ) in audio increases Processing, and for electronic equipment, the intrinsic frequency response of the electronic equipment can be determined according to the hardware feature of its own Curve can know what the electronic equipment had each frequency in audio signal by the intrinsic frequency response curve Maximum output gain, if output gain adjusted is greater than electronic equipment in the frequency during carrying out audio enhancing Locate intrinsic maximum output gain, due to the limitation of electronic equipment hardware, it would be possible to cause the output of the part to be distorted, and then make The effect for obtaining audio adjustment is poor, to influence whole audio effect.
Summary of the invention
The embodiment of the present invention provides a kind of audio method of adjustment and electronic equipment, for solve the small effect of audio adjustment compared with The technical problem of difference, to improve the accuracy that electronic equipment adjusts audio, the effect of enhancing audio adjustment.
In a first aspect, providing a kind of audio method of adjustment, comprising:
Audio enhancing processing is carried out to the first voice data stream in electronic equipment with the first audio enhancement method, obtains the One frequency response curve of output;Wherein, audio signal corresponding with first voice data stream include M frequency and with the M Frequency is corresponding to have M gain, and the first audio enhancement method is for corresponding to N number of frequency in the M frequency The audio effect processing mode that gain is adjusted separately, the first frequency response curve of output include the M frequency with it is adjusted Corresponding relationship between gain, M are positive integer, and N is the integer less than or equal to M;
By the corresponding gain of identical frequency institute in the first frequency response curve of output and predetermined frequency response curve of output It is compared, to determine the second frequency response curve of output according to comparison result;Wherein, the predetermined frequency response curve of output is the electricity The intrinsic frequency response curve of output of sub- equipment;
First voice data stream is exported according to the second frequency response curve of output.
Optionally, the first frequency response curve of output and the identical frequency in predetermined frequency response curve of output are respectively corresponded Gain be compared, to determine the second frequency response curve of output according to comparison result, comprising:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal to the predetermined frequency response output Second gain of the first frequency in curve, then using second gain as described in second frequency response curve The gain of one frequency.
Optionally, the first frequency response curve of output and the identical frequency in predetermined frequency response curve of output are respectively corresponded Gain be compared, to determine the second frequency response curve of output according to comparison result, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then using first gain as in second frequency response curve it is described first frequency The gain of rate.
Optionally, the first frequency response curve of output and the identical frequency in predetermined frequency response curve of output are respectively corresponded Gain be compared, to determine the second frequency response curve of output according to comparison result, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then using second gain as in second frequency response curve it is described first frequency The gain of rate.
Optionally, the first frequency response curve of output and the identical frequency in predetermined frequency response curve of output are respectively corresponded Gain be compared, to determine the second frequency response curve of output according to comparison result, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then by between first gain and second gain any gain make For the gain of the first frequency in second frequency response curve.
Optionally, the first frequency is any one frequency in the M frequency, or, the first frequency is institute State any one frequency in N number of frequency.
Second aspect provides the first electronic equipment, comprising:
Processor, for carrying out audio to the first voice data stream in the electronic equipment with the first audio enhancement method Enhancing processing, obtains the first frequency response curve of output;By the first frequency response curve of output and the phase in predetermined frequency response curve of output The corresponding gain of same frequency institute is compared, and determines the second frequency response curve of output according to comparison result;Wherein, with it is described The corresponding audio signal of first voice data stream include M frequency and it is corresponding with the M frequency there is M gain, described the One audio enhancement method is the audio effect processing for being adjusted separately to the corresponding gain of N number of frequency in the M frequency Mode, the first frequency response curve of output include the corresponding relationship between the M frequency and gain adjusted, described predetermined Frequency response curve of output is the intrinsic frequency response curve of output of the audio output unit in the electronic equipment, and M is positive integer, and N is small In the integer for being equal to M;
The audio output unit, is connected to the processor, for exporting institute according to the second frequency response curve of output State the first voice data stream.
Optionally, the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal to the predetermined frequency response output Second gain of the first frequency in curve, then using second gain as described in second frequency response curve The gain of one frequency.
Optionally, the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then using first gain as in second frequency response curve it is described first frequency The gain of rate.
Optionally, the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then using second gain as in second frequency response curve it is described first frequency The gain of rate.
Optionally, the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than the predetermined frequency response curve of output In the first frequency the second gain, then by between first gain and second gain any gain make For the gain of the first frequency in second frequency response curve.
Optionally, the first frequency is any one frequency in the M frequency, or, the first frequency is institute State any one frequency in N number of frequency.
The third aspect provides second of electronic equipment, comprising:
Processing module, for carrying out audio increasing to the first voice data stream in electronic equipment with the first audio enhancement method Strength reason, obtains the first frequency response curve of output;Wherein, audio signal corresponding with first voice data stream includes M frequency Rate and it is corresponding with the M frequency there is M gain, the first audio enhancement method is for the N in the M frequency The audio effect processing mode that the corresponding gain of a frequency is adjusted separately, the first frequency response curve of output include the M frequency Corresponding relationship between rate and gain adjusted, M are positive integer, and N is the integer less than or equal to M;
Module is obtained, for dividing the identical frequency in the first frequency response curve of output and predetermined frequency response curve of output Not corresponding gain is compared, to determine the second frequency response curve of output according to comparison result;Wherein, the predetermined frequency response output Curve is the intrinsic frequency response curve of output of the electronic equipment;
Output module, for exporting first voice data stream according to the second frequency response curve of output.
In the embodiment of the present invention, when electronic equipment carries out audio increasing to the first voice data stream with the first audio enhancement method When strength is managed, the first frequency response curve of output can be obtained, i.e. the first frequency response curve of output be according to the first audio enhancement method into Row enhancing treated frequency response curve of output, further, electronic equipment is intrinsic by the first frequency response curve of output and electronic equipment Frequency response curve of output (i.e. predetermined frequency response curve of output) be compared, be the identical frequency that will include in the two specifically Ingredient the value of corresponding gain carry out size comparison, and then determine the second frequency response curve of output further according to comparison result, Finally the first voice data stream is exported according still further to the second frequency response curve of output.
That is, electronic equipment can will pass through enhancing side before exporting to enhanced voice data stream Formula carries out the enhanced frequency response curve of output frequency response curve of output intrinsic with electronic equipment and is compared, and then further according to comparing As a result the second frequency response curve of output is obtained, and since the intrinsic frequency response curve of output of electronic equipment is the hardware feature of electronic equipment Embodiment, the maximum gain that can be exported at each frequency with characterization of electronic equipment, if carry out enhancing treated increase Benefit is greater than the maximum gain that can export, then will due to electronic equipment itself hardware limitation and cause output to be distorted, and It, can be as far as possible by the hardware of electronic equipment itself during carrying out audio enhancing in technical solution in inventive embodiments Characteristic is taken into account, with reduce as far as possible as audio enhancing it is excessive and caused by export distortion, with promoted as far as possible audio enhancing Accuracy enhances the audio experience of user to promote the effect for carrying out audio enhancing to electronic equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Inventive embodiments for those of ordinary skill in the art without creative efforts, can also be according to mentioning The attached drawing of confession obtains other attached drawings.
Fig. 1 is the flow chart of audio method of adjustment in the embodiment of the present invention;
Fig. 2 is the schematic diagram of the first frequency response curve of output and predetermined frequency response curve of output in the embodiment of the present invention;
Fig. 3 is that the first frequency response curve of output in the embodiment of the present invention, the second frequency response curve of output and predetermined frequency response output are bent The schematic diagram of line;
Fig. 4 is the structural schematic diagram of electronic equipment in the embodiment of the present invention;
Fig. 5 is the structural block diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.? In the case where not conflicting, the feature in embodiment and embodiment in the present invention can mutual any combination.Although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or" in the case where not illustrating.
In the embodiment of the present invention, electronic equipment can refer to mobile phone, PAD, palm PC (Personal Digital Assistant, PDA), the electronic equipment of laptop, smart television etc. with audio output capabilities, for the electronics Equipment be specifically which type of equipment present invention with no restrictions.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Referring to Figure 1, the embodiment of the present invention provides a kind of audio method of adjustment, and this method can be applied to electronic equipment, That is, the executing subject of each step can be electronic equipment in this method.The process of this method is described as follows.
Step 101: the first voice data stream in electronic equipment being carried out at audio enhancing with the first audio enhancement method Reason obtains the first frequency response curve of output;Wherein, audio signal corresponding with the first voice data stream is stated includes M frequency and and M A frequency is corresponding to have M gain, and the first audio enhancement method is for the corresponding gain point of N number of frequency in M frequency The audio effect processing mode not being adjusted, the first frequency response curve of output include corresponding between M frequency and gain adjusted Relationship, M are positive integer, and N is the integer less than or equal to M.
Wherein, the first voice data stream is corresponding with the first audio, that is, the first voice data stream can refer to the first audio institute Including voice data stream.
First audio can be the audio stored in electronic equipment, or can be electronic equipment and existed by connecting network The audio, etc. that line plays, after the first audio is produced, corresponding voice data stream is also fixed, and and sound The corresponding audio signal of frequency data stream may include M frequency and M gain having corresponding with M frequency, and in M frequency It may include identical frequency, stored in a certain order, electronic equipment passes through to the corresponding increasing of each M frequency Benefit is exported according to the sequence of storage, to realize the broadcasting of audio.
Refer to Fig. 2, in coordinate system shown in Fig. 2, abscissa indicates frequency, unit HZ, and ordinate indicates output Gain, unit dB.Wherein, curve A indicates that the intrinsic frequency response curve of output of electronic equipment, curve B indicate to pass through the first audio Enhancement method carries out the frequency response curve of output that obtains after audio enhancing to the first voice data stream, i.e., and the in the embodiment of the present invention One frequency response curve of output.
Wherein, frequency response abbreviation frequency response is called and does frequency response curve of output, refers to gain curve varying with frequency, appoints What stereo set has corresponding frequency response curve, such as can be referred to as intrinsic frequency response curve of output, such as the song in Fig. 2 Line A is the intrinsic frequency response curve of output of electronic equipment, can be known by curve A, for each Frequency point electronic equipment institute The maximum gain that can be exported, if most being increased by the enhanced gain of audio greater than what electronic equipment can be output at the frequency Benefit, due to the limitation on electronic equipment hardware, it will cause output to be distorted, influence audio effect.
In addition, the first audio enhancement method is, for example, bass boost, then then can be to the increasing of the frequency corresponding to bass Benefit is adjusted, such as frequency range corresponding to bass is the frequency less than 500HZ, and N number of frequency can refer to 20HZ- at this time 480 frequencies included by 500HZ, i.e., the value of N is 480 at this time.
Step 102: the first frequency response curve of output is corresponding with the identical frequency institute in predetermined frequency response curve of output Gain is compared, to determine the second frequency response curve of output according to comparison result;Wherein, predetermined frequency response curve of output sets for electronics Standby intrinsic frequency response curve of output.
If using scheme in the prior art, the electronic book equipment after carrying out audio enhancing to the first voice data stream Then the first voice data stream directly can be exported according to the curve B in Fig. 2, i.e., directly according to the first frequency response curve of output output first Voice data stream.And as can be seen from FIG. 2, near frequency is 100HZ, such as by taking 100HZ as an example, it is enhanced defeated to carry out audio Gain (about 97dB) is significantly greater than the maximum gain (90dB) that electronic equipment can export out, if that using in the prior art Scheme exported if, audio signal near 100HZ can then generate distortion in output, if the first audio data Stream is to include if bass part (i.e. the lower part of frequency) is more, and distortion effect can be particularly evident, and user sounds effect It is poor, it will to influence the use of user.
And in embodiments of the present invention, after obtaining the first frequency response curve of output, electronic equipment can by its with it is intrinsic Frequency response curve of output be compared, specifically, for the corresponding gain of identical frequency in curve A and curve B Size is compared, for example, being 90dB according to the gain that curve A is obtained, being according to the gain that curve B is obtained at 100HZ 90dB and 97dB then can be carried out size comparison, to obtain comparison result, it is seen that comparison result is that 97dB is greater than by 97dB 90dB, i.e., at 100HZ, the output gain of the first frequency response curve of output is greater than the output gain of intrinsic frequency response curve of output.
It is possible to further, to determine the second frequency response curve of output, electronics be set as far as possible in this way according to comparison result Itself standby hardware feature is taken into account, with reduce as far as possible as audio enhancing is excessive and caused by export distortion, to mention as far as possible The accuracy of sharp effect enhancing, promotes the effect for carrying out audio enhancing to electronic equipment, enhances the audio experience of user
Step 103: exporting the first voice data stream according to the second frequency response curve of output.
It, specifically, can be according to it is possible to further export the first voice data stream according to the second frequency response curve of output The corresponding relationship of frequency and output gain in second frequency response curve of output, to each sound audio included by the first packets of audio data Rate carries out corresponding gain output.
In the specific implementation process, according to comparison result determine the second frequency response curve of output mode can have it is a variety of, That is, obtaining the second frequency response curve of output can have a variety of situations, it is illustrated below.
The first situation:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal in predetermined frequency response curve of output Second gain of first frequency, then using the second gain as the gain of the first frequency in the second frequency response curve of output.
Continue by taking Fig. 2 as an example, the first frequency response curve of output is as shown in the curve B in Fig. 2, and predetermined frequency response curve of output is as schemed Shown in curve A in 2, at 100HZ, it is seen that the corresponding gain of curve B (97dB) is greater than the corresponding gain of curve A (90dB), So export distortion at 100HZ in order to avoid audio signal at this time, then it can be using 90dB as in the second frequency response curve of output The corresponding gain of 100HZ, for example, by using second frequency response curve of output such as Fig. 3 of the acquisition after the scheme in the embodiment of the present invention In curve C shown in, that is to say, that can by gain be greater than predetermined frequency response curve of output in gain Frequency point gain all The gain being reduced in predetermined frequency response curve of output, such as the curve C in Fig. 3, the gain of the frequency near 100HZ is all by song Gain of the gain reduction into curve A in line B, in this way can be under the premise of avoiding distortion as far as possible, additionally it is possible to guarantee sound as far as possible Imitate the effect of enhancing.
Second case:
If the first gain of the first frequency in the first frequency response curve of output is less than described in predetermined frequency response curve of output Second gain of first frequency, then using the first gain as the gain of the first frequency in the second frequency response curve.
That is, gain after carrying out audio enhancing is without departing from the maximum gain that electronic equipment can export, then The enhanced gain of audio can be directly used to be exported, to guarantee the effect of audio enhancing as far as possible.
Continue by taking Fig. 2 as an example, such as at 1KHZ, the corresponding gain hypothesis of curve A is 93dB, and the corresponding increasing of curve B Benefit is assumed to be 84dB, then at this time can be directly using 84dB as the frequency at 1KHZ in the second frequency response curve of output.
The third situation:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Alternatively, when carrying out the gain after audio enhancing without departing from the maximum gain that electronic equipment can export, in order to The effect of audio enhancing is further promoted, the maximum gain that electronic equipment can be exported is exported as the second frequency response The gain of first frequency in curve.
Continue by taking Fig. 2 as an example, such as at 1KHZ, the corresponding gain hypothesis of curve A is 93dB, and the corresponding increasing of curve B Benefit is assumed to be 84dB, then in a third situation, can directly using 93dB as 1KHZ in the second frequency response curve of output at Frequency.
Because user is to carry out audio enhancing, it is possible under the premise of meeting predetermined frequency response curve of output, as far as possible The effect of audio enhancing is promoted, to meet the actual demand of user as far as possible.
4th kind of situation:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using between any gain stated between the first gain and the second gain as in the second frequency response curve The gain of first frequency.
Continue by taking the example in the third situation as an example, it can be using any gain between 84dB and 93dB as the The gain of first frequency in two frequency response curves of output, such as using 88dB or 90dB as first in the second frequency response curve of output The gain of frequency.
Optionally, first frequency can be any one frequency in M frequency, such as by taking Fig. 2 as an example, first frequency can To be any one frequency in 20HZ-20KHZ.
Optionally, first frequency can be any one frequency in N number of frequency, it is assumed that the first audio enhancement method is used for Audio enhancing is carried out to the gain of the bass part of 20HZ-500HZ, then first frequency can be any in 20HZ-500HZ One frequency is the equal of being operated for the targeted frequency of the first audio enhancement method, and specific aim is stronger.
In the embodiment of the present invention, when electronic equipment carries out audio increasing to the first voice data stream with the first audio enhancement method When strength is managed, the first frequency response curve of output can be obtained, i.e. the first frequency response curve of output be according to the first audio enhancement method into Row enhancing treated frequency response curve of output, further, electronic equipment is intrinsic by the first frequency response curve of output and electronic equipment Frequency response curve of output (i.e. predetermined frequency response curve of output) be compared, be the identical frequency that will include in the two specifically Ingredient the value of corresponding gain carry out size comparison, and then determine the second frequency response curve of output further according to comparison result, Finally the first voice data stream is exported according still further to the second frequency response curve of output.
That is, electronic equipment can will pass through enhancing side before exporting to enhanced voice data stream Formula carries out the enhanced frequency response curve of output frequency response curve of output intrinsic with electronic equipment and is compared, and then further according to comparing As a result the second frequency response curve of output is obtained, and since the intrinsic frequency response curve of output of electronic equipment is the hardware feature of electronic equipment Embodiment, the maximum gain that can be exported at each frequency with characterization of electronic equipment, if carry out enhancing treated increase Benefit is greater than the maximum gain that can export, then will due to electronic equipment itself hardware limitation and cause output to be distorted, and It, can be as far as possible by the hardware of electronic equipment itself during carrying out audio enhancing in technical solution in inventive embodiments Characteristic is taken into account, with reduce as far as possible as enhance it is excessive and caused by export distortion, with promoted as far as possible audio enhancing it is accurate Property, to promote the effect for carrying out audio enhancing to electronic equipment, enhance the audio experience of user.
Fig. 4 is referred to, based on the same inventive concept, the embodiment of the present invention provides the first electronic equipment, the electronic equipment Include:
Processor 401, for carrying out audio to the first voice data stream in electronic equipment with the first audio enhancement method Enhancing processing, obtains the first frequency response curve of output;By the same frequency in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of rate institute is compared, to determine the second frequency response curve of output according to comparison result;Wherein, with the first audio The corresponding audio signal of data flow include M frequency and it is corresponding with M frequency there is M gain, the first audio enhancement method is Audio effect processing mode for being adjusted separately to the corresponding gain of N number of frequency in M frequency, the first frequency response curve of output Including the corresponding relationship between M frequency and gain adjusted, predetermined frequency response curve of output is that the audio in electronic equipment is defeated The intrinsic frequency response curve of output of unit 402 out, M are positive integer, and N is the integer less than or equal to M;
Audio output unit 402 is connect with processor 401, for exporting the first audio according to the second frequency response curve of output Data flow.
Wherein, the component such as can be loudspeaker, loudspeaker of audio output unit 402, audio output unit 402 can collect At in electronic equipment.
Processor 401 specifically can be general central processing unit (CPU), or can be application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or can be one or more for controlling journey The integrated circuit that sequence executes.
It can be attached by connecting line between processor 401 and audio output unit 402, which has signal The effect of transmission, that is, can keep being electrically connected between processor 401 and audio output unit 402, for controlling audio output Unit 402 carries out audio output.
Electronic equipment can also include display device, which may include light emitting diode (Light Emitting Diode, LED) display screen, Organic Light Emitting Diode (Organic Light Emitting Diode, OLED) be aobvious Display screen, active matrix organic light-emitting diode (Active Matrix Organic Light Emitting Diode, AMOLED) display screen, IPS (In-Plane Switching, plane conversion) display screen, etc..
Further, electronic equipment can also include memory, and the quantity of memory can be one or more.Memory May include read-only memory (Read Only Memory, ROM), random access memory (Random Access Memory, ) or magnetic disk storage RAM.
Optionally, processor 401 is used for:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal in predetermined frequency response curve of output Second gain of first frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, processor 401 is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the first gain as the gain of the first frequency in the second frequency response curve.
Optionally, processor 401 is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, processor 401 is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using any gain between the first gain and the second gain as in the second frequency response curve The gain of one frequency.
Optionally, first frequency is any one frequency in M frequency, or, first frequency is any in N number of frequency One frequency.
Since the electronic equipment in the embodiment of the present invention is similar to the principle that the audio method of adjustment in Fig. 1 solves the problems, such as, Therefore the implementation of electronic equipment may refer to the implementation of audio method of adjustment in Fig. 1 in the embodiment of the present invention, details are not described herein.
Fig. 5 is referred to, based on the same inventive concept, the embodiment of the present invention provides second of electronic equipment, the electronic equipment Including processing module 501, obtain module 502 and output module 503.
Processing module 501, for carrying out sound to the first voice data stream in electronic equipment with the first audio enhancement method Enhancing processing is imitated, the first frequency response curve of output is obtained;Wherein, audio signal corresponding with the first voice data stream includes M frequency Rate and it is corresponding with the M frequency there is M gain, the first audio enhancement method is for N number of frequency pair in M frequency The audio effect processing mode that the gain answered is adjusted separately, the first frequency response curve of output include M frequency and gain adjusted Between corresponding relationship, M is positive integer, and N is the integer less than or equal to M;
Module 502 is obtained, for dividing the identical frequency in the first frequency response curve of output and predetermined frequency response curve of output Not corresponding gain is compared, to determine the second frequency response curve of output according to comparison result;Wherein, predetermined frequency response curve of output For the intrinsic frequency response curve of output of electronic equipment;
Output module 503, for exporting the first voice data stream according to the second frequency response curve of output.
Optionally, module 502 is obtained to be used for:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal in predetermined frequency response curve of output Second gain of first frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, module 502 is obtained to be used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the first gain as the gain of the first frequency in the second frequency response curve.
Optionally, module 502 is obtained to be used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, module 502 is obtained to be used for:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using any gain between the first gain and the second gain as in the second frequency response curve The gain of one frequency.
Optionally, first frequency is any one frequency in M frequency, or, first frequency is any in N number of frequency One frequency.
Since the electronic equipment in the embodiment of the present invention is similar to the principle that the audio method of adjustment in Fig. 1 solves the problems, such as, Therefore the implementation of electronic equipment may refer to the implementation of audio method of adjustment in Fig. 1 in the embodiment of the present invention, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function lists Member is completed, i.e., the internal structure of device is divided into different functional units, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk Etc. the various media that can store program code.
Specifically, the corresponding computer program instructions of one of embodiment of the present invention audio method of adjustment can be deposited It stores up on CD, hard disk, the storage mediums such as USB flash disk, when the computer journey corresponding with a kind of audio method of adjustment in storage medium Sequence instruction is read or is performed by an electronic equipment, includes the following steps:
Audio enhancing processing is carried out to the first voice data stream in electronic equipment with the first audio enhancement method, obtains the One frequency response curve of output;Wherein, audio signal corresponding with the first voice data stream includes M frequency and corresponding with M frequency With M gain, the first audio enhancement method is for being adjusted separately to the corresponding gain of N number of frequency in M frequency Audio effect processing mode, the first frequency response curve of output includes the corresponding relationship between M frequency and gain adjusted, and M is positive Integer, N are the integer less than or equal to M;
The corresponding gain of identical frequency institute in first frequency response curve of output and predetermined frequency response curve of output is carried out Compare, to determine the second frequency response curve of output according to comparison result;Wherein, predetermined frequency response curve of output is that electronic equipment is intrinsic Frequency response curve of output;
The first voice data stream is exported according to the second frequency response curve of output.
Optionally, stored in storage medium and step: will be in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of identical frequency institute be compared, it is corresponding to determine the second frequency response curve of output according to comparison result Computer instruction is among the process being performed, comprising:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal in predetermined frequency response curve of output Second gain of first frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, stored in storage medium and step: will be in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of identical frequency institute be compared, it is corresponding to determine the second frequency response curve of output according to comparison result Computer instruction is among the process being performed, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the first gain as the gain of the first frequency in the second frequency response curve.
Optionally, stored in storage medium and step: will be in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of identical frequency institute be compared, it is corresponding to determine the second frequency response curve of output according to comparison result Computer instruction is among the process being performed, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using the second gain as the gain of the first frequency in the second frequency response curve.
Optionally, stored in storage medium and step: will be in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of identical frequency institute be compared, it is corresponding to determine the second frequency response curve of output according to comparison result Computer instruction is among the process being performed, comprising:
If the first gain of the first frequency in the first frequency response curve of output is less than first in predetermined frequency response curve of output Second gain of frequency, then using any gain between the first gain and the second gain as in the second frequency response curve The gain of one frequency.
The above, above embodiments are only to be described in detail technical solution of the present invention, but the above implementation The explanation of example is merely used to help understand method and its core concept of the invention, should not be construed as limiting the invention.This In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those skilled in the art, should all cover Within protection scope of the present invention.

Claims (13)

1. a kind of audio method of adjustment, comprising:
Audio enhancing processing is carried out to the first voice data stream in electronic equipment with the first audio enhancement method, obtains the first frequency Ring curve of output;Wherein, audio signal corresponding with first voice data stream include M frequency and with the M frequency Corresponding to have M gain, the first audio enhancement method is for the corresponding gain of N number of frequency in the M frequency The audio effect processing mode being adjusted separately, the first frequency response curve of output include the M frequency and gain adjusted Between corresponding relationship, M is positive integer, and N is the integer less than or equal to M;
The corresponding gain of identical frequency institute in the first frequency response curve of output and predetermined frequency response curve of output is carried out Compare, to determine the second frequency response curve of output according to comparison result;Wherein, the predetermined frequency response curve of output is that the electronics is set Standby intrinsic frequency response curve of output;
First voice data stream is exported according to the second frequency response curve of output.
2. the method as described in claim 1, which is characterized in that export the first frequency response curve of output and predetermined frequency response bent The corresponding gain of identical frequency institute in line is compared, to determine the second frequency response curve of output according to comparison result, packet It includes:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal to the predetermined frequency response curve of output In the first frequency the second gain, then using second gain as in second frequency response curve it is described first frequency The gain of rate.
3. the method as described in claim 1, which is characterized in that export the first frequency response curve of output and predetermined frequency response bent The corresponding gain of identical frequency institute in line is compared, to determine the second frequency response curve of output according to comparison result, packet It includes:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using first gain as the first frequency in second frequency response curve Gain.
4. the method as described in claim 1, which is characterized in that export the first frequency response curve of output and predetermined frequency response bent The corresponding gain of identical frequency institute in line is compared, to determine the second frequency response curve of output according to comparison result, packet It includes:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using second gain as the first frequency in second frequency response curve Gain.
5. the method as described in claim 1, which is characterized in that export the first frequency response curve of output and predetermined frequency response bent The corresponding gain of identical frequency institute in line is compared, to determine the second frequency response curve of output according to comparison result, packet It includes:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using any gain between first gain and second gain as institute State the gain of the first frequency in the second frequency response curve.
6. the method as described in any claim in claim 2-4, which is characterized in that the first frequency is the M Any one frequency in frequency, or, the first frequency is any one frequency in N number of frequency.
7. a kind of electronic equipment, comprising:
Processor, for carrying out audio enhancing to the first voice data stream in the electronic equipment with the first audio enhancement method Processing obtains the first frequency response curve of output;By the same frequency in the first frequency response curve of output and predetermined frequency response curve of output The corresponding gain of rate institute is compared, to determine the second frequency response curve of output according to comparison result;Wherein, with described first The corresponding audio signal of voice data stream include M frequency and it is corresponding with the M frequency have M gain, first sound Imitating enhancement method is the audio effect processing mode for being adjusted separately to the corresponding gain of N number of frequency in the M frequency, The first frequency response curve of output includes the corresponding relationship between the M frequency and gain adjusted, the predetermined frequency response Curve of output is the intrinsic frequency response curve of output of audio output unit in the electronic equipment, and M is positive integer, N be less than etc. In the integer of M;
The audio output unit, is connected to the processor, for according to the second frequency response curve of output output described the One voice data stream.
8. electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is more than or equal to the predetermined frequency response curve of output In the first frequency the second gain, then using second gain as in second frequency response curve it is described first frequency The gain of rate.
9. electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using first gain as the first frequency in second frequency response curve Gain.
10. electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using second gain as the first frequency in second frequency response curve Gain.
11. electronic equipment as claimed in claim 7, which is characterized in that the processor is used for:
If the first gain of the first frequency in the first frequency response curve of output is less than in the predetermined frequency response curve of output Second gain of the first frequency, then using any gain between first gain and second gain as institute State the gain of the first frequency in the second frequency response curve.
12. the electronic equipment as described in any claim in claim 8-11, which is characterized in that the first frequency is institute Any one frequency in M frequency is stated, or, the first frequency is any one frequency in N number of frequency.
13. a kind of electronic equipment, comprising:
Processing module, for being carried out at audio enhancing with the first audio enhancement method to the first voice data stream in electronic equipment Reason obtains the first frequency response curve of output;Wherein, audio signal corresponding with first voice data stream include M frequency and Corresponding with the M frequency to have M gain, the first audio enhancement method is for N number of frequency in the M frequency The audio effect processing mode that the corresponding gain of rate is adjusted separately, the first frequency response curve of output include the M frequency with Corresponding relationship between gain adjusted, M are positive integer, and N is the integer less than or equal to M;
Module is obtained, for the first frequency response curve of output and the identical frequency institute in predetermined frequency response curve of output is right respectively The gain answered is compared, to determine the second frequency response curve of output according to comparison result;Wherein, the predetermined frequency response curve of output For the intrinsic frequency response curve of output of the electronic equipment;
Output module, for exporting first voice data stream according to the second frequency response curve of output.
CN201610203152.0A 2016-03-31 2016-03-31 A kind of audio method of adjustment and electronic equipment Active CN105808204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203152.0A CN105808204B (en) 2016-03-31 2016-03-31 A kind of audio method of adjustment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203152.0A CN105808204B (en) 2016-03-31 2016-03-31 A kind of audio method of adjustment and electronic equipment

Publications (2)

Publication Number Publication Date
CN105808204A CN105808204A (en) 2016-07-27
CN105808204B true CN105808204B (en) 2019-03-29

Family

ID=56459463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203152.0A Active CN105808204B (en) 2016-03-31 2016-03-31 A kind of audio method of adjustment and electronic equipment

Country Status (1)

Country Link
CN (1) CN105808204B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911981B (en) * 2017-03-10 2019-05-10 四川长虹电器股份有限公司 The system and method for small sound chamber audio effect processing
CN108305603B (en) * 2017-10-20 2021-07-27 腾讯科技(深圳)有限公司 Sound effect processing method and equipment, storage medium, server and sound terminal thereof
CN113923561A (en) * 2020-07-08 2022-01-11 阿里巴巴集团控股有限公司 Intelligent sound box sound effect adjusting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7610553B1 (en) * 2003-04-05 2009-10-27 Apple Inc. Method and apparatus for reducing data events that represent a user's interaction with a control interface
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN104021148A (en) * 2014-05-16 2014-09-03 小米科技有限责任公司 Method and device for adjusting sound effect

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7610553B1 (en) * 2003-04-05 2009-10-27 Apple Inc. Method and apparatus for reducing data events that represent a user's interaction with a control interface
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN104021148A (en) * 2014-05-16 2014-09-03 小米科技有限责任公司 Method and device for adjusting sound effect

Also Published As

Publication number Publication date
CN105808204A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
US9594473B2 (en) Sound visualization method and apparatus of electronic device
KR102207208B1 (en) Method and apparatus for visualizing music information
CN110827843B (en) Audio processing method and device, storage medium and electronic equipment
CN106557297A (en) Based on contextual adaptation audio output
CN106170170B (en) The control method and device of atmosphere lamp
JP2017538341A (en) Volume control method, system, device and program
CN105808204B (en) A kind of audio method of adjustment and electronic equipment
CN110034874A (en) A kind of resource monitor method, terminal and base station
CN106954143A (en) Manually adjust the method and electronic equipment of tonequality
CN108810860B (en) Audio transmission method, terminal equipment and main earphone
CN105933784A (en) Bullet screen play and conversion method, bullet screen player, server, and play system
CN106302997A (en) A kind of output control method, electronic equipment and system
CN109819303A (en) Data output method and relevant device
CN110035505A (en) Semi-static SRS resource instruction, processing method, network side equipment, user terminal
JP2022500950A (en) Resource allocation method, terminals, and network equipment
WO2017004928A1 (en) Song catalog setting method, mobile terminal, server, and system
WO2023088209A1 (en) Cross-device audio data transmission method and electronic devices
CN106293599A (en) A kind of output control method, electronic equipment and output system
CN106095385A (en) A kind of audio method to set up and mobile terminal
CN104079542A (en) Information processing method and device management server
WO2022267468A1 (en) Sound processing method and apparatus thereof
CN109618116A (en) Processing method, electronic equipment and the computer storage medium of multimedia messages
WO2021013006A1 (en) Parameter processing method, device, and computer readable storage medium
CN108154886A (en) Noise suppressing method and device, electronic device and computer readable storage medium
US20220346073A1 (en) Pdcch configuration method and terminal

Legal Events

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