CN110211552A - Audio-frequency processing method and device - Google Patents
Audio-frequency processing method and device Download PDFInfo
- Publication number
- CN110211552A CN110211552A CN201910431059.9A CN201910431059A CN110211552A CN 110211552 A CN110211552 A CN 110211552A CN 201910431059 A CN201910431059 A CN 201910431059A CN 110211552 A CN110211552 A CN 110211552A
- Authority
- CN
- China
- Prior art keywords
- audio
- frequency point
- gain
- amplitude
- audio signal
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000012545 processing Methods 0.000 claims abstract description 223
- 230000005236 sound signal Effects 0.000 claims abstract description 182
- 238000000034 method Methods 0.000 claims description 61
- 230000008569 process Effects 0.000 claims description 41
- 230000000694 effects Effects 0.000 claims description 29
- 230000011664 signaling Effects 0.000 claims description 17
- 238000005562 fading Methods 0.000 claims description 9
- 238000007781 pre-processing Methods 0.000 claims description 9
- 230000003321 amplification Effects 0.000 claims description 6
- 230000008901 benefit Effects 0.000 claims description 6
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 claims description 5
- 230000008859 change Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0008—Associated control or indicating means
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0091—Means for obtaining special acoustic effects
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/03—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2210/00—Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
- G10H2210/155—Musical effects
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
Abstract
The disclosure discloses a kind of audio-frequency processing method and device, comprising: to the audio signal of audio processing pending in audio processing chip, obtains the gain information that each frequency point audio is applicable in the audio processings at different levels of audio processing chip in audio signal;According to the initial magnitude of gain information and each frequency point audio, the super amplitude-frequency point audio in audio signal is determined;Being that each frequency point audio is corresponding in audio signal according to the initial magnitude of super amplitude-frequency point audio and corresponding gain information determines adjust gain, so that each frequency point audio is according to gain indicated by corresponding gain information and corresponding adjust gain, treated that amplitude is no more than amplitude threshold;Before carrying out audio processings at different levels to audio signal, each frequency point audio is pre-processed according to corresponding adjust gain.It realizes and dynamically determines adjust gain for audio signal, and audio signal is avoided to occur cutting top distortion in the audio processings at different levels of audio chip.
Description
Technical field
This disclosure relates to audio signal processing technique field, in particular to a kind of audio-frequency processing method and device.
Background technique
Audio processing chip is that integrated circuit is constituted.Due to the electronic component and circuit structure of integrated circuit itself
Limitation, thus in integrated circuit can by signal limited extent system, if the amplitude of signal in integrated circuits is more than
The allowed band of integrated circuit, i.e. amplitude threshold, then the signal cannot pass through, and its waveform can be reamed a part,
It just produces and cuts top distortion.To if amplitude of the audio signal in audio processing process is more than the width of audio processing chip
Threshold value is spent, can generate and cut top distortion.And cut the audio signal after the distortion of top to will lead to sound fuzzy, it is unintelligible, so that audio is believed
Number broadcast after sense of hearing it is bad, in turn result in poor user experience.
Therefore, it in the prior art because of the structure of audio processing chip itself, causes to believe by the audio of audio processing chip
Number lead to the problem of that cut top distortion urgently to be resolved.
Summary of the invention
In order to solve the problems, such as present in the relevant technologies, present disclose provides a kind of audio-frequency processing method and devices.
In a first aspect, a kind of audio-frequency processing method, which comprises
To the audio signal of audio processing pending in audio processing chip, each frequency point sound in the audio signal is obtained
The gain information that frequency is applicable in the audio processings at different levels of the audio processing chip;
According to the initial magnitude of the gain information and each frequency point audio, the super width in the audio signal is determined
Frequency point audio, the super amplitude-frequency point audio be in the audio signal according to gain process indicated by the gain information after, width
Value is more than the frequency point audio of the amplitude threshold of the audio processing chip;
It is the audio signal according to the initial magnitude of the super amplitude-frequency point audio and the corresponding gain information
In each frequency point audio is corresponding determines adjust gain so that each frequency point audio is signified according to the corresponding gain information
Show gain and the corresponding adjust gain treated that amplitude is no more than the amplitude threshold;
Before carrying out the audio processings at different levels to the audio signal, according to the corresponding adjust gain to described
Each frequency point audio is pre-processed.
Second aspect, a kind of apparatus for processing audio, described device include:
Gain information obtains module, is configured as: to the audio signal of audio processing pending in audio processing chip, obtaining
Take the gain information that each frequency point audio is applicable in the audio processings at different levels of the audio processing chip in the audio signal;
Super amplitude-frequency point audio determining module, is configured as: according to the gain information and each frequency point audio just
Beginning amplitude, determines the super amplitude-frequency point audio in the audio signal, the super amplitude-frequency point audio be in the audio signal according to
After gain process indicated by the gain information, amplitude is more than the frequency point audio of the amplitude threshold of the audio processing chip;
Adjust gain determining module, is configured as: according to the initial magnitude of the super amplitude-frequency point audio, corresponding institute
It states gain information and the amplitude threshold is the corresponding determining adjust gain of each frequency point audio in the audio signal, so that described
Each frequency point audio is according to gain indicated by the corresponding gain information and the corresponding adjust gain treated amplitude
No more than the amplitude threshold;
Preprocessing module is configured as: before carrying out the audio processings at different levels to the audio signal, according to pair
The adjust gain is answered to pre-process each frequency point audio.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By the initial magnitude and each frequency point audio according to frequency point audio each in audio signal in audio processing core
The gain information being applicable in the audio processings at different levels of piece come accordingly be audio signal determine adjust gain, with according to adjustment increase
Benefit is pre-processed before audio signal carries out audio processings at different levels.
On the one hand, it is ensured that audio signal does not exceed audio processing in the amplitude pre-processed after entering audio processings at different levels
The amplitude threshold of chip effectively avoids audio signal from occurring cutting top distortion in audio processing chip.
On the other hand, due to frequency that in the audio signal of each pending audio processings at different levels, audio signal is included
There is difference in point audio, and there is also differences for the amplitude of included frequency point audio.To, in the technical solution of the disclosure,
It is applicable in audio processings at different levels according to the initial magnitude of frequency point audio each in audio signal and each frequency point audio
Gain information realizes the actual conditions in conjunction with each audio signal, moves being accordingly that the audio signal determines adjust gain
Adjust gain is determined to state for each audio signal, to guarantee that identified adjust gain is suitable for the audio signal.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and in specification together principle for explaining the present invention.
Fig. 1 is a kind of flow chart of audio-frequency processing method shown according to an exemplary embodiment;
Fig. 2 is to carry out the schematic diagram of audio signal caching in application scenarios sound intermediate frequency processing chip;
Fig. 3 is the flow chart that audio processings at different levels are carried out in the audio processing chip of television set;
Fig. 4 is the flow chart for carrying out audio processing according to the technical solution of the disclosure for the scene in Fig. 3;
Fig. 5 is the flow chart of the step S110 of Fig. 1 corresponding embodiment in one embodiment;
Fig. 6 is the flow chart of the step S115 of Fig. 4 corresponding embodiment in one embodiment;
Fig. 7 is the flow chart of the step S130 of Fig. 1 corresponding embodiment in one embodiment;
Fig. 8 is the flow chart of the step S150 of Fig. 1 corresponding embodiment in one embodiment;
Fig. 9 is the flow chart of the audio-frequency processing method shown according to another embodiment;
Figure 10 is the flow chart for carrying out audio processing according to the technical solution in Fig. 9 in an application scenarios;
Figure 11 is the block diagram for implementing the apparatus for processing audio exemplified according to one;
Figure 12 is the block diagram of the apparatus for processing audio shown according to another embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail, these attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
The physical support of audio processing chip is integrated circuit.Structure (i.e. electronic circuit) of the integrated circuit due to itself
Limitation, in integrated circuit can by signal limited extent system, if the amplitude of signal in integrated circuits is more than
The allowed band of integrated circuit, i.e. amplitude threshold, then the signal cannot pass through, and its waveform can be reamed a part,
It just produces and cuts top distortion.Audio signal after cutting top distortion will lead to sound and obscure, unintelligible, so that after audio signal is broadcasted
Sense of hearing is bad.
In consideration of it, in order to avoid audio signal occurs cutting top mistake in the audio processing conducted in audio processing chip
Very, the technical solution of the disclosure is proposed.
Fig. 1 is a kind of flow chart of audio-frequency processing method shown according to an exemplary embodiment.The audio-frequency processing method
Terminal, such as TV, computer, music player etc. for being integrated with audio processing chip and audio processing may be implemented,
This is without specifically limiting.As shown in Figure 1, the audio-frequency processing method, may comprise steps of.
Step S110 obtains each in audio signal the audio signal of audio processing pending in audio processing chip
The gain information that frequency point audio is applicable in the audio processings at different levels of audio processing chip.
For the audio signal of audio processing pending in audio processing chip, can be upper the one of audio processing chip
Grade carries out the caching of audio signal, to input cached audio signal to audio processing chip to carry out at audios at different levels
Reason, the then audio signal that the upper level of audio processing chip is cached are the pending audio processing in audio processing chip
Audio signal;It is also possible to the cache module that the configuration in audio processing chip carries out audio signal caching, so that mould will be cached
Audio signal of the audio signal cached in block as pending audio processing.
In one embodiment, the space buffer for carrying out audio signal caching is configured in audio processing chip,
By the way that the audio signal buffered in the space buffer is input to corresponding progress audio processing in audio processing chip in turn
Module, and then realize audio processing and broadcasting to audio signal.As shown in Fig. 2, 8 buffer, i.e. b1-8 are set, from
And it is sequentially output buffer1- > 2- > 3- > 4- > 5- > 6- > 7- > 8- > 1 audio signal, carry out audio processing and audio processing
Broadcasting afterwards.In this embodiment, the audio signal that 512 samplings (sample) can be cached in each buffer, according to adopting
Sample rate (sample rate) is 48000sample/s calculating, and the audio signal in each buffer is exported from corresponding buffer
10.667ms is needed, so as to the output time using upper buffer sound intermediate frequency signal come according to the technical side of the disclosure
Case is that the audio signal in next buffer determines adjust gain, and corresponds to after exporting the buffer according to corresponding adjustment
Gain is pre-processed.
In audio processing chip, audio processings at different levels are set, in the technical solution of the disclosure, at signified audio
The processing that reason can make the amplitude of audio signal intermediate-frequeney point audio change, such as carry out the width of audio signal intermediate-frequeney point audio
Degree decaying or amplitude amplification.
In one embodiment, audio processing process shown in Fig. 3 is the audio processing chip in existing television set
Carry out audio processing process.
In the corresponding audio processing process of Fig. 3, it is slow that audio processing chip is configured with carry out audio signal as shown in Figure 2
The buffer deposited, thus, the audio signal output in each buffer is subjected to prescale processing and subsequent basis in turn
Audio effect processing and advanced audio effect processing.
For television set, television set is equipped with multiple signaling interfaces, such as ATV, DTV, HDMI, DMP, AV, user
Can with remote controler, television set touch screen or television set on key carry out the gating of signaling interface, thus, input sound
The audio signal of frequency processing chip is from the signal with the signaling interface gated.In a television set, due to from not
Amplitude difference with the audio of signaling interface is larger, therefore for the ease of being handled in audio processing chip, audio processing
Chip be in advance from unlike signal interface signal correspondence set initial adjust gain, for example, derive from ATV signal
The initial adjust gain that the audio signal of interface is set is initial to set from the audio signal of DTV signaling interface as 1dB
Adjust gain is 2dB.To accordingly be the audio signal system from the signaling interface according to corresponding initial adjust gain
One carries out amplitude adjustment, i.e. prescale processing in Fig. 3.Then basis is carried out to prescale treated audio signal again
Audio effect processing and advanced audio effect processing.Can it make during prescale processing, basic audio effect processing and advanced audio effect processing
The amplitude of audio signal intermediate-frequeney point audio changes, thus, by carrying out prescale processing, basic audio effect processing and advanced
Audio effect processing may result in amplitude threshold of the amplitude more than audio processing chip of audio signal intermediate-frequeney point audio, to generate
Cut top distortion.
Include the audio of at least one frequency in audio signal, the audio of frequency each in audio signal is referred to as a frequency
In other words point audio includes an at least frequency point audio in audio signal.Due in audio processing process at different levels, it is understood that there may be
It is the gain corresponded to according to frequency in setting audio processing process, such as during audio effect processing, thus, believe in conjunction with audio
Frequency point audio included in number and be gain information set by audio under each frequency in every level-one audio processing process,
The gain information that each frequency point audio is applicable in audio processings at different levels in audio signal is obtained to corresponding.The gain information refers to
Show that corresponding frequency point audio carries out the overall gain of amplitude change in audio processing process at different levels.
Step S130 determines the super amplitude-frequency in audio signal according to the initial magnitude of gain information and each frequency point audio
Point audio, super amplitude-frequency point audio be in audio signal according to gain process indicated by gain information after, amplitude is more than audio processing
The frequency point audio of the amplitude threshold of chip.
Before the initial magnitude of each frequency point audio, that is, frequency point audio carries out audio processings at different levels in carrying out audio chip
Amplitude.
To which the initial magnitude of the gain information according to corresponding to each frequency point audio and each frequency point audio can be true
Super amplitude-frequency point audio in audio signal, i.e., in the audio processings at different levels that audio processing chip is carried out, it may appear that slicing
The frequency point audio of distortion.Specifically, the super amplitude-frequency point audio in audio signal, i.e., in the audio signal, according to corresponding increasing
After gain indicated by beneficial information amplifies or decays, amplitude is more than the frequency point audio of the amplitude threshold of audio processing chip.
Step S150 is each frequency in audio signal according to the initial magnitude of super amplitude-frequency point audio and corresponding gain information
Point audio is corresponding to determine adjust gain, so that each frequency point audio is according to gain indicated by corresponding gain information and corresponding tune
Amplitude after whole gain process is no more than amplitude threshold.
Amplitude of the frequency point audio after carrying out audio processings at different levels depends on the initial magnitude and corresponding increasing of frequency point audio
Gain indicated by beneficial information, thus, it is the audio in conjunction with the initial magnitude of each super amplitude-frequency point audio, corresponding gain information
Signal determines adjust gain, and then guarantees that each frequency point audio is according to gain indicated by corresponding gain information in audio signal
It is no more than amplitude threshold with corresponding adjust gain treated amplitude.
The determination adjust gain carried out by audio signal, each frequency point audio determines adjustment as in the audio signal
Gain.Certainly, identified adjust gain can be 0dB, i.e., is not changed to the amplitude of the frequency point audio, can also be it
His adjust gain in addition to 0dB.Wherein for adjust gain determined by each frequency point audio can all it is identical, part is identical
Or be all different, herein without specifically limiting.
To carry out determining adjust gain for frequency point audio each in audio signal, setting for adjust gain can also be preset
Set pattern is then.For example, for the identical adjust gain of frequency point audio settings each in audio signal, or set in advance according to frequency band
Determine adjust gain to establish rules really then.
It establishes rules really then for setting gain according to frequency band in advance, for example, preset frequency band and be respectively as follows:
Low frequency :≤300Hz;Intermediate frequency: 300Hz~3000KHz;High frequency: > 3000KHz, adjust gain are established rules then for example really:
1, when existing in audio signal positioned at the super amplitude-frequency point audio of low frequency, then it will be located at the every of low frequency in audio signal
The adjust gain of one frequency point audio (or being only the super amplitude-frequency point audio for being located at low frequency) is set as identical;
2, when existing in audio signal positioned at the super amplitude-frequency point audio of intermediate frequency, then it will be located at the every of intermediate frequency in audio signal
The adjust gain of one frequency point audio (or being only the super amplitude-frequency point audio for being located at intermediate frequency) is set as identical;
3, when existing in audio signal positioned at the super amplitude-frequency point audio of high frequency, then it will be located at the every of low frequency in audio signal
The adjust gain of one frequency point audio (or being only the super amplitude-frequency point audio for being located at high frequency) is set as identical.
To the initial width of gain information and each frequency point audio corresponding to each frequency point audio in combining audio signal
Value, and the preset adjust gain of institute are established rules really, to determine adjust gain for each frequency point audio.According to above-mentioned tune
Whole gain is established rules then really, for example, in audio signal there are frequency be 250Hz super amplitude-frequency point audio when, then will be in audio signal
Be determined as positioned at the adjust gain of each frequency point audio (or super amplitude-frequency point audio positioned at low frequency) of low frequency it is identical, certainly,
The value of adjust gain still according to: each frequency point audio is according to gain indicated by corresponding gain information and corresponding adjust gain
Amplitude that treated is no more than amplitude threshold, this overall principle is determined.
Certainly, above is only illustrative examples, the limitation to disclosure use scope can not be considered, in other realities
It applies in example, the adjustment rule of other adjust gains can also be preset to combine the determination for being adjusted gain.
Step S170, before carrying out audio processings at different levels to audio signal, according to corresponding adjust gain to each frequency
Point audio is pre-processed.
In the technical solution of the disclosure, by being pre-processed according to identified adjust gain to audio signal,
To which the amplitude after audio processing process at different levels of the audio signal after pretreatment in audio processing chip is no more than audio
The amplitude threshold for handling chip, thus to avoid audio signal from occurring clipping distortion in audio processing chip.
The pretreatment carried out is to carry out range of decrease processing to corresponding frequency point audio according to corresponding adjust gain, from
And guarantees amplitude of the audio signal after the audio processings at different levels by audio processing chip in pretreatment after the range of decrease and do not surpass
The amplitude threshold of audio processing chip is crossed, so that audio signal be avoided to occur cutting top distortion in audio processing chip.
By being pre-processed according to identified adjust gain to audio signal, thus, it is ensured that in audio chip
The audio signal of pending audio processing does not exceed audio processing chip in the amplitude pre-processed after entering audio processings at different levels
Amplitude threshold, effectively avoid audio signal from occurring cutting top distortion in audio processing chip.
Since the frequency point audio that in the audio signal of each pending audio processings at different levels, audio signal is included exists
Difference, and there is also differences for the amplitude of included frequency point audio.To in the technical solution of the disclosure, by according to sound
Frequency signal enters before the audio processings at different levels of audio processing chip, in conjunction with the audio signal each frequency point audio in audio core
The initial magnitude of each frequency point audio in the gain information being applicable in the audio processings at different levels of piece and the frequency point audio, to correspond to
Ground is that the audio signal determines adjust gain, realizes and dynamically determines adjust gain for each audio signal, come accordingly by
Audio signal is pre-processed according to identified adjust gain, and then audio signal is avoided to occur cutting top mistake in audio chip
Very.
For the audio processing process that audio chip corresponding to Fig. 3 is carried out, then according to the technology of Fig. 1 corresponding embodiment
Scheme, in order to avoid in the process for the audio processing that top distortion occurs cutting in audio processing chip and carries out as shown in figure 4, i.e. in sound
Before frequency signal exports buffer later and carries out presale processing, according to identified adjust gain to every in audio signal
One frequency point audio is pre-processed.And the pretreatment carried out can be and carry out outside audio processing chip, be also possible in sound
It is carried out in frequency processing chip, herein without specifically limiting.
In one embodiment, audio processings at different levels include initial audio processing and audio effect processing, as shown in figure 5, step
S110, comprising:
Step S111, according to the signaling interface in audio signal institute source, obtaining audio processing chip is to connect from signal
Initial adjust gain set by the signal of mouth.And
Step S113 is retrieved as carrying out audio to play in selected accordatura effect mode being audio set by each frequency point audio
Gain.
Step S115 obtains each frequency point according to audio gain corresponding to initial adjust gain and each frequency point audio
The gain information that audio is applicable in audio processings at different levels.
In the technical scheme of this embodiment, audio processing chip can be to the audio signal in source and unlike signal interface
It carries out initial audio processing and audio processing chip and also corresponds to the module for being integrated with and carrying out audio effect processing, such as figure 3 above institute
Audio processing chip in corresponding television set.
For determining the signaling interface in audio signal institute source, can determine by the operation of user, such as user is logical
The controllable devices such as remote control panel, the touch panel of terminal, the key laid in terminal are crossed to connect to carry out the signal of selection gating
Mouthful, thus, the selected signaling interface gated of the signaling interface, that is, user in audio signal institute source.To accordingly obtain audio
Chip is handled as initial adjust gain set by the signal from the signaling interface.
It is that initial adjust gain set by the audio of different frequency can be with for the signal for deriving from a certain signaling interface
Identical (such as Fig. 3 correspond to precale processing), be also possible to it is different, herein without specifically limiting.
Meanwhile in audio processing chip, a variety of audio modes are preset and have been selected for user, so that audio is presented when playing
Selected audio mode.The realization of audio mode is the yield value by adjusting each frequency band audio to which corresponding sound be presented
Effect.
In the prior art, by the equalizer in audio processing chip, so that audio mode is selected by user, or
Person is by the customized audio mode of user oneself, so that different audios be presented.For example set standard of audio mode, film,
Music, news etc. are further segmented, such as standard, rock and roll, prevalence, stage, allusion, soft etc..In a particular embodiment,
It can be with the corresponding setting audio gain of frequency point audio that user is each frequency, to realize customized audio mode.
To be to carry out the selected audio mode of audio broadcasting accordingly to obtain audio processing chip at this according to user
It is the corresponding gain set of each frequency point audio in audio signal, i.e. the audio gain of the frequency point audio in audio mode.Into
And according to acquired initial adjust gain and acquired audio gain, it can be obtained each frequency point audio in audios at different levels
Processing, i.e. initial audio processing and audio effect processing, middle be applicable in gain information.
It for example, is each frequency point sound in the audio signal of ATV signaling interface in initial audio processing stage
Initial adjust gain set by frequency is 1dB.User is that audio plays in selected a certain audio mode: for the frequency point of 50Hz
Audio gain set by audio is -10dB, be audio gain set by the frequency point audio of 200Hz is -6dB, for 1KHz's
Audio gain set by frequency point audio is 6dB, be audio gain set by the frequency point audio of 3KHz is 9dB, for 14KHz's
Audio gain set by frequency point audio is 3dB.It wherein, include frequency in the audio signal of pending audio audio effect processing at different levels
Respectively five kinds of frequency point audios of 60Hz, 100Hz, 200Hz, 500Hz, 1KHz.To corresponding to obtain each frequency in audio signal
Overall gain of the point audio in initial audio processing and audio effect processing is as shown in the table (wherein, for the frequency point in audio signal
Audio is defaulted as in audio effect processing not if being not the frequency point audio settings audio gain in audio mode to the frequency
The amplitude of point audio is converted, i.e. default audio gain is 0dB):
Overall gain of each frequency point audio in initial audio processing and audio effect processing is in audio signal be calculated
As gain information of each frequency point audio in audio processings at different levels.
In one embodiment, audio mode includes basic audio mode and advanced audio mode, as shown in fig. 6, step
S115, comprising:
Step S210 plays selected basic audio mode and selected advanced audio mould according to carry out audio
Formula, obtaining in basic audio mode is the first gain set by each frequency point audio, and obtains in advanced audio mode and be
Second gain set by each frequency point audio.
Each frequency is calculated according to the first gain corresponding to each frequency point audio and corresponding second gain in step S230
Audio gain corresponding to point audio.
The requirement of the effect played for audio with user is higher and higher, more audio modes occurs, for example, Du
It is distinguished than panorama sound (Dolby Atmos, ATMOS), digital cinema system (Digital Theatre System, DTS) etc.
The audio mode of audio is constructed in balanced device.The audio mode realized by balanced device is known as basic audio mode, and
The other audio modes being different from outside the audio mode that balanced device is realized are known as advanced audio mode, wherein basic audio mould
Formula and advanced audio mode can be selected simultaneously, i.e., select a basic audio mode and an advanced audio mode simultaneously, when
So, a basic audio mode or an advanced audio mode can also only be selected.
The audio mode carried out is selected, can be and is voluntarily selected as needed by user, can also be integrated with
It is set in advance in the terminal of audio chip, herein without specifically limiting.
Similar with basic audio mode, in advanced audio mode, there is also right in each advanced audio mode
It should be the frequency point audio settings yield value of assigned frequency.It will be frequency point audio each in audio signal institute in basic audio mode
The yield value of setting is known as the first gain, will be increasing set by each frequency point audio in audio signal in advanced audio mode
Benefit value is known as the second gain.To play selected basic audio mode and advanced audio mode pair according to carry out audio
The first gain and the second gain of each frequency point audio in audio signal should be obtained, and in turn according to corresponding to each frequency point audio
The first gain and corresponding second gain the audio gain of each frequency point audio is calculated.Such as unit of gain is by dB
When, the first gain of frequency point audio is added the audio gain for obtaining the frequency point audio with the second gain.
In one embodiment, one be integrated in the television set of audio processing chip, for basic audio mode, for
Family provides alternative standard, film, music and four kinds of news basic audio modes, and corresponding provide adjusts rotation
Button carries out customized basic audio mode for user, wherein can support to use in the adjusting knob that assigned frequency point is configured
Family is adjusted within the scope of -10dB~10dB, wherein adjusting knob can support 5 ends (5 options), 7 ends, 9 ends adjust in one
Kind.For advanced audio mode, DTS audio mode and/or ATMOS audio mode are constructed in advance, and selection switch is provided and is supplied
User chooses whether to open DTS audio mode or ATMOS audio mode.
Certainly, in other embodiments, in the terminal for being integrated with audio processing chip, more bases can also be provided
Audio mode and advanced audio mode select for user, or otherwise carries out basic audio mode and advanced sound
Effect mode is selected, herein without specifically limiting.
In one embodiment, as shown in fig. 7, step S130, comprising:
Step S131 calculates each frequency point audio according to corresponding gain information according to the initial magnitude of each frequency point audio
First amplitude after indicated gain process.
The frequency point audio that first amplitude corresponding in audio signal is more than amplitude threshold is determined as super amplitude-frequency by step S135
Point audio.
So far, by calculating the first amplitude of each frequency point audio in audio signal, and the first amplitude that will be calculated
It is compared with the amplitude threshold of audio processing chip, that is, can determine the super amplitude-frequency point audio in audio signal.
In one embodiment, as shown in figure 8, step S150, comprising:
Step S151 determines the maximum value in first amplitude according to first amplitude corresponding to each super amplitude-frequency point audio
For reference amplitude.
Step S153 is that each frequency point audio determines identical adjust gain according to reference amplitude and amplitude threshold.
In this embodiment, be for adjust gain determined by each frequency point audio in audio signal it is identical, that is to say
It says, it is equal to each frequency point audio in audio signal according to identified adjust gain when being pre-processed to audio signal
Range of decrease processing is carried out according to adjust gain, it is each in audio signal to guarantee after passing through pretreatment and audio processings at different levels
The amplitude of frequency point audio is no more than the amplitude threshold of audio processing chip.
It is then desired to be integrated in the first amplitude being calculated by frequency point audio each in audio chip
Maximum value determine adjust gain as reference amplitude, thus, as long as identified adjust gain keeps first amplitude maximum
Frequency point audio, which meets, is no more than amplitude threshold with the amplitude after audio processings at different levels by pre-processing, then other in audio signal
Frequency point audio is not more than amplitude threshold with the amplitude after audio processings at different levels by pre-processing.
In another embodiment, step S150, comprising:
It is that corresponding super amplitude-frequency point audio determines adjust gain according to first amplitude corresponding to each super amplitude-frequency point audio;With
And
The adjust gain of other frequency point audios in audio signal in addition to super amplitude-frequency point audio is determined as 0dB.
In this embodiment, the adjust gain of other frequency point audios in audio signal in addition to super amplitude-frequency point is determined as
0dB, and the first amplitude according to corresponding to super amplitude-frequency point audio corresponds to each super amplitude-frequency point audio and determines adjust gain.Namely
To say, amplitude actually occurs variation, i.e. amplitude fading in pretreatment stage, audio signal, frequency point audio be only super width
Frequency point audio, and other frequency point audios in audio signal in addition to super amplitude-frequency point audio pretreatment stage amplitude actually not
It changes.
By only making the amplitude of the super amplitude-frequency point audio in audio signal change in pretreatment stage, and keep audio
The amplitude of other audios in signal in addition to super amplitude-frequency point is remained unchanged in pretreatment stage, thus, it avoids in preprocessing process
The amplitude of non-super amplitude-frequency point audio in middle change audio signal, and then reduce because the pretreatment carried out brings audio signal
Inessential change.
In one embodiment, adjust gain is used to carry out amplitude fading to corresponding frequency point audio, as shown in figure 9, audio
Processing method further include:
Step S180 is each frequency according to initial magnitude, corresponding gain information and the amplitude threshold of super amplitude-frequency point audio
Point audio determines compensating gain, and compensating gain is used to carry out amplitude amplification to corresponding frequency point audio, so that each frequency point audio
According to gain indicated by corresponding gain information, corresponding adjust gain and corresponding compensating gain, treated that amplitude is no more than
Amplitude threshold.
In this embodiment, after step S170, audio-frequency processing method further include:
Step S190 carries out each frequency point audio according to corresponding compensating gain after completing audio processings at different levels
Compensation deals.
It is removed generally when determining adjust gain in order to avoid carrying out excessive attenuation to amplitude of the pretreatment to audio signal
Using frequency point audio pre-process and audio chip in audio processings at different levels after amplitude be no more than amplitude threshold and come as principle
It determines outside adjust gain, the also specific width limited when audio signal exports audio chip after the processing at different levels by audio chip
Amplitude when being worth, such as limiting output audio chip is not less than third amplitude threshold, and (certainly, third amplitude threshold is less than amplitude threshold
Value), to avoid in audio signal that each frequency point audio amplitude fading in pretreatment is excessive, cause the excessive tune of audio signal
It is whole.
In other words, be the equal of define the alternative range of adjust gain, thus, if the range limit it is too small,
And in practice, even if theoretically according to the initial magnitude of audio signal intermediate-frequeney point audio, corresponding adjust gain and corresponding increasing
Amplitude after gain process indicated by beneficial information is no more than amplitude threshold, due to the influence of other situations, it is also possible to lead to audio
Signal occurs cutting top distortion in the audio processings at different levels of audio processing chip in reality.Thus, in this case, it can adopt
With the technical solution of the present embodiment, by setting compensating gain, so as to widen the alternative range of adjust gain, such as
Adjust gain determined by making increases the degree of amplitude fading in preprocessing process, to avoid in audio processing process at different levels
Because occurring the case where cutting top distortion caused by other situations, then by set compensating gain, then audio chip will be passed through
Audio signal after audio processings at different levels is amplified according to compensating gain, thus when guaranteeing that audio signal exports audio chip
Amplitude be not less than third amplitude threshold, and without departing from the amplitude threshold of audio chip.
By determining adjust gain and compensating gain respectively for frequency point audio each in audio signal, and according to adjust gain
Amplitude fading is carried out to corresponding frequency point audio in preprocessing process, and it is right during compensation deals according to compensating gain
Corresponding frequency point audio carries out amplitude amplification, thus, realize the fault-tolerance improved in audio processing process.It is specific and
Speech, on the one hand, can by compensating processing according to identified compensating gain, thus in pretreatment amplitude fading compared with
Big frequency point audio carries out Amplitude Compensation, i.e. amplitude is amplified, so that the determination for adjust gain provides bigger selection section;
On the other hand, the amplitude of non-super amplitude-frequency point audio in audio signal is made to decay due to that may exist in pretreatment stage,
It is thus possible to by carrying out Amplitude Compensation in the compensation deals stage for the non-super amplitude-frequency point audio, to compensate in pretreatment stage
The amplitude fading that non-super amplitude-frequency point audio is carried out.
For the audio processing process that audio chip corresponding to Fig. 3 is carried out, then according to the technology of Fig. 9 corresponding embodiment
The process of scheme, the audio processing that audio processing chip is carried out is as shown in Figure 10, i.e., before carrying out presale processing, presses
Frequency point audio each in audio signal is pre-processed according to identified adjust gain, completes audio processings at different levels, i.e., it is complete
After advanced audio effect processing, processing is compensated to audio signal according to identified compensating gain, it then again will be at compensation
Audio signal after reason carries out audio broadcasting by loudspeaker.
In one embodiment, step S150, comprising:
According to the initial magnitude of super amplitude-frequency point audio, the second amplitude threshold of corresponding gain information and audio processing chip
The adjust gain of each frequency point audio is determined, so that each frequency point audio is according to corresponding adjust gain and corresponding gain information
Amplitude after indicated gain process is no more than the second amplitude threshold, and the second amplitude threshold is less than amplitude threshold.
In this embodiment, by being less than the second amplitude threshold of amplitude threshold for audio processing chip setting come for audio
Each frequency point audio in signal determines adjust gain, thus, convenient for being adjusted separately the determination of gain and compensating gain, and
And it can guarantee pre-processed according to identified adjust gain, the instruction gain of corresponding gain information and determining correspondence
Compensating gain compensate processing after, the amplitude of each frequency point audio is no more than the amplitude threshold of audio processing chip.
In one embodiment, the compensating gain for the frequency point audio that adjust gain in institute's audio signal is 0dB is determined as
0dB。
In this embodiment, during compensation deals it is practical only in preprocessing process amplitude actually occur change
Frequency point audio carries out amplitude amplification.To avoid in compensation deals to the frequency point audio for not needing to compensate in audio signal
Amplitude amplification.
Following is embodiment of the present disclosure, can be used for executing at the audio that the above-mentioned audio-frequency playing terminal of the disclosure executes
Manage embodiment of the method.For those undisclosed details in the apparatus embodiments, the implementation of disclosure audio-frequency processing method is please referred to
Example.
Figure 11 is a kind of block diagram of apparatus for processing audio shown according to an exemplary embodiment, which matches
It is placed in the terminal for being integrated with audio processing chip, executes all or part of step of audio-frequency processing method shown in any of the above
Suddenly.As shown in figure 11, which includes but is not limited to:
Gain information obtains module 110, is configured as: believing the audio of audio processing pending in audio processing chip
Number, obtain the gain information that each frequency point audio is applicable in the audio processings at different levels of audio processing chip in audio signal.
Super amplitude-frequency point audio determining module 130, is configured as: according to the initial width of gain information and each frequency point audio
Value, determines that the super amplitude-frequency point audio in audio signal, super amplitude-frequency point audio are in audio signal according to increasing indicated by gain information
After benefit reason, amplitude is more than the frequency point audio of the amplitude threshold of audio processing chip.
Adjust gain determining module 150, is configured as: being believed according to the initial magnitude of super amplitude-frequency point audio and corresponding gain
Breath, which is that each frequency point audio is corresponding in audio signal, determines adjust gain, so that each frequency point audio is according to corresponding gain information
Indicated gain and corresponding adjust gain treated amplitude are no more than amplitude threshold.
Preprocessing module 170, is configured as: before carrying out audio processings at different levels to audio signal, according to corresponding tune
Whole gain pre-processes each frequency point audio.
The function of modules and the realization process of effect are specifically detailed in right in above-mentioned audio-frequency processing method in above-mentioned apparatus
The realization process of step is answered, details are not described herein.
It is appreciated that these modules can by hardware, software, or a combination of both realize.When realizing in hardware
When, these modules may be embodied as one or more hardware modules, such as one or more specific integrated circuits.When with software side
When formula is realized, these modules may be embodied as the one or more computer programs executed on the one or more processors, example
Such as the program stored in memory performed by the processor of audio processing chip.
In one embodiment, audio processings at different levels include initial audio processing and audio effect processing, and gain information obtains module
110, comprising:
Initial adjust gain acquiring unit, is configured as: according to the signaling interface in audio signal institute source, obtaining at audio
Chip is managed as initial adjust gain set by the signal from signaling interface.And
Audio gain acquiring unit, is configured as: being retrieved as carrying out audio to play in selected accordatura effect mode being each frequency
Audio gain set by point audio.
Gain information acquiring unit, is configured as: according to audio corresponding to initial adjust gain and each frequency point audio
Gain obtains the gain information that each frequency point audio is applicable in audio processings at different levels.
In one embodiment, audio mode includes basic audio mode and advanced audio mode, audio gain acquiring unit,
Include:
Gain acquiring unit, is configured as: playing selected basic audio mode according to carry out audio and is selected
Advanced audio mode, obtaining in basic audio mode is the first gain set by each frequency point audio, and is obtained advanced
It is the second gain set by each frequency point audio in audio mode.
Audio gain calculating unit, is configured as: according to the first gain corresponding to each frequency point audio and corresponding second
Audio gain corresponding to each frequency point audio is calculated in gain.
In one embodiment, super amplitude-frequency point audio determining module 130, comprising:
First amplitude computing unit, is configured as: calculating each frequency point audio according to the initial magnitude of each frequency point audio
According to the first amplitude after gain process indicated by corresponding gain information.
Super amplitude-frequency point audio determination unit, is configured as: being more than amplitude threshold by first amplitude corresponding in audio signal
Frequency point audio be determined as super amplitude-frequency point audio.
In one embodiment, adjust gain determining module 150, comprising:
Reference amplitude determination unit, is configured as: according to first amplitude corresponding to each super amplitude-frequency point audio, by the first width
Maximum value in value is determined as reference amplitude.
Adjust gain determination unit, is configured as: being that each frequency point audio determines phase according to reference amplitude and amplitude threshold
Same adjust gain.
In another embodiment, adjust gain determining module 150, comprising:
The first adjustment gain determination unit, is configured as: being institute according to first amplitude corresponding to each super amplitude-frequency point audio
Corresponding super amplitude-frequency point audio determines adjust gain.And
Second adjustment gain determination unit, is configured as: by other frequency points in audio signal in addition to super amplitude-frequency point audio
The adjust gain of audio is determined as 0dB.
In one embodiment, adjust gain is used to carry out amplitude fading to corresponding frequency point audio, and apparatus for processing audio is also
Include:
Compensating gain determining module, is configured as: according to the initial magnitude of super amplitude-frequency point audio, corresponding gain information and
Second amplitude threshold of audio processing chip determines the adjust gain of each frequency point audio so that each frequency point audio according to pair
Amplitude after answering gain process indicated by adjust gain and corresponding gain information is no more than the second amplitude threshold, the second amplitude threshold
Value is less than amplitude threshold.
In this embodiment, apparatus for processing audio further include:
Compensation deals module, is configured as: after completing audio processings at different levels, according to corresponding compensating gain to each
Frequency point audio compensates processing.
In one embodiment, adjust gain determining module 150, comprising:
Third adjust gain determination unit, is configured as: being believed according to the initial magnitude of super amplitude-frequency point audio, corresponding gain
Second amplitude threshold of breath and audio processing chip determines the adjust gain of each frequency point audio so that each frequency point audio according to
Amplitude after gain process indicated by corresponding adjust gain and corresponding gain information is no more than the second amplitude threshold, the second width
It spends threshold value and is less than amplitude threshold.
In one embodiment, the compensating gain for the frequency point audio that adjust gain in institute's audio signal is 0dB is determined as
0dB。
Modules/unit function and the realization process of effect are specifically detailed in above-mentioned audio-frequency processing method in above-mentioned apparatus
The realization process of middle corresponding step, details are not described herein.
Optionally, the disclosure also provides a kind of apparatus for processing audio, which can be used for being integrated with audio
In the terminal for handling chip, all or part of step of audio-frequency processing method shown in any of the above is executed.As shown in figure 12,
Apparatus for processing audio includes but is not limited to: processor 1001 and memory 1002.
Wherein, computer-readable instruction is stored on memory 1002, computer-readable instruction is executed by processor 1001
The method of any one of Shi Shixian above method implementation.
Wherein, the method in any of the above embodiment is realized when executable instruction is executed by processor 1001.It can wherein hold
Row instruction is such as computer-readable instruction, and when processor 1001 executes, processor between memory by being connect
Communication line/bus 1003 reads the computer-readable instruction being stored in memory.
Processor in the embodiment executes the concrete mode of operation in the embodiment in relation to the audio-frequency processing method
In be described in detail, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium,
It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.Computer program is stored thereon with,
The method of any of the above embodiment of the method is realized when computer program is executed by processor.The storage medium for example including but it is unlimited
In the memory of instruction, above-metioned instruction can be executed by processor to complete above-mentioned audio-frequency processing method.
Processor in the embodiment executes the concrete mode of operation in the embodiment in relation to the audio-frequency processing method
In be described in detail, no detailed explanation will be given here.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of audio-frequency processing method, which is characterized in that the described method includes:
For the audio signal of audio processing pending in audio processing chip, each frequency point audio in the audio signal is obtained
In the gain information that the audio processings at different levels of the audio processing chip are applicable in;
According to the initial magnitude of the gain information and each frequency point audio, the super amplitude-frequency point in the audio signal is determined
Audio, the super amplitude-frequency point audio be in the audio signal according to gain process indicated by the gain information after, amplitude is super
Cross the frequency point audio of the amplitude threshold of the audio processing chip;
It is every in the audio signal according to the initial magnitude of the super amplitude-frequency point audio and the corresponding gain information
One frequency point audio is corresponding to determine adjust gain, so that each frequency point audio increases according to indicated by the corresponding gain information
The beneficial and corresponding adjust gain treated amplitude is no more than the amplitude threshold;
Before carrying out the audio processings at different levels to the audio signal, according to the corresponding adjust gain to described each
Frequency point audio is pre-processed.
2. the method according to claim 1, wherein the audio processing at different levels includes initial audio processing and sound
Effect processing, the audio signal to audio processing pending in audio processing chip obtain each frequency in the audio signal
The gain information that point audio is applicable in the audio processings at different levels of the audio processing chip, comprising:
According to the signaling interface in audio signal institute source, obtaining the audio processing chip is from the signaling interface
Signal set by initial adjust gain;And
It is retrieved as carrying out audio to play in selected accordatura effect mode being audio gain set by each frequency point audio;
According to the audio gain corresponding to the initial adjust gain and each frequency point audio, each frequency point sound is obtained
The gain information that frequency is applicable in the audio processings at different levels.
3. according to the method described in claim 2, it is characterized in that, the audio mode includes basic audio mode and advanced sound
Effect mode, it is described to be retrieved as carrying out audio to play in selected accordatura effect mode being that audio set by each frequency point audio increases
Benefit, comprising:
Selected basic audio mode and selected advanced audio mode are played according to carry out audio, obtains the basis
It is the first gain set by each frequency point audio in audio mode, and it is described for obtaining in the advanced audio mode
Second gain set by each frequency point audio;
It is calculated according to first gain corresponding to each frequency point audio and corresponding second gain described every
The audio gain corresponding to one frequency point audio.
4. the method according to claim 1, wherein described according to the gain information and each frequency point sound
The initial magnitude of frequency determines the super amplitude-frequency point audio in the audio signal, comprising:
Each frequency point audio is calculated according to the corresponding gain information according to the initial magnitude of each frequency point audio
First amplitude after indicated gain process;
The frequency point audio that first amplitude corresponding in the audio signal is more than the amplitude threshold is determined as super amplitude-frequency point sound
Frequently.
5. according to the method described in claim 4, it is characterized in that, the initial width according to the overclocking frequency point audio
Value, which is that each frequency point audio is corresponding in the audio signal with the corresponding gain information, determines adjust gain, comprising:
According to the first amplitude corresponding to each super amplitude-frequency point audio, the maximum value in the first amplitude is determined as
Reference amplitude;
It is that each frequency point audio determines identical adjust gain according to the reference amplitude and the amplitude threshold.
6. according to the method described in claim 4, it is characterized in that, the initial width according to the super amplitude-frequency point audio
Value, which is that each frequency point audio is corresponding in the audio signal with the corresponding gain information, determines adjust gain, comprising:
It is that the corresponding super amplitude-frequency point audio determines that adjustment increases according to first amplitude corresponding to each super amplitude-frequency point audio
Benefit;And
The adjust gain of other frequency point audios in the audio signal in addition to super amplitude-frequency point audio is determined as 0dB.
7. the method according to claim 1, wherein the adjust gain is used to carry out corresponding frequency point audio
Amplitude fading, the method also includes:
The initial magnitude, the corresponding gain information and the amplitude threshold according to the super amplitude-frequency point audio are described
Each frequency point audio determines compensating gain, and the compensating gain is used to carry out amplitude amplification to corresponding frequency point audio, so that institute
Each frequency point audio is stated according to gain indicated by the corresponding gain information, the corresponding adjust gain and corresponding described
Compensating gain treated amplitude is no more than the amplitude threshold;
It is described before carrying out the audio processings at different levels to the audio signal, according to the corresponding adjust gain to described
After each frequency point audio is pre-processed, the method also includes:
After completing the audio processings at different levels, each frequency point audio is mended according to the corresponding compensating gain
Repay processing.
8. the method according to the description of claim 7 is characterized in that the initial width according to the super amplitude-frequency point audio
Value and the corresponding gain information are that the audio signal determines adjust gain, comprising:
According to the initial magnitude of the super amplitude-frequency point audio, the corresponding gain information and the audio processing chip
Second amplitude threshold determines the adjust gain of each frequency point audio, so that each frequency point audio is according to corresponding described
Amplitude after gain process indicated by adjust gain and the corresponding gain information is no more than second amplitude threshold, described
Second amplitude threshold is less than the amplitude threshold.
9. the method according to the description of claim 7 is characterized in that the frequency point sound for being 0dB by adjust gain in institute's audio signal
The compensating gain of frequency is determined as 0dB.
10. a kind of apparatus for processing audio, which is characterized in that described device includes:
Gain information obtains module, is configured as: to the audio signal of audio processing pending in audio processing chip, obtaining institute
State the gain information that each frequency point audio is applicable in the audio processings at different levels of the audio processing chip in audio signal;
Super amplitude-frequency point audio determining module, is configured as: according to the initial width of the gain information and each frequency point audio
Value, determines the super amplitude-frequency point audio in the audio signal, the super amplitude-frequency point audio is in the audio signal according to described
After gain process indicated by gain information, amplitude is more than the frequency point audio of the amplitude threshold of the audio processing chip;
Adjust gain determining module, is configured as: according to the initial magnitude of the super amplitude-frequency point audio, the corresponding increasing
Beneficial information and the amplitude threshold, which are that each frequency point audio is corresponding in the audio signal, determines adjust gain, so that described each
Treated that amplitude does not surpass according to gain indicated by the corresponding gain information and the corresponding adjust gain for frequency point audio
Cross the amplitude threshold;
Preprocessing module is configured as: before carrying out the audio processings at different levels to the audio signal, according to corresponding institute
Adjust gain is stated to pre-process each frequency point audio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431059.9A CN110211552B (en) | 2019-05-22 | 2019-05-22 | Audio processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431059.9A CN110211552B (en) | 2019-05-22 | 2019-05-22 | Audio processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110211552A true CN110211552A (en) | 2019-09-06 |
CN110211552B CN110211552B (en) | 2023-07-14 |
Family
ID=67788109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910431059.9A Active CN110211552B (en) | 2019-05-22 | 2019-05-22 | Audio processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110211552B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702682A (en) * | 2020-12-21 | 2021-04-23 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted audio sound effect processing method |
CN112905833A (en) * | 2021-01-19 | 2021-06-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio playback equipment preheating method, device, equipment and medium |
CN114449337A (en) * | 2020-10-30 | 2022-05-06 | 深圳Tcl新技术有限公司 | Audio signal processing method, device, equipment and computer readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6420986B1 (en) * | 1999-10-20 | 2002-07-16 | Motorola, Inc. | Digital speech processing system |
US6651040B1 (en) * | 2000-05-31 | 2003-11-18 | International Business Machines Corporation | Method for dynamic adjustment of audio input gain in a speech system |
CN101399523A (en) * | 2008-09-05 | 2009-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Gain control method and system for playing audio signal |
US20160191007A1 (en) * | 2014-12-31 | 2016-06-30 | Stmicroelectronics Asia Pacific Pte Ltd | Adaptive loudness levelling method for digital audio signals in frequency domain |
CN106504765A (en) * | 2016-10-20 | 2017-03-15 | 广州视源电子科技股份有限公司 | Automatic gain control method and device for audio signal |
CN107395149A (en) * | 2017-07-28 | 2017-11-24 | 矽力杰半导体技术(杭州)有限公司 | Acoustic signal processing method, device and integrated circuit |
CN107659279A (en) * | 2017-09-30 | 2018-02-02 | 杭州雄迈集成电路技术有限公司 | A kind of audio auto gain control method and device |
CN109151562A (en) * | 2018-08-27 | 2019-01-04 | 深圳创维-Rgb电子有限公司 | A kind of sound effect control method, apparatus, television set and storage medium |
US20190014412A1 (en) * | 2015-12-31 | 2019-01-10 | Shenzhen Tcl Digital Technology Ltd. | Method and device for compensating frequency response of audio signal |
-
2019
- 2019-05-22 CN CN201910431059.9A patent/CN110211552B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6420986B1 (en) * | 1999-10-20 | 2002-07-16 | Motorola, Inc. | Digital speech processing system |
US6651040B1 (en) * | 2000-05-31 | 2003-11-18 | International Business Machines Corporation | Method for dynamic adjustment of audio input gain in a speech system |
CN101399523A (en) * | 2008-09-05 | 2009-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Gain control method and system for playing audio signal |
US20160191007A1 (en) * | 2014-12-31 | 2016-06-30 | Stmicroelectronics Asia Pacific Pte Ltd | Adaptive loudness levelling method for digital audio signals in frequency domain |
US20190014412A1 (en) * | 2015-12-31 | 2019-01-10 | Shenzhen Tcl Digital Technology Ltd. | Method and device for compensating frequency response of audio signal |
CN106504765A (en) * | 2016-10-20 | 2017-03-15 | 广州视源电子科技股份有限公司 | Automatic gain control method and device for audio signal |
CN107395149A (en) * | 2017-07-28 | 2017-11-24 | 矽力杰半导体技术(杭州)有限公司 | Acoustic signal processing method, device and integrated circuit |
CN107659279A (en) * | 2017-09-30 | 2018-02-02 | 杭州雄迈集成电路技术有限公司 | A kind of audio auto gain control method and device |
CN109151562A (en) * | 2018-08-27 | 2019-01-04 | 深圳创维-Rgb电子有限公司 | A kind of sound effect control method, apparatus, television set and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449337A (en) * | 2020-10-30 | 2022-05-06 | 深圳Tcl新技术有限公司 | Audio signal processing method, device, equipment and computer readable storage medium |
CN112702682A (en) * | 2020-12-21 | 2021-04-23 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted audio sound effect processing method |
CN112905833A (en) * | 2021-01-19 | 2021-06-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio playback equipment preheating method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN110211552B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104798301A (en) | Audio loudness control system | |
US10354670B2 (en) | Efficient DRC profile transmission | |
US8787595B2 (en) | Audio signal adjustment device and audio signal adjustment method having long and short term gain adjustment | |
US8615094B2 (en) | Automatic level control circuit | |
US9195433B2 (en) | In-line signal processor | |
US7467021B2 (en) | System and method for enhanced streaming audio | |
CN110211552A (en) | Audio-frequency processing method and device | |
WO2014067206A1 (en) | Method for automatically controlling channel volume, and digital television terminal | |
US20090041265A1 (en) | Sound signal processing device, sound signal processing method, sound signal processing program, storage medium, and display device | |
US20120014538A1 (en) | Audio equipment and a control method thereof | |
CN1674451B (en) | Dynamic equalizing apparatus and method | |
US10827264B2 (en) | Audio preferences for media content players | |
JP2006340328A (en) | Tone control apparatus | |
US20040002781A1 (en) | Methods and apparatuses for adjusting sonic balace in audio reproduction systems | |
US9628907B2 (en) | Audio device and method having bypass function for effect change | |
US11297454B2 (en) | Method for live public address, in a helmet, taking into account the auditory perception characteristics of the listener | |
WO2023286326A1 (en) | Information processing device, information processing method, and program | |
JP4349329B2 (en) | Sound quality adjustment device | |
US8509457B2 (en) | Tone balance volume control | |
CN113784157A (en) | Live broadcast audio signal processing method and sound card | |
JP2002354577A (en) | Voice processing apparatus and electronic equipment having the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 266000, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |