CN105578272A - Audio gain automatic adjustment method and apparatus - Google Patents

Audio gain automatic adjustment method and apparatus Download PDF

Info

Publication number
CN105578272A
CN105578272A CN201510947940.6A CN201510947940A CN105578272A CN 105578272 A CN105578272 A CN 105578272A CN 201510947940 A CN201510947940 A CN 201510947940A CN 105578272 A CN105578272 A CN 105578272A
Authority
CN
China
Prior art keywords
audio signal
amplitude
audio
maximal
target input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510947940.6A
Other languages
Chinese (zh)
Other versions
CN105578272B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510947940.6A priority Critical patent/CN105578272B/en
Publication of CN105578272A publication Critical patent/CN105578272A/en
Application granted granted Critical
Publication of CN105578272B publication Critical patent/CN105578272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The embodiments of the invention provide an audio gain automatic adjustment method and apparatus. The method comprises the following steps: first of all, an audio gain curve and maximum audio amplitude of a reference channel are preset, then, audio data of audio signals are obtained through analyzing the audio signals after I2S coding, and maximum audio amplitude of an object input channel under a volume reference point is obtained through sampling and is compared to the read maximum audio amplitude of the reference channel under the volume reference point so that the audio gain of the object input channel is adjusted and the maximum audio gain of the object input channel is enabled to be the same as that of the reference channel. Therefore, the audio gain of different signal channels is adjusted according to the maximum audio gain of the reference channel, and the maximum audio amplitude of the audio signals subjected to the I2S coding is enabled to be the same, such that the phenomenon of abrupt change of output sound, caused by audio amplitude change due to different coding and decoding modes when the audio signals with the same amplitude is input to the different signal channels under the condition that a user inputs the same volume in the prior art is avoided.

Description

