An EQ frequency adaptive adjustment method, apparatus, device and storage medium

By constructing a music database and using a three-axis accelerometer for detection, music types are identified and EQ frequencies and gains are adjusted, enabling real-time adaptive EQ frequency adjustment of the audio system, thus improving playback quality and user experience.

CN119600979BActive Publication Date: 2026-01-06SHENZHEN FENDA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411644601.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2026-01-06
Estimated Expiration
2044-11-18

AI Technical Summary

Technical Problem

Existing audio systems cannot adaptively adjust EQ frequency values ​​in real time according to the sound effect category of the current song, resulting in poor playback quality.

Method used

By constructing a music database and using a three-axis accelerometer to detect changes in music sound waves, the music type is identified and the EQ frequency and gain are adaptively adjusted to achieve real-time adaptive EQ frequency adjustment.

Benefits of technology

It improves the music playback effect of the speakers, enhances the user experience, and solves the problem that existing speakers cannot adaptively adjust the EQ frequency point according to the current song's sound effect category.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600979B_ABST
    Figure CN119600979B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of music frequency point adjustment, and discloses an EQ frequency point self-adaptive adjustment method, device, equipment and storage medium, the method comprises the following steps: constructing a music database; detecting the music sound wave of the current music emitted by the audio generator by using a three-axis accelerometer, and obtaining a third three-axis change value of the music sound wave; comparing the third three-axis change value of the music sound wave with the range of the first three-axis change value in the music database, and determining the music type of the current music; detecting the music sound wave in real time by using the three-axis accelerometer, obtaining a fourth three-axis change value, and determining the real-time frequency EQ gain of the music sound wave according to the fourth three-axis change value; adaptively adjusting the EQ frequency point according to the music type, and adjusting the EQ playing gain according to the real-time frequency EQ gain; the music effect of sound playing is greatly improved, and the problem that the EQ frequency point value cannot be adaptively adjusted in real time according to the sound effect category of the current song is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of music frequency adjustment technology, and in particular to an EQ frequency adaptive adjustment method, device, equipment and storage medium. Background Technology

[0002] In current audio products, users typically need to adjust EQ frequency values ​​for a better experience. EQ frequency refers to specific frequency points on the equalizer. Different EQ frequencies have different effects on the sound: Low frequencies (usually around 20Hz-250Hz): Primarily affect the power and fullness of the sound. Increasing low frequencies can make the sound richer and more powerful, such as enhancing the sound of drums and bass; decreasing low frequencies can make the sound clearer and avoid muddiness. Mid-low frequencies (around 250Hz-500Hz): This frequency range affects the warmth and presence of the sound. Appropriately increasing it can make the sound fuller, while decreasing it may make the sound thin. Mid frequencies (around 500Hz-2kHz): Play an important role in the clarity and intelligibility of the sound. Boosting the mid frequencies can make the sound more prominent, for example, vocals are more noticeable in this frequency range; improper adjustment may make the sound harsh or muffled.

[0003] Mid-high frequency range (around 2kHz-5kHz): Affects the brightness and layering of the sound. Increasing the mid-high frequencies can make the sound crisper and more penetrating; too much may produce a shrill sound. High frequency range (around 5kHz-20kHz): Determines the airiness and detail of the sound. Boosting the high frequencies can increase the luster and spaciousness of the sound, but too much can make the sound harsh.

[0004] In audio processing, different EQ frequencies can be adjusted as needed to achieve the desired sound effect. For example, in music production, adjusting EQ frequencies can highlight the sound of specific instruments or improve shortcomings in recordings; in audio systems, EQ can also be used to adapt to different room acoustic environments and personal preferences.

[0005] However, currently, audio systems cannot adaptively adjust the corresponding EQ frequency value in real time according to the sound effect category of the current song by using fixed adjustment, manual adjustment or semi-automatic adjustment of EQ frequency value. Summary of the Invention

[0006] The purpose of this application is to provide an EQ frequency adaptive adjustment method, device, equipment, and storage medium to solve the problem that existing Bluetooth speakers cannot adaptively adjust the corresponding EQ frequency value in real time according to the sound effect category of the current song.

[0007] An adaptive EQ frequency adjustment method includes:

[0008] Step 100: Construct a music database. The music type, preset EQ frequency, and range of the first and third axis variation values ​​of the three-axis accelerometer in the music database correspond to each other. The EQ gain and range of the second and third axis variation values ​​of the three-axis accelerometer in the music database also correspond to each other.

[0009] Step 200: Use a three-axis accelerometer to detect the music sound wave of the current music emitted by the audio generator, and obtain the third three-axis change value of the three-axis accelerometer for the music sound wave;

[0010] Step 300: Compare the third three-axis variation value of the music sound wave with the range of the first three-axis variation value in the music database to determine the music type of the current music;

[0011] Step 400: Use a three-axis accelerometer to detect the music sound wave in real time, obtain the fourth three-axis change value, and determine the real-time frequency EQ gain of the music sound wave based on the fourth three-axis change value;

[0012] Step 500: Adaptively adjust the EQ frequency point according to the music type, and adjust the EQ playback gain according to the real-time frequency EQ gain to obtain the desired sound effect;

[0013] The ranges of the first three axis variation values ​​include:

[0014] The range of first X-axis acceleration variation, the range of first Y-axis acceleration variation, and the range of first Z-axis acceleration variation;

[0015] The ranges of the second and third axis variation values ​​respectively include:

[0016] The range of acceleration variation values ​​for the second X-axis, the second Y-axis, and the second Z-axis.

[0017] Furthermore, step 200 includes:

[0018] Step 210: Obtain the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the triaxial accelerometer respectively;

[0019] Step 220: Obtain the third triaxial change value based on the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value.

[0020] Furthermore, step 300 includes:

[0021] Step 310: Compare the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the third triaxial change value with the first X-axis acceleration change value range, the first Y-axis acceleration change value range, and the first Z-axis acceleration change value range, respectively.

[0022] Step 320: If the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value all fall within the range of the first X-axis acceleration change value, the range of the first Y-axis acceleration change value, and the range of the first Z-axis acceleration change value, then the music type corresponding to the range of the first three-axis acceleration change values ​​is determined to be the music type of the currently playing music.

[0023] Furthermore, step 400 includes:

[0024] Step 410: Compare the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the fourth triaxial change value with the second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range, respectively.

[0025] Step 420: If the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value all fall within the range of the second X-axis acceleration change value, the range of the second Y-axis acceleration change value, and the range of the second Z-axis acceleration change value, then the EQ gain corresponding to the range of the second three-axis acceleration change value is determined to be the current EQ gain of the currently playing music.

[0026] Furthermore, step 500 includes:

[0027] Step 510: Obtain the music type and its corresponding preset EQ frequency.

[0028] Step 520: Play the music using the preset EQ frequency as the EQ frequency of the currently playing music.

[0029] Furthermore, step 500 also includes:

[0030] Step 530: Compare the current EQ gain with a preset threshold;

[0031] Step 540: If the current EQ gain is less than the preset threshold, then increase the current EQ gain by a specified value.

[0032] To address the aforementioned problems, an EQ frequency adaptive adjustment device is provided, employing the aforementioned EQ frequency adaptive adjustment method, comprising:

[0033] The construction module is used to construct a music database. The music type, preset EQ frequency point, and range of the first and third axis change values ​​of the three-axis accelerometer in the music database correspond to each other. The EQ gain and range of the second and third axis change values ​​of the three-axis accelerometer in the music database also correspond to each other.

[0034] The first detection module is used to detect the music sound wave of the current music emitted by the audio generator using a three-axis accelerometer, and to obtain the third three-axis change value of the music sound wave by the three-axis accelerometer.

[0035] The comparison module is used to compare the third three-axis variation value of the music sound wave with the range of the first three-axis variation value in the music database to determine the music type of the current music.

[0036] The second detection module is used to detect the music sound wave in real time using a three-axis accelerometer, obtain the fourth three-axis change value, and determine the EQ gain of the real-time frequency of the music sound wave based on the fourth three-axis change value.

[0037] The adjustment module adaptively adjusts the EQ frequency point according to the music type and adjusts the EQ playback gain according to the real-time frequency EQ gain to obtain the desired sound effect;

[0038] The ranges of the first three axis variation values ​​include:

[0039] The range of first X-axis acceleration variation, the range of first Y-axis acceleration variation, and the range of first Z-axis acceleration variation;

[0040] The ranges of the second and third axis variation values ​​respectively include:

[0041] The range of acceleration variation values ​​for the second X-axis, the second Y-axis, and the second Z-axis.

[0042] Furthermore, the adjustment module includes:

[0043] The playback unit is used to play the preset EQ frequency point as the EQ frequency point of the currently playing music;

[0044] The gain unit is used to compare the current EQ gain with a preset threshold. If the current EQ gain is less than the preset threshold, the current EQ gain is increased by a predetermined value.

[0045] To address the aforementioned technical problems, this application also provides an electronic device, including a memory and a processor. The memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the EQ frequency adaptive adjustment method as described in the first aspect.

[0046] To address the aforementioned technical problems, embodiments of this application also provide a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the steps of the EQ frequency adaptive adjustment method as described in the first aspect.

[0047] Compared with the prior art, the embodiments of this application have the following main technical effects: by constructing a music database, the EQ gain of the music sound wave and real-time frequency of the currently playing music is detected in real time, a preset EQ frequency point is selected according to the music type, and the EQ gain is judged. When it is less than a specified threshold, it is amplified, which greatly improves the music playback effect of the speaker, improves the user experience, and solves the problem that existing Bluetooth speakers cannot adaptively adjust the corresponding EQ frequency point value in real time according to the sound effect category of the current song. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1 This is a schematic diagram of a specific embodiment of an adaptive EQ frequency adjustment method according to the present invention;

[0050] Figure 2 for Figure 1 A schematic diagram of a specific implementation of S200;

[0051] Figure 3 for Figure 1 A schematic diagram of a specific implementation method following S300;

[0052] Figure 4 for Figure 1 A schematic diagram of a specific implementation of S400 in the diagram;

[0053] Figure 5 for Figure 1 A schematic diagram of a specific implementation of S500;

[0054] Figure 6 for Figure 5 A schematic diagram of a specific implementation method following S520;

[0055] Figure 7 This is a schematic diagram of the structure of an EQ frequency adaptive adjustment device according to the present invention;

[0056] Figure 8This is a schematic diagram of the structure of an embodiment of an electronic device according to this application. Detailed Implementation

[0057] The technical solutions of this invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are all within the scope of protection of this invention.

[0058] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings of this application are intended to cover non-exclusive inclusion.

[0060] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0061] The purpose of this application is to provide an EQ frequency adaptive adjustment method, device, equipment, and storage medium to solve the problem that existing Bluetooth speakers cannot adaptively adjust the corresponding EQ frequency value in real time according to the sound effect category of the current song.

[0062] An adaptive EQ frequency adjustment method, such as Figure 1 , Figure 1 This is a schematic diagram of a specific embodiment of an adaptive EQ frequency adjustment method according to the present invention; including:

[0063] S100. Construct a music database. The music type, preset EQ frequency, and range of the first and third axis change values ​​of the three-axis accelerometer in the music database correspond to each other. The EQ gain and range of the second and third axis change values ​​of the three-axis accelerometer in the music database also correspond to each other.

[0064] Different types of songs have different frequency distributions. For example, rock songs typically have strong low-frequency rhythms and high-frequency guitar solos, requiring enhanced low-frequency power and high-frequency brightness. Classical music may emphasize the balance of various frequency bands to showcase the rich timbre and layering of instruments. In pop songs, vocals are usually more prominent in the mid-frequency range, requiring appropriate boosting of the mid-frequency range to highlight the singer's voice.

[0065] In this embodiment, constructing a database of music types, preset EQ frequencies, and ranges of three-axis variation values ​​facilitates the selection of preset EQ frequencies based on music types. By analyzing the three-axis variation values ​​corresponding to the sound wave characteristics of the played music, the music type point is identified, and then the EQ frequency is automatically adjusted to achieve the best auditory effect.

[0066] S200: Use a three-axis accelerometer to detect the music sound wave emitted by the audio generator and obtain the third axis change value of the music sound wave.

[0067] In a preferred embodiment, such as Figure 2 , Figure 2 for Figure 1 A schematic diagram of a specific implementation of S200 is shown; S200 includes: S210, acquiring the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the triaxial accelerometer respectively; S220, acquiring a third triaxial change value based on the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value.

[0068] In this embodiment, when the adjustment device is fixed, the angles between the three axes of the triaxial accelerometer and the propagation direction of the sound wave can be equal. When the music sound wave propagates to the triaxial accelerometer of the adjustment device, it will cause changes in the acceleration of the accelerometer in the X-axis, Y-axis and Z-axis directions. The stronger the sound wave, the greater the change value.

[0069] It is worth noting that when fixing the adjustment device, the angles between the three axes of the triaxial accelerometer and the direction of sound wave propagation can be unequal or partially equal, thereby setting the corresponding range of acceleration change values.

[0070] S300. Based on the comparison between the third axis variation value of the music sound wave and the range of the first axis variation value in the music database, determine the music type of the current music.

[0071] In a preferred embodiment, such as Figure 3 , Figure 3 for Figure 1 A schematic diagram of a specific implementation following S300; S300 includes: S310, comparing the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the third three-axis change value with the first X-axis acceleration change value range, the first Y-axis acceleration change value range, and the first Z-axis acceleration change value range, respectively; S320, if the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value all fall within the first X-axis acceleration change value range, the first Y-axis acceleration change value range, and the first Z-axis acceleration change value range, then the music type corresponding to the range of the first three-axis change values ​​is determined to be the music type of the currently played music.

[0072] The range of acceleration changes along the first X-axis, the first Y-axis, and the first Z-axis can be the same and divided into multiple levels, with each level corresponding to a music genre.

[0073] When determining the music genre, one can detect the acceleration change values ​​of each frequency band based on characteristics such as rock songs typically having a strong low-frequency rhythm, classical music having a relatively balanced frequency range, and pop songs having a prominent mid-frequency range.

[0074] Since the included angles are equal, the triaxial acceleration changes produced by the same sound wave are basically the same. The same range of change is set for judgment.

[0075] S400: Use a three-axis accelerometer to detect music sound waves in real time, obtain the fourth three-axis change value, and determine the EQ gain of the real-time frequency of the music sound waves based on the fourth three-axis change value.

[0076] In some preferred embodiments, such as Figure 4 , Figure 4 for Figure 1 A schematic diagram of a specific implementation of S400 is shown below; S400 includes: S410, comparing the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the fourth three-axis change value with the second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range, respectively; S420, if the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value all fall within the second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range, then the EQ gain corresponding to the range of the second three-axis change values ​​is determined as the current EQ gain of the currently playing music.

[0077] Although preset EQ frequencies can be adaptively selected, the optimal playback effect may not be achieved depending on the environment. For example, if the acoustic characteristics of the room cause certain frequencies of sound to be excessively absorbed or reflected, the playback effect will be compromised even if the preset EQ frequency corresponding to the music type is selected. Or, in a relatively spacious room, low-frequency sounds may be insufficient due to the large space.

[0078] In this embodiment, by utilizing the constructed EQ gain and the structure of the range of the second and third axis change values ​​of the three-axis accelerometer, the EQ gain of the low-frequency band is automatically increased according to the real-time three-axis change values, making the bass fuller and more powerful.

[0079] The S500 adaptively adjusts the EQ frequency point according to the music type and adjusts the EQ playback gain according to the real-time frequency EQ gain to obtain the desired sound effect.

[0080] The ranges of the first three axis change values ​​include: the range of the first X-axis acceleration change value, the range of the first Y-axis acceleration change value, and the range of the first Z-axis acceleration change value.

[0081] The ranges of the second and third axis acceleration values ​​include: the range of the second X-axis acceleration, the range of the second Y-axis acceleration, and the range of the second Z-axis acceleration.

[0082] In some preferred embodiments, such as Figure 5 , Figure 5 for Figure 1 A schematic diagram of a specific implementation of S500 is shown below; S500 includes: S510, obtaining the music type and the corresponding preset EQ frequency point; S520, playing the music using the preset EQ frequency point as the EQ frequency point of the currently playing music.

[0083] Furthermore, such as Figure 6 , Figure 6 for Figure 5 The diagram below shows a specific implementation following S520; S500 further includes: S530, comparing the current EQ gain with a preset threshold; S540, if the current EQ gain is less than the preset threshold, increasing the current EQ gain by a predetermined value. By constructing a music database, the EQ gain of the music sound wave and real-time frequency of the currently playing music is detected in real time. A preset EQ frequency point is selected according to the music type, and the EQ gain is judged. When it is less than a predetermined threshold, it is amplified, which greatly improves the music playback effect of the speaker, enhances the user experience, and solves the problem that existing Bluetooth speakers cannot adaptively adjust the corresponding EQ frequency point value in real time according to the sound effect category of the current song.

[0084] To address the aforementioned issues, an EQ frequency adaptive adjustment device 600 is provided, such as... Figure 7 , Figure 7 This is a schematic diagram of the structure of an EQ frequency adaptive adjustment device according to the present invention, which employs an EQ frequency adaptive adjustment method, including:

[0085] Module 601 is used to build a music database. The music type, preset EQ frequency point, and range of the first and third axis change values ​​of the three-axis accelerometer in the music database correspond to each other. The EQ gain and range of the second and third axis change values ​​of the three-axis accelerometer in the music database also correspond to each other.

[0086] The first detection module 602 is used to detect the music sound wave of the current music emitted by the audio generator using a three-axis accelerometer, and to obtain the third three-axis change value of the music sound wave by the three-axis accelerometer.

[0087] The comparison module 603 is used to compare the range of the third axis variation value of the music sound wave with the range of the first axis variation value in the music database to determine the music type of the current music.

[0088] The second detection module 604 is used to detect music sound waves in real time using a three-axis accelerometer, obtain the fourth three-axis change value, and determine the real-time frequency EQ gain of the music sound waves based on the fourth three-axis change value.

[0089] The adjustment module 605 is used to adaptively adjust the EQ frequency point according to the music type and adjust the EQ playback gain according to the real-time frequency EQ gain to obtain the desired sound effect.

[0090] The ranges of the first and third axis variation values ​​include:

[0091] The range of first X-axis acceleration variation, the range of first Y-axis acceleration variation, and the range of first Z-axis acceleration variation;

[0092] The ranges of the variation values ​​for the second and third axes respectively include:

[0093] The range of acceleration variation values ​​for the second X-axis, the second Y-axis, and the second Z-axis.

[0094] Furthermore, the adjustment module includes: a playback unit, used to play the preset EQ frequency point as the EQ frequency point of the currently playing music; and a gain unit, used to compare the current EQ gain with a preset threshold, and if the current EQ gain is less than the preset threshold, to increase the current EQ gain by a predetermined value.

[0095] To address the aforementioned technical problems, this application also provides an electronic device, including a memory and a processor. The memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the EQ frequency adaptive adjustment method as described in the first aspect.

[0096] To address the aforementioned technical problems, this application also proposes an electronic device that employs the following technical solution: it includes a processor, a network module, and a memory, with the processor and memory interconnected via the network module.

[0097] This electronic device can be a computer, server, workstation, or other similar device; it can also be a mobile device such as a mobile phone, tablet, or in-vehicle mobile terminal; or other devices with program execution capabilities. Its internal structure diagram can be as follows: Figure 8 As shown, Figure 8 This is a schematic diagram of an embodiment of an electronic device according to this application. The electronic device includes a processor, a memory, and a network module. The processor provides computing and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores an operating system, instructions, or code. The internal memory provides an environment for the operation of the operating system and instructions or code in the non-volatile storage media. When the instructions or code are executed by the processor, they implement a function or step of the aforementioned EQ frequency adaptive adjustment. The network module of the electronic device may include a network interface and / or a wireless network module, allowing the electronic device to communicate with other devices or service platforms. Furthermore, the electronic device may also include a display screen and input devices, etc.

[0098] The memory is used to store computer programs, which include program instructions. The processor is configured to invoke the program instructions, and when the processor executes the instructions or code, it implements the steps of the artificial intelligence-based intent recognition method described above.

[0099] To address the aforementioned problems, this application also proposes a computer-readable storage medium, employing the following technical solution: the computer-readable storage medium stores a computer program, the computer program including program instructions, which are implemented when executed by a processor. Figures 1 to 6 The adaptive EQ frequency adjustment methods provided in each step are detailed in the implementation methods provided in the above steps, and will not be repeated here.

[0100] The aforementioned computer-readable storage medium can be an RGB lighting switching device provided in any of the foregoing embodiments or an internal storage unit of the aforementioned terminal device, such as a hard drive or memory of an electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device.

[0101] Furthermore, the computer-readable storage medium may include both internal storage units and external storage devices of the electronic device. The computer-readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0102] However, it should be understood that it is not required to implement all the components shown; more or fewer components may be implemented instead. Those skilled in the art will understand that the electronic device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0103] The electronic device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The electronic device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0104] Compared with the prior art, the embodiments of this application have the following main technical effects: by constructing a music database, the EQ gain of the music sound wave and real-time frequency of the currently playing music is detected in real time, a preset EQ frequency point is selected according to the music type, and the EQ gain is judged. When it is less than a specified threshold, it is amplified, which greatly improves the music playback effect of the speaker, improves the user experience, and solves the problem that existing Bluetooth speakers cannot adaptively adjust the corresponding EQ frequency point value in real time according to the sound effect category of the current song.

[0105] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An EQ frequency adaptive adjustment method, characterized in that comprising: Step 100, constructing a music database, wherein the music type, preset EQ frequency, and the first triaxial change value range of the triaxial accelerometer correspond to each other, and the EQ gain and the second triaxial change value range of the triaxial accelerometer correspond to each other; Step 200, detecting the music sound wave of the current music emitted by the audio generator by using the triaxial accelerometer, and obtaining the third triaxial change value of the music sound wave by the triaxial accelerometer; Step 300, comparing the third triaxial change value of the music sound wave with the first triaxial change value range in the music database, and determining the music type of the current music; Step 400, detecting the music sound wave in real time by using the triaxial accelerometer, obtaining the fourth triaxial change value, and determining the real-time frequency EQ gain of the music sound wave according to the fourth triaxial change value; Step 500, adaptively adjusting the EQ frequency according to the music type, and adjusting the EQ play gain according to the real-time frequency EQ gain, so as to obtain the desired sound effect; Wherein, the first triaxial change value range respectively includes: The first X-axis acceleration change value range, the first Y-axis acceleration change value range, and the first Z-axis acceleration change value range; The second triaxial change value range respectively includes: The second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range.

