CN111565344B - Audio processing method and electronic equipment - Google Patents

Audio processing method and electronic equipment Download PDF

Info

Publication number
CN111565344B
CN111565344B CN201910115166.0A CN201910115166A CN111565344B CN 111565344 B CN111565344 B CN 111565344B CN 201910115166 A CN201910115166 A CN 201910115166A CN 111565344 B CN111565344 B CN 111565344B
Authority
CN
China
Prior art keywords
sound
target
frequency
zone
adjustment value
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
CN201910115166.0A
Other languages
Chinese (zh)
Other versions
CN111565344A (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 Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201910115166.0A priority Critical patent/CN111565344B/en
Publication of CN111565344A publication Critical patent/CN111565344A/en
Application granted granted Critical
Publication of CN111565344B publication Critical patent/CN111565344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/22Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only 
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/16Automatic control
    • H03G5/165Equalizers; Volume or gain control in limited frequency bands

Landscapes

  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The invention discloses an audio processing method and electronic equipment, which are used for solving the problems that in the prior art, the adjustment value of a music equalizer is fixed, and the hearing experience of a user is reduced. The method comprises the following steps: receiving a target audio; and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments.

Description

Audio processing method and electronic equipment
Technical Field
The present invention relates to the field of sound effect adjustment technologies, and in particular, to an audio processing method and an electronic device.
Background
The music equalizer is an electronic device which can respectively adjust the amplification amount of sound signals with various frequency components, compensates the defects of a loudspeaker and a sound field by adjusting the sound signals with various frequencies, compensates and modifies various sound sources and other special functions, and the music equalizer on a common sound console can only respectively adjust the sound signals with three frequencies of high frequency, medium frequency and low frequency.
The sense of hearing that different music effects brought is different, and prior art is when carrying out the audio frequency tuning, and the music equalizer that adopts is static, in case the setting is accomplished promptly, the adjustment value of the sound zone that high frequency, intermediate frequency, low frequency correspond, and the sound signal amplifies a large amount promptly, will fix, if no longer adjust the adjustment value again, whole audio frequency all can carry out audio curve with the same adjustment value and decorate and play, has reduced user's sense of hearing and has experienced.
Disclosure of Invention
The embodiment of the invention provides an audio processing method and electronic equipment, which are used for solving the problems that in the prior art, the adjustment value of a music equalizer is fixed, and the hearing experience of a user is reduced.
The embodiment of the invention provides an audio processing method, which comprises the following steps:
receiving a target audio;
and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments.
Further, before the sound intensity of the sound with the same frequency in the target audio is adjusted by using different adjustment values at different preset times, the method further includes:
judging whether the frequency is a preset target frequency or not according to each frequency in the target audio;
if yes, the subsequent steps are carried out.
Further, if the frequency is not the preset target frequency, the method further comprises:
the sound intensity of the sound of that frequency is not adjusted.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
the method comprises the steps of determining a first target adjustment mode adopted at the last preset time aiming at least two preset adjustment modes, taking the next adjustment mode of the first target adjustment mode as a target adjustment mode corresponding to the current preset time according to the preset circulation sequence of each adjustment mode, and adjusting the sound intensity of the sound according to the adjustment value corresponding to the sound of the frequency in the target adjustment mode, wherein the adjustment value of each adjustment mode aiming at the sound of the same frequency is different.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
determining a target sound zone corresponding to the frequency of each sound at the preset moment according to a preset frequency range corresponding to each sound zone, and determining the sound intensity of the corresponding target sound zone according to the sound intensity of the sound at each frequency;
and aiming at each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value.
Further, for each frequency, determining the updated target adjustment value of the frequency on the basis of the adjustment value currently corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
acquiring the sound intensity of each target sound zone at the preset moment;
aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone;
if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both smaller than the sound intensity of the third target sound zone, and the third target sound zone is a low-pitched sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of a third target sound zone, and the third target sound zone is a middle sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
and if the target sound zone corresponding to the frequency is a bass zone or a treble zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a high sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a bass zone, reducing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
An embodiment of the present invention provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of any of the methods described above.
The embodiment of the invention provides an audio processing method and electronic equipment, wherein the method comprises the following steps: receiving a target audio; and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments. According to the embodiment of the invention, aiming at the sound with the same frequency in the target audio, different adjustment values are adopted for adjustment at different preset moments, so that compared with the prior art in which a fixed adjustment value is adopted at each preset moment, the effect of dynamic tuning is achieved, and the music auditory experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic process diagram of an audio processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a music equalizer according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an audio processing apparatus according to an embodiment of the present invention;
fig. 4 is an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic process diagram of an audio processing method according to an embodiment of the present invention, where the process includes the following steps:
s101: a target audio is received.
In order to make the auditory sense of music less boring and realize dynamic tuning of a music equalizer, in the embodiment of the invention, different adjustment values are adopted to perform audio tuning processing on sounds with the same frequency at different preset moments.
Specifically, a target audio to be processed is first acquired. Since most of the current music is mixed sound, the music at each moment contains different sounds, and the frequency of each sound is different. In order to better process the audio, the frequency of each sound of the target audio at each preset time needs to be acquired, where the preset time may be preset, and when the preset time is set, the time intervals between any two preset times may be equal or unequal, and may be specifically and flexibly set according to the processing requirement.
S102: and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments.
After each sound at each preset time of the target audio is acquired, the frequency of each sound is determined. Aiming at the sound with the same frequency in the target audio, different adjusting values are adopted at different preset moments to adjust the sound intensity of the sound.
For example, the frequency of a certain sound among the frequencies of the sounds at the first preset time is 68Hz, and the sound intensity of the sound at the frequency is adjusted according to the currently stored adjustment value, and then the currently stored adjustment value is updated so that the updated adjustment value is different from the adjustment value before updating. If the frequency of the sound at the third preset moment still exists at the frequency of 68Hz, the sound intensity of the sound at the frequency is adjusted according to the stored updated adjustment value, and after the adjustment, the currently stored adjustment value corresponding to the frequency is updated.
After the sound intensity adjustment value of the sound of each frequency at each preset time is determined, the corresponding information is stored in the music equalizer corresponding to the target audio, so that the music equalizer can adjust the sound intensity of the sound of each frequency at each preset time in the process of playing the target audio by adopting the corresponding adjustment value. For example, the adjustment value of the sound of 400Hz at a certain preset time is-4 dB, and when the adjustment is performed, the sound intensity of the sound of 400Hz is reduced by 4dB at the preset time by the music equalizer.
According to the embodiment of the invention, aiming at the sound with the same frequency in the target audio, different adjustment values are adopted for adjustment at different preset moments, so that compared with the prior art in which a fixed adjustment value is adopted at each preset moment, the effect of dynamic tuning is achieved, and the music auditory experience of a user is improved.
Example 2:
in order to improve the efficiency of audio processing, on the basis of the foregoing embodiment, in an embodiment of the present invention, before adjusting the sound intensity of the sound with different adjustment values at different preset times for the sound with the same frequency in the target audio, the method further includes:
judging whether the frequency is a preset target frequency or not according to each frequency in the target audio;
if yes, the subsequent steps are carried out.
If not, the sound intensity of the sound of the frequency is not adjusted.
In order to adjust the sound of the frequency to be adjusted in a targeted manner, and further improve the efficiency of audio processing, in the embodiment of the present invention, a target frequency is preset, and the target frequency may be one or more, and generally more.
After each frequency at a preset moment in the target audio is identified, whether the frequency is the target frequency or not is judged for each frequency, specifically, whether the frequency is a preset certain target frequency or not is judged, whether the difference value between the frequency and the preset certain target frequency is within a preset range or not is judged, if the frequency is the preset certain target frequency or the difference value between the frequency and the preset certain target frequency is within the preset range, the frequency can be judged to be the target frequency, and the sound intensity of the sound of the frequency is adjusted.
And if the frequency is judged not to be the target frequency, the sound intensity of the sound of the frequency is not adjusted.
As shown in fig. 2, for a schematic diagram of a music equalizer provided in an embodiment of the present invention, target frequencies of the music equalizer are 68Hz, 165Hz, 400Hz, 972Hz, 2kHz, 6kHz, and 14kHz, respectively, when the music equalizer is used to tune target audio, it is explained that the music equalizer can adjust sound intensities of sounds of these frequencies, and when adjusting, an adjustment value of each target frequency determined according to each preset time is adjusted.
In the embodiment of the invention, the target frequency is preset, and only the audio corresponding to the target frequency is adjusted during audio processing, so that the audio processing efficiency is improved.
Example 3:
in order to achieve a better audio processing effect, on the basis of the above embodiments, in an embodiment of the present invention, adjusting the sound intensity of the sound with different adjustment values at different preset times for the sound with the same frequency in the target audio includes:
the method comprises the steps of determining a first target adjustment mode adopted at the last preset time aiming at least two preset adjustment modes, taking the next adjustment mode of the first target adjustment mode as a target adjustment mode corresponding to the current preset time according to the preset circulation sequence of each adjustment mode, and adjusting the sound intensity of the sound according to the adjustment value corresponding to the sound of the frequency in the target adjustment mode, wherein the adjustment value of each adjustment mode aiming at the sound of the same frequency is different.
In order to achieve a better audio processing effect, in the embodiment of the present invention, at least two adjustment modes are preset for a target audio, and an order in which each adjustment mode is cyclically used is predetermined, for example, 5 adjustment modes may be preset, which are: adjustment mode 1, adjustment mode 2, adjustment mode 3, adjustment mode 4, and the predetermined order of being used cyclically is: adjustment mode 1, adjustment mode 2, adjustment mode 3, and adjustment mode 4.
If the adjustment mode 1 is used for the sound at the first preset time, the adjustment mode 2, the adjustment mode 3 and the adjustment mode 4 are used for the sound at the second preset time, the third preset time and the fourth preset time in sequence. And according to the preset cycle sequence of the adjustment mode, the adjustment mode 1 is continuously used for the sound at the fifth preset time, and each adjustment mode is used at each preset time according to the cycle sequence in turn, so that the adjustment of the sound is realized.
When the target audio is tuned, aiming at each preset time of the target audio, determining an adjustment mode adopted at the last preset time of the preset time, and determining the adjustment mode as a first target adjustment mode. And determining the next adjusting mode of the first target adjusting mode according to the preset circulating sequence of each adjusting mode, and taking the adjusting mode as the target adjusting mode corresponding to the preset moment. And adjusting the sound intensity of the sound at the preset moment by adopting the determined target adjustment mode. For example, if the first target adjustment mode corresponding to the previous preset time of the preset time is the adjustment mode 1, it can be known that the target adjustment mode corresponding to the preset time is the adjustment mode 2 according to the set circulation rule.
If the preset time is the first preset time of the target audio, one of the adjustment modes used in the loop is arbitrarily selected as the target adjustment mode, and preferably, the adjustment mode ranked as the first bit may be determined as the target adjustment mode.
The above-described method for determining the target adjustment mode in the loop method will be described in detail with reference to table 1.
Figure BDA0001969878110000081
TABLE 1
In tuning the target audio, five adjustment modes as shown in table 1 may be cyclically employed. According to the description of table 1, the preset target frequencies include: 68Hz, 165Hz, 400Hz, 972Hz, 2kHz, 6kHz and 14 kHz.
In order to reduce the complexity of audio adjustment, the target frequency can be divided into three ranges, namely a low range, a middle range and a high range according to the corresponding relationship between the ranges and the frequencies, wherein the low range comprises target frequencies of 68Hz, 165Hz and 400 Hz; the midrange region includes target frequencies of 972Hz and 2 kHz; the treble region includes target frequencies of 6kHz, 14 kHz. The sound intensity of the sound corresponding to the target frequency for each vocal range can be adjusted by using five adjustment modes, wherein each adjustment mode has a different adjustment value for the sound intensity of the sound of the same target frequency, for example, for each target frequency in a bass range, the five adjustment modes are respectively floating within an attenuated range (-12dB to 0dB), directly floating within an attenuated range and an enhanced range (-6dB to 6dB), floating within an enhanced range (0dB to 12dB), and floating within a range between the lowest range and the highest range (12 dB to 12dB), and floating within a range specified by a user.
After the target adjustment mode is determined, the sound intensity of the sound at the target frequency may be adjusted directly according to the adjustment value stored in the target adjustment mode, for example, if the target adjustment mode is adjustment mode 1, and if the frequency of the sound at the preset time is 165Hz, the sound intensity of the sound at the frequency may be adjusted in a manner of floating within the attenuation range (-12dB to 0 dB). Specifically, a value is randomly selected within the attenuated range (-12dB to 0dB) and used as the adjustment value for the frequency, such as-4 dB. And adjusting the sound intensity of the sound with the preset time and the frequency by adopting the adjusting value.
If the target adjustment mode is adjustment mode 2 and the frequency of the sound at the preset time is 165Hz, the sound intensity of the sound at the frequency can be adjusted in such a manner as to directly float (-6dB to 6dB) within the range of attenuation and enhancement. Such as randomly selecting a value within the de-emphasis and enhancement range (-6dB to 6dB) as the adjustment value for the frequency, such as +2dB or-2 dB. And adjusting the sound intensity of the sound with the frequency at the preset moment by adopting the adjusting value.
If the target adjustment mode is adjustment mode 3 and the frequency of the sound at the preset moment is 165Hz, the sound intensity of the sound at the frequency can be adjusted in a floating (0 dB-12 dB) mode within the enhanced range; if the target mode is the adjustment mode 4, for the sound with the frequency of 165Hz, the sound intensity of the sound with the frequency can be adjusted in a mode of exaggerated floating (-12dB to 12dB) between the lowest range and the highest range; if the target mode is the adjustment mode 5, for the sound having the frequency of 165Hz, the sound intensity of the sound having the frequency may be adjusted in a manner of floating within the user-specified range.
In the embodiment of the invention, at least two tuning modes are preset, the target adjustment mode corresponding to the preset time is determined in a recycling mode, and the target adjustment mode is adopted to adjust the sound intensity of the sound at the preset time, so that the effect of dynamic tuning is realized.
Example 4:
in order to achieve a better audio processing effect, on the basis of the above embodiments, in an embodiment of the present invention, adjusting the sound intensity of the sound with different adjustment values at different preset times for the sound with the same frequency in the target audio includes:
determining a target sound zone corresponding to the frequency of each sound at the preset moment according to a preset frequency range corresponding to each sound zone, and determining the sound intensity of the corresponding target sound zone according to the sound intensity of the sound at each frequency;
and aiming at each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value.
At present, when the sound zones are divided, a plurality of sound zones are divided according to the frequency of sound, in the embodiment of the invention, the sound zones comprise a bass zone, a midrange zone and a treble zone, and different sound frequency ranges are preset for different sound zones. Specifically, the sound having a frequency of 20Hz to 500Hz may be divided into a bass region, the sound having a frequency of 500Hz to 2kHz may be divided into a midrange region, and the sound having a frequency of 2kHz to 10kHz may be divided into a treble region.
After the frequency of each sound of the target audio at each preset time is identified, aiming at each preset time, according to the magnitude of the frequency of each sound at the preset time and the range of the frequency corresponding to each sound zone, determining a target sound zone corresponding to the frequency of each sound at the preset time. For example, the frequencies of the sound at a predetermined time include: and the three frequency values are matched with the frequency range value corresponding to each sound zone by 50Hz, 1kHz and 5kHz, so that a bass zone corresponding to 50Hz, a middle sound zone corresponding to 1kHz and a treble zone corresponding to 5kHz in the sound at the preset moment can be determined.
In the embodiment of the present invention, in order to improve the tuning effect, for each frequency, the adjustment value of the frequency is determined according to the relationship between the sound intensity of the target zone corresponding to the frequency and the sound intensities of the other target zones.
Therefore, it is first required to determine the sound intensity of each target sound zone, because after the frequency of the sound at a certain preset time is determined, the corresponding target sound zone can be determined, and the number of the frequencies included in the same target sound zone at the same preset time may be different, if the frequency included in the target sound zone at the preset time is only one, the sound intensity of the sound at the frequency can be determined as the sound intensity of the target sound zone; if the target sound zone includes at least two frequencies at the preset time, the average value of the sound intensities of the sounds of the at least two frequencies may be used as the sound intensity of the target sound zone, or the maximum value, the minimum value, or any one of the sound intensities of the sounds of the at least two frequencies may be used as the sound intensity of the target sound zone.
Based on the above description, after the sound intensity of the target sound zone corresponding to each frequency is determined, for each frequency, according to the relationship between the sound intensity of the target sound zone corresponding to the frequency and the sound intensities of other target sound zones, the target adjustment value after the frequency update is determined on the basis of the adjustment value currently corresponding to the frequency. For example, if the sound intensity of the target sound zone corresponding to the frequency is respectively greater than the sound intensities of the other target sound zones, 2dB may be added as a target adjustment value based on the current adjustment value of the frequency, that is, if the current adjustment value is +2dB, the updated target adjustment value is +4dB, and the adjustment value corresponding to the currently stored frequency is updated by using the target adjustment value.
Because each frequency may have different sound intensities of the corresponding target sound zone and different relationships with the sound intensities of other target sound zones at different preset times, the target adjustment value of the frequency determined at different preset times is also different for each preset frequency.
Example 5:
in order to further improve the tuning effect, in the embodiments of the present invention, in addition to the above embodiments, the determining, for each frequency, the updated target adjustment value of the frequency based on the adjustment value currently corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of the other target sound zones includes:
acquiring the sound intensity of each target sound zone at the preset moment;
aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone;
if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
In the above embodiments, it is mentioned that, for each frequency, the adjustment value of the frequency is determined according to the relationship between the sound intensity of the target sound zone corresponding to the frequency and the sound intensities of other target sound zones, and in order to further improve the tuning effect, in the embodiments of the present invention, the determination process of the adjustment value is specifically described.
First, for each preset time, according to each frequency of the preset time, determining the sound intensity of each target sound zone at the preset time. And then, aiming at the target sound zone corresponding to each frequency at the preset moment, judging whether the sound intensity of the target sound zone corresponding to the frequency is respectively greater than the sound intensity of each other target sound zone. If yes, the sound of the frequency is considered to be more prominent at the preset moment, and the adjustment value corresponding to the frequency can be adjusted to enable the target audio to have better hearing effect.
In the embodiment of the present invention, for each frequency, a corresponding initial adjustment value is preset, and the initial adjustment values corresponding to different frequencies may be the same or different. If the sound intensity of the target sound zone corresponding to a certain frequency is respectively greater than the sound intensity of each of the other target sound zones, the adjustment value can be updated on the basis of the currently stored adjustment value, and the sound intensity of the sound with the frequency is adjusted by adopting the updated adjustment value. For example, a first preset decibel value may be added to the currently stored adjustment value. That is, if the currently stored adjustment value of the frequency is-6 dB, and the first preset decibel value is +2dB, the target adjustment value corresponding to the frequency is-4 dB.
In this embodiment of the present invention, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a low sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
After the sound intensity of the target sound zone corresponding to each frequency is determined, the relationship between the sound intensity of the target sound zone corresponding to the frequency and the sound intensities of other target sound zones is determined for each frequency, and if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone and the third target sound zone is a low sound zone, when the target adjustment value corresponding to the frequency is determined, the relationship can be determined in the following manner.
If the target sound zone corresponding to the frequency is a midrange zone, since in the embodiment of the present invention, the corresponding initial adjustment value is set for the frequency in advance, when the target adjustment value of the frequency is determined, the adjustment value may be updated on the basis of the current preset initial adjustment value, and the updated adjustment value is used as the target adjustment value. For example, the preset initial adjustment value may be increased or decreased by a preset decibel value, and of course, the initial adjustment value may be kept unchanged. In order to ensure the audio tuning effect, each adjusting value is not more than +12 decibels at most and not less than-12 decibels at most.
If the target sound zone corresponding to the frequency is a high sound zone, the adjustment value may be updated based on the current preset initial adjustment value, and similarly, the preset decibel value may be reduced from the initial adjustment value of the frequency, and certainly, the initial adjustment value may be kept unchanged.
In this embodiment of the present invention, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a middle sound zone, the determining, according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones, the updated target adjustment value for the frequency on the basis of the adjustment value currently corresponding to the frequency includes:
and if the target sound zone corresponding to the frequency is a bass zone or a treble zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
In the case where the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both smaller than the sound intensity of the third target sound zone, the third target sound zone may also be a middle sound zone, and the target adjustment value corresponding to the frequency may be determined in the following manner.
Specifically, no matter whether the target sound zone corresponding to the frequency is a bass zone or a treble zone, the adjustment value may be updated based on the initial adjustment value of the frequency, for example, the initial adjustment value corresponding to the frequency is increased or decreased by the preset decibel value, or the initial adjustment value corresponding to the frequency may be kept unchanged.
In this embodiment of the present invention, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a high sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a bass zone, reducing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Since, in the embodiment of the present invention, three target ranges are included, in the case where the sound intensity of the target range corresponding to the frequency and the sound intensity of the second target range are both smaller than the sound intensity of the third target range, the third target range may also be a high range, and the target adjustment value corresponding to the frequency may be determined in the following manner.
If the target sound zone corresponding to the frequency is a bass zone, the adjustment value corresponding to the frequency is reduced by the preset decibel value on the basis of the initial adjustment value corresponding to the frequency, and the adjustment value is updated. Or keeping the adjustment value corresponding to the frequency unchanged.
And if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the initial adjustment value corresponding to the frequency by a preset decibel value on the basis of the initial adjustment value corresponding to the frequency, and updating the adjustment value. Of course, the adjustment value may be kept constant.
In any of the above manners, a target adjustment value of the frequency may be determined, and after the target adjustment value is determined, the sound intensity of the sound of the frequency is adjusted by using the target adjustment value.
In the embodiment of the invention, the target adjustment value corresponding to each frequency is determined in different modes according to the multiple relations between the sound intensity of the target sound zone corresponding to the frequency and the sound intensities of other target sound zones, so that the audio processing effect is further improved.
Example 6:
based on the same technical concept, the embodiment of the invention provides an audio processing device. As shown in fig. 3, an apparatus provided in an embodiment of the present invention includes:
a receiving module 301, configured to receive a target audio;
the adjusting module 302 is configured to adjust the sound intensity of the sound with the same frequency in the target audio by using different adjusting values at different preset times.
Further, the apparatus further comprises:
a judging module 303, configured to judge, for each frequency in the target audio, whether the frequency is a preset target frequency; if yes, the subsequent steps are carried out.
Further, the determining module 303 is further configured to not adjust the sound intensity of the sound of the frequency if the frequency is not the preset target frequency.
Further, the adjusting module 302 is specifically configured to determine, for at least two preset adjusting modes, a first target adjusting mode adopted at a previous preset time, take a next adjusting mode of the first target adjusting mode as a target adjusting mode corresponding to a current preset time according to a preset cyclic sequence of each adjusting mode, and adjust the sound intensity of the sound according to an adjusting value corresponding to the sound of the frequency in the target adjusting mode, where the adjusting values of the sound of the same frequency in each adjusting mode are different.
Further, the adjusting module 302 is specifically configured to determine, according to a preset frequency range corresponding to each sound zone, a target sound zone corresponding to the frequency of each sound at the preset time, and determine, according to the sound intensity of the sound at each frequency, the sound intensity of the corresponding target sound zone; and aiming at each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value.
Further, the adjusting module 302 is specifically configured to obtain the sound intensity of each target sound zone at the preset time; aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone; if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, the adjusting module 302 is specifically configured to increase or decrease the adjustment value corresponding to the frequency by a preset decibel value if the target sound zone corresponding to the frequency is a midrange sound zone, and use the updated adjustment value as the target adjustment value of the frequency; if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Further, the adjusting module 302 is specifically configured to increase or decrease the adjustment value corresponding to the frequency by a preset decibel value if the target audio region corresponding to the frequency is a bass region or a treble region, and use the updated adjustment value as the target adjustment value of the frequency.
Further, the adjusting module 302 is specifically configured to reduce the adjustment value corresponding to the frequency by a preset decibel value if the target sound zone corresponding to the frequency is a bass zone, and use the updated adjustment value as the target adjustment value of the frequency; if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device 400, as shown in fig. 4, including: the system comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete mutual communication through the communication bus 404;
the memory 403 has stored therein a computer program which, when executed by the processor 401, causes the processor 401 to perform the steps of:
receiving a target audio;
and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments.
Further, before the sound intensity of the sound with the same frequency in the target audio is adjusted by using different adjustment values at different preset times, the method further includes:
judging whether the frequency is a preset target frequency or not according to each frequency in the target audio;
if yes, the subsequent steps are carried out.
Further, if the frequency is not the preset target frequency, the method further comprises:
the sound intensity of the sound of that frequency is not adjusted.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
the method comprises the steps of determining a first target adjustment mode adopted at the last preset time aiming at least two preset adjustment modes, taking the next adjustment mode of the first target adjustment mode as a target adjustment mode corresponding to the current preset time according to the preset circulation sequence of each adjustment mode, and adjusting the sound intensity of the sound according to the adjustment value corresponding to the sound of the frequency in the target adjustment mode, wherein the adjustment value of each adjustment mode aiming at the sound of the same frequency is different.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
determining a target sound zone corresponding to the frequency of each sound at the preset moment according to a preset frequency range corresponding to each sound zone, and determining the sound intensity of the corresponding target sound zone according to the sound intensity of the sound at each frequency;
and aiming at each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value.
Further, for each frequency, determining the updated target adjustment value of the frequency on the basis of the adjustment value currently corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
acquiring the sound intensity of each target sound zone at the preset moment;
aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone;
if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a low sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both smaller than the sound intensity of the third target sound zone, and the third target sound zone is a middle sound zone, the determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
and if the target sound zone corresponding to the frequency is a bass zone or a treble zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a high sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a bass zone, reducing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 402 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 8:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program executable by an electronic device is stored, and when the program is run on the electronic device, the electronic device is caused to execute the following steps:
the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
receiving a target audio;
and adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments.
Further, before the sound of the same frequency in the target audio is adjusted by using different adjustment values at different preset times to adjust the sound intensity of the sound, the method further includes:
judging whether the frequency is a preset target frequency or not according to each frequency in the target audio;
if yes, the subsequent steps are carried out.
Further, if the frequency is not the preset target frequency, the method further comprises:
the sound intensity of the sound of that frequency is not adjusted.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
the method comprises the steps of determining a first target adjustment mode adopted at the last preset time aiming at least two preset adjustment modes, taking the next adjustment mode of the first target adjustment mode as the target adjustment mode corresponding to the current preset time according to the preset circulation sequence of each adjustment mode, and adjusting the sound intensity of the sound according to the adjustment value corresponding to the sound of the frequency in the target adjustment mode, wherein the adjustment value of each adjustment mode aiming at the sound of the same frequency is different.
Further, the adjusting, at different preset times, the sound intensity of the sound with the same frequency in the target audio by using different adjustment values includes:
determining a target sound zone corresponding to the frequency of each sound at the preset moment according to a preset frequency range corresponding to each sound zone, and determining the sound intensity of the corresponding target sound zone according to the sound intensity of the sound at each frequency;
and aiming at each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value.
Further, for each frequency, determining the updated target adjustment value of the frequency on the basis of the adjustment value currently corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
acquiring the sound intensity of each target sound zone at the preset moment;
aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone;
if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a low sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of a third target sound zone, and the third target sound zone is a middle sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
and if the target sound zone corresponding to the frequency is a bass zone or a treble zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
Further, if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a high sound zone, determining the updated target adjustment value of the frequency based on the current adjustment value corresponding to the frequency according to the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones includes:
if the target sound zone corresponding to the frequency is a bass zone, reducing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A method of audio processing, the method comprising:
receiving target audio, wherein the target audio at each moment contains different sounds, and the frequency of each sound is different;
adjusting the sound intensity of sound with the same frequency in the target audio by adopting different adjusting values at different preset moments;
wherein, the adjusting the sound intensity of the sound with the same frequency in the target audio by adopting different adjusting values at different preset moments comprises:
determining a target sound zone corresponding to the frequency of each sound at the preset moment according to a preset frequency range corresponding to each sound zone, and determining the sound intensity of the corresponding target sound zone according to the sound intensity of the sound at each frequency;
for each frequency, determining a target adjustment value after the frequency is updated on the basis of the current corresponding adjustment value of the frequency according to the relation between the sound intensity of the target sound zone and the sound intensities of other target sound zones, and adjusting the sound intensity of the sound of the frequency according to the target adjustment value;
wherein, according to the sound intensity of the sound of each frequency, determining the sound intensity of the corresponding target sound zone comprises:
if the target sound zone only contains one frequency at a preset moment, determining the sound intensity of the sound with the frequency as the sound intensity of the target sound zone;
if the target sound zone comprises at least two frequencies at a preset moment, taking the average value of the sound intensities of the sounds of the at least two frequencies as the sound intensity of the target sound zone; or the maximum value, the minimum value, or any one of the sound intensities of the sounds of the at least two frequencies is taken as the sound intensity of the target sound zone.
2. The method of claim 1, wherein before adjusting the sound intensity of the sound with different adjustment values at different preset times for the sound of the same frequency in the target audio, the method further comprises:
judging whether the frequency is a preset target frequency or not according to each frequency in the target audio;
if yes, the subsequent steps are carried out.
3. The method of claim 2, wherein if the frequency is not the predetermined target frequency, the method further comprises:
the sound intensity of the sound of that frequency is not adjusted.
4. The method of claim 1, wherein the adjusting the sound intensity of the sound with different adjustment values at different preset time instants for the sound of the same frequency in the target audio comprises:
the method comprises the steps of determining a first target adjustment mode adopted at the last preset time aiming at least two preset adjustment modes, taking the next adjustment mode of the first target adjustment mode as a target adjustment mode corresponding to the current preset time according to the preset circulation sequence of each adjustment mode, and adjusting the sound intensity of the sound according to the adjustment value corresponding to the sound of the frequency in the target adjustment mode, wherein the adjustment value of each adjustment mode aiming at the sound of the same frequency is different.
5. The method as claimed in claim 1, wherein the determining, for each frequency, the updated target adjustment value of the frequency based on the adjustment value currently corresponding to the frequency according to the relationship between the sound intensity of the target zone and the sound intensities of the other target zones comprises:
acquiring the sound intensity of each target sound zone at the preset moment;
aiming at the target sound zone corresponding to each frequency, judging whether the sound intensity of the target sound zone is respectively greater than the sound intensity of each other target sound zone;
if so, increasing the current corresponding adjustment value of the frequency by a first preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency.
6. The method of claim 5, wherein if the sound intensity of the target zone corresponding to the frequency and the sound intensity of the second target zone are both less than the sound intensity of a third target zone, and the third target zone is a bass zone, said determining the updated target adjustment value for the frequency based on the relationship between the sound intensity of the target zone and the sound intensities of the other target zones based on the current adjustment value corresponding to the frequency comprises:
if the target sound zone corresponding to the frequency is a middle sound zone, increasing or decreasing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a high sound zone, the adjustment value corresponding to the frequency is reduced by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
7. The method as claimed in claim 5, wherein if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of a third target sound zone, and the third target sound zone is a midrange sound zone, said determining the updated target adjustment value of the frequency based on the relationship between the sound intensity of the target sound zone and the sound intensities of other target sound zones based on the current adjustment value corresponding to the frequency comprises:
and if the target sound zone corresponding to the frequency is a bass zone or a treble zone, increasing or decreasing the preset decibel value of the adjustment value corresponding to the frequency, and taking the updated adjustment value as the target adjustment value of the frequency.
8. The method as claimed in claim 5, wherein if the sound intensity of the target sound zone corresponding to the frequency and the sound intensity of the second target sound zone are both less than the sound intensity of the third target sound zone, and the third target sound zone is a high sound zone, said determining the updated target adjustment value of the frequency based on the relationship between the sound intensity of the target sound zone and the sound intensities of the other target sound zones based on the current corresponding adjustment value of the frequency comprises:
if the target sound zone corresponding to the frequency is a bass zone, reducing the adjustment value corresponding to the frequency by a preset decibel value, and taking the updated adjustment value as the target adjustment value of the frequency;
if the target sound zone corresponding to the frequency is a middle sound zone, the adjustment value corresponding to the frequency is increased or decreased by a preset decibel value, and the updated adjustment value is used as the target adjustment value of the frequency.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 1 to 8.
CN201910115166.0A 2019-02-14 2019-02-14 Audio processing method and electronic equipment Active CN111565344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910115166.0A CN111565344B (en) 2019-02-14 2019-02-14 Audio processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910115166.0A CN111565344B (en) 2019-02-14 2019-02-14 Audio processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111565344A CN111565344A (en) 2020-08-21
CN111565344B true CN111565344B (en) 2022-06-17

Family

ID=72072945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910115166.0A Active CN111565344B (en) 2019-02-14 2019-02-14 Audio processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111565344B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219392A (en) * 2014-09-29 2014-12-17 宇龙计算机通信科技(深圳)有限公司 Intelligent incoming ring adjusting method, intelligent incoming ring adjusting system and mobile terminal
CN107124149A (en) * 2017-05-05 2017-09-01 北京小鱼在家科技有限公司 A kind of method for regulation of sound volume, device and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100636213B1 (en) * 2004-12-28 2006-10-19 삼성전자주식회사 Method for compensating audio frequency characteristic in real-time and sound system thereof
US9952827B2 (en) * 2016-04-13 2018-04-24 Comcast Cable Communications, Llc Dynamic adjustment of equalization settings of audio components via a sound device profile

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219392A (en) * 2014-09-29 2014-12-17 宇龙计算机通信科技(深圳)有限公司 Intelligent incoming ring adjusting method, intelligent incoming ring adjusting system and mobile terminal
CN107124149A (en) * 2017-05-05 2017-09-01 北京小鱼在家科技有限公司 A kind of method for regulation of sound volume, device and equipment

Also Published As

Publication number Publication date
CN111565344A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
AU2014340178B2 (en) System and method for digital signal processing
US10069471B2 (en) System and method for digital signal processing
KR101735416B1 (en) Audio loudness control system
RU2703973C2 (en) Device and method of adjusting volume
JP7001588B2 (en) Object-based audio signal balancing method
US10014841B2 (en) Method and apparatus for controlling audio playback based upon the instrument
AU2014340178A1 (en) System and method for digital signal processing
JP6866470B2 (en) Entertainment audio processing
CN102946520A (en) Channel volume automatic control method and digital television terminal
US11151981B2 (en) Audio quality of speech in sound systems
CN110321096A (en) A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment
CN116114268A (en) Audio input prioritization
CN106601268B (en) Multimedia data processing method and device
CN111565344B (en) Audio processing method and electronic equipment
EP3827429A1 (en) Compressor target curve to avoid boosting noise
US10389323B2 (en) Context-aware loudness control
TW202034152A (en) Sound playback device and output sound adjusting method thereof
CN112585868A (en) Audio enhancement in response to compression feedback
RU2365030C1 (en) Method and device for loudness level regulation
CN111726730A (en) Sound playing device and method for adjusting output sound
KR100490409B1 (en) Method for controlling audio volume automatically and apparatus thereof
CN114257191B (en) Equalizer adjusting method and electronic device
US20140369523A1 (en) Process for improving audio (api)
JP2022552456A (en) Dynamic range compression with reduced artifacts
CN114257191A (en) Equalizer adjustment method and electronic device

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

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.