A kind of audio gain Automatic adjustment method and device
Technical field
The present invention relates to signal transacting field, particularly relate to a kind of audio gain Automatic adjustment method and device.
Background technology
At present, the audio frequency apparatuses such as TV, Set Top Box or high definition player are configured with TV interface, USB interface, HDMI (High Definition Multimedia Interface) (HDMI), USB interface etc. usually, and these signal source interfaces can receive dissimilar audio signal.In addition, the volume process block diagram of existing audio frequency apparatus as shown in Figure 1, when user inputs identical volume, the same magnitude audio signal of unlike signal passage is successively after audio decoder, audio frequency adjustment, I2S coding and power amplifier amplify, the amplitude exported is different, thus makes user experience output sound jumping phenomenon when switching channel.
For above-mentioned phenomenon, inventor analyzes discovery, the main cause of this phenomenon is that the audio signal received due to unlike signal source interface adopts different code encoding/decoding modes, different code encoding/decoding modes has again different sample rates etc., even if thus the amplitude of the audio signal causing the audio signal of same magnitude to export after different encoding and decoding is also different.When inputting the audio signal of same magnitude, due to same audio gain curve preset under different passage, therefore user input volume also same case time gain range identical, but because encoding and decoding can cause the difference of output audio signal amplitude, so user can experience loud speaker export sound have jumping phenomenon.And for this problem, existing volume adjusting method mainly user manually regulates the size of input volume, and then change the final volume exported, but the method operation is more loaded down with trivial details, and Consumer's Experience weak effect.
Summary of the invention
Embodiments of the invention provide a kind of audio gain Automatic adjustment method and device, in order to solve output sound mutation problems during different passage bridge.
For achieving the above object, embodiments providing a kind of audio gain Automatic adjustment method, comprising:
The audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point;
Based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point, to indicate the tone control gain regulating described target input channel audio signal.
Embodiments provide a kind of audio gain automatic regulating equipment, comprising:
Acquisition module, for the audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point;
Comparison module, for based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point.
Tone control, for regulating the gain of described target input channel audio signal according to comparative result.
The embodiment of the present invention additionally provides a kind of audio gain Automatic adjustment method, comprising:
Resolve the audio signal of the reference channel after I2S coding to obtain the maximal audio amplitude under volume reference point, and store described maximal audio amplitude;
Obtain the maximal audio amplitude of target input channel under described volume reference point, compare with the maximal audio amplitude of described reference channel under described volume reference point stored;
The tone control gain of described target input channel audio signal is regulated according to comparative result.
In order to overcome the deficiencies in the prior art, embodiments provide a kind of audio gain Automatic adjustment method and device, first the maximal audio amplitude under the audio gain curve of Pre-set reference passage and volume reference point, then by resolving to the audio signal after I2S coding the voice data obtaining audio signal, obtain the maximal audio amplitude of target input channel under volume reference point, and compare with the maximal audio amplitude of reference channel under read volume reference point, to regulate the audio gain of target input channel, and make the maximal audio gain of target input channel and the identical of reference channel.Therefore, according to the maximal audio gain-adjusted audio gain of reference channel under unlike signal passage, to make the maximal audio amplitude through the audio signal of I2S coding under volume reference point identical, so different passage is also identical according to the audio frequency signal amplitude of the audio gain input power amplifier after adjustment, therefore avoid under in prior art, user inputs identical volume, during the identical audio signal of unlike signal passage input range, audio amplitude is caused to change because code encoding/decoding mode is different, the maximal audio amplitude of the audio signal of such output also changes and causes output sound to occur jumping phenomenon.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the audio frequency process block diagram of existing electronic equipment;
The method flow schematic diagram that a kind of audio gain that Fig. 2 provides for the embodiment of the present invention one regulates automatically;
The apparatus structure schematic diagram that a kind of audio gain that Fig. 3 provides for the embodiment of the present invention two regulates automatically.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Consult Fig. 3, the audio signal of the unlike signal passage in TV is by each channel signal input module 101, tone control 104 is entered again after audio decoder module 102 is decoded, tone control 104 is searched corresponding audio frequency according to the volume that user's input module 103 inputs from preset audio gain curve and is increased, then, after it being encoded by sampling and I2S coding module 105, after power amplifier module 106 amplifies, loud speaker 107 is exported to.The present invention is on the basis of above-mentioned audio conditioning apparatus, add feedback device, comprise I2S analysis module 301, acquisition module 302, memory module 303 and comparison module 304, wherein, I2S analysis module 301 obtains voice data for carrying out parsing to the audio signal after I2S coding; Acquisition module 302 is for obtaining maximal audio amplitude and read the maximal audio amplitude of reference channel from memory module 303 according to voice data; Memory module 303 is for the maximal audio amplitude of stored reference passage; Comparative result for the maximal audio amplitude of target input channel and the maximal audio amplitude of reference channel being compared, and is fed back to tone control 104 by comparison module 304.The audio gain that tone control 104 will regulate according to comparative result on preset audio gain curve, after then audio signal regulates according to this audio gain, is transferred to loud speaker 107 after I2S coding module 105 and power amplifier amplification module 106.
Therefore, after increasing above-mentioned feedback device, audio gain adjusting device can make each channel audio signal regulate the audio gain of each passage respectively according to the preset audio gain curve of reference channel and maximal audio amplitude, identical with the maximal audio amplitude realized through the audio signal of I2S coding, also identical according to the audio frequency signal amplitude of the audio gain input power amplifier after adjustment under so different passage, therefore can avoid under in prior art, user inputs identical volume, during the identical audio signal of unlike signal passage input range, output audio signal amplitude is caused to change due to code encoding/decoding mode difference, the maximal audio amplitude of this output audio signal also changes and causes output sound to occur jumping phenomenon like this.
Embodiment one
The embodiment of the present invention one provides a kind of audio gain Automatic adjustment method, as shown in Figure 2, comprising:
Step 201, the audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point.
Concrete, before this step, first the audio gain curve of Pre-set reference passage in tone control, confirms that loud speaker power output reaches the performance number of expection.Then receive the input signal of reference channel, and input signal is decoded obtain the audio signal of reference channel, by the Signal transmissions after coding to tone control.Tone control regulates according to the preset gain of audio gain curve to decoded audio signal, then the audio signal after adjustment is sent to sampling and I2S coding module.With I2S protocol transmission to power amplifier module before, using I2Sclock as clock, I2S parsing is carried out to encoded audio signal, obtain digitized voice data, then the maximal audio amplitude of reference channel is obtained according to this voice data, and by this maximal audio amplitude stored in memory module EEPROM.
Example, according to the voice data of resolving the reference channel obtained, mode one can be adopted to obtain all maximal audio amplitudes of reference channel, namely with user's volume 0, 25, 50, 75, 100 is datum mark, gather the amplitude of voice data when user's volume is 0 in a period of time, by successively comparing the maximal audio amplitude obtained when user's volume is 0, and acquisition user volume is 25 successively, 50, 75, maximal audio amplitude when 100, then the relation curve of reference channel maximal audio amplitude and user's volume is drawn according to above 5 maximal audio amplitudes, and by this curve stored in memory module EEPROM.
Example, according to the voice data of resolving the reference channel obtained, mode two can also be adopted to obtain the maximal audio amplitude of reference channel, namely the amplitude of voice data when user's volume is 0 in a period of time is gathered, by successively comparing the maximal audio amplitude obtained when user's volume is 0, and maximal audio amplitude when to obtain user volume be successively 1 ~ 100, then by above-mentioned 101 maximal audio amplitudes stored in memory module EEPROM.
Concrete, in this step, the first input signal of receiving target input channel, and input signal is decoded obtain the audio signal of target input channel, by this audio signal transmission to tone control.Tone control regulates this audio signal according to preset audio gain curve, and by the audio signal transmission after adjustment to sampling and I2S coding module.Because electronic equipment has different signal sources, comprise simulated audio signal and digital audio and video signals, therefore needing to judge that target input channel inputs is digital audio and video signals or simulated audio signal, when target input channel input be simulated audio signal time, need through ADC conversion after carry out I2S coding; When input be digital audio and video signals time, directly will carry out I2S coding.Be no matter simulated audio signal or digital audio and video signals all will with I2S protocol transmission to power amplifier module before, using I2Sclock as clock, I2S parsing is carried out to the audio signal of the target input channel after coding, obtain digitized voice data, then the amplitude of the voice data of target input channel under volume reference point in a period of time is gathered, by successively comparing the maximal audio amplitude obtaining target input channel under volume reference point.
Step 202, based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point, to indicate the tone control gain regulating described target input channel audio signal.
Concrete, because audio gain during user's volume input different value is different, the maximal audio amplitude of audio signal output is also different thereupon, thus needs to compare under same subscriber volume.Therefore the present embodiment compares with reference to the maximal audio amplitude of passage and the maximal audio amplitude of target input channel under volume reference point.
Further, when employing mode one obtains the maximal audio amplitude of reference channel, if when volume reference point is 0,25,50,75,100, the maximal audio amplitude on the relation curve that directly can read stored reference channel maximal audio amplitude and user's volume corresponding to above-mentioned volume; Otherwise, with the maximal audio amplitude of immediate two datum marks of volume reference point on the relation curve needing first to read maximal audio amplitude and user's volume, maximal audio amplitude again corresponding to these two datum marks calculates the maximal audio amplitude of volume reference point, and with the maximal audio amplitude com parison of target input channel audio signal under volume reference point.Directly can also read the relation curve of reference channel maximal audio amplitude and the user's volume stored, then the maximal audio amplitude com parison of volume reference point that the maximal audio amplitude of target input channel under volume reference point and this curve are taken in.
Further, when employing mode two obtains the maximal audio amplitude of reference channel, then directly read the maximal audio amplitude under the volume reference point of reference channel, and with the maximal audio amplitude com parison under the volume reference point of target input channel.
Concrete, maximal audio amplitude under the reference channel volume reference point of the maximal audio amplitude under the target input channel volume reference point of acquisition and storage is compared, if the maximal audio amplitude of target input channel is greater than the maximal audio amplitude of reference channel, then reduce the gain of target input channel audio signal in tone control; If the maximal audio amplitude of target input channel is less than the maximal audio amplitude of reference channel, then increase the gain of target input channel audio signal in tone control, to make target input channel and the reference channel maximal audio amplitude under volume reference point identical, and then utilize the audio gain after regulating to regulate target input channel audio signal, then export after I2S coding and power amplifier amplify again successively.
Embodiments provide a kind of audio gain Automatic adjustment method, first according to the preset audio gain curve of reference channel, then the maximal audio amplitude of reference channel is obtained, and be stored in memory module EEPROM, obtain the maximal audio amplitude under target input channel volume reference point again, and compare with the maximal audio amplitude under reference channel volume reference point, the gain of audio signal in tone control of target input channel is regulated according to comparative result, identical with the maximal audio amplitude of the maximal audio amplitude with reference channel that make the target input channel under volume reference point.Therefore unlike signal passage can regulate audio gain according to the maximal audio amplitude of reference channel, to make the maximal audio amplitude of the audio signal through I2S coding identical, so different passage is identical according to the audio frequency signal amplitude of the audio gain input power amplifier after adjustment, therefore avoid under in prior art, user inputs identical volume, during the identical audio signal of unlike signal passage input range, cause audio amplitude to change because code encoding/decoding mode is different, the maximal audio amplitude of the audio signal exported so also changes and causes output sound to occur jumping phenomenon.
Embodiment two
The embodiment of the present invention two provides a kind of audio gain automatic regulating equipment, as shown in Figure 3, comprising:
Parsing module 301, for carrying out I2S parsing to the target input channel audio signal after I2S coding, obtains the voice data of the audio signal of described target input channel.
Acquisition module 302, for the audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point;
Memory module 303, for the maximal audio amplitude of stored reference passage;
Comparison module 304, for based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point;
Tone control 104, for regulating the gain of described target input channel audio signal according to comparative result.
Preferably, described acquisition module 302, also for:
Gather the amplitude of the voice data of the described reference channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing reference channel under described volume reference point one by one; And
Gather the amplitude of the voice data of the described target input channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing target input channel under described volume reference point one by one; And
The maximal audio amplitude of reference channel under described volume reference point is read from memory module.
Preferably, described tone control 104, specifically for:
If the maximal audio amplitude of described target input channel audio signal is greater than the maximal audio amplitude of described reference channel audio signal, then reduce the tone control gain of described target input channel audio signal;
If the maximal audio amplitude of described target input channel audio signal is less than the maximal audio amplitude of described reference channel audio signal, then increase the tone control gain of described target input channel audio signal.
Preferably, described parsing module, specifically for:
I2S parsing is carried out to the reference channel audio signal after I2S coding, obtains the voice data of the audio signal of described reference channel.
Preferably, described audio gain automatic regulating equipment, also comprises:
Each channel signal input module 101, for inputting the audio signal of reference channel and the same amplitude from the target input channel in unlike signal source;
Audio decoder module 102, carries out audio decoder respectively for the signal inputted by different passage, obtains the audio signal under each passage;
User's volume input module 103, for inputting user's volume;
Sampling and I2S coding module 105, for simulated audio signal is become digital audio and video signals through sample conversion, then carry out I2S coding; Digital audio and video signals is directly carried out I2S coding;
Power amplifier module 106, for outputting to loud speaker by after the amplification of the audio signal after adjustment;
Loud speaker 107, for output audio signal.
Particularly, first the audio gain curve of Pre-set reference passage in tone control 104, then, after the signal of reference channel is inputted by each channel signal input module 101, obtain audio signal through audio decoder module 102 decoding, and be transferred to tone control 104.Tone control 104 regulates described audio signal according to preset gain curve, and is transferred to sampling and I2S coding module 105.In sampling and I2S coding module 105, need to judge that described audio signal is digital audio and video signals or simulated audio signal, if simulated audio signal carries out I2S coding, again if digital audio and video signals then directly carries out I2S coding after then needing sampling.Audio signal after coding enters into I2S parsing module 301, is resolved the voice data obtaining described audio signal by I2S.
Example, the amplitude of voice data when acquisition module 302 can gather that in a period of time, user's volume is 0, by successively comparing the maximal audio amplitude obtained when user's volume is 0, and maximal audio amplitude when acquisition user volume is 25,50,75,100 successively, then the relation curve of reference channel maximal audio amplitude and user's volume is drawn according to above 5 maximal audio amplitudes, and by this curve stored in memory module EEPROM.
Example, the amplitude of voice data when acquisition module 302 also can gather that in a period of time, user's volume is 0, by successively comparing the maximal audio amplitude obtained when user's volume is 0, and maximal audio amplitude when to obtain user volume be successively 1 ~ 100, then by above-mentioned 101 maximal audio amplitudes stored in memory module EEPROM.
Further, the signal of target input channel is by after each channel signal input module 101 input, the same with the signal of reference channel, after audio decoder module 102, tone control 104, sampling and I2S coding module 105, I2S parsing module 301 and acquisition module 302, finally obtain the maximal audio amplitude under volume reference point.Then acquisition module 302 will read the maximal audio amplitude of reference channel under volume reference point from memory module 303, and compare with the maximal audio amplitude of target input channel under volume reference point in comparison module 304, if the maximal audio amplitude of target input channel is greater than the maximal audio amplitude of reference channel, then reduce the audio gain of target input channel; If the maximal audio amplitude of target input channel is less than the maximal audio amplitude of reference channel, then increase the audio gain of target input channel.Tone control 104 regulates according to the audio signal of audio gain to target input channel after adjustment.Audio signal after adjustment, exports through loud speaker 107 after power amplifier module 106 pairs of audio signals amplifications to power amplifier module 106 through sampling and the coded transmission of I2S coding module 105.
Embodiments provide a kind of audio gain automatic regulating equipment, first the audio gain curve of Pre-set reference passage in tone control 104, then acquisition module 302 first obtains the maximal audio amplitude of reference channel, and be stored in memory module EEPROM303, obtain the maximal audio amplitude under target input channel volume reference point again, and compare with the maximal audio amplitude under reference channel volume reference point in comparison module 304, tone control 104 can regulate the audio gain of target input channel according to comparative result, identical with the maximal audio amplitude of the maximal audio amplitude with reference channel that make the target input channel under volume reference point.Therefore unlike signal passage can regulate audio gain according to the maximal audio amplitude of reference channel, to make the maximal audio amplitude of the audio signal through I2S coding identical, so different passage is identical according to the audio frequency signal amplitude of the audio gain input power amplifier after adjustment, therefore avoid under in prior art, user inputs identical volume, during the identical audio signal of unlike signal passage input range, cause audio amplitude to change because code encoding/decoding mode is different, the maximal audio amplitude of the audio signal exported so also changes and causes output sound to occur jumping phenomenon.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various change and modification to the application and not depart from the spirit and scope of the application.Like this, if these amendments of the application and modification belong within the scope of the application's claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.

Claims (13)

1. an audio gain Automatic adjustment method, is characterized in that, comprising:
The audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point;
Based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point, to indicate the tone control gain regulating described target input channel audio signal.
2. method according to claim 1, is characterized in that, in the audio signal of described based target input channel, sampling obtained described audio signal before the maximal audio amplitude of volume reference point, also comprised:
I2S parsing is carried out to reference channel audio signal after I2S coding, obtains the voice data of described reference channel audio signal;
Gather the amplitude of the voice data of the described reference channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing reference channel under described volume reference point one by one;
Store the maximal audio amplitude of reference channel under described volume reference point.
3. method according to claim 1, is characterized in that, the audio signal of described based target input channel, and sampling obtains the maximal audio amplitude of described audio signal in volume reference point, specifically comprises:
I2S parsing is carried out to the target input channel audio signal after I2S coding, obtains the voice data of described target input channel audio signal;
Gather the amplitude of the voice data of the described target input channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing target input channel under described volume reference point one by one.
4. method according to claim 1, it is characterized in that, described based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point, with indicate regulate described target input channel audio signal tone control gain before, comprising:
The maximal audio amplitude of reference channel under described volume reference point is read from memory module.
5. volume automatic regulating method according to claim 1, it is characterized in that, described based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point, to indicate the tone control gain regulating described target input channel audio signal, specifically comprise:
The maximal audio amplitude of target input channel audio signal under volume reference point and the maximal audio amplitude of reference channel audio signal under described volume reference point are compared;
If the maximal audio amplitude of described target input channel audio signal is greater than the maximal audio amplitude of described reference channel audio signal, then reduce the tone control gain of described target input channel audio signal;
If the maximal audio amplitude of described target input channel audio signal is less than the maximal audio amplitude of described reference channel audio signal, then increase the tone control gain of described target input channel audio signal.
6. an audio gain automatic regulating equipment, is characterized in that, comprising:
Acquisition module, for the audio signal of based target input channel, sampling obtains the maximal audio amplitude of described audio signal in volume reference point;
Comparison module, for based on the maximal audio amplitude of described audio signal under described volume reference point obtained of sampling, with the maximal audio amplitude com parison result of Pre-set reference passage under described volume reference point;
Tone control, for regulating the gain of described target input channel audio signal according to comparative result.
7. device according to claim 6, is characterized in that, described acquisition module, specifically for:
Gather the amplitude of the voice data of the described reference channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing reference channel under described volume reference point one by one; And
Gather the amplitude of the voice data of the described target input channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing target input channel under described volume reference point one by one; And
The maximal audio amplitude of reference channel under described volume reference point is read from memory module.
8. device according to claim 6, is characterized in that, described tone control, specifically for:
If the maximal audio amplitude of described target input channel audio signal is greater than the maximal audio amplitude of described reference channel audio signal, then reduce the tone control gain of described target input channel audio signal;
If the maximal audio amplitude of described target input channel audio signal is less than the maximal audio amplitude of described reference channel audio signal, then increase the tone control gain of described target input channel audio signal.
9. device according to claim 6, is characterized in that, described apparatus for automatically regulating sound volume, also comprises:
Memory module, for the maximal audio amplitude of audio signal under volume reference point of stored reference passage;
I2S parsing module, for carrying out I2S parsing to the target input channel audio signal after I2S coding, obtains the voice data of the audio signal of described target input channel; And I2S parsing is carried out to the reference channel audio signal after I2S coding, obtain the voice data of the audio signal of described reference channel.
10. an audio gain Automatic adjustment method, is characterized in that, the method comprises:
Resolve the audio signal of the reference channel after I2S coding to obtain the maximal audio amplitude under volume reference point, and store described maximal audio amplitude;
Obtain the maximal audio amplitude of target input channel under described volume reference point, compare with the maximal audio amplitude of described reference channel under described volume reference point stored;
The tone control gain of described target input channel audio signal is regulated according to comparative result.
11. methods according to claim 10, is characterized in that, the audio signal of the reference channel of described parsing after I2S coding to obtain the maximal audio amplitude under volume reference point, and stores described maximal audio amplitude, specifically comprises:
I2S parsing is carried out to reference channel audio signal after I2S coding, obtains the voice data of described reference channel audio signal;
Gather the amplitude of the voice data of the described reference channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing reference channel under described volume reference point one by one;
Store the maximal audio amplitude of reference channel under described volume reference point.
12. methods according to claim 10, it is characterized in that, the maximal audio amplitude of described acquisition target input channel under described volume reference point, compares with the maximal audio amplitude of described reference channel under described volume reference point stored, specifically comprises:
I2S parsing is carried out to the target input channel audio signal after I2S coding, obtains the voice data of described target input channel audio signal;
Gather the amplitude of the voice data of the described target input channel audio signal in a period of time under volume reference point, and compare the maximal audio amplitude drawing target input channel under described volume reference point one by one;
Read the maximal audio amplitude of reference channel under described volume reference point described in memory module, and with the maximal audio amplitude com parison of described target input channel under described volume reference point.
13. methods according to claim 10, is characterized in that, the described tone control gain regulating described target input channel audio signal according to comparative result, specifically comprises:
If the maximal audio amplitude of described target input channel audio signal is greater than the maximal audio amplitude of described reference channel audio signal, then reduce the tone control gain of described target input channel audio signal;
If the maximal audio amplitude of described target input channel audio signal is less than the maximal audio amplitude of described reference channel audio signal, then increase the tone control gain of described target input channel audio signal.
CN201510947940.6A 2015-12-17 2015-12-17 A kind of audio gain Automatic adjustment method and device Active CN105578272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510947940.6A CN105578272B (en) 2015-12-17 2015-12-17 A kind of audio gain Automatic adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510947940.6A CN105578272B (en) 2015-12-17 2015-12-17 A kind of audio gain Automatic adjustment method and device

