CN114286253B - Audio processing method and device and audio playing equipment - Google Patents
Audio processing method and device and audio playing equipment Download PDFInfo
- Publication number
- CN114286253B CN114286253B CN202011036151.4A CN202011036151A CN114286253B CN 114286253 B CN114286253 B CN 114286253B CN 202011036151 A CN202011036151 A CN 202011036151A CN 114286253 B CN114286253 B CN 114286253B
- Authority
- CN
- China
- Prior art keywords
- audio signal
- frequency
- processing
- signal
- audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title abstract description 12
- 230000005236 sound signal Effects 0.000 claims abstract description 390
- 238000012545 processing Methods 0.000 claims abstract description 138
- 230000006835 compression Effects 0.000 claims abstract description 64
- 238000007906 compression Methods 0.000 claims abstract description 64
- 230000000694 effects Effects 0.000 claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000001914 filtration Methods 0.000 claims description 22
- 238000009825 accumulation Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 230000003111 delayed effect Effects 0.000 description 9
- 230000001965 increasing effect Effects 0.000 description 6
- 230000002708 enhancing effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000002238 attenuated effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
Landscapes
- Stereophonic System (AREA)
Abstract
The disclosure relates to an audio processing method, an audio processing device and audio playing equipment, which can effectively improve the continuity of low-frequency signals in sound signals, ensure the bass sound-delay effect and ensure the whole hearing effect of the sound signals. The method comprises the following steps: acquiring an audio signal to be processed; performing frequency division processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, wherein the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency; performing compression reverberation processing on the first audio signal to obtain a low-frequency processing signal; and generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal.
Description
Technical Field
The disclosure relates to the technical field of electronics, and in particular relates to an audio processing method, an audio processing device and audio playing equipment.
Background
Bass effects, bass continuity are always an important pursuit of audio playback devices (e.g. loudspeakers) in terms of design, especially portable audio playback devices, which have always been difficult to design in terms of bass effects, bass continuity due to size and volume limitations. Taking a portable sound box as an example, the portable sound box has the characteristics of small caliber of a loudspeaker, small power, small volume of a magnetic ring, short stroke of a vibrating diaphragm, small volume of a cavity and the like, so that the bass continuation is poor. In the related art, bass continuity is generally enhanced by greatly enhancing the gain of a bass equalizer (about 150Hz to 400 Hz). However, such an approach results in a reduction in the overall output amplitude of the sound, an overall hearing sensation that is limited by the size of the device itself, and an effect of bass continuity that is poor.
Disclosure of Invention
The disclosure aims to provide an audio processing method, an audio processing device and audio playing equipment, which can effectively improve the continuity of low-frequency signals in sound signals, ensure the bass sound-delay effect and ensure the whole hearing effect of the sound signals.
To achieve the above object, according to a first aspect of the present disclosure, there is provided an audio processing method including:
acquiring an audio signal to be processed;
performing frequency division processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, wherein the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency;
performing compression reverberation processing on the first audio signal to obtain a low-frequency processing signal;
and generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal.
Optionally, the performing frequency division processing on the audio signal to be processed to obtain a first audio signal and a second audio signal includes:
according to the preset frequency, carrying out low-pass filtering processing on the audio signal to be processed to obtain the first audio signal;
and carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the second audio signal.
Optionally, the compressing and reverberating the first audio signal to obtain a low-frequency processed signal, including:
performing amplitude compression processing on the first audio signal to obtain a third audio signal;
and performing reverberation effect processing on the third audio signal to obtain the low-frequency processing signal.
Optionally, the performing amplitude compression processing on the first audio signal to obtain a third audio signal includes:
determining a target amplitude interval in which the amplitude of the first audio signal is located according to a plurality of preset amplitude intervals;
determining a compression ratio corresponding to the target amplitude interval according to a corresponding relation between a plurality of pre-stored amplitude intervals and a plurality of compression ratios, and taking the compression ratio as a target compression ratio;
and carrying out amplitude compression processing on the first audio signal by utilizing the target compression ratio to obtain the third audio signal.
Optionally, the performing reverberation effect processing on the third audio signal to obtain a low-frequency processing signal includes:
acquiring a delay audio signal, wherein the delay audio signal is acquired based on an audio signal before the audio signal to be processed;
according to the first weight corresponding to the third audio signal and the second weight corresponding to the time-delay audio signal, carrying out weighted accumulation on the third audio signal and the time-delay audio signal to obtain an accumulated audio signal;
performing low-pass filtering processing on the accumulated audio signals to obtain the low-frequency processing signals;
wherein the first weight and the second weight are both within a (0, 1) numerical interval.
Optionally, the generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal includes:
according to the third weight corresponding to the first audio signal, the fourth weight corresponding to the low-frequency processing signal and the fifth weight corresponding to the second audio signal, carrying out weighted accumulation on the first audio signal, the low-frequency processing signal and the target audio signal to obtain a target audio signal;
wherein the third weight, the fourth weight, and the fifth weight are all within a (0, 1) numerical interval.
Optionally, the method further comprises:
and D, performing digital-to-analog conversion on the target audio signal to obtain a sound signal to be played.
According to a second aspect of the present disclosure, there is provided an audio processing apparatus, the apparatus comprising:
the signal acquisition module is used for acquiring an audio signal to be processed;
the frequency dividing module is used for carrying out frequency dividing processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, wherein the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency;
the processor is used for carrying out compression reverberation processing on the first audio signal to obtain a low-frequency processing signal;
and the adder is used for generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal.
Optionally, the frequency dividing module includes:
the low-pass filter is used for carrying out low-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the first audio signal;
and the high-pass filter is used for carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the second audio signal.
Optionally, the processor includes:
the compressor is used for carrying out amplitude compression processing on the first audio signal to obtain a third audio signal;
and the reverberator is used for carrying out reverberation effect processing on the third audio signal to obtain a low-frequency processing signal.
Optionally, the compressor is configured to:
determining a target amplitude interval in which the amplitude of the first audio signal is located according to a plurality of preset amplitude intervals;
determining a compression ratio corresponding to the target amplitude interval according to a corresponding relation between a plurality of pre-stored amplitude intervals and a plurality of compression ratios, and taking the compression ratio as a target compression ratio;
and carrying out amplitude compression processing on the first audio signal by utilizing the target compression ratio to obtain the third audio signal.
Optionally, the reverberator is configured to:
acquiring a delay audio signal, wherein the delay audio signal is acquired based on an audio signal before the audio signal to be processed;
according to the first weight corresponding to the third audio signal and the second weight corresponding to the time-delay audio signal, carrying out weighted accumulation on the third audio signal and the time-delay audio signal to obtain an accumulated audio signal;
performing low-pass filtering processing on the accumulated audio signals to obtain the low-frequency processing signals;
wherein the first weight and the second weight are both within a (0, 1) numerical interval.
Optionally, the adder is configured to:
according to the third weight corresponding to the first audio signal, the fourth weight corresponding to the low-frequency processing signal and the fifth weight corresponding to the second audio signal, carrying out weighted accumulation on the first audio signal, the low-frequency processing signal and the target audio signal to obtain a target audio signal;
wherein the third weight, the fourth weight, and the fifth weight are all within a (0, 1) numerical interval.
Optionally, the apparatus further comprises:
and the digital-to-analog converter is used for carrying out digital-to-analog conversion on the target audio signal to obtain a sound signal to be played.
According to a third aspect of the present disclosure, there is provided an audio playing device comprising:
an audio processing apparatus according to a second aspect of the present disclosure;
and the loudspeaker is used for playing the sound signals output by the audio processing device.
According to the technical scheme, the audio signal to be processed is obtained, the audio signal to be processed is subjected to frequency division processing to obtain the first audio signal and the second audio signal, then the first audio signal is subjected to compression reverberation processing to obtain the low-frequency processing signal, and the target audio signal corresponding to the audio signal to be processed is generated according to the first audio signal, the second audio signal and the low-frequency processing signal. The frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency. Thus, by performing the compression reverberation processing on the low frequency part in the audio signal, a good bass sound effect can be obtained, and a good tone listening feel can be obtained regardless of the high frequency part or the low frequency part. In addition, the power requirement in the audio processing process does not exceed the rated power, so that the power margin of the audio playing device can be reduced, the size required by the audio playing device is further reduced, and the portability of the audio playing device is further improved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 illustrates an exemplary flow diagram of enhancing bass continuity in the prior art;
FIG. 2 is a flow chart of an audio processing method provided in accordance with one embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an exemplary configuration of a reverberator in an audio processing method provided according to the present disclosure;
fig. 4 is a schematic structural view of an exemplary audio playback apparatus in an audio processing method provided according to the present disclosure;
fig. 5 is a block diagram of an audio processing apparatus provided according to one embodiment of the present disclosure.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
As described in the background, a method of enhancing bass continuity is currently generally used to greatly enhance the gain of a bass equalizer (about 150Hz to 400 Hz). Fig. 1 shows an exemplary flow chart for enhancing bass continuity in the prior art, as shown in fig. 1, a sound signal is converted into a digital signal after passing through an analog-to-digital converter, the whole amplitude of the signal is attenuated by a certain amount after being pre-attenuated, then the signal is processed by a low-frequency equalizer, and appropriate frequency values (about 150Hz to 400 Hz), Q value, gain value and the like are set to enhance the gain of a low-frequency band of the sound so that the sound signal has a stronger bass continuity effect, and finally the processed sound signal is output by a digital-to-analog converter.
In the above-described manner of enhancing bass continuity, there are the following two problems.
The first problem is to increase the bass continuation of a certain frequency band, so that the whole frequency band needs to be pre-attenuated by a certain amount in order not to generate clipping distortion, and then the equalization processing of a certain low-frequency band is performed, so that the output energy of the whole sound signal is reduced, the whole output amplitude of the sound is reduced, and the whole hearing feeling is poor.
The second problem is that the audio playback apparatus has a large vibration inertia between 150Hz and 400Hz, and if the gain of the low audio point (about 150Hz to 400 Hz) is greatly increased, the audio playback apparatus is severely distorted, or the vibration stroke is excessively large to generate abnormal noise, so that the gain of the low audio point (about 150Hz to 400 Hz) cannot be greatly increased, but only a small amount; and, although the above problems can be solved by increasing the power margin of the power amplifier and the audio playing device, the cost of the device is further increased, and the size of the device is increased, so that the portable audio playing device cannot meet the portable requirement at the same time.
In order to solve the above problems, the present disclosure provides an audio processing method, an audio processing device, and an audio playing device, which can effectively improve the continuity of low-frequency signals in sound signals, ensure the bass sound-delay effect, and ensure the overall hearing effect of the sound signals.
Fig. 2 is a flowchart of an audio processing method provided according to one embodiment of the present disclosure. As shown in fig. 2, the method may include the steps of:
in step 21, an audio signal to be processed is acquired.
Typically, sound propagates through sound signals (sound waves) to a sound collection device (e.g., a recording device), after which the sound signals are converted to audio signals for processing, and the processed audio signals are again converted to sound signals for playback.
Thus, before the audio signal to be processed is acquired, the following procedure is also included:
collecting a sound signal to be processed;
and carrying out analog-to-digital conversion on the sound signal to be processed to obtain an audio signal to be processed.
The sound signal to be processed may be acquired by the above-described sound acquisition device, for example.
After the sound signal is collected, the sound signal to be processed can be further subjected to analog-to-digital conversion so as to obtain an audio signal to be processed for subsequent audio processing.
For example, the sound signal to be processed may be converted into an audio signal, i.e. an audio signal to be processed, based on an analog-to-digital converter (Analog to Digital Converter, a/D converter, ADC for short).
Thus, the sound signal to be processed is taken as an input of the analog-to-digital converter, and the audio signal to be processed is obtained from an output of the analog-to-digital converter.
It should be noted that, the audio signal to be processed herein refers to a single-frame audio signal, and each step provided in the present disclosure is also a processing manner for a single-frame audio signal, and each frame of audio signal may employ a series of processing steps provided in the present disclosure, that is, each time there is a frame of audio signal to be processed, the method provided in the present disclosure may be employed to generate a target audio signal corresponding to the frame of audio signal.
In step 22, the audio signal to be processed is subjected to a crossover process, so as to obtain a first audio signal and a second audio signal.
The frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency. Illustratively, 20Hz is less than or equal to the preset frequency is less than or equal to 1KHz.
In one possible implementation, the audio signal to be processed may be divided by a divider. The frequency divider is used to divide the signal according to different frequencies, e.g. high frequency, intermediate frequency, low frequency. Therefore, the frequency divider can be used for setting the preset frequency, and the frequency divider is used for dividing the audio signal to be processed to obtain a first audio signal with the frequency lower than the preset frequency and a second audio signal with the frequency higher than or equal to the preset frequency.
In another possible embodiment, step 22 may comprise the steps of:
according to the preset frequency, carrying out low-pass filtering treatment on the audio signal to be processed to obtain a first audio signal;
and carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain a second audio signal.
For example, the audio signal to be processed may be subjected to low-pass filtering processing by a low-pass filter, that is, a preset frequency is set in the low-pass filter, so that the low-pass filter filters out a signal higher than or equal to the preset frequency in the audio signal to be processed, thereby obtaining the first audio signal.
For example, the high-pass filter may be used to perform high-pass filtering on the audio signal to be processed, that is, a preset frequency is set in the high-pass filter, so that the high-pass filter filters out a signal lower than the preset frequency in the audio signal to be processed, and a second audio signal is obtained.
In step 23, the first audio signal is subjected to compression reverberation processing to obtain a low frequency processed signal.
In one possible embodiment, step 23 may comprise the steps of:
performing amplitude compression processing on the first audio signal to obtain a third audio signal;
and performing reverberation effect processing on the third audio signal to obtain a low-frequency processing signal.
In one possible implementation manner, the amplitude compression processing is performed on the first audio signal to obtain a third audio signal, which may include the following steps:
determining a target amplitude interval in which the amplitude of the first audio signal is located according to a plurality of preset amplitude intervals;
determining a compression ratio corresponding to a target amplitude interval according to a corresponding relation between a plurality of pre-stored amplitude intervals and a plurality of compression ratios, and taking the compression ratio as a target compression ratio;
and performing amplitude compression processing on the first audio signal by using the target compression ratio to obtain a third audio signal.
The preset multiple amplitude intervals can be realized by setting multiple amplitude thresholds, namely, a plurality of amplitude thresholds are preset, and different amplitude intervals, namely, the preset multiple amplitude intervals, are divided by taking the amplitude thresholds as demarcation points. For example, 3 amplitude thresholds TH1, TH2, TH3 may be preset, and then a plurality of amplitude intervals may be set according to the three thresholds. For example, three amplitude intervals (TH 1, TH 2), (TH 2, TH 3), (TH 3, +_3) may be set according to the above three amplitude thresholds as preset amplitude intervals, where the case equal to TH1, TH2, TH3 may be divided into any interval according to the actual situation. For example, TH1, TH2, TH3 may be set to-5 dB, -10dB, -20dB in sequence.
In addition, the correspondence between a plurality of amplitude intervals and a plurality of compression ratios, that is, the manner in which the signal in which amplitude interval is compressed is specified in advance, may also be set in advance. For example, referring to the above example, the correspondence between the amplitude intervals and the compression ratio may be further set, such as setting the amplitude intervals (TH 1, TH 2) to correspond to the compression ratio 2:1, setting the amplitude intervals (TH 2, TH 3) to correspond to the compression ratio 20:1, and setting the amplitude intervals (TH 3, infinity) to correspond to the compression ratio 100:1.
Therefore, based on the setting, according to the preset amplitude intervals, a target amplitude interval in which the amplitude of the first audio signal is located can be determined, and further according to the corresponding relation between the pre-stored amplitude interval and the compression ratio, the compression ratio corresponding to the target amplitude interval is determined and used as the target compression ratio, and further, the amplitude compression processing can be performed on the first audio signal by utilizing the target compression ratio, so that the third audio signal is obtained.
Based on the above setting, if the amplitude of the first audio signal is-15 dB, the target amplitude interval (TH 2, TH 3) where the first audio signal is located may be determined according to the preset three amplitude intervals (TH 1, TH 2), (TH 2, TH 3), (TH 3, and infinity), and the target compression ratio may be determined to be 20:1 according to the correspondence between the preset amplitude interval (TH 2, TH 3) and the compression ratio 20:1, so that the first audio signal may be compressed at a ratio of 20:1 to obtain a compressed signal as the third audio signal.
For example, the amplitude compression processing of the first audio signal may be implemented by a compressor. That is, a plurality of amplitude intervals and a correspondence relationship between each amplitude interval and a compression ratio are preset in the compressor so that the compressor compresses the first audio signal in the above-described manner. Also, a threshold comparator may be disposed in the compressor, for comparing the amplitude of the first audio signal with a preset amplitude threshold (refer to the foregoing related description), so as to determine which amplitude interval the amplitude of the first audio signal is in.
Through the mode, amplitude compression of the low-frequency signals can be achieved, so that the energy of the low-frequency signals is more concentrated, and the low-frequency part of the audio signals is ensured to be firmer.
In a possible implementation manner, the reverberation effect processing is performed on the third audio signal to obtain a low-frequency processing signal, which may include the following steps:
acquiring a delay audio signal;
according to the first weight corresponding to the third audio signal and the second weight corresponding to the delay audio signal, carrying out weighted accumulation on the third audio signal and the delay audio signal to obtain an accumulated audio signal;
and performing low-pass filtering processing on the accumulated audio signals to obtain low-frequency processing signals.
Wherein the delayed audio signal is obtained based on an audio signal preceding the audio signal to be processed. Here, since the audio signal is processed frame by frame, the audio signal preceding the audio signal to be processed may be regarded as a signal of a previous frame of the audio signal to be processed, which is also processed according to the method provided by the present disclosure, and a signal after the reverberation effect processing (i.e., a low frequency processing signal corresponding to the audio signal of the previous frame) is obtained. In order to make the sound continuous, it is necessary to re-use such a signal in subsequent sound processing, i.e. to let the sound of the previous frame last for several more frames. Thus, the delayed audio signal may be a low frequency processed signal corresponding to the audio signal preceding the audio signal to be processed.
After the delayed audio signal is obtained, the third audio signal and the delayed audio signal may be weighted and accumulated according to the first weight and the second weight, to obtain an accumulated audio signal. If the first weight and the second weight are both 1, the third audio signal and the delayed audio signal are added by weighting, which is equivalent to directly adding the third audio signal and the delayed audio signal.
And then, performing low-pass filtering processing on the accumulated audio signals to obtain low-frequency processing signals. At the same time, the low frequency processed signal can also be used to generate a delayed audio signal corresponding to the desired audio signal to be processed next.
For example, the reverberation effect processing of the third audio signal may be accomplished by a reverberator. The structure in the reverberator may be as shown in fig. 3, and in fig. 3, an adder, a first low-pass filter, a delay, and a second low-pass filter are sequentially provided in the reverberator. The low-pass filter is used for filtering out signals outside the low-frequency audio band, the delayer is used for increasing unit delay for a certain time, and the adder is used for accumulating the signals.
Based on fig. 3, the Output of the audio signal of the previous frame sequentially passes through the delay device and the second low-pass filter to obtain a delayed audio signal, and the third audio signal is Input as an Input signal Input to an adder in the reverberator, and the adder performs weighted accumulation on the third audio signal and the delayed audio signal to obtain an accumulated audio signal, and the accumulated audio signal is processed by the first low-pass filter to obtain a low-frequency processing signal as an Output signal Output of the reverberator corresponding to the audio signal to be processed. At the same time, this Output may go through a delay and a second low pass filter and be used for the next process.
By the mode, the reverberation effect processing of the low-frequency signal can be realized, the continuity effect of the low-frequency signal is improved, and the improvement of the effect is particularly obvious particularly in small-size equipment. In addition, the method can ensure that the whole power of the equipment does not have larger fluctuation, the rated power cannot be exceeded, the equipment can always work in a safe power range, and the power margin is reduced.
In step 24, a target audio signal corresponding to the audio signal to be processed is generated from the first audio signal, the second audio signal and the low frequency processed signal.
In one possible implementation, the first audio signal, the second audio signal and the low frequency processed signal may be directly added up to obtain the target audio signal. For example, the accumulation of the first audio signal, the second audio signal and the low frequency processed signal may be performed by an adder.
In another possible embodiment, step 24 may comprise the steps of:
and according to the third weight corresponding to the first audio signal, the fourth weight corresponding to the low-frequency processing signal and the fifth weight corresponding to the second audio signal, carrying out weighted accumulation on the first audio signal, the low-frequency processing signal and the target audio signal to obtain the target audio signal.
Wherein the third weight, the fourth weight and the fifth weight are all within the (0, 1) numerical interval.
Thus, the first audio signal, the low frequency processing signal and the target audio signal are weighted and accumulated according to the third weight, the fourth weight and the fifth weight to obtain the target audio signal. For example, the above-mentioned accumulation processes may be performed by an adder, in which the third weight, the fourth weight, and the fifth weight may be preset, and accumulated in the above-mentioned manner.
According to the technical scheme, the audio signal to be processed is obtained, the audio signal to be processed is subjected to frequency division processing to obtain the first audio signal and the second audio signal, then the first audio signal is subjected to compression reverberation processing to obtain the low-frequency processing signal, and the target audio signal corresponding to the audio signal to be processed is generated according to the first audio signal, the second audio signal and the low-frequency processing signal. The frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency. Thus, by performing the compression reverberation processing on the low frequency part in the audio signal, a good bass sound effect can be obtained, and a good tone listening feel can be obtained regardless of the high frequency part or the low frequency part. In addition, the power requirement in the audio processing process does not exceed the rated power, so that the power margin of the audio playing device can be reduced, the size required by the audio playing device is further reduced, and the portability of the audio playing device is further improved.
In addition, on the basis of the steps shown in fig. 2, the method provided by the present disclosure may further include the following steps:
and D, performing digital-to-analog conversion on the target audio signal to obtain a sound signal to be played.
In order to facilitate the playback of the target audio signal, it is further processed. For example, the target audio signal may be converted into a sound signal to be played back based on a digital-to-analog converter (Digital to Analog Converter, D/a converter, DAC for short) for playback by an audio playback device (e.g., a speaker).
Alternatively, the method provided by the present disclosure may be applied to the audio playing device shown in fig. 4. Referring to fig. 4, the audio processing method provided by the present disclosure may be described as follows:
the sound signal to be processed is converted into an audio signal to be processed through an analog-to-digital converter A1;
the audio signal to be processed is subjected to frequency division processing through a high-pass filter A2 and a low-pass filter A3, wherein the audio signal to be processed is subjected to the high-pass filter A2 to obtain a second audio signal, and the audio signal to be processed is subjected to the low-pass filter A3 to obtain a first audio signal;
the amplitude compression processing is carried out on the first audio signal through a compressor A4, and a third audio signal is obtained;
performing reverberation effect processing on the third audio signal through a reverberator A5 to obtain a low-frequency processing signal;
the adder A6 is used for carrying out weighted accumulation on the first audio signal and the low-frequency processing signal, and further accumulating the second audio signal to obtain a target audio signal;
performing digital-to-analog conversion on a target audio signal through a digital-to-analog converter A7 to obtain a sound signal to be played;
the sound signal is played by the playback device A8.
Fig. 5 is a block diagram of an audio processing apparatus provided according to one embodiment of the present disclosure. As shown in fig. 5, the apparatus 50 may include:
a signal acquisition module 51, configured to acquire an audio signal to be processed;
the frequency dividing module 52 is configured to perform frequency division processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, where the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency;
a processor 53, configured to perform compression reverberation processing on the first audio signal to obtain a low-frequency processing signal;
and an adder 54, configured to generate a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal, and the low-frequency processing signal.
Optionally, the frequency dividing module 52 includes:
the low-pass filter is used for carrying out low-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the first audio signal;
and the high-pass filter is used for carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the second audio signal.
Optionally, the processor 53 includes:
the compressor is used for carrying out amplitude compression processing on the first audio signal to obtain a third audio signal;
and the reverberator is used for carrying out reverberation effect processing on the third audio signal to obtain a low-frequency processing signal.
Optionally, the compressor is configured to:
determining a target amplitude interval in which the amplitude of the first audio signal is located according to a plurality of preset amplitude intervals;
determining a compression ratio corresponding to the target amplitude interval according to a corresponding relation between a plurality of pre-stored amplitude intervals and a plurality of compression ratios, and taking the compression ratio as a target compression ratio;
and carrying out amplitude compression processing on the first audio signal by utilizing the target compression ratio to obtain the third audio signal.
Optionally, the reverberator is configured to:
acquiring a delay audio signal, wherein the delay audio signal is acquired based on an audio signal before the audio signal to be processed;
according to the first weight corresponding to the third audio signal and the second weight corresponding to the time-delay audio signal, carrying out weighted accumulation on the third audio signal and the time-delay audio signal to obtain an accumulated audio signal;
performing low-pass filtering processing on the accumulated audio signals to obtain the low-frequency processing signals;
wherein the first weight and the second weight are both within a (0, 1) numerical interval.
Optionally, the adder 54 is configured to:
according to the third weight corresponding to the first audio signal, the fourth weight corresponding to the low-frequency processing signal and the fifth weight corresponding to the second audio signal, carrying out weighted accumulation on the first audio signal, the low-frequency processing signal and the target audio signal to obtain a target audio signal;
wherein the third weight, the fourth weight, and the fifth weight are all within a (0, 1) numerical interval.
Optionally, the apparatus 50 further comprises:
and the digital-to-analog converter is used for carrying out digital-to-analog conversion on the target audio signal to obtain a sound signal to be played.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides an audio playback apparatus including:
the audio processing device according to any embodiment of the present disclosure;
and the loudspeaker is used for playing the sound signals output by the audio processing device.
By way of example, the audio playback device provided by the present disclosure may be as shown in fig. 4, wherein the speaker corresponds to playback device A8 in fig. 4.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.
Claims (9)
1. A method of audio processing, the method comprising:
acquiring an audio signal to be processed;
performing frequency division processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, wherein the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency;
performing amplitude compression processing on the first audio signal to obtain a third audio signal;
performing reverberation effect processing on the third audio signal to obtain a low-frequency processing signal;
generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal;
the performing reverberation effect processing on the third audio signal to obtain a low-frequency processing signal includes:
acquiring a delay audio signal, wherein the delay audio signal is acquired based on an audio signal before the audio signal to be processed;
according to the first weight corresponding to the third audio signal and the second weight corresponding to the time-delay audio signal, carrying out weighted accumulation on the third audio signal and the time-delay audio signal to obtain an accumulated audio signal;
and performing low-pass filtering processing on the accumulated audio signals to obtain the low-frequency processing signals.
2. The method of claim 1, wherein the step of dividing the audio signal to be processed to obtain a first audio signal and a second audio signal comprises:
according to the preset frequency, carrying out low-pass filtering processing on the audio signal to be processed to obtain the first audio signal;
and carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the second audio signal.
3. The method of claim 1, wherein the performing amplitude compression processing on the first audio signal to obtain a third audio signal comprises:
determining a target amplitude interval in which the amplitude of the first audio signal is located according to a plurality of preset amplitude intervals;
determining a compression ratio corresponding to the target amplitude interval according to a corresponding relation between a plurality of pre-stored amplitude intervals and a plurality of compression ratios, and taking the compression ratio as a target compression ratio;
and carrying out amplitude compression processing on the first audio signal by utilizing the target compression ratio to obtain the third audio signal.
4. The method of claim 1, wherein the first weight and the second weight are both within a (0, 1) value interval.
5. The method of claim 1, wherein generating a target audio signal corresponding to the audio signal to be processed from the first audio signal, the second audio signal, and the low frequency processed signal comprises:
according to the third weight corresponding to the first audio signal, the fourth weight corresponding to the low-frequency processing signal and the fifth weight corresponding to the second audio signal, carrying out weighted accumulation on the first audio signal, the low-frequency processing signal and the target audio signal to obtain a target audio signal;
wherein the third weight, the fourth weight, and the fifth weight are all within a (0, 1) numerical interval.
6. The method according to claim 1, wherein the method further comprises:
and D, performing digital-to-analog conversion on the target audio signal to obtain a sound signal to be played.
7. An audio processing apparatus, the apparatus comprising:
the signal acquisition module is used for acquiring an audio signal to be processed;
the frequency dividing module is used for carrying out frequency dividing processing on the audio signal to be processed to obtain a first audio signal and a second audio signal, wherein the frequency of the first audio signal is lower than a preset frequency, and the frequency of the second audio signal is higher than or equal to the preset frequency;
a processor, comprising: the compressor is used for carrying out amplitude compression processing on the first audio signal to obtain a third audio signal; the reverberator is used for carrying out reverberation effect processing on the third audio signal to obtain a low-frequency processing signal;
an adder for generating a target audio signal corresponding to the audio signal to be processed according to the first audio signal, the second audio signal and the low-frequency processing signal;
the reverberator is used for:
acquiring a delay audio signal, wherein the delay audio signal is acquired based on an audio signal before the audio signal to be processed; according to the first weight corresponding to the third audio signal and the second weight corresponding to the time-delay audio signal, carrying out weighted accumulation on the third audio signal and the time-delay audio signal to obtain an accumulated audio signal; and performing low-pass filtering processing on the accumulated audio signals to obtain the low-frequency processing signals.
8. The audio processing apparatus of claim 7, wherein the crossover module comprises:
the low-pass filter is used for carrying out low-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the first audio signal;
and the high-pass filter is used for carrying out high-pass filtering processing on the audio signal to be processed according to the preset frequency to obtain the second audio signal.
9. An audio playback device, comprising:
the audio processing apparatus according to claim 7 or 8;
and the loudspeaker is used for playing the sound signals output by the audio processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011036151.4A CN114286253B (en) | 2020-09-27 | 2020-09-27 | Audio processing method and device and audio playing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011036151.4A CN114286253B (en) | 2020-09-27 | 2020-09-27 | Audio processing method and device and audio playing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114286253A CN114286253A (en) | 2022-04-05 |
CN114286253B true CN114286253B (en) | 2024-03-22 |
Family
ID=80867776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011036151.4A Active CN114286253B (en) | 2020-09-27 | 2020-09-27 | Audio processing method and device and audio playing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114286253B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442709B (en) * | 2022-07-29 | 2023-06-16 | 荣耀终端有限公司 | Audio processing method, virtual bass enhancement system, device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008186010A (en) * | 2007-01-05 | 2008-08-14 | Kyushu Univ | Voice enhancement processing device |
CN101715158A (en) * | 2008-10-03 | 2010-05-26 | 瑞昱半导体股份有限公司 | Apparatus and method for processing audio signal |
CN101227760B (en) * | 2007-01-18 | 2012-02-08 | 三星电子株式会社 | Bass enhancing apparatus and method |
JP2012156649A (en) * | 2011-01-24 | 2012-08-16 | Roland Corp | Bass enhancement processing device, musical instrument speaker device, and acoustic effect device |
CN104012112A (en) * | 2011-11-22 | 2014-08-27 | Actiwave公司 | System and method for bass enhancement |
GB201706688D0 (en) * | 2017-02-17 | 2017-06-14 | Cirrus Logic Int Semiconductor Ltd | Bass enhancement |
CN108781330A (en) * | 2016-05-25 | 2018-11-09 | 华为技术有限公司 | Audio Signal Processing stage, audio signal processor and acoustic signal processing method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5707963B2 (en) * | 2011-01-20 | 2015-04-30 | ヤマハ株式会社 | Audio amplifier |
CN104869503B (en) * | 2015-03-23 | 2019-01-04 | 深圳市冠旭电子股份有限公司 | A kind of dynamic low-frequency reinforcement method and system based on equal loudness contour |
-
2020
- 2020-09-27 CN CN202011036151.4A patent/CN114286253B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008186010A (en) * | 2007-01-05 | 2008-08-14 | Kyushu Univ | Voice enhancement processing device |
CN101227760B (en) * | 2007-01-18 | 2012-02-08 | 三星电子株式会社 | Bass enhancing apparatus and method |
CN101715158A (en) * | 2008-10-03 | 2010-05-26 | 瑞昱半导体股份有限公司 | Apparatus and method for processing audio signal |
JP2012156649A (en) * | 2011-01-24 | 2012-08-16 | Roland Corp | Bass enhancement processing device, musical instrument speaker device, and acoustic effect device |
CN104012112A (en) * | 2011-11-22 | 2014-08-27 | Actiwave公司 | System and method for bass enhancement |
CN108781330A (en) * | 2016-05-25 | 2018-11-09 | 华为技术有限公司 | Audio Signal Processing stage, audio signal processor and acoustic signal processing method |
GB201706688D0 (en) * | 2017-02-17 | 2017-06-14 | Cirrus Logic Int Semiconductor Ltd | Bass enhancement |
Also Published As
Publication number | Publication date |
---|---|
CN114286253A (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878866B (en) | Audio signal processing method and device and terminal | |
CN103460716B (en) | For the method and apparatus of Audio Signal Processing | |
JP3235925B2 (en) | Howling suppression device | |
US8737642B2 (en) | Audio reproducing apparatus | |
US20030216907A1 (en) | Enhancing the aural perception of speech | |
JP4986182B2 (en) | Acoustic processing system, method and mobile phone terminal for electronic equipment | |
CN108401204A (en) | A kind of novel active noise reduction earphone | |
CN115442709B (en) | Audio processing method, virtual bass enhancement system, device, and storage medium | |
KR101253708B1 (en) | Hearing aid for screening envirronmental noise and method for screening envirronmental noise of hearing aid | |
WO2007119362A1 (en) | Audio circuit | |
CN103517183A (en) | Method and device for strengthening subwoofer signals | |
CN111128167A (en) | Far-field voice awakening method and device, electronic product and storage medium | |
CN107396274A (en) | The method, apparatus and system of active linear array sound equipment sound field adjustment | |
CN103812462B (en) | Volume control method and device | |
CN114286253B (en) | Audio processing method and device and audio playing equipment | |
US20120016505A1 (en) | Electronic audio device | |
CN110931034A (en) | Pickup noise reduction method for built-in earphone of microphone | |
CN110809222B (en) | Multi-section dynamic range control method and system and loudspeaker | |
US9571950B1 (en) | System and method for audio reproduction | |
JP2005160038A (en) | Processing equipment and processing method for sound signal | |
Dziechciński | Effect of highpass filtering on the speech transmission index | |
WO2022000335A1 (en) | Audio processing method and apparatus, and electronic device | |
KR101395286B1 (en) | Digital audio processing apparatus having adaptive equalizers and method thereof | |
JPH0956000A (en) | Hearing aid | |
CN221227711U (en) | Active sound box circuit capable of eliminating high-frequency tooth sound |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |