EQ frequency point adaptive adjustment method and device, equipment and storage medium
By constructing a music database and detecting the change value of music sound waves using a three-axis accelerometer, the EQ frequency and gain are automatically adjusted according to the music type, solving the problem that existing Bluetooth speakers cannot adjust the EQ frequency adaptively in real time, and improving the music effect and user experience of the audio playback.
Patent Information
- Application Number
- CN202411644601.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-18
AI Technical Summary
Existing Bluetooth speakers cannot adjust the EQ frequency point value in real time according to the sound effect category of the current song, resulting in the failure to achieve the best auditory effect.
By constructing a music database, using a three-axis accelerometer to detect the change value of music sound waves, determine the music type, and adjust the EQ frequency point and playback gain in real time to match the preset sound effects.
It realizes automatic adjustment of EQ frequency and gain according to the music type, improves the music effect and user experience of audio playback, and solves the problem that the EQ frequency cannot be adjusted adaptively in real time in the prior art.
Smart Images

Figure CN119600979A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of music frequency adjustment, and in particular to an EQ frequency adaptive adjustment method, device, equipment and storage medium. Background Art
[0002] In the current audio products, users usually need to adjust the EQ frequency value for a better experience. The EQ frequency is a specific frequency point on the equalizer. Different EQ frequency points will have different effects on the sound: Low frequency band (usually around 20Hz-250Hz): mainly affects the strength and fullness of the sound. Increasing the low frequency can make the sound thicker and more powerful, such as enhancing the sound of drums and bass; reducing the low frequency can make the sound clearer and avoid turbidity. Mid-low frequency band (around 250Hz-500Hz): This frequency band affects the warmth and presence of the sound. Proper increase can make the sound fuller, while reduction may make the sound appear thin. Mid-frequency band (around 500Hz-2kHz): plays an important role in the clarity and intelligibility of the sound. Improving the mid-frequency band can make the sound more prominent, for example, the human voice is more obvious in this frequency band; improper adjustment may make the sound harsh or dull.
[0003] Mid-high frequency band (around 2kHz-5kHz): affects the brightness and layering of the sound. Increasing the mid-high frequency can make the sound crisper and more penetrating; too much may produce a sharp feeling. High frequency band (around 5kHz-20kHz): determines the airiness and details of the sound. Increasing the high frequency can increase the luster and sense of space of the sound, but too high will cause the sound to be harsh.
[0004] In audio processing, different EQ frequencies can be adjusted as needed to achieve the desired sound effect. For example, in music production, the EQ frequency can be adjusted to highlight the sound of a specific instrument or to improve the deficiencies in a recording; in a sound system, EQ can also be used to adapt to different room acoustic environments and personal preferences.
[0005] However, currently, the audio system cannot adaptively adjust the corresponding EQ frequency value in real time according to the sound effect category of the current song by adopting a fixed adjustment, manual adjustment or semi-automatic adjustment method of the EQ frequency value. Summary of the invention
[0006] The purpose of the embodiments of the present application is to propose an EQ frequency adaptive adjustment method, device, equipment and storage medium to solve the problem that the 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 EQ frequency point adaptive adjustment method, comprising:
[0008] Step 100, constructing a music database, wherein the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other;
[0009] Step 200: Detect the music sound waves of the current music emitted by the audio generator using a three-axis accelerometer, and obtain the third three-axis change value of the music sound waves by the three-axis accelerometer;
[0010] Step 300, determining the music type of the current music by comparing 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;
[0011] Step 400: Use a three-axis accelerometer to perform real-time detection on the music sound wave, obtain a fourth three-axis change value, and determine a real-time frequency EQ gain of the music sound wave according to 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] A first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range;
[0015] The ranges of the second three axis change values include:
[0016] 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.
[0017] Furthermore, the step 200 includes:
[0018] Step 210, respectively obtaining the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value of the three-axis accelerometer;
[0019] Step 220: Obtain the third three-axis change value according to the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value.
[0020] Furthermore, the step 300 includes:
[0021] Step 310: Compare the X-axis acceleration change value, the Y-axis acceleration change value, and the 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;
[0022] Step 320: If the X-axis acceleration change value, the Y-axis acceleration change value, and the 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, it is determined that the music type corresponding to the range of the first three-axis change values is the music type of the currently playing music.
[0023] Furthermore, the step 400 includes:
[0024] Step 410: Compare the X-axis acceleration change value, the Y-axis acceleration change value, and the 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;
[0025] 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, then the EQ gain corresponding to the second three-axis change value range is determined to be the current EQ gain of the currently playing music.
[0026] Furthermore, the step 500 includes:
[0027] Step 510: Obtain the music type and the corresponding preset EQ frequency point;
[0028] Step 520: Use the preset EQ frequency point as the EQ frequency point of the currently playing music for playing.
[0029] Furthermore, the step 500 further 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, increase the current EQ gain by a specified value.
[0032] In order to solve the above problem, an EQ frequency point adaptive adjustment device is provided, which adopts the above EQ frequency point adaptive adjustment method, including:
[0033] A construction module, for constructing a music database, wherein the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other;
[0034] A first detection module is used to detect the music sound waves of the current music emitted by the audio generator using a three-axis accelerometer, and obtain a third three-axis change value of the music sound waves by the three-axis accelerometer;
[0035] A comparison module, used for comparing 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] A second detection module is used to detect the music sound wave in real time using a three-axis accelerometer, obtain a fourth three-axis change value, and determine an EQ gain of the real-time frequency of the music sound wave according to the fourth three-axis change value;
[0037] An adjustment module, adaptively adjusting the EQ frequency point according to the music type, and adjusting 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] A first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range;
[0040] The ranges of the second three axis change values include:
[0041] 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.
[0042] Furthermore, the adjustment module includes:
[0043] A playing unit, used to play the preset EQ frequency point as the EQ frequency point of the currently played music;
[0044] The gain unit is used to compare the current EQ gain with a preset threshold value, and if the current EQ gain is less than the preset threshold value, increase the current EQ gain by a specified value.
[0045] In order to solve the above technical problems, an embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the EQ frequency adaptive adjustment method as described in the first aspect are implemented.
[0046] In order to solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the steps of the EQ frequency adaptive adjustment method as described in the first aspect are implemented.
[0047] Compared with the prior art, the embodiments of the present application mainly have the following technical effects: by constructing a music database, the music sound waves of the currently playing music and the EQ gain of the real-time frequency are detected in real time, the preset EQ frequency point is selected according to the music type, and the EQ gain is judged. When it is less than the specified threshold, enhanced processing is performed, which greatly improves the music effect of the audio playback, improves the user experience, and solves the problem that the 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A schematic diagram of a specific implementation of an EQ frequency adaptive adjustment method in 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 after S300 in FIG.
[0052] Figure 4 for Figure 1 A schematic diagram of a specific implementation of S400;
[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 after S520 in FIG.
[0055] Figure 7 It is a structural schematic diagram of an EQ frequency point adaptive adjustment device in the present invention;
[0056] Figure 8It is a schematic structural diagram of an embodiment of an electronic device according to the present application. DETAILED DESCRIPTION
[0057] The following will be combined with the accompanying drawings in the invention to clearly and completely describe the technical solutions in the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0058] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0060] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0061] The purpose of the embodiments of the present application is to propose an EQ frequency adaptive adjustment method, device, equipment and storage medium to solve the problem that the 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 EQ frequency adaptive adjustment method, such as Figure 1 , Figure 1 A schematic diagram of a specific implementation of an EQ frequency adaptive adjustment method in the present invention; comprising:
[0063] S100, constructing a music database, wherein the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer in the music database correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other.
[0064] Different types of songs have different frequency distributions. For example, rock songs usually have strong low-frequency rhythms and high-frequency guitar solos, so it is necessary to enhance the strength of the low frequency and the brightness of the high frequency. Classical music may focus on the balance of each frequency band to show the rich timbre and layering of the instruments. The vocal part of pop songs is usually more prominent in the mid-frequency band, so it is necessary to appropriately enhance the mid-frequency band to highlight the singer's voice.
[0065] In this embodiment, building a database of music types, preset EQ frequency points, and ranges of three-axis variation values is beneficial for selecting preset ED frequency points according to music types. By analyzing the three-axis variation values corresponding to the sound wave characteristics of the played music, the music type point to which it belongs is identified, and then the EQ frequency point is automatically adjusted to achieve the best auditory effect.
[0066] S200, using a three-axis accelerometer to detect the music sound waves of the current music emitted by the audio generator, and obtaining the third three-axis change value of the three-axis accelerometer for the music sound waves.
[0067] In a preferred embodiment, Figure 2 , Figure 2 for Figure 1 A schematic diagram of a specific implementation of S200 in the figure; S200 includes: S210, respectively obtaining the X-axis acceleration change value, Y-axis acceleration change value, and Z-axis acceleration change value of the three-axis accelerometer; S220, obtaining a third three-axis change value according to the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value.
[0068] In this embodiment, when the adjusting device is fixed, the angles between the three axes of the three-axis accelerometer and the propagation direction of the sound wave can be made equal. When the music sound waves propagate toward the three-axis accelerometer of the adjusting device, the acceleration of the accelerometer in the X-axis direction, Y-axis direction, and Z-axis direction will change. The stronger the sound wave, the greater the change value.
[0069] It is worth noting that when the adjustment device is fixed, the angles between the three axes of the three-axis accelerometer and the propagation direction of the sound wave can be made unequal or partially equal, thereby setting the corresponding acceleration change value range.
[0070] S300: Determine the music type of the current music by 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.
[0071] In a preferred embodiment, Figure 3 , Figure 3 for Figure 1 A schematic diagram of a specific implementation method after S300 in the figure; 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, the Y-axis acceleration change value, and the 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 determining that the music type corresponding to the range of the first three-axis change value is the music type of the currently playing music.
[0072] 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 may be the same and divided into multiple levels, each level corresponding to a music type.
[0073] When determining the type of music, the acceleration change value of each frequency band can be detected based on the characteristics that, for example, rock songs usually have a strong low-frequency rhythm, the frequency bands of classical music are relatively balanced, and the frequency bands of pop songs are more prominent.
[0074] Since the included angles are equal, the three-axis acceleration change values generated by the same sound wave are basically the same, and the same change range is set for judgment.
[0075] S400: Detect the music sound wave in real time using a three-axis accelerometer to obtain a fourth three-axis change value, and determine an EQ gain of the real-time frequency of the music sound wave according to the fourth three-axis change value.
[0076] In some preferred embodiments, Figure 4 , Figure 4 for Figure 1 A schematic diagram of a specific implementation scheme of S400 in the figure; 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, 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, then determining that the EQ gain corresponding to the range of the second three-axis change value is the current EQ gain of the currently playing music.
[0077] Although the preset EQ frequency points can be adaptively selected, the best playback effect may not be achieved in different environments. 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 points corresponding to the type of music are selected. For another example, in a relatively large and spacious room, the low-frequency sound may be insufficient due to the large space.
[0078] In this embodiment, by utilizing the constructed EQ gain and the range of the second three-axis change value of the three-axis accelerometer, the EQ gain of the low frequency band is automatically increased according to the real-time three-axis change value, making the bass fuller and more powerful.
[0079] S500, adaptively adjusts the EQ frequency 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: a first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range;
[0081] The ranges of the second three-axis change values include: a second X-axis acceleration change value range, a second Y-axis acceleration change value range, and a second Z-axis acceleration change value range.
[0082] In some preferred embodiments, Figure 5 , Figure 5 for Figure 1 A schematic diagram of a specific implementation of S500 in the figure; S500 includes: S510, obtaining the music type and the corresponding preset EQ frequency point; S520, playing the preset EQ frequency point as the EQ frequency point of the currently playing music.
[0083] Further, such as Figure 6 , Figure 6 for Figure 5 A schematic diagram of a specific implementation after S520 in the figure; S500 also includes: S530, comparing the current EQ gain with the preset threshold; S540, if the current EQ gain is less than the preset threshold, increasing the current EQ gain by a specified value. By building a music database, the music sound waves and the EQ gain of the real-time frequency of the currently playing music are detected in real time, the preset EQ frequency points are selected according to the music type, and the EQ gain is judged. When it is less than the specified threshold, it is strengthened. This greatly improves the music effect of the audio playback and the user experience, and solves the problem that the existing Bluetooth audio cannot adaptively adjust the corresponding EQ frequency point value in real time according to the sound effect category of the current song.
[0084] In order to solve the above problems, an EQ frequency point adaptive adjustment device 600 is provided. Figure 7 , Figure 7 The structure diagram of an EQ frequency point adaptive adjustment device in the present invention adopts an EQ frequency point adaptive adjustment method, including:
[0085] A construction module 601 is used to construct a music database, in which the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other;
[0086] The first detection module 602 is used to detect the music sound waves of the current music emitted by the audio generator using a three-axis accelerometer, and obtain the third three-axis change value of the music sound waves by the three-axis accelerometer;
[0087] A comparison module 603 is used to compare 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 to determine the music type of the current music;
[0088] The second detection module 604 is used to detect the music sound wave in real time using the three-axis accelerometer, obtain the fourth three-axis change value, and determine the real-time frequency EQ gain of the music sound wave according to 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 three axis change values include:
[0091] A first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range;
[0092] The ranges of the second three axis change values include:
[0093] 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.
[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 played music; a gain unit, used to compare the current EQ gain with a preset threshold value, and if the current EQ gain is less than the preset threshold value, increase the current EQ gain by a specified value.
[0095] In order to solve the above technical problems, an embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the EQ frequency adaptive adjustment method as described in the first aspect are implemented.
[0096] In order to solve the above technical problems, an embodiment of the present application further proposes an electronic device, which adopts the following technical solution: it includes a processor, a network module and a memory, and the processor and the memory are interconnected through the network module.
[0097] The electronic device may be a computer, a server, a workstation or other device, or a mobile phone, a tablet, a vehicle-mounted mobile terminal or other device with program execution capability. The internal structure diagram of the electronic device may be as follows: Figure 8 As shown, Figure 8 It is a structural diagram of an embodiment of an electronic device according to the present application. The electronic device includes a processor, a memory and a network module. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, instructions or codes. The internal memory provides an environment for the operation of the operating system and instructions or codes in the non-volatile storage medium. When the instructions or codes are executed by the processor, a function or step of adaptive adjustment of the EQ frequency point mentioned above is implemented. The network module of the electronic device may include a network interface and / or a wireless network module, and the electronic device may communicate with other devices or service platforms through the network module. In addition, the electronic device may also include a display screen and an input device, etc.
[0098] Among them, the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and when the processor executes the instructions or codes, the steps of the intention recognition method based on artificial intelligence as described above are implemented.
[0099] In order to solve the above problems, the embodiment of the present application also proposes a computer-readable storage medium, which adopts the following technical solution: the computer-readable storage medium stores a computer program, which includes program instructions, and the program instructions are executed by the processor to implement Figures 1 to 6 The EQ frequency point adaptive adjustment method provided in each step can be specifically referred to the implementation method provided in the above steps, which will not be repeated here.
[0100] The computer-readable storage medium may be an RGB light switching device provided in any of the aforementioned embodiments or an internal storage unit of the terminal device, such as a hard disk or memory of an electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the electronic device.
[0101] Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage 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 may also be used to temporarily store data that has been output or is to be output.
[0102] However, it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the electronic device here is a device that can automatically perform 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 (ASIC), field-programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc.
[0103] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The electronic device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0104] Compared with the prior art, the embodiments of the present application mainly have the following technical effects: by constructing a music database, the music sound waves of the currently playing music and the EQ gain of the real-time frequency are detected in real time, the preset EQ frequency point is selected according to the music type, and the EQ gain is judged. When it is less than the specified threshold, enhanced processing is performed, which greatly improves the music effect of the audio playback, improves the user experience, and solves the problem that the 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 only 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 in the protection scope of the present invention.
Claims
1. A method for adaptively adjusting EQ frequency points, comprising: Step 100, constructing a music database, wherein the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other; Step 200: Detect the music sound waves of the current music emitted by the audio generator using a three-axis accelerometer, and obtain the third three-axis change value of the music sound waves by the three-axis accelerometer; Step 300, determining the music type of the current music by comparing 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; Step 400: Use a three-axis accelerometer to perform real-time detection on the music sound wave, obtain a fourth three-axis change value, and determine a real-time frequency EQ gain of the music sound wave according to the fourth three-axis change value; 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; The ranges of the first three-axis variation values include: A first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range; The ranges of the second three axis change values include: 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 adaptive adjustment method according to claim 1, characterized in that: The step 200 comprises: Step 210, respectively obtaining the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value of the three-axis accelerometer; Step 220: Obtain the third three-axis change value according to the X-axis acceleration change value, the Y-axis acceleration change value, and the Z-axis acceleration change value.
3. The EQ frequency adaptive adjustment method according to claim 2, characterized in that: The step 300 includes: Step 310: Compare the X-axis acceleration change value, the Y-axis acceleration change value, and the 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; Step 320: If the X-axis acceleration change value, the Y-axis acceleration change value, and the 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, it is determined that the music type corresponding to the range of the first three-axis change values is the music type of the currently playing music.
4. The EQ frequency adaptive adjustment method according to claim 3, characterized in that: The step 400 includes: Step 410: Compare the X-axis acceleration change value, the Y-axis acceleration change value, and the 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; 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, then the EQ gain corresponding to the second three-axis change value range is determined to be the current EQ gain of the currently playing music.
5. The EQ frequency adaptive adjustment method according to claim 4, characterized in that: The step 500 includes: Step 510: Obtain the music type and the corresponding preset EQ frequency point; Step 520: Use the preset EQ frequency point as the EQ frequency point of the currently playing music for playing.
6. The EQ frequency 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; Step 540: If the current EQ gain is less than the preset threshold, increase the current EQ gain by a specified value.
7. An EQ frequency point adaptive adjustment device, using an EQ frequency point adaptive adjustment method according to any one of claims 1 to 6, characterized in that: include: A construction module, for constructing a music database, wherein the music type, the preset EQ frequency, and the range of the first three-axis change value of the three-axis accelerometer correspond to each other, and the EQ gain in the music database and the range of the second three-axis change value of the three-axis accelerometer correspond to each other; A first detection module is used to detect the music sound waves of the current music emitted by the audio generator using a three-axis accelerometer, and obtain a third three-axis change value of the music sound waves by the three-axis accelerometer; A comparison module, used for comparing 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; A second detection module is used to detect the music sound wave in real time using a three-axis accelerometer, obtain a fourth three-axis change value, and determine an EQ gain of the real-time frequency of the music sound wave according to the fourth three-axis change value; An adjustment module, adaptively adjusting the EQ frequency point according to the music type, and adjusting the EQ playback gain according to the real-time frequency EQ gain to obtain the desired sound effect; The ranges of the first three-axis variation values include: A first X-axis acceleration change value range, a first Y-axis acceleration change value range, and a first Z-axis acceleration change value range; The ranges of the second three axis change values include: 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 adaptive adjustment device according to claim 1, characterized in that: The adjustment module comprises: A playing unit, used to play the preset EQ frequency point as the EQ frequency point of the currently played music; The gain unit is used to compare the current EQ gain with a preset threshold value, and if the current EQ gain is less than the preset threshold value, increase the current EQ gain by a specified value.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the EQ frequency point adaptive adjustment method according to any one of claims 1 to 6 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the EQ frequency point adaptive adjustment method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and system for adjusting audio frequency
CN103457559A
Audio signal adjusting method, device and equipment and computer storage medium
CN109119088A
Coherent averaging for measuring traveling wave tube amplifier nonlinearity
EP1523103A1
Adaptive equalizer for audio
JP2001024458A
Adaptive audio equalization for personal listening devices
US20140341388A1