Publications (2)

Publication Number Publication Date
CN105578272A true CN105578272A (en) 2016-05-11
CN105578272B CN105578272B (en) 2019-06-18

Family

ID=55887860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510947940.6A Active CN105578272B (en) 2015-12-17 2015-12-17 A kind of audio gain Automatic adjustment method and device

Country Status (1)

Country Link
CN (1) CN105578272B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454646A (en) * 2016-08-13 2017-02-22 厦门傅里叶电子有限公司 Method for synchronizing left and right channels in audio frequency amplifier
CN107247574A (en) * 2017-07-17 2017-10-13 中科创达软件股份有限公司 A kind of audio output control method and device
CN107342092A (en) * 2017-05-08 2017-11-10 深圳市创锐实业有限公司 A kind of mixer system and method for automatic distribution gain
CN111767022A (en) * 2020-06-30 2020-10-13 成都极米科技股份有限公司 Audio adjusting method and device, electronic equipment and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716568A (en) * 2013-12-27 2014-04-09 乐视致新电子科技(天津)有限公司 Television volume adjustment method and system
CN103745734B (en) * 2014-01-02 2017-01-11 青岛海信电器股份有限公司 Device and method for setting sound curve
CN104410379B (en) * 2014-10-29 2019-05-14 深圳市金立通信设备有限公司 A kind of volume adjusting method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454646A (en) * 2016-08-13 2017-02-22 厦门傅里叶电子有限公司 Method for synchronizing left and right channels in audio frequency amplifier
CN107342092A (en) * 2017-05-08 2017-11-10 深圳市创锐实业有限公司 A kind of mixer system and method for automatic distribution gain
CN107342092B (en) * 2017-05-08 2020-09-08 深圳市创锐智汇科技有限公司 Audio mixing system and method for automatically distributing gain
CN107247574A (en) * 2017-07-17 2017-10-13 中科创达软件股份有限公司 A kind of audio output control method and device
CN111767022A (en) * 2020-06-30 2020-10-13 成都极米科技股份有限公司 Audio adjusting method and device, electronic equipment and computer readable storage medium
CN111767022B (en) * 2020-06-30 2023-08-08 成都极米科技股份有限公司 Audio adjusting method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105578272B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN203415228U (en) Audio decoder using program information element data
US10692511B2 (en) Decoding apparatus and method, and program
JP5457430B2 (en) Audio signal processing method and apparatus
CN105578272A (en) Audio gain automatic adjustment method and apparatus
CN109003617A (en) System and method for optimizing loudness and dynamic range between different playback apparatus
AU2014295217B2 (en) Audio processor for orientation-dependent processing
MX2020009581A (en) Methods and devices for encoding and/or decoding immersive audio signals.
CN104536718B (en) The method that different audio frequency apparatuses are led directly in MCVF multichannel voice frequency based on android
CN103716568A (en) Television volume adjustment method and system
US9900720B2 (en) Using single bitstream to produce tailored audio device mixes
CN103745734B (en) Device and method for setting sound curve
CN113297731A (en) Telemetering data channel multiplexing framing method and device
CN102098472A (en) Method for controlling audio output and digital device using the same
CN105553435A (en) Method and apparatus for presetting audio gain curve
CN105611203B (en) A kind of method, apparatus and receiving terminal for digital television adjusting TV programme volume
EP4136753B1 (en) Automated mixing of audio description
US10346126B2 (en) User preference selection for audio encoding
CN105227998A (en) The method and apparatus of balance Multi-audio-frequency volume
US11443753B2 (en) Audio stream dependency information
US20140214412A1 (en) Apparatus and method for processing voice signal
US20190297419A1 (en) Signature tuning filters
US10530319B2 (en) Volume-levelling processing
KR101392940B1 (en) Audio output apparatus and audio output method thereof
CN107615754B (en) Method for adjusting television volume and digital television equipment
CA3230363A1 (en) Method and apparatus for metadata-based dynamic processing of audio data

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
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder