CN114286257A - Earphone equalizer adjusting method and device, electronic equipment and storage medium - Google Patents

Earphone equalizer adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114286257A
CN114286257A CN202111613079.1A CN202111613079A CN114286257A CN 114286257 A CN114286257 A CN 114286257A CN 202111613079 A CN202111613079 A CN 202111613079A CN 114286257 A CN114286257 A CN 114286257A
Authority
CN
China
Prior art keywords
information
real
equalizer
time
heart rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111613079.1A
Other languages
Chinese (zh)
Inventor
迟欣
马书晓
曹磊
何桂晓
郭世文
姜德军
吴海全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Feikedi System Development Co Ltd
Original Assignee
Shenzhen Feikedi System Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Feikedi System Development Co Ltd filed Critical Shenzhen Feikedi System Development Co Ltd
Priority to CN202111613079.1A priority Critical patent/CN114286257A/en
Publication of CN114286257A publication Critical patent/CN114286257A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the disclosure provides a method and a device for adjusting an earphone equalizer, electronic equipment and a storage medium, and relates to the technical field of output control of sound source signals. The earphone equalizer adjusting method comprises the following steps: obtaining an initial equalizer scheme; acquiring real-time state information of a user; the real-time status information includes at least any one of: a quiet state, a sports state, a sleep state; the initial equalizer scheme is adjusted according to the real-time state information to generate a target equalizer scheme.

Description

Earphone equalizer adjusting method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of audio signal output control technologies, and in particular, to an earphone equalizer adjustment method and apparatus, an electronic device, and a storage medium.
Background
An Equalizer (EQ, Equalizer) is an electronic device that can adjust the amount of amplification of electrical signals of various frequency components, respectively, for compensating for defects of speakers and sound fields, and for compensating and modifying various sound sources, by adjusting electrical signals of various frequencies.
The current equalizer adjustment mode is user configuration, and the effect of the equalizer can only be changed when the user actively updates the current equalizer, and the equalizer cannot be dynamically adjusted at any time according to the current state of the user, so that the adjustment efficiency of the equalizer is low.
Disclosure of Invention
The main purpose of the embodiments of the present disclosure is to provide a method and an apparatus for adjusting an equalizer of an earphone, an electronic device, and a storage medium, which can improve the adjustment efficiency of the equalizer.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides a method for adjusting an equalizer of a headphone, including:
obtaining an initial equalizer scheme;
acquiring real-time state information of a user; the real-time status information at least comprises any one of the following: a quiet state, a sports state, a sleep state;
and adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
In some embodiments, the obtaining an initial equalizer scheme comprises:
acquiring frequency range information of an equalizer;
acquiring a gain adjustment range corresponding to each equalizer frequency range information;
and configuring an initial gain value for each equalizer frequency band information according to the gain adjustment range to obtain the initial equalizer scheme.
In some embodiments, the obtaining the real-time status information of the user includes:
acquiring a heart rate reference value of the user;
acquiring real-time heart rate information of the user;
and performing state discrimination processing according to the heart rate reference value and the real-time heart rate information to obtain the real-time state information.
In some embodiments, the obtaining a heart rate reference value for the user comprises:
collecting static heart rate information of the user in a preset time;
and carrying out averaging processing on the static heart rate information to obtain the heart rate reference value.
In some embodiments, the performing state discrimination processing according to the heart rate reference value and the real-time heart rate information to obtain the real-time state information includes:
obtaining a first threshold range, a second threshold range and a third threshold range according to the heart rate reference value;
if the real-time heart rate information is within the first threshold range, the real-time status information is the quiet status;
if the real-time heart rate information is within the second threshold range, the real-time state information is the motion state;
and if the real-time heart rate information is in the third threshold range, the real-time state information is the sleep state.
In some embodiments, the equalizer frequency band information includes low frequency band information, middle frequency band information, and high frequency band information, and the adjusting the initial equalizer scheme according to the real-time status information to generate a target equalizer scheme includes:
if the real-time state information is in the quiet state, increasing gain values corresponding to the middle frequency band information and the high frequency band information;
if the real-time state information is the motion state, increasing the gain value corresponding to the low-frequency band information;
and if the real-time state information is in the sleep state, reducing the gain values corresponding to the low-frequency band information and the high-frequency band information.
In some embodiments, the method further comprises:
obtaining equalizer fine adjustment information of a user;
and updating the target equalizer scheme according to the equalizer fine tuning information.
To achieve the above object, a second aspect of the present disclosure provides an earphone equalizer adjusting apparatus, including:
an initial scheme obtaining module, configured to obtain an initial equalizer scheme;
the real-time state detection module is used for acquiring real-time state information of a user; the real-time status information at least comprises any one of the following: a quiet state, a sports state, a sleep state;
and the adjusting module is used for adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
To achieve the above object, a third aspect of the present disclosure provides an electronic device, including:
at least one memory;
at least one processor;
at least one program;
the program is stored in a memory and a processor executes the at least one program to implement the method of the present disclosure as described in the above first aspect.
To achieve the above object, a fourth aspect of the present disclosure proposes a storage medium that is a computer-readable storage medium storing computer-executable instructions for causing a computer to perform:
a method as described in the first aspect above.
According to the method and device for adjusting the earphone equalizer, the electronic device and the storage medium, the initial equalizer scheme is obtained, then the real-time state information of the user is obtained, wherein the real-time state information at least comprises a quiet state, a motion state and a sleep state, and then the initial equalizer scheme is adjusted according to the real-time state information, so that the target equalizer scheme is generated. By the technical scheme provided by the embodiment of the disclosure, the real-time state of the user can be fully considered in the adjustment of the equalizer, so that the equalization scheme is adaptive to the real-time state, the sound experience of the user is optimized, and the adjustment efficiency of the equalizer is improved.
Drawings
Fig. 1 is a flowchart of an earphone equalizer adjustment method provided in an embodiment of the present disclosure.
Fig. 2 is a flowchart of step S110 in fig. 1.
Fig. 3 is a flowchart of step S120 in fig. 1.
Fig. 4 is a flowchart of step S310 in fig. 3.
Fig. 5 is a flowchart of step S330 in fig. 3.
Fig. 6 is a flowchart of step S130 in fig. 1.
Fig. 7 is a partial flowchart of an earphone equalizer adjustment method according to another embodiment of the present disclosure.
Fig. 8 is a block diagram of an apparatus for adjusting an equalizer of a headphone according to an embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present disclosure.
Reference numerals: an initial scheme acquisition module 810, a real-time state detection module 820, a regulation module 830, a processor 901, a memory 902, an input/output interface 903, a communication interface 904 and a bus 905.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, 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 invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
An Equalizer (EQ, Equalizer) is an electronic device that can adjust the amount of amplification of electrical signals of various frequency components, respectively, for compensating for defects of speakers and sound fields, and for compensating and modifying various sound sources, by adjusting electrical signals of various frequencies. The equalizer on a common sound console can respectively adjust high-frequency, medium-frequency and low-frequency three-section frequency electric signals.
The current equalizer adjustment mode is user configuration, and the effect of the equalizer can only be changed when the user actively updates the current equalizer, and the equalizer cannot be dynamically adjusted at any time according to the current state of the user, so that the adjustment efficiency of the equalizer is low.
Furthermore, in the current adjustment method, each adjustment requires the user to manually adjust the gain of the equalizer, which is difficult to adjust to a comfortable state for the user.
Based on this, the embodiment of the present disclosure provides an earphone equalizer adjustment method and apparatus, an electronic device, and a storage medium, which may generate a target equalizer scheme by acquiring an initial equalizer scheme and then acquiring real-time status information of a user, where the real-time status information at least includes a quiet state, a motion state, and a sleep state, and then adjusting the initial equalizer scheme according to the real-time status information. By the technical scheme provided by the embodiment of the disclosure, the real-time state of the user can be fully considered in the adjustment of the equalizer, so that the equalization scheme is adaptive to the real-time state, the sound experience of the user is optimized, and the adjustment efficiency of the equalizer is improved.
The embodiment of the present disclosure provides a method and an apparatus for adjusting a headphone equalizer, an electronic device, and a storage medium, which are specifically described in the following embodiments, and first a method for adjusting a headphone equalizer in the embodiment of the present disclosure is described.
The embodiment of the disclosure provides an earphone equalizer adjusting method, and relates to the technical field of sound source signal output control. The earphone equalizer adjusting method provided by the embodiment of the disclosure can be applied to a terminal, can also be applied to a server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal may be a smartphone, tablet, laptop, desktop computer, smart watch, or the like; the server can be an independent server, and can also be a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and artificial intelligence platform and the like; the software may be an application or the like that implements the headphone equalizer adjustment method, but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiment of the disclosure provides a method for adjusting an earphone equalizer, which includes: obtaining an initial equalizer scheme; acquiring real-time state information of a user; the real-time status information includes at least any one of: a quiet state, a sports state, a sleep state; and adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
Fig. 1 is an optional flowchart of an earphone equalizer adjustment method provided in an embodiment of the present disclosure, where the method in fig. 1 may include, but is not limited to, steps S110 to S130, and specifically includes:
s110, obtaining an initial equalizer scheme;
s120, acquiring real-time state information of a user;
and S130, adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
It should be noted that the application field of the method for adjusting an equalizer of a headphone provided by the embodiments of the present disclosure includes, but is not limited to, headphones.
In step S110, the initial equalizer scheme is an equalizer scheme before performing one EQ scheme adjustment, the initial equalizer scheme may be a scheme performing preset configuration at power on, or an equalizer scheme at any time.
In step S120, the real-time status information includes at least any one of the following: the embodiment of the present disclosure does not limit the specific state of the user, and may be a working state, a diet state, and the like, besides the three states described above, and the equalizer may be adjusted according to different states.
In step S130, the target equalizer scheme is the equalizer scheme after the adjustment process, and the scheme can be directly applied to the playing of the headphones. The adjustment process may be to directly adjust the index in the equalizer scheme, or to replace the old EQ scheme with the new EQ scheme.
According to the method and device for adjusting the earphone equalizer, the electronic device and the storage medium, the initial equalizer scheme is obtained, then the real-time state information of the user is obtained, wherein the real-time state information at least comprises a quiet state, a motion state and a sleep state, and then the initial equalizer scheme is adjusted according to the real-time state information, so that the target equalizer scheme is generated. By the technical scheme provided by the embodiment of the disclosure, the real-time state of the user can be fully considered in the adjustment of the equalizer, so that the equalization scheme is adaptive to the real-time state, the sound experience of the user is optimized, and the adjustment efficiency of the equalizer is improved.
In some embodiments, an initial equalizer scheme is obtained, comprising: acquiring frequency range information of an equalizer; acquiring a gain adjustment range corresponding to frequency range information of each equalizer; and configuring an initial gain value for each equalizer frequency band information according to the gain adjustment range to obtain an initial equalizer scheme.
Fig. 2 is a flow chart of step S110 in some embodiments, and step S110 illustrated in fig. 2 includes, but is not limited to, step S210 to step S230:
s210, obtaining frequency range information of the equalizer;
s220, acquiring a gain adjustment range corresponding to frequency range information of each equalizer;
and S230, configuring an initial gain value for each equalizer frequency band information according to the gain adjustment range to obtain an initial equalizer scheme.
In step S210, the frequency band information of the equalizer is the adjustable frequency band of the equalizer set by the player, which is also called a frequency point, specifically, the user can set the equalizer as a ten-band equalizer, i.e., the adjustable frequency band is 100Hz from low frequency to high frequency, i.e., 200Hz, 400Hz, 600Hz, 1KHz, 3KHz, 6KHz, 12KHz, 14KHz, 16KHz, wherein 100Hz, 200Hz, 400Hz, 600Hz is the low frequency band information, 1KHz, 3KHz, 6KHz is the middle frequency band information, 12KHz, 14KHz, 16KHz is the high frequency band information.
In step S220, the gain adjustment range corresponding to each equalizer frequency band information is the adjustable range of each frequency point, and specifically, the gain adjustment ranges of the ten frequency points in step S210 are all (-8db, +8 db).
In step S230, an initial gain value is set according to the gain adjustment range in step S220, specifically, the initial gain values of the ten frequency points in step S210 are respectively set as: 0db, 1db, 2db, 0db, 1db, 2db, 0db, 1db, 2db, 0 db.
In some embodiments, obtaining real-time status information of a user comprises: acquiring a heart rate reference value of a user; acquiring real-time heart rate information of a user; and performing state discrimination processing according to the heart rate reference value and the real-time heart rate information to obtain real-time state information.
Fig. 3 is a flowchart of step S120 in some embodiments, and step S120 illustrated in fig. 3 includes, but is not limited to, step S310 to step S330:
s310, acquiring a heart rate reference value of a user;
s320, acquiring real-time heart rate information of a user;
and S330, performing state discrimination according to the heart rate reference value and the real-time heart rate information to obtain real-time state information.
In step S310, the heart rate reference value is a heart rate index obtained according to the usual heart rate data of the user, and is used for comparing with the real-time heart rate information to determine what state the user is in at the moment. Specifically, the heart rate reference value is 80 in units of "beats per minute".
In step S320, the real-time heart rate information is the collected real-time heart rate of the user, and specifically, the real-time heart rate information is collected by setting a heart rate collection module, such as an integrated heart rate detection chip, in the earphone.
In step S330, the determining process includes, but is not limited to, determining a threshold range according to the heart rate reference value, and generating the real-time status information of the user according to the corresponding relationship between the threshold range and the status of the user.
In some embodiments, obtaining a heart rate reference value for a user comprises: acquiring static heart rate information of a user in a preset time; and carrying out averaging processing on the static heart rate information to obtain a heart rate reference value.
Fig. 4 is a flowchart of step S310 in some embodiments, and step S310 illustrated in fig. 4 includes, but is not limited to, step S410 to step S420:
s410, collecting static heart rate information of a user in preset time;
and S420, carrying out averaging processing on the static heart rate information to obtain a heart rate reference value.
In step S410, the static heart rate information is heart rate information of the user in a quiet state, and specifically, the static heart rate information is acquired by providing a heart rate acquisition module, such as an integrated heart rate detection chip, in the earphone. The preset time is a time period for acquiring the heart rate, including but not limited to 1 minute, 5 minutes, and the like.
In step S420, the averaging process includes averaging the heart rate in a predetermined time period, such as when the predetermined time is 5 minutes, if the number of heartbeats in 5 minutes is 500, the heart rate reference value is 500 divided by 5 to be equal to 100 beats per minute.
In some embodiments, the performing the state discrimination processing according to the heart rate reference value and the real-time heart rate information to obtain the real-time state information includes: obtaining a first threshold range, a second threshold range and a third threshold range according to the heart rate reference value; if the real-time heart rate information is in the first threshold range, the real-time state information is in a quiet state; if the real-time heart rate information is in the second threshold range, the real-time state information is a motion state; and if the real-time heart rate information is in the third threshold range, the real-time state information is in a sleep state.
Fig. 5 is a flowchart of step S330 in some embodiments, and step S330 illustrated in fig. 5 includes, but is not limited to, step S510 to step S540:
s510, obtaining a first threshold range, a second threshold range and a third threshold range according to the heart rate reference value;
s520, if the real-time heart rate information is in the first threshold range, the real-time state information is in a quiet state;
s530, if the real-time heart rate information is in the second threshold range, the real-time state information is in a motion state;
and S540, if the real-time heart rate information is in the third threshold range, the real-time state information is in a sleep state.
In step S510, in a specific embodiment, if the heart rate reference value is a, the first coefficient is a1, and the second coefficient is a2 (generally, a1 is smaller than a2), the first threshold range is "heart rate is larger than a1 a and smaller than a2 a"; specifically, if a1 is 0.95, a2 is 1.1, and a is 100, then the first threshold range is "heart rate greater than 95 and less than 110".
Correspondingly, the second threshold range is "heart rate is greater than or equal to a2 × a ═ 110"; the third threshold range is "heart rate is equal to or less than a1 a-95".
The first coefficient and the second coefficient are used for obtaining a first threshold range, a second threshold range and a third threshold range, the size of the coefficient can be defined and modified by a user, the coefficient can also be configured according to an actually measured heart rate rule, and the value of the coefficient is not limited by the disclosure.
In step S520, if the real-time heart rate information heart rate is greater than 95 and less than 110, the real-time status information is in a quiet status.
In step S530, if the real-time heart rate information is greater than or equal to 110, the real-time status information is a motion status.
In step S540, if the real-time heart rate information is less than or equal to 95, the real-time status information is in a sleep status.
It should be noted that, the correspondence between the specific index of the heart rate and the real-time status information is only used as an example to illustrate the generation principle of the real-time status information, and is not to be construed as a limitation to the technical solution of the present disclosure.
In addition, the threshold range and the number of the real-time status messages corresponding to the threshold range in the embodiment of the present disclosure, including but not limited to the above-mentioned 3 examples, may also be set individually according to the actual situation.
In some embodiments, the equalizer frequency band information includes low frequency band information, middle frequency band information, and high frequency band information, and the adjusting process is performed on the initial equalizer scheme according to the real-time status information to generate the target equalizer scheme, including: if the real-time state information is in a quiet state, the gain value corresponding to the middle-frequency band information and the high-frequency band information is increased; if the real-time state information is a motion state, increasing a gain value corresponding to the low-frequency-band information; and if the real-time state information is in a sleep state, reducing the gain value corresponding to the low-frequency band information and the high-frequency band information.
Fig. 6 is a flowchart of step S130 in some embodiments, and step S130 illustrated in fig. 6 includes, but is not limited to, step S610 to step S630:
s610, if the real-time state information is in a quiet state, increasing gain values corresponding to the middle-frequency band information and the high-frequency band information;
s620, if the real-time state information is in a motion state, increasing a gain value corresponding to the low-frequency-band information;
and S630, if the real-time state information is in a sleep state, reducing the gain value corresponding to the low-frequency band information and the high-frequency band information.
In step S610, in a quiet state, the gain value corresponding to the middle band information and the high band information is increased, so that the infectivity and expressiveness of the sound can be improved.
In step S620, in the motion state, the gain value corresponding to the low-frequency range information is increased, so as to enhance the effect of providing dynamic sense at the low frequency.
In step S630, in the sleep state, the gain values corresponding to the low band information and the high band information are reduced, providing a mild sleep environment.
In some embodiments, the headphone equalizer adjustment method further comprises: obtaining equalizer fine adjustment information of a user; and updating the target equalizer scheme according to the equalizer fine tuning information.
As shown in fig. 7, fig. 7 is a flowchart of an earphone equalizer adjustment method according to other embodiments, where the earphone equalizer adjustment method further includes:
s710, obtaining equalizer fine adjustment information of a user;
and S720, updating the target equalizer scheme according to the equalizer fine adjustment information.
In steps S710 to S720, the equalizer fine-tuning information is information represented by the adjustment instruction of the equalizer by the user, that is, after the target equalizer scheme is generated by using the method for adjusting the equalizer of the headphone provided in the embodiment of the present disclosure, the user can still perform personalized adjustment on the scheme to achieve the best personal audio experience, and at the same time, the system also records the adjustment details of each user to better understand the audio usage habit of the user.
In a specific embodiment, if the reference value of the heart rate of the user is 80, when the reference value is 95, it is determined that the user is in the exercise state, and at this time, on the basis of the EQ parameter of the user, the gain of the low frequency band 100-.
By the method for adjusting the earphone equalizer, the EQ can be dynamically adjusted according to the state of the user in real time, good user experience is provided for the user, the complexity of adjusting the EQ parameters can be reduced for users who are not familiar with audio parameters, and the adjustment efficiency of the equalizer is improved. The embodiment of the present disclosure provides an earphone equalizer adjusting device, including: an initial scheme obtaining module, configured to obtain an initial equalizer scheme; the real-time state detection module is used for acquiring real-time state information of a user; the real-time status information includes at least any one of: a quiet state, a sports state, a sleep state; and the adjusting module is used for adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
Referring to fig. 8, fig. 8 illustrates an embodiment of an apparatus for adjusting a headphone equalizer, where the apparatus for adjusting a headphone equalizer includes an initial solution obtaining module 810, a real-time status detecting module 820, and an adjusting module 830, where the initial solution obtaining module 810 is connected to the real-time status detecting module 820, and the real-time status detecting module 820 is connected to the adjusting module 830.
Specifically. An initial scheme obtaining module 810, configured to obtain an initial equalizer scheme; a real-time status detection module 820 for acquiring real-time status information of a user; the real-time status information includes at least any one of: a quiet state, a sports state, a sleep state; and an adjusting module 830, configured to perform adjustment processing on the initial equalizer scheme according to the real-time status information, so as to generate a target equalizer scheme.
The specific implementation of the apparatus for adjusting an earphone equalizer of this embodiment is substantially the same as the specific implementation of the method for adjusting an earphone equalizer described above, and belongs to the same inventive concept, and is not described herein again.
An embodiment of the present disclosure further provides an electronic device, including:
at least one memory;
at least one processor;
at least one program;
the programs are stored in a memory and a processor executes the at least one program to implement the present disclosure to implement the headphone equalizer adjustment method described above. The electronic device can be any intelligent terminal including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA for short), a vehicle-mounted computer and the like.
Referring to fig. 9, fig. 9 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
the processor 901 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is configured to execute a relevant program to implement the technical solution provided by the embodiment of the present disclosure;
the memory 902 may be implemented in a form of a ROM (read only memory), a static storage device, a dynamic storage device, or a RAM (random access memory). The memory 902 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present disclosure is implemented by software or firmware, the relevant program codes are stored in the memory 902 and called by the processor 901 to execute the headphone equalizer adjustment method according to the embodiments of the present disclosure;
an input/output interface 903 for implementing information input and output;
a communication interface 904, configured to implement communication interaction between the device and another device, where communication may be implemented in a wired manner (e.g., USB, network cable, etc.), or in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.); and
a bus 905 that transfers information between various components of the device (e.g., the processor 901, the memory 902, the input/output interface 903, and the communication interface 904);
wherein the processor 901, the memory 902, the input/output interface 903 and the communication interface 904 enable a communication connection within the device with each other through a bus 905.
The embodiment of the present disclosure also provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions for causing a computer to execute the above-mentioned earphone equalizer adjusting method.
According to the method and device for adjusting the earphone equalizer, the electronic device and the storage medium, the initial equalizer scheme is obtained, then the real-time state information of the user is obtained, wherein the real-time state information at least comprises a quiet state, a motion state and a sleep state, and then the initial equalizer scheme is adjusted according to the real-time state information, so that the target equalizer scheme is generated. By the technical scheme provided by the embodiment of the disclosure, the real-time state of the user can be fully considered in the adjustment of the equalizer, so that the equalization scheme is adaptive to the real-time state, the sound experience of the user is optimized, and the adjustment efficiency of the equalizer is improved.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present disclosure are for more clearly illustrating the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation to the technical solutions provided in the embodiments of the present disclosure, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present disclosure are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1-7 are not intended to limit the embodiments of the present disclosure, and may include more or fewer steps than those shown, or some of the steps may be combined, or different steps.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, and therefore do not limit the scope of the claims of the embodiments of the present disclosure. Any modifications, equivalents and improvements within the scope and spirit of the embodiments of the present disclosure should be considered within the scope of the claims of the embodiments of the present disclosure by those skilled in the art.

Claims (10)

1. A method for headphone equalizer adjustment, comprising:
obtaining an initial equalizer scheme;
acquiring real-time state information of a user; the real-time status information at least comprises any one of the following: a quiet state, a sports state, a sleep state;
and adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
2. The method of claim 1, wherein obtaining an initial equalizer scheme comprises:
acquiring frequency range information of an equalizer;
acquiring a gain adjustment range corresponding to each equalizer frequency range information;
and configuring an initial gain value for each equalizer frequency band information according to the gain adjustment range to obtain the initial equalizer scheme.
3. The method of claim 1, wherein the obtaining real-time status information of the user comprises:
acquiring a heart rate reference value of the user;
acquiring real-time heart rate information of the user;
and performing state discrimination processing according to the heart rate reference value and the real-time heart rate information to obtain the real-time state information.
4. The method of claim 3, wherein the obtaining a heart rate reference value for the user comprises:
collecting static heart rate information of the user in a preset time;
and carrying out averaging processing on the static heart rate information to obtain the heart rate reference value.
5. The method according to claim 3, wherein the performing the state discrimination process according to the heart rate reference value and the real-time heart rate information to obtain the real-time state information comprises:
obtaining a first threshold range, a second threshold range and a third threshold range according to the heart rate reference value;
if the real-time heart rate information is within the first threshold range, the real-time status information is the quiet status;
if the real-time heart rate information is within the second threshold range, the real-time state information is the motion state;
and if the real-time heart rate information is in the third threshold range, the real-time state information is the sleep state.
6. The method of claim 1, wherein the equalizer frequency band information comprises low frequency band information, middle frequency band information, and high frequency band information, and wherein the adjusting the initial equalizer scheme according to the real-time status information to generate a target equalizer scheme comprises:
if the real-time state information is in the quiet state, increasing gain values corresponding to the middle frequency band information and the high frequency band information;
if the real-time state information is the motion state, increasing the gain value corresponding to the low-frequency band information;
and if the real-time state information is in the sleep state, reducing the gain values corresponding to the low-frequency band information and the high-frequency band information.
7. The method according to any one of claims 1 to 6, further comprising:
obtaining equalizer fine adjustment information of a user;
and updating the target equalizer scheme according to the equalizer fine tuning information.
8. An earphone equalizer adjustment apparatus, comprising:
an initial scheme obtaining module, configured to obtain an initial equalizer scheme;
the real-time state detection module is used for acquiring real-time state information of a user; the real-time status information at least comprises any one of the following: a quiet state, a sports state, a sleep state;
and the adjusting module is used for adjusting the initial equalizer scheme according to the real-time state information to generate a target equalizer scheme.
9. An electronic device, comprising:
at least one memory;
at least one processor;
at least one program;
the programs are stored in a memory, and a processor executes the at least one program to implement:
the method of any one of claims 1 to 7.
10. A storage medium that is a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform:
the method of any one of claims 1 to 7.
CN202111613079.1A 2021-12-27 2021-12-27 Earphone equalizer adjusting method and device, electronic equipment and storage medium Pending CN114286257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111613079.1A CN114286257A (en) 2021-12-27 2021-12-27 Earphone equalizer adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111613079.1A CN114286257A (en) 2021-12-27 2021-12-27 Earphone equalizer adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114286257A true CN114286257A (en) 2022-04-05

Family

ID=80875991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111613079.1A Pending CN114286257A (en) 2021-12-27 2021-12-27 Earphone equalizer adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114286257A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847574A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Method for controlling loudspeaker volume and terminal device
CN106888419A (en) * 2015-12-16 2017-06-23 华为终端(东莞)有限公司 The method and apparatus for adjusting earpiece volume
CN107920290A (en) * 2016-10-10 2018-04-17 峰范(北京)科技有限公司 Automatically adjust the Headphone device and balanced device adjusting method of balanced device
CN109413537A (en) * 2018-12-20 2019-03-01 歌尔科技有限公司 Audio signal playback method, device and earphone
CN109688505A (en) * 2019-01-23 2019-04-26 陕西理工大学 A kind of earphone broadcast control device and method
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN110187861A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 A kind of volume adjusting method, electronic equipment and computer readable storage medium
CN113766382A (en) * 2021-08-31 2021-12-07 安克创新科技股份有限公司 Earphone control method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888419A (en) * 2015-12-16 2017-06-23 华为终端(东莞)有限公司 The method and apparatus for adjusting earpiece volume
US20200252039A1 (en) * 2015-12-16 2020-08-06 Huawei Technologies Co., Ltd. Earphone volume adjustment method and apparatus
CN105847574A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Method for controlling loudspeaker volume and terminal device
CN107920290A (en) * 2016-10-10 2018-04-17 峰范(北京)科技有限公司 Automatically adjust the Headphone device and balanced device adjusting method of balanced device
CN109413537A (en) * 2018-12-20 2019-03-01 歌尔科技有限公司 Audio signal playback method, device and earphone
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN109688505A (en) * 2019-01-23 2019-04-26 陕西理工大学 A kind of earphone broadcast control device and method
CN110187861A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 A kind of volume adjusting method, electronic equipment and computer readable storage medium
CN113766382A (en) * 2021-08-31 2021-12-07 安克创新科技股份有限公司 Earphone control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11122374B2 (en) Systems and methods for providing personalized audio replay on a plurality of consumer devices
CN105163221A (en) Method for executing active noise reduction for earphone in electronic terminal and electronic terminal thereof
CN108335688B (en) Method for detecting main beat point in music, computer storage medium and terminal
CN109872710B (en) Sound effect modulation method, device and storage medium
EP4135304B1 (en) Automatic volume adjustment method and apparatus, and medium and device
CN111508510A (en) Audio processing method and device, storage medium and electronic equipment
CN106909360A (en) A kind of electronic installation, sound play device and balanced device method of adjustment
CN108737648A (en) Volume of music adaptive regulation method, device, storage medium and terminal
CN110599989A (en) Audio processing method, device and storage medium
CN106601268B (en) Multimedia data processing method and device
CN111669682A (en) Method for optimizing sound quality of loudspeaker equipment
CN109240642B (en) Volume adjusting method and device of terminal equipment and terminal equipment
CN114286257A (en) Earphone equalizer adjusting method and device, electronic equipment and storage medium
CN112740169A (en) Equalizer setting method, device, equipment and computer readable storage medium
CN112312258A (en) Intelligent earphone with hearing protection and hearing compensation
CN115696123A (en) Audio compensation method and audio compensation device
CN113990363A (en) Audio playing parameter adjusting method and device, electronic equipment and storage medium
CN113573213B (en) Sound quality optimization method for intelligent sound equipment with screen, intelligent sound equipment and playing system
CN112307161B (en) Method and apparatus for playing audio
CN109246554B (en) Terminal and regulation and control method of vibrator thereof
CN113593602A (en) Audio processing method and device, electronic equipment and storage medium
CN112187204A (en) Electronic device and equalizer adjusting method thereof according to volume
CN114422896B (en) Earphone environment tone adjusting method and device, electronic equipment and storage medium
CN113055784A (en) Volume adjusting method and device
CN111739496A (en) Audio processing method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220405

RJ01 Rejection of invention patent application after publication