CN114466285A - Method, device and equipment for adjusting loudness of audio signal and storage medium - Google Patents

Method, device and equipment for adjusting loudness of audio signal and storage medium Download PDF

Info

Publication number
CN114466285A
CN114466285A CN202210140617.8A CN202210140617A CN114466285A CN 114466285 A CN114466285 A CN 114466285A CN 202210140617 A CN202210140617 A CN 202210140617A CN 114466285 A CN114466285 A CN 114466285A
Authority
CN
China
Prior art keywords
loudness
gain
value
preset
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210140617.8A
Other languages
Chinese (zh)
Other versions
CN114466285B (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.)
Shenzhen Wondershare Software Co Ltd
Original Assignee
Shenzhen Wondershare Software 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 Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN202210140617.8A priority Critical patent/CN114466285B/en
Publication of CN114466285A publication Critical patent/CN114466285A/en
Application granted granted Critical
Publication of CN114466285B publication Critical patent/CN114466285B/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
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Abstract

The embodiment of the invention discloses a method, a device and equipment for adjusting loudness of an audio signal and a storage medium. The application is applied to the technical field of audio editing, and comprises the following steps: performing linear conversion on the obtained original audio signal through an audio loudness conversion formula to obtain an audio loudness value; obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value; smoothing the loudness gain curve according to the preset time delay time to obtain a smoothed loudness gain curve; obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time; and adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve. The embodiment of the application can improve the tone quality of the audio signal.

Description

Method, device and equipment for adjusting loudness of audio signal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of audio editing, in particular to a method, a device, equipment and a storage medium for adjusting loudness of an audio signal.
Background
The expander can make the dynamic range of the maximum audio loudness and the minimum audio loudness of the audio signal larger, that is, the place with large audio loudness is larger, and the place with small audio loudness is smaller and widely applied, for example, it is applied to various large audio editing software (Adobe audio, audio director).
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for adjusting loudness of an audio signal, and aims to solve the problem of overlarge difference of loudness changes of audio in the existing audio signal.
In a first aspect, an embodiment of the present invention provides a method for adjusting loudness of an audio signal, including:
acquiring an original audio signal, and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal;
obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value;
partitioning the loudness gain curve according to preset time delay time, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay time to obtain a smoothed loudness gain curve;
obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time;
and adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
Further, obtaining a target audio loudness value through an audio loudness gain formula according to the audio loudness value, a preset loudness threshold value and a preset knee threshold value; and calculating the difference value between the audio response value and the target audio response value to obtain a loudness gain curve.
Further, calculating an average loudness gain value corresponding to the loudness gain curve of each block, and finding out a first loudness gain value and a second loudness gain value through a loudness gain value difference method according to the average loudness gain value; translating the second loudness gain value in the loudness gain curve by the preset delay time, and calculating a third loudness gain value according to the second loudness gain value translated by the preset delay time in the smooth loudness gain curve and the first loudness gain value; calculating an average of the second loudness gain value and the third loudness gain value to obtain a fourth loudness gain value; and smoothing the loudness gain curve through a preset order exponential smoothing algorithm according to the first loudness gain value and the fourth loudness gain value to obtain a smoothed loudness gain curve.
Further, calculating an average loudness gain value corresponding to the loudness gain curve of each block, setting the loudness gain value in the loudness gain curve larger than the average loudness gain value as a positive loudness gain value, and setting the loudness gain value in the loudness gain curve not larger than the average loudness gain value as a negative loudness gain value; and sequentially calculating the product of the loudness gain values corresponding to the front sampling point and the rear sampling point in the gain curve to obtain a loudness gain product value, and determining a first loudness gain value and a second loudness gain value according to the gain product value.
Further, dividing the smoothed loudness gain curve into a plurality of attack sections and release sections according to the slope of the curve in the smoothed loudness gain curve; in each attack section, obtaining an output gain compensation curve by an attack smoothing gain method according to a preset smoothing loudness gain initial value, preset attack time and attack retention time; and in each release section, obtaining the output gain compensation curve by a smooth gain release method according to a preset smooth loudness gain initial value, preset release time and release retention time.
Further, calculating the number of attack retention sampling points according to preset attack retention time; setting initial values of the first comparison parameter, the second comparison parameter and the attack sampling parameter as a first preset value, a second preset value and a third preset value respectively, and setting an initial value of an output gain compensation value corresponding to the second comparison parameter as a preset smooth loudness gain initial value; comparing a smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with an output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling point number respectively; if the smoothed loudness gain value is not greater than the output gain compensation value and the attack sampling parameter is not greater than the attack retention sampling point number, adding 1 to the second comparison parameter, and taking the output gain compensation value as an output gain compensation value corresponding to the second comparison parameter; if the gain value of the smooth loudness is not more than the initial value of the preset smooth loudness gain and the attack sampling parameter is more than the number of attack reserved sampling points, adding 1 to the second comparison parameter, and determining the output gain compensation value corresponding to the second comparison parameter through an attack smooth gain formula according to preset attack time; and adding 1 to the first comparison parameter and the attack sampling parameter, and returning to execute the step of comparing the smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with the output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling points respectively until the first comparison parameter reaches a preset first comparison end value and the second comparison parameter reaches a preset second comparison end value, so as to obtain an output gain compensation curve.
Further, performing linear conversion on the gain compensation value in the output gain compensation curve; multiplying the original audio signal by the linearly converted output gain compensation value to adjust the loudness of the original audio signal.
In a second aspect, an embodiment of the present invention further provides a loudness adjustment apparatus for an audio signal, including:
the first calculation unit is used for acquiring an original audio signal and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal;
the second calculation unit is used for obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value;
the smoothing processing unit is used for partitioning the loudness gain curve according to preset time delay time, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay time to obtain a smoothed loudness gain curve;
the third calculation unit is used for obtaining an output gain compensation curve through a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time;
and the adjusting unit is used for adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a method, a device and equipment for adjusting loudness of an audio signal and a storage medium. Wherein the method comprises the following steps: acquiring an original audio signal, and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal; obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value; partitioning the loudness gain curve according to preset time delay, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay to obtain a smoothed loudness gain curve; obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time; and adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve. According to the technical scheme of the embodiment of the invention, the loudness gain curve is smoothed according to the average loudness gain value and the preset time delay time to obtain the smooth loudness gain curve, and then the gain compensation curve is output by a smoothing gain method according to the smooth loudness gain curve and the set parameters such as release time, so that the parameters such as release time can be flexibly adjusted, the variation difference of the audio loudness is reduced to a certain extent, the distortion of the audio signal can be reduced, and the tone quality of the audio signal can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are 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 flowchart of a loudness adjustment method for an audio signal according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a loudness adjustment apparatus for an audio signal according to an embodiment of the present invention; and
fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for adjusting loudness of an audio signal according to an embodiment of the present invention. The loudness adjustment method of the audio signal provided by the embodiment of the invention can be applied to terminals, such as intelligent terminal equipment like smart phones, portable computers, desktop computers and notebook computers, and is realized by software installed on the terminals, such as an application program named as audio editing software, so that the distortion of the audio signal is reduced and the tone quality of the audio signal is improved. The loudness adjustment method of the audio signal is explained in detail below. As shown in fig. 1, the method includes the following steps S100-S140.
S100, acquiring an original audio signal, and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal.
In the embodiment of the present invention, after a user edits and processes audio to be edited in audio editing software into a master tape, the audio editing software may obtain an original audio signal in the audio to perform loudness adjustment, specifically, first perform linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal, where the audio loudness conversion formula is Xdb20 × log10(abs (data)), wherein XdbFor audio loudness values, data is the original audio signal and abs (data) is the absolute value of the solution to the original audio signal. It should be noted that, in the embodiment of the present invention, the linear transformation is performed on the original audio signal, so as to generate a loudness gain curve in a later step.
And S110, obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value.
In the embodiment of the present invention, after performing linear conversion on the original audio signal to obtain an audio loudness value corresponding to the original audio signal, a target audio loudness value is obtained through an audio loudness gain formula according to the audio loudness value, a preset loudness threshold value and a preset knee threshold value, where the audio loudness gain formula is shown in formula (1), T and W are the preset loudness threshold value and the preset knee threshold value, respectively, it should be noted that, in the embodiment of the present invention, the preset loudness threshold value is a maximum loudness gain value used for controlling the loudness gain curve, and the preset knee threshold value represents smoothness of the loudness gain curve at the preset loudness threshold value; after the target audio response value is obtained through calculation, the audio response value and the target audio are calculatedDifference between loudness values to obtain a loudness gain curve gcI.e. gc=Xdb-Xsc
Figure BDA0003506719120000061
And S120, partitioning the loudness gain curve according to preset time delay, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay to obtain a smoothed loudness gain curve.
In the embodiment of the invention, after a loudness gain curve is obtained through an audio loudness gain formula, the loudness gain curve is partitioned according to preset time delay time, an average loudness gain value corresponding to the loudness gain curve of each partition is calculated, and a first loudness gain value and a second loudness gain value are found through a loudness gain value difference method according to the average loudness gain value, wherein the loudness gain value difference method is used for calculating the average loudness gain value corresponding to the loudness gain curve of each partition, setting the loudness gain value larger than the average loudness gain value in the loudness gain curve as a positive loudness gain value, and setting the loudness gain value not larger than the average loudness gain value in the loudness gain curve as a negative loudness gain value; sequentially calculating the product of loudness gain values corresponding to a front sampling point and a rear sampling point in the gain curve to obtain a loudness gain product value, and determining a first loudness gain value and a second loudness gain value according to the gain product value; after finding out a first loudness gain value and a second loudness gain value, translating the second loudness gain value in the loudness gain curve by the preset delay time, and calculating a third loudness gain value according to the second loudness gain value translated by the preset delay time in the smooth loudness gain curve and the first loudness gain value, wherein in the embodiment of the present invention, the preset delay time may be set to 10ms, and understandably, in other embodiments, the preset delay time may also be set to other values, which is not specifically limited; calculating an average of the second loudness gain value and the third loudness gain value to obtain a fourth loudness gain value; and smoothing the loudness gain curve through a preset order exponential smoothing algorithm according to the first loudness gain value and the fourth loudness gain value to obtain a smoothed loudness gain curve, specifically, calculating an average value of the first loudness gain value and the fourth loudness gain value, and smoothing the loudness gain curve through a first order exponential smoothing algorithm according to the average value and the first loudness gain value to obtain the smoothed loudness gain curve. It should be noted that, in the embodiment of the present invention, the loudness gain curve may also be obtained by smoothing the loudness gain curve through an exponential smoothing algorithm of another order, for example, a second-order exponential smoothing algorithm.
And S130, obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time.
In the embodiment of the present invention, after the loudness gain curve is smoothed to obtain a smoothed loudness gain curve, the smoothed loudness gain curve is divided into a plurality of attack sections and release sections according to a curve slope in the smoothed loudness gain curve, specifically, if the curve slope is a positive slope, the smoothed loudness gain curve is taken as a release section, otherwise, if the curve slope is a negative slope, the smoothed loudness gain curve is taken as an attack section; in each attack section, obtaining an output gain compensation curve by an attack smoothing gain method according to a preset smoothing loudness gain initial value, preset attack time and attack retention time; and in each release section, obtaining the output gain compensation curve by a smooth gain release method according to a preset smooth loudness gain initial value, preset release time and release retention time. Understandably, the preset attack time and attack retention time are respectively the total time of each attack section and the time for retaining the smooth loudness gain value in each attack section, and the preset release time and release retention time are respectively the total time of each release section and the time for retaining the smooth loudness gain value in each release section.
Furthermore, the attack smoothing gain method is that the number of attack retention sampling points is calculated according to preset attack retention time, and in practical application, the preset inverse number of the set attack retention is the number of the attack retention sampling points; setting initial values of a first comparison parameter, a second comparison parameter and an attack sampling parameter as a first preset value, a second preset value and a third preset value respectively, and setting an initial value of an output gain compensation value corresponding to the second comparison parameter as a preset smooth loudness gain initial value, wherein the first preset value, the second preset value and the third preset value are set as 1, 0 and 0 respectively, the preset smooth loudness gain initial value is 0db, it needs to be noted that in practical application, if the first comparison parameter is n, the second comparison parameter is m, and the attack sampling parameter is count _ attack, then m is n-1; comparing the smooth loudness gain value and the attack sampling parameter corresponding to the first comparison parameter in the smooth loudness gain curve with the output gain compensation value and the attack reserved sampling point number corresponding to the second comparison parameter, respectively, that is, if the output gain compensation value is assumed to be gs[n]The number of the attack reserved sampling points is HAThen g isc[1]And gs[0]Compare and compare count _ attack with HAComparing; if the gain value g of the smooth loudnessc[1]Is not greater than the output gain compensation value gs[0]And the attacked sampling parameter count _ attack is not more than the attack reserved sampling point number HAAdding 1 to the second comparison parameter, and taking the output gain compensation value as the output gain compensation value corresponding to the second comparison parameter, which is gs[1]=gs[0](ii) a If the gain value g of the smooth loudnessc[1]Not more than the initial value g of the gain of the preset smooth loudnesss[0]And the attack sampling parameter count _ attack is greater than the attack reserved sampling point number HAAdding 1 to the second comparison parameter, and determining the output gain compensation value g corresponding to the second comparison parameter according to the preset attack time and an attack smoothing gain formulas[1](ii) a And adding 1 to the first comparison parameter and the attack sampling parameter, and returning to the step of comparing the smooth loudness gain value corresponding to the first comparison parameter in the smooth loudness gain curve and the attack sampling parameter with the output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling point number respectively until the first comparison parameter reaches a preset first comparison end value and the second comparison parameter reaches a preset second comparison end value to obtain an output gain compensation curve. It should be noted that, in the embodiment of the present invention, the second comparison end value is smaller than the first comparison end value by 1, where the first comparison end value is the number of sampling points of the audio signal that is set by itself, for example, if 1s corresponds to 44100 sampling points, and the audio playing time is 10s, 44100 × 10 sampling points are set, the first comparison end value is 44100 × 10, and the first comparison end value is determined by the sampling points and the audio playing time.
Further, the release smoothing gain method is similar to the attack smoothing gain method except that the attack retention time set in the above step is replaced with the release retention time to obtain a release retention sampling point HRReplacing the attack sampling parameter count _ attack with a release sampling parameter count _ release, wherein the rest steps are the same, and understandably, the output gain compensation curve is shown as formula (2):
Figure BDA0003506719120000091
in the formula (2), the first and second groups,
Figure BDA0003506719120000092
fs and TRRespectively, the sampling rate and the preset release time of the audio signal, and TA and TR respectively are the preset attack time and the preset release time. It should be noted that, in the embodiment of the present invention, the variation difference of the audio loudness can be reduced to a certain extent by flexibly adjusting a plurality of parameters, such as the release time and the attack time, so that the distortion of the audio signal can be reduced, and the sound quality of the audio signal can be improved.
S140, adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
In the embodiment of the invention, after the output gain compensation curve is obtained by a smooth gain method, the gain compensation value in the output gain compensation curve is linearly converted by a gain linear conversion formula, wherein the linear conversion formula is
Figure BDA0003506719120000093
Wherein, gsIs gs[n]Any one of the output gain compensation values, glimAny one of the output gain compensation values after linear conversion; multiplying the original audio signal by the linearly converted output gain compensation value to adjust the loudness of the original audio signal to reduce the variation difference of the audio loudness.
Fig. 2 is a schematic block diagram of a loudness adjustment apparatus 200 for an audio signal according to an embodiment of the present invention. As shown in fig. 2, the present invention further provides a loudness adjustment apparatus 200 for an audio signal, corresponding to the above method for adjusting the loudness of an audio signal. The loudness adjustment apparatus 200 of an audio signal, which may be configured in a terminal, includes a unit for performing the above-described loudness adjustment method of an audio signal. Specifically, referring to fig. 2, the loudness adjustment apparatus 200 of the audio signal includes a first calculation unit 201, a second calculation unit 202, a smoothing processing unit 203, a third calculation unit 204, and an adjustment unit 205.
The first calculating unit 201 is configured to obtain an original audio signal, and perform linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal; the second calculating unit 202 is configured to obtain a loudness gain curve according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value through an audio loudness gain formula; the smoothing processing unit 203 is configured to block the loudness gain curve according to preset delay time, calculate an average loudness gain value corresponding to the loudness gain curve of each block, and smooth the loudness gain curve according to the average loudness gain value and the preset delay time to obtain a smoothed loudness gain curve; the third calculating unit 204 is configured to obtain an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset initial value of the smooth loudness gain, and preset attack time, attack retention time, release time, and release retention time; the adjusting unit 205 is configured to adjust the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
In some embodiments, such as this embodiment, the second computing unit 202 includes a first computing sub-unit 2021 and a second computing sub-unit 2022.
The first calculating subunit 2021 is configured to obtain a target audio loudness value according to the audio loudness value, a preset loudness threshold value and a preset knee threshold value through an audio loudness gain formula; the second calculating subunit 2022 is configured to calculate a difference between the audio loudness value and the target audio loudness value to obtain a loudness gain curve.
In some embodiments, for example, in this embodiment, the smoothing unit 203 includes a lookup unit 2031, a translation unit 2032, a third calculation subunit 2033, and a smoothing subunit 2034.
The searching unit 2031 is configured to calculate an average loudness gain value corresponding to the loudness gain curve of each block, and search for a first loudness gain value and a second loudness gain value by a loudness gain value difference method according to the average loudness gain value; the shifting unit 2032 is configured to shift the second loudness gain value in the loudness gain curve by the preset delay time, and calculate a third loudness gain value according to the second loudness gain value shifted by the preset delay time in the smooth loudness gain curve and the first loudness gain value; the third calculating subunit 2033 is configured to calculate an average of the second loudness gain value and the third loudness gain value to obtain a fourth loudness gain value; the smoothing processing subunit 2034 is configured to perform smoothing processing on the loudness gain curve by using a preset order exponential smoothing algorithm according to the first loudness gain value and the fourth loudness gain value to obtain a smoothed loudness gain curve.
In some embodiments, for example, in this embodiment, the searching unit 2031 includes a first setting unit 20311 and a determining unit 20312.
The first setting unit 20311 is configured to calculate an average loudness gain value corresponding to the loudness gain curve of each partition, set a loudness gain value in the loudness gain curve that is greater than the average loudness gain value to a positive loudness gain value, and set a loudness gain value in the loudness gain curve that is not greater than the average loudness gain value to a negative loudness gain value; the determining unit 20312 is configured to sequentially calculate a product of loudness gain values corresponding to a front sampling point and a rear sampling point in the gain curve to obtain a loudness gain product value, and determine a first loudness gain value and a second loudness gain value according to the loudness gain product value.
In some embodiments, such as the present embodiment, the third computing unit 204 includes a dividing unit 2041, an attack smoothing unit 2042, and a release smoothing unit 2043.
Wherein the dividing unit 2041 is configured to divide the smoothed loudness gain curve into a plurality of attack segments and release segments according to a slope of the smoothed loudness gain curve; the attack smoothing unit 2042 is configured to obtain an output gain compensation curve in each attack segment by an attack smoothing gain method according to a preset smoothing loudness gain initial value, preset attack time, and attack retention time; the release smoothing unit 2043 is configured to obtain the output gain compensation curve in each release segment by a release smoothing gain method according to a preset smoothing loudness gain initial value, a preset release time, and a release retention time.
In some embodiments, for example, in this embodiment, the attack smoothing unit 2042 includes a fourth calculating subunit 20421, a second setting unit 20422, a comparing unit 20423, a fifth calculating subunit 20424, a sixth calculating subunit 20425, and a return executing unit 20426.
The fourth calculating subunit 20421 is configured to calculate an attack retention sampling point number according to preset attack retention time; the second setting unit 20422 is configured to set initial values of the first comparison parameter, the second comparison parameter, and the attack sampling parameter as a first preset value, a second preset value, and a third preset value, respectively, and set an initial value of an output gain compensation value corresponding to the second comparison parameter as a preset smooth loudness gain initial value; the comparing unit 20423 is configured to compare the smoothed loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smoothed loudness gain curve with the output gain compensation value corresponding to the second comparison parameter and the attack retention sampling point number, respectively; the fifth calculating subunit 20424 is configured to add 1 to the second comparison parameter if the smoothed loudness gain value is not greater than the output gain compensation value and the attack sampling parameter is not greater than the attack retention sampling point number, and use the output gain compensation value as an output gain compensation value corresponding to the second comparison parameter; the sixth calculating subunit 20425 is configured to add 1 to the second comparison parameter if the smoothed loudness gain value is not greater than the preset smoothed loudness gain initial value and the attack sampling parameter is greater than the attack retention sampling point number, and determine the output gain compensation value corresponding to the second comparison parameter according to a preset attack time by using an attack smoothing gain formula; the return execution unit 20426 is configured to add 1 to the first comparison parameter and the attack sampling parameter, and return to execute the step of comparing the smoothed loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smoothed loudness gain curve with the output gain compensation value corresponding to the second comparison parameter and the attack retention sampling point number, respectively, until the first comparison parameter reaches a preset first comparison end value and the second comparison parameter reaches a preset second comparison end value, so as to obtain an output gain compensation curve.
In some embodiments, such as the present embodiment, the adjusting unit 205 includes a linear transformation unit 2051 and an adjusting subunit 2052.
The linear conversion unit 2051 is configured to perform linear conversion on the gain compensation value in the output gain compensation curve; the adjusting subunit 2052 is configured to multiply the original audio signal by the linearly converted output gain compensation value to adjust the loudness of the original audio signal.
The specific implementation manner of the loudness adjustment apparatus 200 of the audio signal in the embodiment of the present invention corresponds to the above-described process verification method, and is not described herein again.
The loudness adjustment means for an audio signal described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 300 is a terminal, and the terminal may be an electronic device with a communication function, such as a smart phone, a desktop computer, a laptop computer, or a tablet computer.
Referring to fig. 3, the computer device 300 includes a processor 302, a memory, which may include a storage medium 303 and an internal memory 304, and a network interface 305 connected by a system bus 301.
The storage medium 303 may store an operating system 3031 and computer programs 3032. The computer program 3032, when executed, may cause the processor 302 to perform a method of loudness adjustment of an audio signal.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall computer device 300.
The internal memory 304 provides an environment for the execution of the computer program 3032 in the storage medium 303, which computer program 3032, when executed by the processor 302, causes the processor 302 to perform a method for loudness adjustment of an audio signal.
The network interface 305 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer apparatus 300 to which the present application is applied, and that a particular computer apparatus 300 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to run a computer program 3032 stored in the memory to implement the following steps: acquiring an original audio signal, and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal; obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value; partitioning the loudness gain curve according to preset time delay time, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay time to obtain a smoothed loudness gain curve; obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time; and adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of obtaining the loudness gain curve through the audio loudness gain formula according to the audio loudness value, the preset loudness threshold value, and the preset knee threshold value, the following steps are specifically implemented: obtaining a target audio loudness value through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value; and calculating the difference value between the audio loudness value and the target audio loudness value to obtain a loudness gain curve.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset delay time to obtain a smoothed loudness gain curve, the following steps are specifically implemented: calculating an average loudness gain value corresponding to the loudness gain curve of each block, and finding out a first loudness gain value and a second loudness gain value through a loudness gain value difference method according to the average loudness gain value; translating the second loudness gain value in the loudness gain curve by the preset delay time, and calculating a third loudness gain value according to the second loudness gain value translated by the preset delay time in the smooth loudness gain curve and the first loudness gain value; calculating an average of the second loudness gain value and the third loudness gain value to obtain a fourth loudness gain value; and smoothing the loudness gain curve through a preset order exponential smoothing algorithm according to the first loudness gain value and the fourth loudness gain value to obtain a smoothed loudness gain curve.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and finding a first loudness gain value and a second loudness gain value by using a loudness gain value difference method according to the average loudness gain value, the following steps are specifically implemented: calculating an average loudness gain value corresponding to the loudness gain curve of each block, setting the loudness gain value which is larger than the average loudness gain value in the loudness gain curve as a positive loudness gain value, and setting the loudness gain value which is not larger than the average loudness gain value in the gain curve as a negative loudness gain value; and sequentially calculating the product of the loudness gain values corresponding to the front sampling point and the rear sampling point in the gain curve to obtain a loudness gain product value, and determining a first loudness gain value and a second loudness gain value according to the gain product value.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of obtaining the output gain compensation curve by the smoothing gain method according to the smoothing loudness gain curve, the preset smoothing loudness gain initial value, the preset attack time, the attack retention time, the release time, and the release retention time, the following steps are specifically implemented: dividing the smoothed loudness gain curve into a plurality of attack sections and release sections according to the curve slope in the smoothed loudness gain curve; in each attack section, obtaining an output gain compensation curve by an attack smoothing gain method according to a preset smoothing loudness gain initial value, preset attack time and attack retention time; and in each release section, obtaining the output gain compensation curve by a smooth gain release method according to a preset smooth loudness gain initial value, preset release time and release retention time.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of obtaining the output gain compensation curve by using the attack smoothing gain method according to the preset smoothing loudness gain initial value, the preset attack time and the attack retention time, the following steps are specifically implemented: calculating the number of attack retention sampling points according to preset attack retention time; setting initial values of the first comparison parameter, the second comparison parameter and the attack sampling parameter as a first preset value, a second preset value and a third preset value respectively, and setting an initial value of an output gain compensation value corresponding to the second comparison parameter as a preset smooth loudness gain initial value; comparing a smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with an output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling point number respectively; if the gain value of the smooth loudness is not more than the output gain compensation value and the attack sampling parameter is not more than the attack retention sampling point number, adding 1 to the second comparison parameter, and taking the output gain compensation value as an output gain compensation value corresponding to the second comparison parameter; if the gain value of the smooth loudness is not more than the initial value of the preset smooth loudness gain and the attack sampling parameter is more than the number of attack reserved sampling points, adding 1 to the second comparison parameter, and determining the output gain compensation value corresponding to the second comparison parameter through an attack smooth gain formula according to preset attack time; and adding 1 to the first comparison parameter and the attack sampling parameter, and returning to execute the step of comparing the smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with the output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling points respectively until the first comparison parameter reaches a preset first comparison end value and the second comparison parameter reaches a preset second comparison end value, so as to obtain an output gain compensation curve.
In some embodiments, for example, in this embodiment, when implementing the step of adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve, the processor 302 specifically implements the following steps: performing linear conversion on the gain compensation value in the output gain compensation curve; multiplying the original audio signal by the linearly converted output gain compensation value to adjust the loudness of the original audio signal.
It should be understood that, in the embodiment of the present Application, the Processor 302 may be a Central Processing Unit (CPU), and the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program is executed by at least one processor in the computer system to implement the flow steps of an embodiment of the method for loudness adjustment of an audio signal described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
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, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for loudness adjustment of an audio signal, comprising:
acquiring an original audio signal, and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal;
obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value;
partitioning the loudness gain curve according to preset time delay, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay to obtain a smoothed loudness gain curve;
obtaining an output gain compensation curve by a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time;
and adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
2. The method for adjusting the loudness of an audio signal according to claim 1, wherein obtaining a loudness gain curve according to the audio loudness value, a preset loudness threshold value and a preset knee threshold value by an audio loudness gain formula comprises:
obtaining a target audio loudness value through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value;
and calculating the difference value between the audio response value and the target audio response value to obtain a loudness gain curve.
3. The method for adjusting the loudness of an audio signal according to claim 1, wherein the calculating an average loudness gain value corresponding to the loudness gain curve of each block and smoothing the loudness gain curve according to the average loudness gain value and the preset delay time to obtain a smoothed loudness gain curve includes:
calculating an average loudness gain value corresponding to the loudness gain curve of each block, and finding out a first loudness gain value and a second loudness gain value through a loudness gain value difference method according to the average loudness gain value;
translating the second loudness gain value in the loudness gain curve by the preset delay time, and calculating a third loudness gain value according to the second loudness gain value translated by the preset delay time in the smooth loudness gain curve and the first loudness gain value;
calculating an average of the second loudness gain value and the third loudness gain value to obtain a fourth loudness gain value;
and smoothing the loudness gain curve through a preset order exponential smoothing algorithm according to the first loudness gain value and the fourth loudness gain value to obtain a smoothed loudness gain curve.
4. The method for adjusting loudness of an audio signal according to claim 3, wherein the calculating an average loudness gain value corresponding to the loudness gain curve of each block and finding out a first loudness gain value and a second loudness gain value according to the average loudness gain value by a loudness gain value difference method includes:
calculating an average loudness gain value corresponding to the loudness gain curve of each block, setting the loudness gain value which is larger than the average loudness gain value in the loudness gain curve as a positive loudness gain value, and setting the loudness gain value which is not larger than the average loudness gain value in the gain curve as a negative loudness gain value;
and sequentially calculating the product of the loudness gain values corresponding to the front sampling point and the rear sampling point in the gain curve to obtain a loudness gain product value, and determining a first loudness gain value and a second loudness gain value according to the gain product value.
5. The method for adjusting the loudness of the audio signal according to claim 1, wherein the obtaining an output gain compensation curve by a smoothing gain method according to the smoothing loudness gain curve, a preset smoothing loudness gain initial value, a preset attack time, an attack retention time, a release time and a release retention time comprises:
dividing the smoothed loudness gain curve into a plurality of attack sections and release sections according to the curve slope in the smoothed loudness gain curve;
in each attack section, obtaining an output gain compensation curve by an attack smoothing gain method according to a preset smoothing loudness gain initial value, preset attack time and attack retention time;
and in each release section, obtaining the output gain compensation curve by a smooth gain release method according to a preset smooth loudness gain initial value, preset release time and release retention time.
6. The method for adjusting the loudness of the audio signal according to claim 5, wherein the obtaining an output gain compensation curve by an attack smoothing gain method according to a preset smoothing loudness gain initial value, a preset attack time and an attack retention time comprises:
calculating the number of attack retention sampling points according to preset attack retention time;
setting initial values of the first comparison parameter, the second comparison parameter and the attack sampling parameter as a first preset value, a second preset value and a third preset value respectively, and setting an initial value of an output gain compensation value corresponding to the second comparison parameter as a preset smooth loudness gain initial value;
comparing a smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with an output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling point number respectively;
if the smoothed loudness gain value is not greater than the output gain compensation value and the attack sampling parameter is not greater than the attack retention sampling point number, adding 1 to the second comparison parameter, and taking the output gain compensation value as an output gain compensation value corresponding to the second comparison parameter;
if the gain value of the smooth loudness is not more than the initial value of the preset smooth loudness gain and the attack sampling parameter is more than the number of attack reserved sampling points, adding 1 to the second comparison parameter, and determining the output gain compensation value corresponding to the second comparison parameter through an attack smooth gain formula according to preset attack time;
and adding 1 to the first comparison parameter and the attack sampling parameter, and returning to execute the step of comparing the smooth loudness gain value corresponding to the first comparison parameter and the attack sampling parameter in the smooth loudness gain curve with the output gain compensation value corresponding to the second comparison parameter and the attack reserved sampling points respectively until the first comparison parameter reaches a preset first comparison end value and the second comparison parameter reaches a preset second comparison end value, so as to obtain an output gain compensation curve.
7. The method for adjusting the loudness of an audio signal according to claim 1, wherein the adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve comprises:
performing linear conversion on the gain compensation value in the output gain compensation curve;
multiplying the original audio signal by the linearly converted output gain compensation value to adjust the loudness of the original audio signal.
8. An apparatus for adjusting loudness of an audio signal, comprising:
the first calculation unit is used for acquiring an original audio signal and performing linear conversion on the original audio signal through an audio loudness conversion formula to obtain an audio loudness value corresponding to the original audio signal;
the second calculation unit is used for obtaining a loudness gain curve through an audio loudness gain formula according to the audio loudness value, the preset loudness threshold value and the preset knee threshold value;
the smoothing processing unit is used for partitioning the loudness gain curve according to preset time delay time, calculating an average loudness gain value corresponding to the loudness gain curve of each partition, and smoothing the loudness gain curve according to the average loudness gain value and the preset time delay time to obtain a smoothed loudness gain curve;
the third calculation unit is used for obtaining an output gain compensation curve through a smooth gain method according to the smooth loudness gain curve, a preset smooth loudness gain initial value, preset attack time, attack retention time, release time and release retention time;
and the adjusting unit is used for adjusting the loudness of the original audio signal according to the gain compensation value in the output gain compensation curve.
9. A computer device, characterized in that the computer device comprises a memory having stored thereon a computer program and a processor which, when executing the computer program, implements the method of loudness adjustment of an audio signal according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, is adapted to carry out a method of loudness adjustment of an audio signal according to any one of claims 1 to 7.
CN202210140617.8A 2022-02-16 2022-02-16 Method, device, equipment and storage medium for adjusting loudness of audio signal Active CN114466285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210140617.8A CN114466285B (en) 2022-02-16 2022-02-16 Method, device, equipment and storage medium for adjusting loudness of audio signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210140617.8A CN114466285B (en) 2022-02-16 2022-02-16 Method, device, equipment and storage medium for adjusting loudness of audio signal

Publications (2)

Publication Number Publication Date
CN114466285A true CN114466285A (en) 2022-05-10
CN114466285B CN114466285B (en) 2023-09-29

Family

ID=81413236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210140617.8A Active CN114466285B (en) 2022-02-16 2022-02-16 Method, device, equipment and storage medium for adjusting loudness of audio signal

Country Status (1)

Country Link
CN (1) CN114466285B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033314A (en) * 2023-02-15 2023-04-28 南昌航天广信科技有限责任公司 Audio automatic gain compensation method, system, computer and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017092818A (en) * 2015-11-13 2017-05-25 日本放送協会 Loudness regulator and program
CN109040885A (en) * 2017-06-09 2018-12-18 中国科学院声学研究所 A kind of personalized loudness compensation method and system for headphone equalization based on volume
CN110446102A (en) * 2018-05-04 2019-11-12 青岛海信电器股份有限公司 The loudness method of adjustment and device of audio signal
US20200112294A1 (en) * 2017-04-13 2020-04-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus for processing an input audio signal and corresponding method
CN113470669A (en) * 2021-05-26 2021-10-01 广州市迪士普音响科技有限公司 Digital audio processing method and system
CN113472938A (en) * 2021-08-23 2021-10-01 Oppo广东移动通信有限公司 Audio control method and device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017092818A (en) * 2015-11-13 2017-05-25 日本放送協会 Loudness regulator and program
US20200112294A1 (en) * 2017-04-13 2020-04-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus for processing an input audio signal and corresponding method
CN109040885A (en) * 2017-06-09 2018-12-18 中国科学院声学研究所 A kind of personalized loudness compensation method and system for headphone equalization based on volume
CN110446102A (en) * 2018-05-04 2019-11-12 青岛海信电器股份有限公司 The loudness method of adjustment and device of audio signal
CN113470669A (en) * 2021-05-26 2021-10-01 广州市迪士普音响科技有限公司 Digital audio processing method and system
CN113472938A (en) * 2021-08-23 2021-10-01 Oppo广东移动通信有限公司 Audio control method and device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033314A (en) * 2023-02-15 2023-04-28 南昌航天广信科技有限责任公司 Audio automatic gain compensation method, system, computer and storage medium

Also Published As

Publication number Publication date
CN114466285B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
JP6490641B2 (en) Audio signal compensation based on loudness
KR20210020751A (en) Systems and methods for providing personalized audio replay on a plurality of consumer devices
WO2017032030A1 (en) Volume adjusting method and user terminal
JP2004005662A (en) Circuit, system, and method for calculating approximate value of logarithm, inverse logarithm, and reciprocal
JP6999631B2 (en) Audio processing methods, devices, electronic devices and storage media
JP2006042333A (en) Volume automatic correction device by channel change and its method
US10014841B2 (en) Method and apparatus for controlling audio playback based upon the instrument
US20220345817A1 (en) Audio processing method and device, terminal, and computer-readable storage medium
CN106887233B (en) Audio data processing method and system
CN110809214A (en) Audio playing method, audio playing device and terminal equipment
CN114466285A (en) Method, device and equipment for adjusting loudness of audio signal and storage medium
WO2020097824A1 (en) Audio processing method and apparatus, storage medium, and electronic device
CN107682802B (en) Method and device for debugging sound effect of audio equipment
CN106782601B (en) multimedia data processing method and device
CN114449413B (en) Method, device, equipment and storage medium for controlling loudness of audio signal
JP2018505583A (en) Audio signal processing apparatus and method for correcting a stereo image of a stereo signal
WO2021143249A1 (en) Transient noise suppression-based audio processing method, apparatus, device, and medium
CN111243631B (en) Automatic gain control method and electronic equipment
US9659575B2 (en) Signal processor and method therefor
CN115985349A (en) Audio processing method, apparatus, device and medium based on parameter equalizer
CN112151053B (en) Speech enhancement method, system, electronic device and storage medium
CN116206619A (en) Voice processing method and device, storage medium and electronic equipment
CN113823315A (en) Wind noise reduction method and device, double-microphone device and storage medium
US11348596B2 (en) Voice processing method for processing voice signal representing voice, voice processing device for processing voice signal representing voice, and recording medium storing program for processing voice signal representing voice
CN113035165B (en) Audio data processing method, audio data processing apparatus, and readable storage medium

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