Equal loudness volume adjustment method, device and electronic device applied to Bluetooth terminal

By acquiring the audio data set, analyzing the frequency and average amplitude, and performing gain processing, it solves the distortion problem caused by the personalized needs of Bluetooth terminal volume adjustment and inconsistent loudness gain, and achieves flexible volume adjustment and accurate gain of audio data.

CN113849149BActive Publication Date: 2024-09-24SUNNIWELL AIOT TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011119699.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-19
Publication Date
2024-09-24
Estimated Expiration
2040-10-19

AI Technical Summary

Technical Problem

When adjusting the volume of a Bluetooth terminal, the volume cannot be adjusted because the parameters of the ADC chip register are preset, and the inconsistent loudness gain of different frequencies under the traditional equal-proportional audio gain method causes sound distortion.

Method used

By obtaining the audio data set, determining its frequency and average amplitude, and performing gain processing to generate audio data of equal loudness, the volume can be adjusted arbitrarily and the distortion rate can be reduced.

Benefits of technology

It realizes personalized adjustment of Bluetooth terminal volume to meet customer needs and reduces the audio distortion rate after volume adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849149B
    Figure CN113849149B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a method, device and electronic device for equal loudness volume adjustment applied to a Bluetooth terminal. A specific implementation of the method includes: obtaining an audio data set. Based on the audio data set, determining the frequency of the audio data set and the average amplitude of the audio data set. Based on the frequency of the audio data set and the average amplitude of the audio data set, performing gain processing on the audio data set to obtain gained audio data. This implementation implements a method for equal loudness volume adjustment, thereby satisfying the user's personalized needs for audio volume while ensuring minimum distortion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly to a method, device, and electronic device for adjusting volume of equal loudness applied to a Bluetooth terminal. Background Art

[0002] With the development of the times, various voice intelligent devices have emerged in recent years, and the volume adjustment technology based on Bluetooth terminals has become a key technology for Bluetooth voice. At present, the commonly used volume adjustment technology often uses the traditional proportional audio gain to adjust the volume.

[0003] However, when the above method is used to adjust the volume of a Bluetooth terminal device, the following technical problems often occur:

[0004] First, since the parameters of the ADC (Analog to Digital Converter) chip register in the Bluetooth terminal have been pre-set when the Bluetooth terminal collects sound signals, the audio output end in the Bluetooth terminal cannot adjust the volume, thereby failing to meet the client's personalized needs for audio volume.

[0005] Second, when the volume is adjusted using traditional proportional audio gain, the sound is distorted after gaining due to inconsistent loudness gain at different frequencies within the human ear's hearing threshold. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure provide a method, device and electronic device for adjusting volume with equal loudness applied to a Bluetooth terminal to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide an equal loudness volume adjustment method applied to a Bluetooth terminal, the method comprising: obtaining an audio data set. Based on the audio data set, determining the frequency of the audio data set and the average amplitude of the audio data set. Based on the frequency of the audio data set and the average amplitude of the audio data set, performing gain processing on the audio data set to obtain audio data after gain.

[0009] In a second aspect, some embodiments of the present disclosure provide an equal loudness volume adjustment device applied to a Bluetooth terminal, the device comprising: an acquisition unit, configured to acquire an audio data set; a determination unit, configured to determine the frequency of the audio data set and the average amplitude of the audio data set based on the audio data set; and a gain unit, configured to perform gain processing on the audio data set based on the frequency of the audio data set and the average amplitude of the audio data set to obtain audio data after gain.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: First, an audio data set is obtained. The above-mentioned audio data set obtained provides data support for the subsequent generation of audio data after gain. Secondly, based on the above-mentioned audio data set, the frequency of the above-mentioned audio data set and the average amplitude of the above-mentioned audio data set are determined. The generated frequency and average amplitude are prepared for the subsequent gain processing of the audio data set. Finally, based on the frequency of the above-mentioned audio data set and the average amplitude of the above-mentioned audio data set, the above-mentioned audio data set is gain-processed to obtain the audio data after gain. The generated audio data after gain is data that can change the volume after equal loudness adjustment. Optionally, the above-mentioned audio data after gain is transmitted to an audio output device and the above-mentioned audio data after gain is played through the above-mentioned audio output device. Through the obtained audio data set, the audio data can be adjusted for equal loudness to obtain the audio data after gain, so that the audio output end of the Bluetooth terminal can adjust the volume at will. Thereby meeting the personalized needs of the client for the audio volume. Solve the problem that the audio output end in the Bluetooth terminal cannot change the volume because the parameters of the ADC chip register in the Bluetooth terminal have been pre-set, and thus cannot meet the personalized needs of the client for the audio volume. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0014] Figure 1 is a schematic diagram of an application scenario of an equal loudness volume adjustment method applied to a Bluetooth terminal in some embodiments of the present disclosure;

[0015] Figure 2 is a flowchart of some embodiments of the equal loudness volume adjustment method applied to a Bluetooth terminal according to some embodiments of the present disclosure;

[0016] Figure 3 is a flow chart of some embodiments of an equal loudness volume adjustment device applied to a Bluetooth terminal according to some embodiments of the present disclosure;

[0017] Figure 4 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0024] Figure 1 101 is a schematic diagram of an application scenario of an equal-loudness volume adjustment method applied to a Bluetooth terminal according to some embodiments of the present disclosure.

[0025] exist Figure 1 In the application scenario diagram, first, the computing device 101 can obtain an audio data set 102. Secondly, the computing device 101 can determine the frequency 103 of the audio data set and the average amplitude 104 of the audio data set based on the audio data set 102. Finally, the computing device 101 can perform gain processing on the audio data set 102 based on the frequency 103 of the audio data set and the average amplitude 104 of the audio data set to obtain gained audio data 105. Optionally, the computing device 101 can transmit the gained audio data 105 to the audio output device 106 and play the gained audio data 105 through the audio output device 106.

[0026] It should be noted that the computing device 101 can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here.

[0027] It should be understood that Figure 1 The number of user equipment information is only for illustration purposes and any number of user equipment information may be provided as required.

[0028] Continue to refer Figure 2 , shows a process 200 of some embodiments of the equal loudness volume adjustment method applied to a Bluetooth terminal according to the present disclosure. The above-mentioned equal loudness volume adjustment method applied to a Bluetooth terminal includes the following steps:

[0029] Step 201: Acquire an audio data set.

[0030] In some embodiments, the execution body of the equal loudness volume adjustment method applied to the Bluetooth terminal (for example Figure 1 The computing device 101 shown in the figure can obtain the audio data set through a wired connection or a wireless connection. The audio data can be data obtained by discrete sampling of analog signals. The audio data set can be the audio of a certain frame.

[0031] Step 202: Based on the audio data set, determine the frequency of the audio data set and the average amplitude of the audio data set.

[0032] In some embodiments, the execution entity may use the audio data set to generate the frequency of the audio data set and the average amplitude of the audio data set in various ways.

[0033] In some optional implementations of some embodiments, the execution subject determines the frequency of the audio data set and the average amplitude of the audio data set based on the audio data set, which may include the following steps:

[0034] The first step is to determine the frequency of the audio data set based on the audio data set.

[0035] As an example, the frequency of the above audio data set may be determined by a Fourier transform algorithm.

[0036] The second step is to determine the average amplitude of the audio data set based on the audio data set.

[0037] As an example, the audio data may be data obtained by discrete sampling of an analog signal. The audio data set is composed of data of multiple sampling points. Therefore, the average amplitude is obtained by averaging the individual audio data in the audio data set.

[0038] Step 203 : performing gain processing on the audio data set based on the frequency of the audio data set and the average amplitude of the audio data set to obtain gained audio data.

[0039] In some embodiments, the execution entity may generate the audio data after gain by various means using the frequency of the audio data set and the average amplitude of the audio data set.

[0040] In some optional implementations of some embodiments, the execution subject performs gain processing on the audio data set based on the frequency of the audio data set and the average amplitude of the audio data set to obtain the gained audio data, which may include the following steps:

[0041] The first step is to determine the sound pressure level based on the above audio data set.

[0042] As an example, based on the above audio data set, the sound pressure level is generated by the following formula:

[0043]

[0044] Wherein, spl represents the sound pressure level. n represents the sequence number. x represents the audio data in the audio data set. n represents the nth audio data in the above audio data set. N represents the number of audio data in the above audio data set. ref Indicates the reference sound pressure. In air, it is usually 2x10^-5 (Pa).

[0045] In a second step, a gained audio data set is determined according to the sound pressure level, the frequency of the audio data set and the average amplitude of the audio data set.

[0046] As an example, based on the sound pressure level, the frequency of the audio data set and the average amplitude of the audio data set, the audio data set after gain is generated by the following formula:

[0047]

[0048] Among them, L N represents the preset target loudness level. αf represents the loudness perception power exponential parameter. L U Indicates the target average amplitude. L p Indicates the above sound pressure level. T f represents the hearing threshold. i represents the serial number. D represents the audio data in the above audio data set. i Represents the i-th audio data in the above audio dataset. represents the above average amplitude. i ′ represents the i-th gained audio data in the above-mentioned gained audio data set.

[0049] The formula and related contents in the above step 203 solve the second technical problem mentioned in the background technology: "When the volume is adjusted by using the traditional proportional audio gain, there will be a problem of inconsistent loudness gains at different frequencies within the human ear hearing threshold, which will cause the audio to be distorted after the volume is adjusted." The factors that cause the audio to be distorted after the volume is adjusted are often as follows: When the volume is adjusted by using the traditional proportional audio gain method, the problem of inconsistent loudness gains at different frequencies is often ignored, which will lead to insufficient accuracy of the audio gain, resulting in the problem of audio distortion after the volume is adjusted. If the above factors are solved, the problem of inconsistent loudness gains at different frequencies within the human ear hearing threshold can be effectively avoided, and the distortion rate of the audio after the volume is adjusted can be reduced. In order to achieve this effect, the present disclosure first determines the sound pressure level based on the above audio data set. Secondly, according to the above generated sound pressure level, the frequency of the above audio data set and the average amplitude of the above audio data set, the target average amplitude is determined, and then the audio data set after gain is determined. The generated audio data after gain is determined by the gain ratio coefficient determined based on the ratio of the above target average amplitude to the above average amplitude. Therefore, even in the case of different frequencies, the loudness is still the same. This improves the accuracy of audio gain and reduces the distortion rate of audio after volume adjustment. It solves the problem of sound distortion after gain caused by inconsistent loudness gain at different frequencies within the human hearing threshold when the volume is adjusted using the traditional proportional audio gain method.

[0050] In some optional implementations of some embodiments, the execution entity transmits the gained audio data to an audio output device and plays the gained audio data through the audio output device.

[0051] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: First, an audio data set is obtained. The above-mentioned audio data set obtained provides data support for the subsequent generation of audio data after gain. Secondly, based on the above-mentioned audio data set, the frequency of the above-mentioned audio data set and the average amplitude of the above-mentioned audio data set are determined. The generated frequency and average amplitude are prepared for the subsequent gain processing of the audio data set. Finally, based on the frequency of the above-mentioned audio data set and the average amplitude of the above-mentioned audio data set, the above-mentioned audio data set is gain-processed to obtain the audio data after gain. The generated audio data after gain is the data after equal loudness adjustment. Optionally, the above-mentioned audio data after gain is transmitted to an audio output device and the above-mentioned audio data after gain is played by the above-mentioned audio output device. Through the obtained audio data set, the audio data can be adjusted for equal loudness to obtain the audio data after gain, so that the audio output end of the Bluetooth terminal can adjust the volume at will. Thereby meeting the personalized needs of the client for the audio volume. Solve the problem that the audio output end in the Bluetooth terminal cannot change the volume because the parameters of the ADC chip register in the Bluetooth terminal have been pre-set, and thus cannot meet the personalized needs of the client for the audio volume.

[0052] Further references Figure 3 As an implementation of the above methods in the above figures, the present disclosure provides some embodiments of an equal loudness volume adjustment device applied to a Bluetooth terminal. These device embodiments are similar to Figure 2 Corresponding to the above method embodiments, the device can be specifically applied to various electronic devices.

[0053] like Figure 3 As shown, in some embodiments, an equal loudness volume adjustment device 300 applied to a Bluetooth terminal includes: an acquisition unit 301, a determination unit 302, and a gain unit 303. The acquisition unit 301 is configured to acquire an audio data set. The determination unit 302 is configured to determine the frequency of the audio data set and the average amplitude of the audio data set based on the audio data set. The gain unit 303 is configured to perform gain processing on the audio data set based on the frequency of the audio data set and the average amplitude of the audio data set to obtain the audio data after gain.

[0054] It is understood that the units described in the device 300 are similar to those described in the reference Figure 2Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 300 and the units contained therein, and will not be described in detail here.

[0055] Reference below Figure 4 , which shows an electronic device (eg, Figure 1 Schematic diagram of the structure of the computing device 101)400. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0056] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0057] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0058] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0059] It should be noted that the computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0060] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0061] The computer-readable medium may be included in the device. It may also exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains an audio data set. Based on the audio data set, determines the frequency of the audio data set and the average amplitude of the audio data set. Based on the frequency of the audio data set and the average amplitude of the audio data set, performs gain processing on the audio data set to obtain audio data after gain.

[0062] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0063] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0064] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, for example, may be described as: a processor includes an acquisition unit, a determination unit, and a gain unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the acquisition unit may also be described as a "unit for acquiring an audio data set".

[0065] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0066] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure to form a technical method.

Claims

1. A method for adjusting the volume of an equal loudness in a Bluetooth terminal, comprising: Get the audio dataset; Based on the audio data set, determining a frequency of the audio data set and an average amplitude of the audio data set; Based on the frequency of the audio data set and the average amplitude of the audio data set, the audio data set is subjected to gain processing to obtain the gained audio data, including: Based on the audio data set, determining a sound pressure level includes: Based on the audio data set, the sound pressure level is generated by the following formula: Wherein, spl represents the sound pressure level, n represents the sequence number, x represents the audio data in the audio data set, and x n represents the nth audio data in the audio data set, N represents the number of audio data in the audio data set, and p ref Indicates the reference sound pressure, which is generally 2x10^-5 Pa in air; Determining a gained audio data set according to the sound pressure level, the frequency of the audio data set, and the average amplitude of the audio data set includes: Based on the sound pressure level, the frequency of the audio data set and the average amplitude of the audio data set, a gained audio data set is generated by the following formula: Among them, L N represents the preset target loudness level, αf represents the loudness perception power exponential parameter, L U Indicates the target average amplitude, L p Denotes the sound pressure level, T f represents the hearing threshold, i represents the serial number, D represents the audio data in the audio data set, and D i represents the i-th audio data in the audio data set, represents the average amplitude, D i ′ represents the i-th gained audio data in the gained audio data set.

2. The method according to claim 1, wherein: The method further comprises: The gained audio data is transmitted to an audio output device and the gained audio data is played through the audio output device.

3. The method according to claim 2, wherein: The determining, based on the audio data set, the frequency of the audio data set and the average amplitude of the audio data set comprises: Based on the audio data set, determining a frequency of the audio data set; Based on the audio data set, an average amplitude of the audio data set is determined.

4. A device for equal loudness volume adjustment applied to a Bluetooth terminal, comprising: An acquisition unit, configured to acquire an audio data set; a determining unit configured to determine, based on the audio data set, a frequency of the audio data set and an average amplitude of the audio data set; A gain unit is configured to perform gain processing on the audio data set based on the frequency of the audio data set and the average amplitude of the audio data set to obtain gained audio data, including: Based on the audio data set, determining a sound pressure level includes: Based on the audio data set, the sound pressure level is generated by the following formula: Wherein, spl represents the sound pressure level, n represents the sequence number, x represents the audio data in the audio data set, and x n represents the nth audio data in the audio data set, N represents the number of audio data in the audio data set, and p ref Indicates the reference sound pressure, which is generally 2x10^-5 Pa in air; Determining a gained audio data set according to the sound pressure level, the frequency of the audio data set, and the average amplitude of the audio data set includes: Based on the sound pressure level, the frequency of the audio data set and the average amplitude of the audio data set, a gained audio data set is generated by the following formula: Among them, L N represents the preset target loudness level, αf represents the loudness perception power exponential parameter, L U Indicates the target average amplitude, L p Denotes the sound pressure level, T f represents the hearing threshold, i represents the serial number, D represents the audio data in the audio data set, and D i represents the i-th audio data in the audio data set, represents the average amplitude, D i ′ represents the i-th gained audio data in the gained audio data set.

5. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.

6. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.