CN110211552B - Audio processing method and device - Google Patents

Audio processing method and device Download PDF

Info

Publication number
CN110211552B
CN110211552B CN201910431059.9A CN201910431059A CN110211552B CN 110211552 B CN110211552 B CN 110211552B CN 201910431059 A CN201910431059 A CN 201910431059A CN 110211552 B CN110211552 B CN 110211552B
Authority
CN
China
Prior art keywords
audio
amplitude
gain
frequency point
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910431059.9A
Other languages
Chinese (zh)
Other versions
CN110211552A (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
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201910431059.9A priority Critical patent/CN110211552B/en
Publication of CN110211552A publication Critical patent/CN110211552A/en
Application granted granted Critical
Publication of CN110211552B publication Critical patent/CN110211552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Details of electrophonic musical instruments
    • G10H1/0091Means for obtaining special acoustic effects
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Aspects 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/155Musical effects
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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 an audio processing method and device, comprising the following steps: obtaining gain information applicable to audio processing of each frequency point audio in the audio signal at each level of the audio processing chip for the audio signal to be subjected to audio processing in the audio processing chip; determining the frequency of the super-amplitude frequency point in the audio signal according to the gain information and the initial amplitude of the audio of each frequency point; according to the initial amplitude of the super-amplitude frequency point audio and the corresponding gain information, correspondingly determining an adjustment gain for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed an amplitude threshold; and preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal. The method and the device realize the dynamic determination of the adjustment gain for the audio signal and avoid the occurrence of truncated distortion of the audio signal in each stage of audio processing of the audio chip.

Description

Audio processing method and device
Technical Field
The disclosure relates to the technical field of audio processing, and in particular relates to an audio processing method and device.
Background
The audio processing chip is formed by an integrated circuit. Because of the limitations of the electronic components and circuit structures of the integrated circuit itself, the amplitude of the signal that can pass through the integrated circuit is limited, and if the amplitude of the signal in the integrated circuit exceeds the allowable range of the integrated circuit, i.e., the amplitude threshold, the signal cannot pass smoothly, and a part of the waveform is shaved off, so that shaving distortion is generated. Thus, if the amplitude of the audio signal during audio processing exceeds the amplitude threshold of the audio processing chip, clipping distortion may occur. The audio signal after the topping distortion can cause sound blurring and unclear, so that the audio signal is poor in hearing after broadcasting, and further poor in user experience is caused.
Therefore, in the prior art, the problem of the truncated distortion of the audio signal passing through the audio processing chip is needed to be solved due to the structure of the audio processing chip.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides an audio processing method and apparatus.
In a first aspect, a method of audio processing, the method comprising:
obtaining gain information applicable to audio processing of each frequency point audio in an audio signal to be subjected to audio processing in an audio processing chip at each level of the audio processing chip;
determining the frequency point audio of the super-amplitude in the audio signal according to the gain information and the initial amplitude of each frequency point audio, wherein the frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal;
according to the initial amplitude of the super-amplitude frequency point audio and the corresponding gain information, correspondingly determining an adjustment gain for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed the amplitude threshold;
And preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal.
In a second aspect, an audio processing apparatus, the apparatus comprising:
a gain information acquisition module configured to: obtaining gain information applicable to audio processing of each frequency point audio in an audio signal to be subjected to audio processing in an audio processing chip at each level of the audio processing chip;
the super-amplitude frequency point audio frequency determining module is configured to: determining the frequency point audio of the super-amplitude in the audio signal according to the gain information and the initial amplitude of each frequency point audio, wherein the frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal;
an adjustment gain determination module configured to: according to the initial amplitude, the corresponding gain information and the amplitude threshold of the super-amplitude frequency point audio, an adjustment gain is correspondingly determined for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed the amplitude threshold;
A preprocessing module configured to: and preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
and correspondingly determining an adjustment gain for the audio signal according to the initial amplitude of each frequency point audio in the audio signal and the gain information applicable to each frequency point audio in each level of audio processing of the audio processing chip, so as to preprocess the audio signal before each level of audio processing according to the adjustment gain.
On one hand, the amplitude of the audio signal after being preprocessed and enters all stages of audio processing is ensured not to exceed the amplitude threshold of the audio processing chip, and the truncated distortion of the audio signal in the audio processing chip is effectively avoided.
On the other hand, since the audio signal to be subjected to each level of audio processing contains different frequency point audio, and the amplitude of the contained frequency point audio also differs. Therefore, in the technical scheme of the disclosure, according to the initial amplitude of each frequency point audio in the audio signal and the gain information applicable to each frequency point audio in each level of audio processing, the adjustment gain is correspondingly determined for the audio signal, so that the adjustment gain is dynamically determined for each audio signal according to the actual situation of each audio signal, and the determined adjustment gain is applicable to the audio signal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method of audio processing according to an exemplary embodiment;
FIG. 2 is a schematic diagram of an audio processing chip performing audio signal buffering in an application scenario;
FIG. 3 is a flow chart of performing various levels of audio processing in an audio processing chip of a television set;
FIG. 4 is a flow chart of audio processing in accordance with the teachings of the present disclosure for the scenario of FIG. 3;
FIG. 5 is a flowchart of step S110 of the corresponding embodiment of FIG. 1 in one embodiment;
FIG. 6 is a flowchart of step S115 of the corresponding embodiment of FIG. 4 in one embodiment;
FIG. 7 is a flowchart of step S130 of the corresponding embodiment of FIG. 1 in one embodiment;
FIG. 8 is a flowchart of step S150 of the corresponding embodiment of FIG. 1 in one embodiment;
FIG. 9 is a flow chart of an audio processing method shown according to another embodiment;
FIG. 10 is a flow chart of audio processing in an application scenario according to the technique of FIG. 9;
FIG. 11 is a block diagram of an audio processing device shown according to an embodiment;
fig. 12 is a block diagram of an audio processing apparatus according to another embodiment.
There has been shown in the drawings, and will hereinafter be described, specific embodiments of the invention with the understanding that the present disclosure is to be considered in all respects as illustrative, and not restrictive, the scope of the inventive concepts being indicated by the appended claims.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The physical carrier of the audio processing chip is an integrated circuit. The integrated circuit has a limitation on the amplitude of a signal passing through the integrated circuit due to the limitation of the structure (i.e. the electronic circuit), if the amplitude of the signal in the integrated circuit exceeds the allowable range of the integrated circuit, i.e. the amplitude threshold, the signal cannot pass smoothly, and part of the waveform is scraped off, so that the truncated distortion is generated. The audio signal after the truncated distortion can cause sound blurring and unclear, so that the audio signal has poor hearing after broadcasting.
In view of this, in order to avoid the occurrence of truncated distortion in audio processing of an audio signal performed in an audio processing chip, the technical scheme of the present disclosure is proposed.
Fig. 1 is a flowchart illustrating an audio processing method according to an exemplary embodiment. The audio processing method is used for a terminal, such as a television, a computer, a music player, etc., which is integrated with an audio processing chip and can realize audio processing, and is not particularly limited herein. As shown in fig. 1, the audio processing method may include the following steps.
Step S110, gain information applicable to audio processing of each frequency point in the audio signal at each level of the audio processing chip is obtained for the audio signal to be subjected to audio processing in the audio processing chip.
The audio signal to be subjected to audio processing in the audio processing chip may be an audio signal to be subjected to audio processing in a previous stage of the audio processing chip, so that the buffered audio signal is input to the audio processing chip to perform audio processing in each stage, and the audio signal buffered in the previous stage of the audio processing chip is the audio signal to be subjected to audio processing in the audio processing chip; the buffer module for audio signal buffer may be configured in the audio processing chip, so that the audio signal buffered in the buffer module is used as the audio signal to be subjected to audio processing.
In a specific embodiment, a buffer space for buffering the audio signal is configured in the audio processing chip, and the audio processing and playing of the audio signal are further realized by inputting the audio signal buffered in the buffer space to a module in the audio processing chip corresponding to the audio processing in turn. As shown in fig. 2, 8 buffers, i.e., b1-8, are set, and audio signals of buffer1- >2- >3- >4- >5- >6- >7- >8- >1 are sequentially output, and audio processing and playback after audio processing are performed. In this embodiment, the audio signal sampled (sample) in each buffer may be buffered 512, and calculated according to a sampling rate (sample rate) for 48000 samples/s, where the audio signal in each buffer needs 10.667ms to be output from the corresponding buffer, so that the output time of the audio signal in the last buffer may be used to determine an adjustment gain for the audio signal in the next buffer according to the technical solution of the present disclosure, and preprocessing according to the corresponding adjustment gain after outputting the buffer.
In the technical scheme of the disclosure, the audio processing refers to processing that changes the amplitude of the audio frequency in the audio signal, for example, performing amplitude attenuation or amplitude amplification of the audio frequency in the audio signal.
In one embodiment, the audio processing procedure shown in fig. 3 is an audio processing procedure performed by an audio processing chip in an existing television.
In the audio processing flow corresponding to fig. 3, the audio processing chip is configured with buffers for buffering audio signals as shown in fig. 2, so that audio signals in each buffer are output to perform prescale processing in turn, and subsequent basic sound effect processing and advanced sound effect processing are performed.
For a television, a plurality of signal interfaces, for example ATV, DTV, HDMI, DMP, AV, are provided on the television, and a user can gate the signal interfaces by using a remote controller, a touch screen of the television, or keys on the television, so that an audio signal input to the audio processing chip is a signal from the signal interface with the gate. In a television set, since the amplitudes of the audio signals from the different signal interfaces differ greatly, in order to facilitate processing in the audio processing chip, the audio processing chip sets an initial adjustment gain for the signal from the different signal interfaces in advance, for example, the initial adjustment gain set for the audio signal from the ATV signal interface is 1dB, and the initial adjustment gain set for the audio signal from the DTV signal interface is 2dB. Accordingly, amplitude adjustment is performed uniformly for the audio signal originating from the signal interface in accordance with the corresponding initial adjustment gain, i.e., prescale processing in fig. 3. And then, performing basic sound effect processing and advanced sound effect processing on the audio signal after prescale processing. The audio frequency amplitude in the audio frequency signal is changed in the prescale processing, the basic audio frequency processing and the advanced audio frequency processing, so that the amplitude of the audio frequency in the audio frequency signal exceeds the amplitude threshold of the audio frequency processing chip by prescale processing, basic audio frequency processing and advanced audio frequency processing, thereby generating truncated distortion.
The audio signal includes at least one frequency audio, and the audio of each frequency in the audio signal is called a frequency point audio, in other words, the audio signal includes at least one frequency point audio. Since there may be a corresponding setting of the gain in the audio processing according to the frequency in the audio processing of each stage, for example, in the audio processing of the audio signal, the gain information set for the audio of each frequency in each stage of audio processing is combined with the audio of the frequency point included in the audio signal, so that the gain information applicable to each frequency point audio in the audio signal in each stage of audio processing is correspondingly obtained. The gain information indicates the total gain of the corresponding frequency bin audio with amplitude change during each stage of audio processing.
Step S130, according to the gain information and the initial amplitude of each frequency point audio, determining the super-amplitude frequency point audio in the audio signal, wherein the super-amplitude frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal.
The initial amplitude of each frequency point audio is the amplitude of the frequency point audio before all levels of audio processing are carried out in the audio chip.
Therefore, the super-amplitude frequency point audio in the audio signal can be determined according to the gain information corresponding to each frequency point audio and the initial amplitude of each frequency point audio, namely, the frequency point audio with clipping distortion can be generated in all stages of audio processing performed by the audio processing chip. Specifically, the super-amplitude frequency point audio in the audio signal, that is, the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the amplification or attenuation is performed according to the gain indicated by the corresponding gain information in the audio signal.
Step S150, according to the initial amplitude of the super-amplitude frequency point audio and the corresponding gain information, the adjustment gain is correspondingly determined for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed the amplitude threshold.
The amplitude of each level of audio frequency is determined by the initial amplitude of each level of audio frequency and the gain indicated by the corresponding gain information, so that the initial amplitude of each super-amplitude audio frequency and the corresponding gain information are combined to determine the adjustment gain for the audio signal, and the amplitude of each level of audio frequency in the audio signal after the processing according to the gain indicated by the corresponding gain information and the corresponding adjustment gain is not more than an amplitude threshold value.
And determining an adjustment gain for the audio signal, namely determining the adjustment gain for each frequency point audio in the audio signal. Of course, the determined adjustment gain may be 0dB, i.e. the amplitude of the frequency bin audio is not changed, but may be other adjustment gains than 0 dB. The adjustment gains determined for each frequency point audio may be all the same, partially the same, or all different, and are not particularly limited herein.
In order to determine the adjustment gain for each frequency point audio in the audio signal, a setting rule of the adjustment gain may be preset. For example, the same adjustment gain is set for each frequency point audio in the audio signal, or a determination rule of the adjustment gain is set in advance according to the frequency band.
For the determination rule of setting the gain in advance according to the frequency bins, for example, the preset frequency bins are respectively: low frequency: the frequency is less than or equal to 300Hz; intermediate frequency: 300 Hz-3000 KHz; high frequency: > 3000KHz, a determination rule to adjust gain such as:
1. when the audio signal has the super-amplitude frequency point audio at the low frequency, setting the adjustment gain of each frequency point audio at the low frequency (or the super-amplitude frequency point audio at the low frequency) in the audio signal to be the same;
2. When the audio signal has the frequency point audio of the super-amplitude frequency at the intermediate frequency, setting the adjustment gain of each frequency point audio (or the frequency point audio of the super-amplitude frequency at the intermediate frequency) at the intermediate frequency in the audio signal to be the same;
3. when the audio signal has the super-amplitude frequency point audio at the high frequency, the adjustment gain of each frequency point audio at the low frequency (or just the super-amplitude frequency point audio at the high frequency) in the audio signal is set to be the same.
Therefore, the gain adjustment is determined for each frequency point audio by combining the gain information corresponding to each frequency point audio in the audio signal, the initial amplitude of each frequency point audio and the preset gain adjustment determining rule. According to the above rule for determining the adjustment gain, for example, when the audio signal has the frequency of 250Hz of the audio signal with the super-amplitude frequency point, the adjustment gain of each audio frequency point located at the low frequency (or the audio frequency with the super-amplitude frequency point located at the low frequency) in the audio signal is determined to be the same, and of course, the value of the adjustment gain is still according to: each frequency point audio is determined according to the general principle that the amplitude value of the gain indicated by the corresponding gain information and the amplitude value after the corresponding gain adjustment process does not exceed an amplitude threshold value.
Of course, the foregoing is merely exemplary, and is not to be construed as limiting the scope of the disclosure, and in other embodiments, other adjustment rules for adjusting the gain may be preset to combine with the determination of the adjustment gain.
Step S170, preprocessing each frequency point audio according to the corresponding adjustment gain before performing each level of audio processing on the audio signal.
In the technical scheme of the disclosure, the audio signal is preprocessed according to the determined adjustment gain, so that the amplitude of the preprocessed audio signal after all stages of audio processing in the audio processing chip does not exceed the amplitude threshold of the audio processing chip, and clipping distortion of the audio signal in the audio processing chip is avoided.
The pretreatment is to perform amplitude reduction treatment on the corresponding frequency point audio according to the corresponding adjustment gain, so that the amplitude of the audio signal subjected to amplitude reduction in the pretreatment after being subjected to all-level audio treatment of the audio treatment chip is not more than the amplitude threshold of the audio treatment chip, and the occurrence of truncated distortion of the audio signal in the audio treatment chip is avoided.
The audio signals are preprocessed according to the determined adjustment gain, so that the amplitude of the audio signals to be subjected to audio processing in the audio chip after the preprocessing is carried out on all levels of audio processing is ensured not to exceed the amplitude threshold of the audio processing chip, and the occurrence of truncated distortion of the audio signals in the audio processing chip is effectively avoided.
Since the audio signal to be subjected to each level of audio processing has different frequency point audio, the amplitude of the frequency point audio is also different. Therefore, in the technical scheme of the disclosure, before entering each stage of audio processing of the audio processing chip according to the audio signal, the gain information applicable to each frequency point audio of the audio signal in each stage of audio processing of the audio chip and the initial amplitude of each frequency point audio in the frequency point audio are combined to correspondingly determine the adjustment gain for the audio signal, so that the adjustment gain is dynamically determined for each audio signal, the audio signal is correspondingly preprocessed according to the determined adjustment gain, and further the occurrence of truncated distortion of the audio signal in the audio chip is avoided.
For the audio processing procedure performed by the audio chip corresponding to fig. 3, according to the technical solution of the corresponding embodiment of fig. 1, the flow of audio processing performed to avoid the occurrence of clipping distortion in the audio processing chip is shown in fig. 4, that is, after the audio signal outputs buffer and before the presale processing, the audio of each frequency point in the audio signal is preprocessed according to the determined adjustment gain. The preprocessing may be performed outside the audio processing chip or in the audio processing chip, and is not particularly limited herein.
In one embodiment, each stage of audio processing includes an initial audio processing and an audio effect processing, as shown in fig. 5, step S110 includes:
step S111, according to the signal interface from which the audio signal is derived, the initial adjustment gain set by the audio processing chip for the signal derived from the signal interface is obtained. and
Step S113, obtain the sound effect gain set for each audio frequency point in the sound effect mode selected for audio frequency playing.
Step S115, gain information applicable to each frequency point audio in each level of audio processing is obtained according to the initial adjustment gain and the corresponding sound effect gain of each frequency point audio.
In the technical solution of this embodiment, the audio processing chip may perform initial audio processing on the audio signals from different signal interfaces, and the audio processing chip further integrates a module for performing audio processing correspondingly, for example, the audio processing chip in the television corresponding to fig. 3 above.
For determining the signal interface from which the audio signal is derived, the signal interface for selection gating may be determined by a user's operation, for example, the user selects the signal interface for gating through a remote control board, a touch panel of the terminal, a key arranged on the terminal, or the like. Accordingly, the initial adjustment gain set by the audio processing chip for the signal originating from the signal interface is obtained.
The initial adjustment gains set for the audio of different frequencies may be the same for the signals originating from a certain signal interface (for example, corresponding to the precharge process in fig. 3), or may be different, and are not particularly limited herein.
Meanwhile, in the audio processing chip, a plurality of sound effect modes are preset for users to select, so that the selected sound effect modes are presented when the audio is played. The implementation of the sound effect mode is to adjust the gain value of the audio frequency of each frequency band so as to present the corresponding sound effect.
In the prior art, an equalizer is configured in an audio processing chip, so that different sound effects are presented by selecting a sound effect mode by a user or customizing the sound effect mode by the user. The sound effect modes, such as set criteria, movies, music, news, etc., are further subdivided, such as criteria, rock, pop, stage, classical, soft, etc. In a specific embodiment, the user may also set an audio gain for the corresponding audio of the frequency point of each frequency, so as to implement a custom audio mode.
Accordingly, according to the sound effect mode selected by the user for playing the audio, the gain set by the audio processing chip in the sound effect mode corresponding to each frequency point audio in the audio signal, namely the sound effect gain of the frequency point audio, is correspondingly obtained. Furthermore, according to the obtained initial adjustment gain and the obtained audio gain, gain information applicable to each audio point in each level of audio processing, namely, the initial audio processing and the audio processing, can be obtained.
For example, the initial adjustment gain set for each frequency point audio in the audio signal originating from the ATV signal interface in the initial audio processing stage is 1dB. In a certain sound effect mode selected by a user for playing the audio, the sound effect gain set for the audio of the frequency point of 50Hz is-10 dB, the sound effect gain set for the audio of the frequency point of 200Hz is-6 dB, the sound effect gain set for the audio of the frequency point of 1KHz is 6dB, the sound effect gain set for the audio of the frequency point of 3KHz is 9dB, and the sound effect gain set for the audio of the frequency point of 14KHz is 3dB. The audio signals to be subjected to audio sound effect processing at all levels comprise five frequency point audios with frequencies of 60Hz, 100Hz, 200Hz, 500Hz and 1KHz respectively. Thus, the total gain in the initial audio processing and the audio processing for each of the frequency point audio in the corresponding obtained audio signal is shown in the following table (wherein, for the frequency point audio in the audio signal, if the audio gain is not set for the frequency point audio in the audio mode, it is defaulted that the amplitude of the frequency point audio is not transformed in the audio processing, that is, the default audio gain is 0 dB):
Figure BDA0002069006830000091
the calculated total gain of each audio point in the audio signal in the initial audio processing and the audio effect processing is used as gain information of each audio point in the audio processing of each level.
In one embodiment, the sound effect modes include a basic sound effect mode and an advanced sound effect mode, as shown in fig. 6, step S115 includes:
step S210, according to the selected basic sound effect mode and the selected advanced sound effect mode for audio playing, a first gain set for each audio point in the basic sound effect mode is obtained, and a second gain set for each audio point in the advanced sound effect mode is obtained.
Step S230, according to the first gain and the second gain corresponding to each frequency point audio, the corresponding sound effect gain of each frequency point audio is obtained.
As the user's demand for the effects of audio playback increases, more sound modes, such as Dolby panoramic sound (Atmos), digital cinema systems (Digital Theatre System, DTS), etc., are presented that are distinguished from equalizers to construct sound effects. The sound effect mode realized by the equalizer is called a basic sound effect mode, and the other sound effect modes different from the sound effect mode realized by the equalizer are called advanced sound effect modes, wherein the basic sound effect mode and the advanced sound effect mode can be selected simultaneously, namely, a basic sound effect mode and an advanced sound effect mode are selected simultaneously, and of course, only one basic sound effect mode or one advanced sound effect mode can be selected.
The sound effect mode to be selected may be selected by the user as needed, or may be preset in the terminal integrated with the audio chip, and is not particularly limited.
Similar to the basic sound effect mode, in the advanced sound effect mode, there is also a gain value set for the frequency point audio of the specified frequency in each advanced sound effect mode. The gain value set for each frequency point audio in the audio signal in the base audio mode is referred to as a first gain, and the gain value set for each frequency point audio in the audio signal in the advanced audio mode is referred to as a second gain. Accordingly, according to the basic sound effect mode and the advanced sound effect mode selected for audio playing, the first gain and the second gain of each frequency point audio in the audio signal are correspondingly obtained, and then the sound effect gain of each frequency point audio is calculated according to the first gain and the second gain corresponding to each frequency point audio. For example, when the gain is in dB, the first gain and the second gain of the frequency point audio are added to obtain the sound effect gain of the frequency point audio.
In a specific embodiment, in a television integrated with an audio processing chip, for a basic sound effect mode, four basic sound effect modes including standard, movie, music and news are provided for a user, and an adjusting knob is correspondingly provided for the user to customize the basic sound effect mode, wherein the adjusting knob configured at a specified frequency point can support the user to adjust within a range of-10 dB to 10dB, and the adjusting knob can support one of 5-terminal (5 options), 7-terminal and 9-terminal adjustment. For the advanced sound effect mode, a DTS sound effect mode and/or an ATMOS sound effect mode are pre-constructed, and a selection switch is provided for a user to select whether to start the DTS sound effect mode or the ATMOS sound effect mode.
Of course, in other embodiments, in the terminal integrated with the audio processing chip, more basic audio modes and advanced audio modes may be provided for the user to select, or the selection of the basic audio modes and the advanced audio modes may be performed in other manners, which are not particularly limited herein.
In one embodiment, as shown in fig. 7, step S130 includes:
step S131, calculating a first amplitude value of each frequency point audio after gain processing according to the corresponding gain information according to the initial amplitude value of each frequency point audio.
And S135, determining the frequency point audio with the corresponding first amplitude exceeding the amplitude threshold value in the audio signal as the super-amplitude frequency point audio.
Therefore, the super-amplitude frequency point audio in the audio signal can be determined by calculating the first amplitude value of each frequency point audio in the audio signal and comparing the calculated first amplitude value with the amplitude threshold value of the audio processing chip.
In one embodiment, as shown in fig. 8, step S150 includes:
step S151, according to the first amplitude corresponding to each super-amplitude frequency point audio, the maximum value in the first amplitude is determined as the reference amplitude.
Step S153, the same adjustment gain is determined for each frequency point audio according to the reference amplitude and the amplitude threshold.
In this embodiment, the adjustment gain determined for each frequency point audio in the audio signal is the same, that is, when the audio signal is preprocessed, each frequency point audio in the audio signal is subjected to a step-down processing according to the determined adjustment gain, so as to ensure that the amplitude of each frequency point audio in the audio signal does not exceed the amplitude threshold of the audio processing chip after the preprocessing and each stage of audio processing.
Thus, the adjustment gain needs to be determined by combining the maximum value in the first amplitude calculated for each frequency point audio in the audio chip as the reference amplitude, so that the amplitude of the other frequency point audio in the audio signal after the preprocessing and the audio processing of each level does not exceed the amplitude threshold as long as the determined adjustment gain makes the frequency point audio with the maximum first amplitude meet the amplitude after the preprocessing and the audio processing of each level not exceed the amplitude threshold.
In another embodiment, step S150 includes:
determining an adjusting gain for the corresponding frequency point audio according to the first amplitude value corresponding to each frequency point audio; and
and determining the adjustment gain of other frequency point audios except the super-amplitude frequency point audios in the audio signal to be 0dB.
In this embodiment, the adjustment gain of the audio frequency of the other frequency points except the super-amplitude frequency point in the audio signal is determined to be 0dB, and the adjustment gain is determined for each super-amplitude frequency point according to the first amplitude corresponding to the super-amplitude frequency point audio frequency. That is, in the preprocessing stage, the amplitude of the audio signal is actually changed, that is, the amplitude attenuates, the frequency point audio is only the super-amplitude frequency point audio, and the amplitude of the audio signal except the super-amplitude frequency point audio is not actually changed in the preprocessing stage.
The amplitude of the audio frequency of the super-amplitude frequency point in the audio signal is only changed in the preprocessing stage, and the amplitude of other audio frequencies except the super-amplitude frequency point in the audio signal is kept unchanged in the preprocessing stage, so that the amplitude of the audio frequency of the non-super-amplitude frequency point in the audio signal is prevented from being changed in the preprocessing process, and unnecessary changes to the audio signal due to the preprocessing are reduced.
In an embodiment, the adjusting gain is used for amplitude attenuation of the audio of the corresponding frequency point, as shown in fig. 9, the audio processing method further includes:
step S180, determining a compensation gain for each frequency point audio according to the initial amplitude of the super amplitude frequency point audio, the corresponding gain information and the amplitude threshold value, wherein the compensation gain is used for amplifying the amplitude of the corresponding frequency point audio so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information, the corresponding adjustment gain and the corresponding compensation gain does not exceed the amplitude threshold value.
In this embodiment, after step S170, the audio processing method further includes:
step S190, after finishing the audio processing of each level, carrying out compensation processing on each frequency point audio according to the corresponding compensation gain.
In order to avoid excessive attenuation of the amplitude of the audio signal by preprocessing, in general, when determining the adjustment gain, the adjustment gain is determined on the basis that the amplitude of the audio frequency of each frequency point after the preprocessing and the audio processing of each stage in the audio chip does not exceed an amplitude threshold, and in addition, the amplitude of the audio signal when the audio chip is output after the audio processing of each stage in the audio chip is specifically limited, for example, the amplitude of the audio signal when the audio chip is output is limited to be not lower than a third amplitude threshold (of course, the third amplitude threshold is smaller than the amplitude threshold), so that excessive attenuation of the amplitude of each frequency point audio in the audio signal in preprocessing is avoided.
In other words, the range over which the adjustment gain is selectable is limited, so that if the range is limited too small, in practice, even if the amplitude after the gain processing indicated by the initial amplitude of the audio signal frequency, the corresponding adjustment gain, and the corresponding gain information does not exceed the amplitude threshold value theoretically, the audio signal may be caused to actually appear as a truncated distortion in each stage of the audio processing chip due to the influence of other circumstances. Therefore, in this case, the technical solution of this embodiment may be adopted, by setting the compensation gain, so that the selectable range of the adjustment gain may be widened, for example, the determined adjustment gain may be increased by the degree of amplitude attenuation in the preprocessing process, so as to avoid the occurrence of the condition of truncated distortion caused by other conditions in the audio processing process of each stage, and then the audio signal after audio processing of each stage of the audio chip is amplified according to the compensation gain through the set compensation gain, so that the amplitude of the audio signal when the audio signal outputs the audio chip is ensured not to be lower than the third amplitude threshold and not to exceed the amplitude threshold of the audio chip.
The adjusting gain and the compensating gain are respectively determined for each frequency point audio in the audio signal, the corresponding frequency point audio is subjected to amplitude attenuation in the preprocessing process according to the adjusting gain, and the corresponding frequency point audio is subjected to amplitude amplification in the compensating process according to the compensating gain, so that the fault tolerance in the audio processing process is improved. Specifically, on one hand, the compensation processing can be performed according to the determined compensation gain, so that the frequency point audio with larger amplitude attenuation in the preprocessing is subjected to amplitude compensation, namely amplitude amplification, and a larger selection interval is provided for the determination of the adjustment gain; on the other hand, since there may be attenuation of the amplitude of the non-super-amplitude point audio in the audio signal in the preprocessing stage, the amplitude attenuation of the non-super-amplitude point audio in the preprocessing stage may be compensated by performing amplitude compensation for the non-super-amplitude point audio in the compensation processing stage.
For the audio processing procedure performed by the audio chip corresponding to fig. 3, according to the technical scheme of the corresponding embodiment of fig. 9, the flow of audio processing performed by the audio processing chip is shown in fig. 10, that is, before performing presale processing, each frequency point audio in the audio signal is preprocessed according to the determined adjustment gain, after completing all levels of audio processing, that is, completing advanced audio processing, the audio signal is compensated according to the determined compensation gain, and then the audio signal after the compensation processing is played through a loudspeaker.
In one embodiment, step S150 includes:
and determining the adjustment gain of each frequency point audio according to the initial amplitude of the super-amplitude frequency point audio, the corresponding gain information and the second amplitude threshold of the audio processing chip, so that the amplitude of each frequency point audio after the gain processing according to the corresponding adjustment gain and the gain indicated by the corresponding gain information does not exceed the second amplitude threshold, and the second amplitude threshold is smaller than the amplitude threshold.
In this embodiment, the adjustment gain is determined for each frequency point audio in the audio signal by setting the second amplitude threshold smaller than the amplitude threshold for the audio processing chip, so that the determination of the adjustment gain and the compensation gain is facilitated, and it is ensured that the amplitude of each frequency point audio does not exceed the amplitude threshold of the audio processing chip after the preprocessing according to the determined adjustment gain, the corresponding gain information indication gain, and the determined compensation gain.
In one embodiment, the compensation gain of the frequency point audio with the adjustment gain of 0dB in the audio signal is determined to be 0dB.
In this embodiment, only the frequency point audio whose amplitude is actually changed during the preprocessing is actually amplitude-amplified during the compensation processing. Thereby avoiding frequency point audio amplitude amplification in the audio signal that does not need to be compensated in the compensation process.
The following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of an audio processing method executed by the audio playing terminal of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the audio processing method of the present disclosure.
Fig. 11 is a block diagram illustrating an audio processing apparatus configured in a terminal integrated with an audio processing chip, which performs all or part of the steps of any of the above-described audio processing methods, according to an exemplary embodiment. As shown in fig. 11, the audio processing apparatus includes, but is not limited to:
the gain information acquisition module 110 is configured to: and acquiring gain information applicable to audio processing of each frequency point in the audio signal at each level of the audio processing chip for the audio signal to be subjected to audio processing in the audio processing chip.
The super-amplitude bin audio determination module 130 is configured to: and determining the frequency point audio of the super amplitude in the audio signal according to the gain information and the initial amplitude of each frequency point audio, wherein the frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal.
The adjustment gain determination module 150 is configured to: and determining an adjustment gain for each frequency point audio in the audio signal according to the initial amplitude of the super-amplitude frequency point audio and the corresponding gain information, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed an amplitude threshold.
A preprocessing module 170 configured to: and preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal.
The implementation process of the functions and roles of each module in the above device is specifically shown in the implementation process of the corresponding steps in the above audio processing method, and will not be described herein again.
It is to be understood that these modules may be implemented in hardware, software, or a combination of both. When implemented in hardware, these modules may be implemented as one or more hardware modules, such as one or more application specific integrated circuits. When implemented in software, the modules may be implemented as one or more computer programs executing on one or more processors, such as a program stored in memory for execution by a processor of an audio processing chip.
In one embodiment, each stage of audio processing includes an initial audio processing and an audio effect processing, and the gain information obtaining module 110 includes:
an initial adjustment gain acquisition unit configured to: according to the signal interface from which the audio signal is derived, the initial adjustment gain set by the audio processing chip for the signal derived from the signal interface is obtained. and
An audio gain acquisition unit configured to: and acquiring the sound effect gain set for each frequency point audio in the sound effect mode selected for audio playing.
A gain information acquisition unit configured to: and obtaining gain information applicable to each frequency point audio in each level of audio processing according to the initial adjustment gain and the corresponding sound effect gain of each frequency point audio.
In an embodiment, the sound effect mode includes a basic sound effect mode and an advanced sound effect mode, and the sound effect gain acquisition unit includes:
a gain acquisition unit configured to: according to the basic sound effect mode selected for audio playing and the advanced sound effect mode selected, a first gain set for each audio frequency point in the basic sound effect mode is obtained, and a second gain set for each audio frequency point in the advanced sound effect mode is obtained.
The sound effect gain calculation unit is configured to calculate the sound effect gain corresponding to each frequency point audio according to the first gain corresponding to each frequency point audio and the second gain corresponding to each frequency point audio.
In one embodiment, the super-amplitude frequency bin audio determination module 130 includes:
a first amplitude calculation unit configured to: and calculating a first amplitude value of each frequency point audio after gain processing according to the corresponding gain information according to the initial amplitude value of each frequency point audio.
The super-amplitude frequency point audio frequency determining unit is configured to: and determining the frequency point audio with the corresponding first amplitude exceeding the amplitude threshold value in the audio signal as the super-amplitude frequency point audio.
In one embodiment, the adjustment gain determination module 150 includes:
a reference amplitude determining unit configured to: and determining the maximum value in the first amplitude values as a reference amplitude value according to the first amplitude value corresponding to the audio frequency of each super-amplitude frequency point.
An adjustment gain determination unit configured to: and determining the same adjustment gain for each frequency point audio according to the reference amplitude and the amplitude threshold.
In another embodiment, the adjustment gain determination module 150 includes:
a first adjustment gain determination unit configured to: and determining an adjusting gain for the corresponding super-amplitude frequency point audio according to the first amplitude value corresponding to each super-amplitude frequency point audio. and
A second adjustment gain determination unit configured to: and determining the adjustment gain of other frequency point audios except the super-amplitude frequency point audios in the audio signal to be 0dB.
In an embodiment, the adjusting gain is used for amplitude attenuation of the corresponding frequency point audio, and the audio processing device further includes:
a compensation gain determination module configured to: and determining the adjustment gain of each frequency point audio according to the initial amplitude of the super-amplitude frequency point audio, the corresponding gain information and the second amplitude threshold of the audio processing chip, so that the amplitude of each frequency point audio after the gain processing according to the corresponding adjustment gain and the gain indicated by the corresponding gain information does not exceed the second amplitude threshold, and the second amplitude threshold is smaller than the amplitude threshold.
In this embodiment, the audio processing apparatus further includes:
a compensation processing module configured to: after the audio processing of each level is completed, the audio of each frequency point is compensated according to the corresponding compensation gain.
In one embodiment, the adjustment gain determination module 150 includes:
a third adjustment gain determination unit configured to: and determining the adjustment gain of each frequency point audio according to the initial amplitude of the super-amplitude frequency point audio, the corresponding gain information and the second amplitude threshold of the audio processing chip, so that the amplitude of each frequency point audio after the gain processing according to the corresponding adjustment gain and the gain indicated by the corresponding gain information does not exceed the second amplitude threshold, and the second amplitude threshold is smaller than the amplitude threshold.
In one embodiment, the compensation gain of the frequency point audio with the adjustment gain of 0dB in the audio signal is determined to be 0dB.
The implementation process of the functions and roles of each module/unit in the above device is specifically shown in the implementation process of the corresponding steps in the above audio processing method, and will not be described herein again.
Optionally, the present disclosure further provides an audio processing apparatus, which may be used in a terminal integrated with an audio processing chip, to perform all or part of the steps of any of the above-described audio processing methods. As shown in fig. 12, the audio processing apparatus includes, but is not limited to: processor 1001 and memory 1002.
Wherein the memory 1002 has stored thereon computer readable instructions which when executed by the processor 1001 implement a method of any of the above method implementations.
Wherein the executable instructions, when executed by the processor 1001, implement the method of any of the embodiments above. Such as computer readable instructions, which when executed by the processor 1001, read the computer readable instructions stored in the memory over a communication line/bus 1003 coupled to the memory.
The specific manner in which the processor in this embodiment performs the operations has been described in detail in relation to the embodiments of the audio processing method and will not be described in detail herein.
In an exemplary embodiment, a storage medium is also provided, which is a computer-readable storage medium, such as may be a transitory and non-transitory computer-readable storage medium including instructions. On which a computer program is stored which, when being executed by a processor, implements the method of any of the method embodiments above. Such as a memory including, but not limited to, instructions executable by a processor to perform the above-described audio processing method.
The specific manner in which the processor in this embodiment performs the operations has been described in detail in relation to the embodiments of the audio processing method and will not be described in detail herein.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method of audio processing, the method comprising:
for an audio signal to be subjected to audio processing in an audio processing chip, gain information applicable to audio processing of each frequency point in the audio signal at each level of the audio processing chip is obtained;
Determining the frequency point audio of the super-amplitude in the audio signal according to the gain information and the initial amplitude of each frequency point audio, wherein the frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal;
according to the initial amplitude of the super-amplitude frequency point audio and the corresponding gain information, correspondingly determining an adjustment gain for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed the amplitude threshold;
and preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal.
2. The method according to claim 1, wherein the audio processing at each stage includes initial audio processing and audio effect processing, the obtaining gain information applicable to audio at each stage of the audio processing chip for each frequency point in the audio signal for the audio signal to be subjected to audio processing in the audio processing chip includes:
According to a signal interface from which the audio signal is derived, obtaining an initial adjustment gain set by the audio processing chip for a signal derived from the signal interface; and
acquiring sound effect gain set for each frequency point audio in a sound effect mode selected for audio playing;
and obtaining the gain information applicable to each frequency point audio in the audio processing of each level according to the initial adjustment gain and the sound effect gain corresponding to each frequency point audio.
3. The method of claim 2, wherein the sound effect modes include a base sound effect mode and an advanced sound effect mode, and the obtaining the sound effect gain set for each of the audio points in the sound effect mode selected for audio playback includes:
according to a basic sound effect mode selected for audio playing and a high-level sound effect mode selected, acquiring a first gain set for each frequency point audio in the basic sound effect mode and a second gain set for each frequency point audio in the high-level sound effect mode;
and calculating the sound effect gain corresponding to each frequency point audio according to the first gain and the second gain corresponding to each frequency point audio.
4. The method of claim 1, wherein said determining the super-amplitude bin audio in the audio signal based on the gain information and the initial amplitude of each bin audio comprises:
calculating a first amplitude value of each frequency point audio after gain processing according to the gain information indicated by the corresponding gain information according to the initial amplitude value of each frequency point audio;
and determining the frequency point audio of which the corresponding first amplitude exceeds the amplitude threshold value in the audio signal as the super-amplitude frequency point audio.
5. The method of claim 4, wherein said determining an adjustment gain for each bin audio correspondence in the audio signal based on the initial amplitude of the super-bin audio and the corresponding gain information comprises:
according to the first amplitude value corresponding to each super-amplitude frequency point audio, determining the maximum value in the first amplitude values as a reference amplitude value;
and determining the same adjustment gain for each frequency point audio according to the reference amplitude and the amplitude threshold.
6. The method of claim 4, wherein said determining an adjustment gain for each bin audio correspondence in the audio signal based on the initial amplitude of the super-bin audio and the corresponding gain information comprises:
Determining an adjusting gain for the corresponding frequency of the super-amplitude frequency point according to the first amplitude value corresponding to the frequency of each frequency of the super-amplitude frequency point; and
and determining the adjustment gain of other frequency point audios except the super-amplitude frequency point audios in the audio signal to be 0dB.
7. The method of claim 1, wherein the adjustment gain is used to amplitude attenuate the corresponding frequency bin audio, the method further comprising:
determining a compensation gain for each frequency point audio according to the initial amplitude, the corresponding gain information and the amplitude threshold of the super-amplitude frequency point audio, wherein the compensation gain is used for amplifying the amplitude of the corresponding frequency point audio so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information, the corresponding adjustment gain and the corresponding compensation gain does not exceed the amplitude threshold;
the method further comprises the steps of, before the audio signal is subjected to the audio processing of each stage, preprocessing each frequency point audio according to the corresponding adjustment gain:
and after the audio processing of each stage is completed, carrying out compensation processing on the audio of each frequency point according to the corresponding compensation gain.
8. The method of claim 7, wherein said determining an adjusted gain for the audio signal based on the initial amplitude of the super-amplitude bin audio and the corresponding gain information comprises:
and determining the adjustment gain of each frequency point audio according to the initial amplitude of the super-amplitude frequency point audio, the corresponding gain information and a second amplitude threshold of the audio processing chip, so that the amplitude of each frequency point audio after gain processing according to the corresponding adjustment gain and the gain information does not exceed the second amplitude threshold, and the second amplitude threshold is smaller than the amplitude threshold.
9. The method of claim 7, wherein the compensation gain of the frequency point audio with the adjustment gain of 0dB in the audio signal is determined to be 0dB.
10. An audio processing apparatus, the apparatus comprising:
a gain information acquisition module configured to: obtaining gain information applicable to audio processing of each frequency point audio in an audio signal to be subjected to audio processing in an audio processing chip at each level of the audio processing chip;
The super-amplitude frequency point audio frequency determining module is configured to: determining the frequency point audio of the super-amplitude in the audio signal according to the gain information and the initial amplitude of each frequency point audio, wherein the frequency point audio is the frequency point audio with the amplitude exceeding the amplitude threshold of the audio processing chip after the gain processing indicated by the gain information in the audio signal;
an adjustment gain determination module configured to: according to the initial amplitude, the corresponding gain information and the amplitude threshold of the super-amplitude frequency point audio, an adjustment gain is correspondingly determined for each frequency point audio in the audio signal, so that the amplitude of each frequency point audio after being processed according to the gain indicated by the corresponding gain information and the corresponding adjustment gain does not exceed the amplitude threshold;
a preprocessing module configured to: and preprocessing each frequency point audio according to the corresponding adjustment gain before performing all levels of audio processing on the audio signal.
CN201910431059.9A 2019-05-22 2019-05-22 Audio processing method and device Active CN110211552B (en)

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 CN110211552A (en) 2019-09-06
CN110211552B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151562A (en) * 2018-08-27 2019-01-04 深圳创维-Rgb电子有限公司 A kind of sound effect control method, apparatus, television set and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2355607B (en) * 1999-10-20 2002-01-16 Motorola Israel Ltd 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
CN101399523B (en) * 2008-09-05 2010-08-18 宇龙计算机通信科技(深圳)有限公司 Gain control method and system for playing audio signal
US9647624B2 (en) * 2014-12-31 2017-05-09 Stmicroelectronics Asia Pacific Pte Ltd. Adaptive loudness levelling method for digital audio signals in frequency domain
CN105657608B (en) * 2015-12-31 2018-09-04 深圳Tcl数字技术有限公司 Audio signal frequency responds compensation method and device
CN106504765B (en) * 2016-10-20 2019-08-13 广州视源电子科技股份有限公司 A kind of auto gain control method and device of audio signal
CN107395149B (en) * 2017-07-28 2020-11-27 南京矽力微电子技术有限公司 Audio signal processing method, device and integrated circuit
CN107659279B (en) * 2017-09-30 2023-10-27 浙江芯劢微电子股份有限公司 Audio automatic gain control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151562A (en) * 2018-08-27 2019-01-04 深圳创维-Rgb电子有限公司 A kind of sound effect control method, apparatus, television set and storage medium

Also Published As

Publication number Publication date
CN110211552A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN110211552B (en) Audio processing method and device
US8615094B2 (en) Automatic level control circuit
KR101735416B1 (en) Audio loudness control system
US20090041265A1 (en) Sound signal processing device, sound signal processing method, sound signal processing program, storage medium, and display device
US11330385B2 (en) Audio device
US20110095875A1 (en) Adjustment of media delivery parameters based on automatically-learned user preferences
EP2352225A1 (en) Audio signal adjustment device and audio signal adjustment method
WO2014067206A1 (en) Method for automatically controlling channel volume, and digital television terminal
US20120014538A1 (en) Audio equipment and a control method thereof
US20120294461A1 (en) Sound equipment, volume correcting apparatus, and volume correcting method
CN107465824B (en) Volume adjusting method and device, mobile terminal and storage medium
KR100496373B1 (en) Level adjusting circuit
WO2019033942A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
US9628907B2 (en) Audio device and method having bypass function for effect change
US8509456B2 (en) Level adjusting circuit
US10511394B2 (en) Sound processing apparatus and method
US10483931B2 (en) Audio device, speaker device, and audio signal processing method
KR20130123593A (en) Audio signal processing method and electronic device supporting the same
JP2016225807A (en) Digital signal processor and acoustic apparatus
CN109756198A (en) Voicefrequency circuit, the vehicle-mounted audio device using it, audio component device, electronic equipment
JPH04365210A (en) On-vehicle sound reproducing device
CN111654745B (en) Multi-channel signal processing method and display device
US9514765B2 (en) Method for reducing noise and computer program thereof and electronic device
EP1976114B1 (en) Automatic equalizer adjustment method
JP2005142962A (en) Audio output apparatus

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
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.

GR01 Patent grant
GR01 Patent grant