CN117835118A - Audio equalization method and device - Google Patents

Audio equalization method and device Download PDF

Info

Publication number
CN117835118A
CN117835118A CN202410255473.XA CN202410255473A CN117835118A CN 117835118 A CN117835118 A CN 117835118A CN 202410255473 A CN202410255473 A CN 202410255473A CN 117835118 A CN117835118 A CN 117835118A
Authority
CN
China
Prior art keywords
gain
data
volume level
compensation
optimal
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.)
Pending
Application number
CN202410255473.XA
Other languages
Chinese (zh)
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.)
Shenzhen Chengzi Digital Technology Co ltd
Original Assignee
Shenzhen Chengzi Digital 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 Shenzhen Chengzi Digital Technology Co ltd filed Critical Shenzhen Chengzi Digital Technology Co ltd
Priority to CN202410255473.XA priority Critical patent/CN117835118A/en
Publication of CN117835118A publication Critical patent/CN117835118A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses an audio equalization method and device, which are characterized in that a plurality of different frequency points are obtained by performing octave point taking on current audio, then fusion processing is performed on gain data of each frequency point under a plurality of volume levels, finally optimal gain data of each frequency point under the volume level corresponding to the current audio is obtained, and the current audio is corrected by adopting the optimal gain data, so that the audio equalization effect is realized. The invention can simply, conveniently and quickly acquire the corresponding gains of different frequency bands under each level of volume, thereby solving various problems caused by sharing a group of debugging parameters under full volume.

Description