2. The EQ frequency point adaptive adjustment method according to claim 1, characterized in that, The step 200 comprises: Step 210, obtaining the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the triaxial accelerometer respectively; Step 220, obtaining the third triaxial change value according to the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value.

3. The EQ frequency point adaptive adjustment method according to claim 2, characterized in that, The step 300 comprises: Step 310, comparing the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the third triaxial change value with the first X-axis acceleration change value range, first Y-axis acceleration change value range, and first Z-axis acceleration change value range respectively; Step 320, if the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value all fall within the first X-axis acceleration change value range, first Y-axis acceleration change value range, and first Z-axis acceleration change value range, then determining that the music type corresponding to the first triaxial change value range is the music type of the currently played music.

4. The EQ frequency point adaptive adjustment method according to claim 3, characterized in that, The step 400 comprises: Step 410, comparing the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the fourth triaxial change value with the second X-axis acceleration change value range, second Y-axis acceleration change value range, and second Z-axis acceleration change value range respectively; Step 420, if the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value all fall within the second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range, it is determined that the EQ gain corresponding to the second three-axis change value range is the current EQ gain of the currently played music.

5. The EQ frequency point adaptive adjustment method according to claim 4, characterized in that, The step 500 includes: Step 510, obtaining a music type and a corresponding preset EQ frequency point; Step 520, playing the preset EQ frequency point as the EQ frequency point of the currently played music.

6. The EQ frequency point adaptive adjustment method according to claim 5, characterized in that, The step 500 further includes: Step 530, comparing the current EQ gain with a preset threshold value; Step 540, if the current EQ gain is less than the preset threshold value, increasing the current EQ gain by a specified value.

7. An EQ frequency point adaptive adjustment device, employing the EQ frequency point adaptive adjustment method of any one of claims 1-6, characterized in that, It includes: A construction module for constructing a music database, wherein the music type, the preset EQ frequency point, and the first three-axis change value range of the three-axis accelerometer in the music database correspond to each other, and the EQ gain and the second three-axis change value range of the three-axis accelerometer in the music database correspond to each other; A first detection module for detecting the music sound wave of the current music emitted by the audio generator by using the three-axis accelerometer to obtain the third three-axis change value of the music sound wave by the three-axis accelerometer; A comparison module for comparing the third three-axis change value of the music sound wave with the first three-axis change value range in the music database to determine the music type of the current music; A second detection module for detecting the music sound wave in real time by using the three-axis accelerometer to obtain the fourth three-axis change value and determine the EQ gain of the real-time frequency of the music sound wave according to the fourth three-axis change value; An adjustment module for adaptively adjusting the EQ frequency point according to the music type and adjusting the EQ play gain according to the real-time frequency EQ gain to obtain the desired sound effect; The first three-axis change value range includes: The first X-axis acceleration change value range, the first Y-axis acceleration change value range, and the first Z-axis acceleration change value range; The second three-axis change value range includes: The second X-axis acceleration change value range, the second Y-axis acceleration change value range, and the second Z-axis acceleration change value range.

8. The EQ frequency point adaptive adjustment apparatus according to claim 7, characterized in that, The adjustment module includes: A playing unit for playing the preset EQ frequency point as the EQ frequency point of the currently played music; A gain unit for comparing the current EQ gain with a preset threshold value, and if the current EQ gain is less than the preset threshold value, increasing the current EQ gain by a specified value.

9. An electronic device, comprising: The computer readable storage medium stores computer readable instructions, and the processor executes the computer readable instructions to realize the steps of the EQ frequency point adaptive adjustment method in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer readable instructions, and the processor executes the computer readable instructions to realize the steps of the EQ frequency point adaptive adjustment method in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Coherent averaging for measuring traveling wave tube amplifier nonlinearity

    EP1523103A1

  • Adaptive equalizer for audio

    JP2001024458A