CN102270454A - method and device for improving audio output - Google Patents
method and device for improving audio output Download PDFInfo
- Publication number
- CN102270454A CN102270454A CN2010101937530A CN201010193753A CN102270454A CN 102270454 A CN102270454 A CN 102270454A CN 2010101937530 A CN2010101937530 A CN 2010101937530A CN 201010193753 A CN201010193753 A CN 201010193753A CN 102270454 A CN102270454 A CN 102270454A
- Authority
- CN
- China
- Prior art keywords
- frequency
- domain data
- time domain
- frequency domain
- audio
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 16
- 238000005259 measurement Methods 0.000 claims description 10
- 238000010183 spectrum analysis Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 210000000936 intestine Anatomy 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides a method and device for improving audio output. The method comprises the steps of: S01, converting time domain data of an audio file into frequency domain data; S02, measuring and analyzing gain values of all frequencies; S03, adjusting amplitudes of the corresponding frequencies according to the obtained gain values; and S04, converting the modified frequency domain data into time domain data. The device comprises a time domain/frequency domain converting module set used for converting the time domain data of the received audio file into the frequency domain data, a measuring module set used for measuring the gain values of all frequencies, an adjusting module set used for adjusting the amplitudes of the corresponding frequencies according to the obtained gain values of all frequencies, and a frequency domain/time domain converting module set used for converting the adjusted frequency domain data into time domain data. By utilizing the method and the device provided by the invention, gain adjustment of each frequency point can be performed through using manners of time domain/frequency domain conversion, so as to achieve the purpose of accurate adjustment of audio output.
Description
[technical field]
The invention provides a kind of method and device that improves audio frequency output, refer to a kind of method and device of improving audio frequency output that each Frequency point is gained and adjusts realized especially.
[background technology]
The frequency response curve of desirable audio frequency apparatus should be smooth, and it directly influences acoustical qualities such as tone color, sound intestines.But in fact frequency response curve and uneven has different gains and decay on some frequency.Therefore the sound of audio system broadcast is differentiated with the sound of reality.
Usually, can use the mode of multistage balanced device that correspondent frequency is adjusted.But for domestic consumer, the multistage balanced device can't be made accurate adjustment to frequency, simultaneously, the adjustment of multistage balanced device be a frequency range rather than some Frequency points.
In view of this, be necessary in fact to develop a kind of method and device that improves audio frequency output, utilize this method and device, the mode that just can utilize time domain, frequency domain conversion is to the adjustment that gains of each Frequency point, thereby reached the purpose that accurate adjustment audio frequency is exported.
[summary of the invention]
In order to achieve the above object, the invention provides a kind of method and device that improves audio frequency output, utilize this method and device, the mode that just can utilize the conversion of time domain, frequency domain is to adjustments that gain of each Frequency point, thereby reached the purpose that accurate adjustment audio frequency is exported.
The method of improving audio frequency output provided by the invention, this method comprises:
S01, convert the time domain data of audio file to frequency domain data;
The yield value of S02, each frequency of Measurement and analysis;
Each yield value that S03, basis obtain is adjusted the amplitude of corresponding frequencies;
S04, convert amended frequency domain data to time domain data.
The device that improves audio frequency output provided by the invention, this installs based on said method, and this device comprises:
Time domain-frequency domain conversion module, the time domain data that is used for the audio file that will receive converts frequency domain data to;
Measure module, be used to measure the yield value of each frequency;
Adjust module, be used for the amplitude of corresponding frequencies being adjusted according to the yield value of each frequency that obtains;
Frequency domain-time domain conversion module is used for converting adjusted frequency domain data to time domain data.
Compared to prior art, utilize the present invention to improve the method and apparatus of audio frequency output, the mode that just can utilize time domain, frequency domain conversion is to the adjustment that gains of each Frequency point, thereby reached the purpose that accurate adjustment audio frequency is exported.
For purpose of the present invention, structural attitude and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 illustrates the process flow diagram of a preferred embodiment that improves the method for audio frequency output for the present invention.
Fig. 2 illustrates and is the structured flowchart based on the device that improves audio frequency output of method among Fig. 1.
Fig. 3 has illustrated the concrete yield value and the modified value of concrete several frequencies.
Fig. 4 has illustrated desirable frequency response curve.
[embodiment]
Seeing also Fig. 1, is the process flow diagram of a preferred embodiment of the present invention's method of improving audio frequency output, and this method comprises:
Step S01 converts the time domain data of the audio file that receives to frequency domain data, is beneficial to subsequent treatment.Here, can adopt FFT spectrum analysis mode that the time domain data of audio file is for conversion into frequency domain data.
Step S02, the yield value of each frequency in the Measurement and analysis frequency domain data.The yield value of each frequency can use the mode of sweep measurement to obtain, and such as playing a 1db 20Hz to the sine wave that 1db 20KHz frequency increases progressively gradually, measures the amplitude of each Frequency point then, just can obtain yield value.
Step S03 adjusts the amplitude of corresponding frequencies according to each yield value that obtains.The gain of desirable frequency response curve is 0db, according to each yield value that records among the step S02, can calculate the modified value of respective frequencies, and the amplitude of each frequency adds the modified value of respective frequencies, promptly obtains the desirable amplitude of each frequency.Illustrate, as shown in Figure 3, the gain that mode by sweep measurement records 1000HZ frequency, 1001HZ frequency, 1002HZ frequency, 1003HZ frequency place be respectively 0.2db, 0.2db, 0.4db ,-0.2db, according to theoretical gain is the theory of 0db, so to add respectively at 1000HZ frequency, 1001HZ frequency, 1002HZ frequency, 1003HZ frequency place be respectively-0.2db ,-0.2db ,-modified value of 0.4db, 0.2db, so, just meet the requirement of desirable frequency response curve, audio frequency output just can be consistent with the audio file of reality, as shown in Figure 4.
Step S04 converts amended frequency domain data to time domain data, and time domain data is exported.
Finish.
Seeing also Fig. 2, is the structured flowchart that the present invention is based on process flow diagram shown in Figure 1.This block representation improves the ingredient of the device of audio frequency output, comprising: time domain-frequency domain conversion module 1, measurement module 2, adjustment module 3 and frequency domain-time domain conversion module 4.
Wherein, time domain-frequency domain conversion module 1 is when receiving audio file, and the time domain data with audio file converts frequency domain data to earlier; Then, measure module 2 is measured each Frequency point according to frequency domain data yield value; And then the yield value of each frequency that adjusting module 3 bases obtain obtaining above calculates the modified value of respective frequencies, utilizes each modified value that the amplitude of corresponding frequencies is adjusted again; At last, frequency domain-time domain conversion module 4 is transformed into time domain data and output with adjusted frequency domain data.
In present embodiment, time domain-frequency domain conversion module 1 can be a FFT frequency-domain analysis module; Can be and measure module 2 for sweeping measurement module frequently.
Of course it is to be understood that those skilled in the art, do not break away from itself under the prerequisite of the spirit and scope of the invention that appended claims limits, can make multiple change.
Claims (6)
1. one kind is improved the method that audio frequency is exported, and this method comprises:
S01, convert the time domain data of audio file to frequency domain data;
The yield value of S02, each frequency of Measurement and analysis;
Each yield value that S03, basis obtain is adjusted the amplitude of corresponding frequencies;
S04, convert amended frequency domain data to time domain data.
2. the method for improving audio frequency output as claimed in claim 1 is characterized in that, adopts FFT spectrum analysis mode that the time domain data of described audio file is for conversion into frequency domain data among the step S01.
3. the method for improving audio frequency output as claimed in claim 1 is characterized in that, the mode of use sweep measurement obtains the yield value of each frequency among the step S02.
4. one kind is improved the device that audio frequency is exported, and this installs based on said method, it is characterized in that, this device comprises:
Time domain-frequency domain conversion module, the time domain data that is used for the audio file that will receive converts frequency domain data to;
Measure module, be used to measure the yield value of each frequency;
Adjust module, be used for the amplitude of corresponding frequencies being adjusted according to the yield value of each frequency that obtains;
Frequency domain-time domain conversion module is used for converting adjusted frequency domain data to time domain data.
5. the device that improves audio frequency output as claimed in claim 4 is characterized in that, described time domain-frequency domain conversion module is a FFT frequency-domain analysis module.
6. the device that improves audio frequency output as claimed in claim 4 is characterized in that described measurement module is a frequency sweep measurement module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101937530A CN102270454A (en) | 2010-06-07 | 2010-06-07 | method and device for improving audio output |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101937530A CN102270454A (en) | 2010-06-07 | 2010-06-07 | method and device for improving audio output |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102270454A true CN102270454A (en) | 2011-12-07 |
Family
ID=45052731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101937530A Pending CN102270454A (en) | 2010-06-07 | 2010-06-07 | method and device for improving audio output |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102270454A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111933161A (en) * | 2020-07-16 | 2020-11-13 | 腾讯音乐娱乐科技(深圳)有限公司 | Method for generating filter parameter of equalizer, audio signal filtering method and equalizer |
CN112954115A (en) * | 2021-03-16 | 2021-06-11 | 腾讯音乐娱乐科技(深圳)有限公司 | Volume adjusting method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5388181A (en) * | 1990-05-29 | 1995-02-07 | Anderson; David J. | Digital audio compression system |
JPH0897726A (en) * | 1994-09-28 | 1996-04-12 | Victor Co Of Japan Ltd | Sub band split/synthesis method and its device |
CN1296258A (en) * | 1999-11-10 | 2001-05-23 | 三菱电机株式会社 | Noise canceller |
CN1729615A (en) * | 2002-12-19 | 2006-02-01 | 皇家飞利浦电子股份有限公司 | Mixer system with amplitude, common mode and phase corrections |
CN101036293A (en) * | 2004-08-10 | 2007-09-12 | 安东尼·邦焦维 | Audio signal processing system and method for rendering in high noise environment |
-
2010
- 2010-06-07 CN CN2010101937530A patent/CN102270454A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5388181A (en) * | 1990-05-29 | 1995-02-07 | Anderson; David J. | Digital audio compression system |
JPH0897726A (en) * | 1994-09-28 | 1996-04-12 | Victor Co Of Japan Ltd | Sub band split/synthesis method and its device |
CN1296258A (en) * | 1999-11-10 | 2001-05-23 | 三菱电机株式会社 | Noise canceller |
CN1729615A (en) * | 2002-12-19 | 2006-02-01 | 皇家飞利浦电子股份有限公司 | Mixer system with amplitude, common mode and phase corrections |
CN101036293A (en) * | 2004-08-10 | 2007-09-12 | 安东尼·邦焦维 | Audio signal processing system and method for rendering in high noise environment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111933161A (en) * | 2020-07-16 | 2020-11-13 | 腾讯音乐娱乐科技(深圳)有限公司 | Method for generating filter parameter of equalizer, audio signal filtering method and equalizer |
CN112954115A (en) * | 2021-03-16 | 2021-06-11 | 腾讯音乐娱乐科技(深圳)有限公司 | Volume adjusting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8073146B2 (en) | Audio test apparatus and test method thereof | |
FI122089B (en) | Calibration method and equipment for the audio system | |
CN101155438B (en) | Frequency response adaptive equalization method for audio device | |
US9210506B1 (en) | FFT bin based signal limiting | |
CN109473115B (en) | Digital audio signal volume equal loudness adjusting method | |
TWI503816B (en) | Adjusting the loudness of an audio signal with perceived spectral balance preservation | |
Ioannidou et al. | Effect of modulation depth, frequency, and intermittence on wind turbine noise annoyance | |
CN102857852B (en) | Method for processing playback array control signal of loudspeaker of sound-field quantitative regeneration control system | |
CN107018563B (en) | For the digital auto gain control method of narrow band signal after broadband system channelizing | |
CN102866296A (en) | Method and system for evaluating non-linear distortion, method and system for adjusting parameters | |
CN105657608A (en) | Audio signal frequency response compensation method and device | |
EP1841061A3 (en) | Gain control method and apparatus in receiver of wireless communication system | |
CN101751929B (en) | Sound processing method and device | |
CN105371945B (en) | Method and device for removing noise in hall impulse response measurement acoustic signal | |
EP1865598A3 (en) | Input-gain control apparatus and method | |
CN101349730B (en) | Method for setting signal source amplitude initial value in electromagnetic radiation sensitiveness automatic test | |
RU2012106341A (en) | DEVICE AND METHOD FOR OPTIMIZING STEREOPHONIC OR PSEUDOSTEREOFONIC AUDIO SIGNALS | |
WO2011129655A3 (en) | Method, apparatus, and program-containing medium for assessment of audio quality | |
CN106775558B (en) | Method and device for obtaining earphone optimization parameters and audio providing method and system | |
CN102270454A (en) | method and device for improving audio output | |
CN101404739A (en) | Method for improving television set sound field | |
CN105004798A (en) | Intelligent signal amplification apparatus and method for foundation piles ultrasonic testing equipment | |
EP1511358A3 (en) | Automatic sound field correction apparatus and computer program therefor | |
CN107465987A (en) | A kind of method of testing and its test system of interactive voice audio amplifier finished product pickup system | |
CN118413797A (en) | Abnormal sound detection method, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111207 |