Audio equalization method and device
Technical Field
The present invention relates to audio signal processing technologies, and in particular, to an audio equalization method and apparatus.
Background
The traditional floor sound box generally needs to meet the performance requirements of sound reproduction by depending on the design allowance of the sound box and the power amplifier, consumer electronic products in the prior art are limited by factors of volume and cost, and generally adopt a digital power amplifier chip integrated digital signal processing technology to optimize and improve sound quality, so that the performance of sound reproduction bandwidth, loudness and the like are ensured. However, considering the physical conditions of the passive speaker and the working principle of the digital processing module such as DRC, various contradictory and mutually-restricted index requirements still exist in the debugging process, so that the following defects occur: (1) In order to ensure the low frequency submergence under the small volume, the low frequency needs to be increased by more gain, but the problems of distortion and dynamic compression under the large volume are introduced; (2) In order to ensure the loudness of the product, the signal needs to be subjected to pressure limit lifting, so that the negative EQ effect under high volume is invalid, and the tone is not balanced; (3) The reasons such as the nonlinearity of the corresponding relation between the equal loudness curves and the loudness and the nonlinearity of the loudspeaker under high power can lead to the fact that although the tone quality is optimized by the DSP algorithm, the tone quality of the product still cannot be kept balanced under each volume curve.
Therefore, how to design a method for efficiently and simply optimizing the audio frequency balance degree of the volume is a technical problem to be solved.
Disclosure of Invention
Based on this, it is necessary to provide an audio equalization method and apparatus for solving the existing problems.
In a first aspect, an embodiment of the present application provides an audio equalization method, including the following steps:
dividing a current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
acquiring compensation gain data which need to be compensated for the N frequency points under the corresponding volume level Y of the current audio signal according to an equal-loudness curve, wherein the compensation gain data comprises compensation gain 1 and compensation gain 2 … … and compensation gain N;
lifting gain data of the N frequency points under the maximum volume M and default gain data under the default volume S are called, wherein the lifting gain data comprise lifting gain 1 and lifting gain 2 … … lifting gain N, and the default gain data comprise default gain 1 and default gain 2 … … default gain N;
gain weighting data corresponding to the N frequency points under the volume level Y are obtained according to the gain compensation data, the lifting gain data and a preset weighting model, wherein the gain weighting data comprises a gain weighting value 1 and a gain weighting value 2 … …;
obtaining optimal gain data of the N frequency points under the corresponding volume level Y of the current audio signal according to the gain weighted data, the lifting gain data and a preset gain processing model, wherein the optimal gain data comprises an optimal gain 1 and an optimal gain 2 … … optimal gain N;
and correcting the current audio signal according to the optimal gain data, and outputting the adjusted current audio signal.
Preferably, the obtaining, according to the equal-loudness curve, compensation gain data that needs to be compensated for the N frequency points at the volume level Y corresponding to the current audio signal, where the compensation gain data includes compensation gain 1, compensation gain 2 … …, and compensation gain N includes:
when the volume level isWhen (I)>
When the volume level isWhen (I)>
Wherein,frequency point is required to be +.>Compensating gain of compensation->Is frequency point->Loudness values corresponding to equal loudness curves at volume level Y +.>Is frequency point->Corresponds at the default volume level SLoudness value of equal loudness curve, +.>Gain corresponding to volume curve for volume level Y, +.>Gain corresponding to volume curve for default volume level S, +.>Is frequency point->Volume level at trigger pressure limit, +.>
Preferably, gain weighted data corresponding to N frequency points under the volume Y level is obtained according to the gain compensation data, the boost gain data and a preset weighted model, where the gain weighted data includes a gain weighted value 1, a gain weighted value 2 … …, and the gain weighted value N includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->Corresponding gain weighting at volume level Y, < ->Is frequency point->Boost gain at maximum volume level M, < ->Is frequency point->Frequency point under default volume level S>Corresponding default gains.
Preferably, according to the gain weighted data, the boost gain data and a preset gain processing model, optimal gain data of the N frequency points at the volume level Y corresponding to the current audio signal is obtained, where the optimal gain data includes an optimal gain 1, an optimal gain 2, … …, and an optimal gain N, and includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->And the corresponding optimal gain is at the volume level Y of the current audio.
In a second aspect, an embodiment of the present application provides an audio equalization apparatus, including:
the dividing unit divides the current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
the compensation gain processing unit is used for obtaining compensation gain data which need to be compensated for the N frequency points under the corresponding volume level Y of the current audio signal according to an equal-loudness curve, wherein the compensation gain data comprise compensation gain 1 and compensation gain 2 … … compensation gain N;
the gain calling unit is used for calling the lifting gain data of the N frequency points under the maximum volume M and the default gain data under the default volume S, wherein the lifting gain data comprise lifting gain 1 and lifting gain 2 … … lifting gain N, and the default gain data comprise default gain 1 and default gain 2 … … default gain N;
gain weighting processing unit, according to the gain compensation data, the boost gain data and a preset weighting model, gain weighting data corresponding to the N frequency points under the volume level Y are obtained, wherein the gain weighting data comprises gain weighting value 1 and gain weighting value 2 … … gain weighting value N;
the optimal gain processing unit is used for obtaining optimal gain data of the N frequency points under the corresponding volume level Y of the current audio signal according to the gain weighted data, the lifting gain data and a preset gain processing model, wherein the optimal gain data comprises an optimal gain 1 and an optimal gain 2 … … optimal gain N;
and the audio equalization unit corrects the current audio signal according to the optimal gain data and outputs the adjusted current audio signal.
Preferably, the obtaining, according to the equal-loudness curve, compensation gain data that needs to be compensated for the N frequency points at the volume level Y corresponding to the current audio signal, where the compensation gain data includes compensation gain 1, compensation gain 2 … …, and compensation gain N includes:
when the volume level isWhen (I)>
When the volume level isWhen (I)>
Wherein,frequency point is required to be +.>Compensating gain of compensation->Is frequency point->Loudness values corresponding to equal loudness curves at volume level Y +.>Is frequency point->Loudness values corresponding to equal loudness curves at default volume level S +.>Gain corresponding to volume curve for volume level Y, +.>Gain corresponding to volume curve for default volume level S, +.>Is frequency point->Volume level at trigger pressure limit, +.>
Preferably, gain weighted data corresponding to N frequency points under the volume Y level is obtained according to the gain compensation data, the boost gain data and a preset weighted model, where the gain weighted data includes a gain weighted value 1, a gain weighted value 2 … …, and the gain weighted value N includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->Corresponding gain weighting at volume level Y, < ->Is frequency point->Boost gain at maximum volume level M, < ->Is frequency point->Frequency point under default volume level S>Corresponding default gains.
Preferably, according to the gain weighted data, the boost gain data and a preset gain processing model, optimal gain data of the N frequency points at the volume level Y corresponding to the current audio signal is obtained, where the optimal gain data includes an optimal gain 1, an optimal gain 2, … …, and an optimal gain N, and includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->And the corresponding optimal gain is at the volume level Y of the current audio.
Preferably, the boost gain data and the default gain data are stored in a memory of the audio equalization device in advance.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the method steps described above.
Compared with the prior art, the invention has the following advantages: the method comprises the steps of obtaining a plurality of different frequency points by octave point taking of current audio, then carrying out fusion processing based on gain data of each frequency point under a plurality of volume levels, finally obtaining optimal gain data of each frequency point under the volume level corresponding to the current audio, and correcting the current audio by adopting the optimal gain data, so that the effect of audio equalization is achieved. The invention can simply, conveniently and quickly acquire the corresponding gains of different frequency bands under each level of volume, thereby solving various problems caused by sharing a group of debugging parameters under full volume.
Drawings
Exemplary embodiments of the present invention may be more fully understood by reference to the following drawings. The accompanying drawings are included to provide a further understanding of embodiments of the application and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the application, and not constitute a limitation of the invention. In the drawings, like reference numerals generally refer to like parts or steps.
Fig. 1 is a flowchart of an audio equalization method according to an exemplary embodiment of the present application;
fig. 2 is an octave point-taking diagram of an audio equalization method according to an exemplary embodiment of the present application;
FIG. 3 is a graph showing a frequency versus gain curve for an audio equalization method according to an exemplary embodiment of the present application;
FIG. 4 illustrates an isograph of an audio equalization method provided in an exemplary embodiment of the present application;
FIG. 5 illustrates a schematic diagram of an electronic device provided in an exemplary embodiment of the present application;
fig. 6 shows a schematic diagram of a computer-readable medium according to an exemplary embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The embodiment of the application provides an audio equalization method and device, and the method and device are described below with reference to the accompanying drawings.
Referring to fig. 1, which illustrates an audio equalization method provided by some embodiments of the present application, as shown in fig. 1, the method may include the steps of:
s101: dividing a current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
different dotting modes can be adopted according to the storage size: (1) Taking a frequency point corresponding to a peak EQ (equalizer) under a default volume as the frequency point needing to be corrected: referring to fig. 2, the points selected are: 76,82,100,430,1.3k,4k,8k,10k,15khz. The mode has less frequency points, and has smaller demands on calculation force and storage capacity, but the accuracy is relatively low; (2) In the invention, octave point taking can be performed according to the EQ curve under the default volume, referring to FIG. 3, the drawn EQ curve is set based on EQ values, 31/61/121 points (the more the point is taken, the better the correction effect on tone quality) can be selected in the 10 octaves of 20-20 KHz on the curve according to the octave point taking mode, and finally, frequency selection is performed by combining the set values of an HPF (high pass filter) and an LPF (low pass filter), so that the selected frequency points are ensured to be in the playback range of the passive loudspeaker box.
S102: acquiring compensation gain data which need to be compensated for the N frequency points under the corresponding volume level Y of the current audio signal according to an equal-loudness curve, wherein the compensation gain data comprises compensation gain 1 and compensation gain 2 … … and compensation gain N;
specifically, the compensation gain data is obtained by:
when the volume level isWhen (I)>
When the volume level isWhen (I)>
Wherein,frequency point is required to be +.>Compensating gain of compensation->Is frequency point->Loudness values corresponding to equal loudness curves at volume level Y +.>Is frequency point->Loudness values corresponding to equal loudness curves at default volume level S +.>Gain corresponding to volume curve for volume level Y, +.>Gain corresponding to volume curve for default volume level S, +.>Is frequency point->Volume level at trigger pressure limit, +.>The method comprises the steps of carrying out a first treatment on the surface of the Referring to fig. 4, the calculation of loudness is obtained from a standard equal loudness curve, the following being an example of calculation:
the default volume S is determined to correspond to the curve of 80dB loudness whenSplxs=85 dB at a value of 100 Hz; let the default volume be 25, i.e. s=25, its corresponding gain be +.>= -20, and at this time no compression limitation is triggered, i.e. +.>>25, a step of selecting a specific type of material; when the volume decreases to y=17, +.>= -30, so the corresponding loudness curve is thus 70dB, +.>=76dB;
S103: lifting gain data of the N frequency points under the maximum volume M and default gain data under the default volume S are called, wherein the lifting gain data comprise lifting gain 1 and lifting gain 2 … … lifting gain N, and the default gain data comprise default gain 1 and default gain 2 … … default gain N;
specifically, both the boost gain data and the default gain data are stored in advance in the system memory.
S104: gain weighting data corresponding to the N frequency points under the volume level Y are obtained according to the gain compensation data, the lifting gain data and a preset weighting model, wherein the gain weighting data comprises a gain weighting value 1 and a gain weighting value 2 … …;
specifically, the gain weighted data is obtained by:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->Corresponding gain weighting at volume level Y, < ->Is frequency point->The boost gain at the maximum volume level M,/>is frequency point->Frequency point under default volume level S>Corresponding default gains.
S105: obtaining optimal gain data of the N frequency points under the corresponding volume level Y of the current audio signal according to the gain weighted data, the lifting gain data and a preset gain processing model, wherein the optimal gain data comprises an optimal gain 1 and an optimal gain 2 … … optimal gain N;
specifically, the optimal gain data is obtained by:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->And the corresponding optimal gain is at the volume level Y of the current audio.
S106: and correcting the current audio signal according to the optimal gain data, and outputting the adjusted current audio signal.
After obtaining the optimal gain of each channel under the corresponding volume level Y of the current audio, correcting each frequency point according to the optimal gain data, so that the output audio realizes the equalizing effect.
Compared with the prior art, the invention has the following advantages: the method comprises the steps of obtaining a plurality of different frequency points by octave point taking of current audio, then carrying out fusion processing based on gain data of each frequency point under a plurality of volume levels, finally obtaining optimal gain data of each frequency point under the volume level corresponding to the current audio, and correcting the current audio by adopting the optimal gain data, so that the effect of audio equalization is achieved. The invention can simply, conveniently and quickly acquire the corresponding gains of different frequency bands under each level of volume, thereby solving various problems caused by sharing a group of debugging parameters under full volume.
In the above embodiment, a method is provided, and corresponding apparatus is also provided. The device provided by the embodiment of the application can implement the method, and the device can be implemented by software, hardware or a combination of software and hardware. For example, the apparatus may comprise integrated or separate functional modules or units to perform the corresponding steps in the methods described above.
The apparatus 20 provided by the embodiments of the present application in some implementations of the embodiments of the present application have the same beneficial effects as the methods provided by the foregoing embodiments of the present application for the same inventive concept.
As shown in fig. 5, the apparatus 20 may include:
the dividing unit 201 divides the current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
the compensation gain processing unit 202 obtains compensation gain data that needs to compensate the N frequency points under the volume level Y corresponding to the current audio signal according to an equal-loudness curve, where the compensation gain data includes compensation gain 1 and compensation gain 2 … … compensation gain N;
gain extracting unit 203 extracts boost gain data of the N frequency points at maximum volume M and default gain data at default volume S, where the boost gain data includes boost gain 1 and boost gain 2 … … boost gain N, and the default gain data includes default gain 1 and default gain 2 … … default gain N;
gain weighting processing unit 204, according to the gain compensation data, the boost gain data and a preset weighting model, obtains gain weighting data corresponding to the N frequency points at the volume level Y, where the gain weighting data includes gain weighting value 1 and gain weighting value 2 … … and gain weighting value N;
the optimal gain processing unit 205 obtains optimal gain data of the N frequency points at the volume level Y corresponding to the current audio signal according to the gain weighted data, the boost gain data and a preset gain processing model, where the optimal gain data includes an optimal gain 1 and an optimal gain 2 … …, and the optimal gain N;
the audio equalization unit 206 corrects the current audio signal according to the optimal gain data and outputs the adjusted current audio signal.
The embodiment of the application also provides an electronic device corresponding to the method provided by the previous embodiment, wherein the electronic device can be an electronic device for a server, such as a server, including an independent server and a distributed server cluster, so as to execute the method; the electronic device may also be an electronic device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, etc., to perform the above method.
Referring to fig. 6, a schematic diagram of an electronic device according to some embodiments of the present application is shown. As shown in fig. 6, the electronic device 60 includes: a processor 600, a memory 601, a bus 602 and a communication interface 603, the processor 600, the communication interface 603 and the memory 601 being connected by the bus 602; the memory 601 stores a computer program executable on the processor 600, and the processor 600 executes the method described above when executing the computer program.
The memory 601 may include a high-speed random access memory (RAM: random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 603 (which may be wired or wireless), the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
Bus 602 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. The memory 601 is configured to store a program, and the processor 600 executes the program after receiving an execution instruction, where the method disclosed in any of the foregoing embodiments of the present application may be applied to the processor 600 or implemented by the processor 600.
The processor 600 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware or instructions in software in processor 600. The processor 600 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 601 and the processor 600 reads the information in the memory 601 and performs the steps of the method described above in combination with its hardware.
The electronic device provided by the embodiment of the application and the method provided by the embodiment of the application are the same in the invention conception, and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
It is noted that the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the embodiments, and are intended to be included within the scope of the claims and description.

Claims (10)

1. An audio equalization method, comprising the steps of:
dividing a current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
acquiring compensation gain data which need to be compensated for the N frequency points under the corresponding volume level Y of the current audio signal according to an equal-loudness curve, wherein the compensation gain data comprises compensation gain 1 and compensation gain 2 … … and compensation gain N;
lifting gain data of the N frequency points under the maximum volume M and default gain data under the default volume S are called, wherein the lifting gain data comprise lifting gain 1 and lifting gain 2 … … lifting gain N, and the default gain data comprise default gain 1 and default gain 2 … … default gain N;
gain weighting data corresponding to the N frequency points under the volume level Y are obtained according to the gain compensation data, the lifting gain data and a preset weighting model, wherein the gain weighting data comprises a gain weighting value 1 and a gain weighting value 2 … …;
obtaining optimal gain data of the N frequency points under the corresponding volume level Y of the current audio signal according to the gain weighted data, the lifting gain data and a preset gain processing model, wherein the optimal gain data comprises an optimal gain 1 and an optimal gain 2 … … optimal gain N;
and correcting the current audio signal according to the optimal gain data, and outputting the adjusted current audio signal.
2. The method according to claim 1, wherein the obtaining compensation gain data for the N frequency points to be compensated at the volume level Y corresponding to the current audio signal according to the equal loudness curve, the compensation gain data including compensation gain 1, compensation gain 2 … …, compensation gain N, includes:
when the volume level isWhen (I)>
When the volume level isWhen (I)>
Wherein,frequency point is required to be +.>Compensating gain of compensation->Is frequency point->Loudness values corresponding to equal loudness curves at volume level Y +.>Is frequency point->Loudness values corresponding to equal loudness curves at default volume level S +.>Gain corresponding to volume curve for volume level Y, +.>Gain corresponding to volume curve for default volume level S, +.>Is frequency point->Volume level at trigger pressure limit, +.>
3. The method according to claim 2, wherein gain weighted data corresponding to N frequency points at the volume Y level is obtained according to the gain compensation data, the boost gain data and a preset weighting model, the gain weighted data includes a gain weighted value 1 and a gain weighted value 2 … …, and the method includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->Corresponding gain weighting at volume level Y, < ->Is frequency point->Boost gain at maximum volume level M, < ->Is frequency point->Frequency point under default volume level S>Corresponding default gains.
4. The method of claim 3, wherein obtaining optimal gain data for the N frequency points at the current audio signal corresponding volume level Y according to the gain weighting data, the boost gain data, and a preset gain processing model, the optimal gain data including an optimal gain 1, an optimal gain 2, … …, and an optimal gain N, comprises:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->And the corresponding optimal gain is at the volume level Y of the current audio.
5. An audio equalization apparatus, comprising:
the dividing unit divides the current audio signal to be played into N frequency points through octave point taking, wherein the N frequency points are frequency point 1 and frequency point 2 … … frequency point N respectively;
the compensation gain processing unit is used for obtaining compensation gain data which need to be compensated for the N frequency points under the corresponding volume level Y of the current audio signal according to an equal-loudness curve, wherein the compensation gain data comprise compensation gain 1 and compensation gain 2 … … compensation gain N;
the gain calling unit is used for calling the lifting gain data of the N frequency points under the maximum volume M and the default gain data under the default volume S, wherein the lifting gain data comprise lifting gain 1 and lifting gain 2 … … lifting gain N, and the default gain data comprise default gain 1 and default gain 2 … … default gain N;
gain weighting processing unit, according to the gain compensation data, the boost gain data and a preset weighting model, gain weighting data corresponding to the N frequency points under the volume level Y are obtained, wherein the gain weighting data comprises gain weighting value 1 and gain weighting value 2 … … gain weighting value N;
the optimal gain processing unit is used for obtaining optimal gain data of the N frequency points under the corresponding volume level Y of the current audio signal according to the gain weighted data, the lifting gain data and a preset gain processing model, wherein the optimal gain data comprises an optimal gain 1 and an optimal gain 2 … … optimal gain N;
and the audio equalization unit corrects the current audio signal according to the optimal gain data and outputs the adjusted current audio signal.
6. The apparatus of claim 5, wherein the obtaining compensation gain data for the N frequency points to be compensated for at the volume level Y corresponding to the current audio signal according to the equal loudness curve, the compensation gain data including compensation gain 1, compensation gain 2 … …, compensation gain N, comprises:
when the volume level isIn the time-course of which the first and second contact surfaces,/>
when the volume level isWhen (I)>
Wherein,frequency point is required to be +.>Compensating gain of compensation->Is frequency point->Loudness values corresponding to equal loudness curves at volume level Y +.>Is frequency point->Loudness values corresponding to equal loudness curves at default volume level S +.>Gain corresponding to volume curve for volume level Y, +.>Gain corresponding to volume curve for default volume level S, +.>Is frequency point->Volume level at trigger pressure limit, +.>
7. The apparatus of claim 6, wherein gain weighted data corresponding to N frequency points at the volume Y level is obtained according to the gain compensation data, the boost gain data, and a preset weighting model, the gain weighted data includes a gain weighted value 1, a gain weighted value 2 … …, and the gain weighted value N includes:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->Corresponding gain weighting at volume level Y, < ->Is frequency point->Boost gain at maximum volume level M, < ->Is frequency point->Frequency point under default volume level S>Corresponding default gains.
8. The apparatus of claim 7, wherein obtaining optimal gain data for the N frequency points at the current audio signal corresponding volume level Y according to the gain weighting data, the boost gain data, and a preset gain processing model, the optimal gain data comprising an optimal gain 1, an optimal gain 2, … …, and an optimal gain N comprises:
when (when)When (I)>
When (when)When (I)>
Wherein,is frequency point->And the corresponding optimal gain is at the volume level Y of the current audio.
9. The apparatus of claim 5, wherein the boost gain data and the default gain data are pre-stored in a memory of an audio equalization device.
10. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor being configured to read the executable instructions from the memory and execute the executable instructions to implement the method steps as claimed in any one of claims 1 to 4.
CN202410255473.XA 2024-03-06 2024-03-06 Audio equalization method and device Pending CN117835118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410255473.XA CN117835118A (en) 2024-03-06 2024-03-06 Audio equalization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410255473.XA CN117835118A (en) 2024-03-06 2024-03-06 Audio equalization method and device

Publications (1)

Publication Number Publication Date
CN117835118A true CN117835118A (en) 2024-04-05

Family

ID=90517737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410255473.XA Pending CN117835118A (en) 2024-03-06 2024-03-06 Audio equalization method and device

Country Status (1)

Country Link
CN (1) CN117835118A (en)

Similar Documents

Publication Publication Date Title
US8275152B2 (en) Dynamic bass boost filter
CN105245195B (en) For the technology of distortion reduction multiband compressor reducer protected with sound quality
US8582784B2 (en) Method and device for extension of low frequency output from a loudspeaker
US11134353B2 (en) Customized audio processing based on user-specific and hardware-specific audio information
US20120140952A1 (en) Audio reproducing apparatus
KR20210020751A (en) Systems and methods for providing personalized audio replay on a plurality of consumer devices
JP6785907B2 (en) How to arrange wireless speakers, wireless speakers and terminal devices
CN111970628A (en) Audio signal enhancement method, device, storage medium and processor
CN113949968A (en) Frequency response correction method, electronic equipment and signal processing method
US10225654B1 (en) Speaker distortion reduction
US20120033835A1 (en) System and method for modifying an audio signal
CN117835118A (en) Audio equalization method and device
CN111669682A (en) Method for optimizing sound quality of loudspeaker equipment
CN109889170B (en) Audio signal control method and device
CN102576560B (en) electronic audio device
CN104168000A (en) Audio processing system and method
CN105992097B (en) Audio processing method and audio processing device
CN107404625B (en) Sound effect processing method and device of terminal
CN115375518A (en) Abnormal paging method and related device
CN211352437U (en) Audio output device and electronic equipment
US7974421B2 (en) Audio signal processing method and related device
US20190132677A1 (en) Signal processing device, signal processing method, and speaker device
JP7450196B2 (en) Control device, control method and program
US20060159284A1 (en) Audio signal processing method and apparatus
JP7427531B2 (en) Acoustic signal processing device and acoustic signal processing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination