CN113596677A - Parameter determination method, wireless earphone, storage medium and electronic equipment - Google Patents

Parameter determination method, wireless earphone, storage medium and electronic equipment Download PDF

Info

Publication number
CN113596677A
CN113596677A CN202110945328.0A CN202110945328A CN113596677A CN 113596677 A CN113596677 A CN 113596677A CN 202110945328 A CN202110945328 A CN 202110945328A CN 113596677 A CN113596677 A CN 113596677A
Authority
CN
China
Prior art keywords
earphone
parameter
equalization
determining
frequency response
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.)
Withdrawn
Application number
CN202110945328.0A
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.)
Beijing Zhongke Shengkong Technology Co ltd
Original Assignee
Beijing Zhongke Shengkong Technology 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 Beijing Zhongke Shengkong Technology Co ltd filed Critical Beijing Zhongke Shengkong Technology Co ltd
Priority to CN202110945328.0A priority Critical patent/CN113596677A/en
Publication of CN113596677A publication Critical patent/CN113596677A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The application provides a parameter determination method, a wireless earphone, a computer readable storage medium and an electronic device, and relates to the technical field of signal processing. The parameter determination method comprises the following steps: receiving equipment end balance parameters sent by electronic equipment connected with a wireless earphone; determining an equalization judgment parameter based on a first earphone end equalization parameter and a device end equalization parameter corresponding to the earphone local equalizer; and determining the balance parameters of the second earphone end based on the balance judgment parameters and the earphone target frequency response information corresponding to the audio file to be played. The parameter determination method is applied to the wireless earphone, so that the wireless earphone can perform frequency spectrum balancing operation on the audio file to be played locally in the wireless earphone on the premise that the wireless earphone has the functions of other wireless earphones and the same audio file when the frequency response of the audio file to be played does not accord with the target frequency response, the personalized tone quality requirements of a user are met, and the user can selectively experience music with different tone qualities.

Description

Parameter determination method, wireless earphone, storage medium and electronic equipment
Technical Field
The present application relates to the field of signal processing technologies, and in particular, to a parameter determination method, a wireless headset, a storage medium, and an electronic device.
Background
In recent years, Wireless headsets have received increasing attention, particularly True Wireless Stereo (TWS) headsets, by virtue of the ability to free users from the constraints of headset cords. The precondition for playing audio by the wireless earphone is that an equipment end (such as a mobile phone end) firstly encodes and compresses an audio file, then transmits the audio file to the wireless earphone through equipment Bluetooth, and the wireless earphone performs decoding operation on the compressed audio file. Because of the coding compression operations involved, existing wireless headsets typically have poor sound quality compared to wired headsets.
Furthermore, since the users have different personal preferences and requirements, different users may have different sound quality requirements even for the same audio file. Therefore, how to meet the requirement of the personalized tone quality of the user becomes an urgent problem to be solved.
Disclosure of Invention
The present application is proposed to solve the above-mentioned technical problems. The embodiment of the application provides a parameter determination method, a wireless earphone, a storage medium and an electronic device.
In a first aspect, an embodiment of the present application provides a parameter determining method, which is applied to a wireless headset including a local equalizer of the headset. The parameter determination method comprises the following steps: receiving equipment end equalization parameters sent by electronic equipment connected with a wireless earphone, wherein the equipment end equalization parameters correspond to an audio file to be played; determining an equalization judgment parameter corresponding to the local equalizer of the earphone based on a first earphone end equalization parameter and a device end equalization parameter corresponding to the local equalizer of the earphone; and determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played.
With reference to the first aspect, in some implementation manners of the first aspect, determining a second headphone end equalization parameter corresponding to a headphone local equalizer based on an equalization judgment parameter and headphone target frequency response information corresponding to an audio file to be played includes: if the balance judgment parameter does not fall into the standard balance parameter range corresponding to the target frequency response information of the earphone, unbalance prompt information is sent to a user; and if the confirmation adjustment information sent by the user is received, determining the equalization parameters of the second earphone end based on the equalization judgment parameters and the earphone target frequency response information.
With reference to the first aspect, in some implementations of the first aspect, after sending the imbalance prompt information to the user if the equalization determination parameter does not fall within the standard equalization parameter range corresponding to the target frequency response information of the earphone, the method further includes: and if receiving the confirmation non-adjustment information sent by the user, determining the first earphone end equalization parameter as a second earphone end equalization parameter.
In a second aspect, an embodiment of the present application provides a parameter determining method applied to an electronic device connected to a wireless headset, where the wireless headset includes a headset local equalizer. The parameter determination method comprises the following steps: determining user-defined equipment end equalization parameters based on user operation, wherein the equipment end equalization parameters correspond to audio files to be played of the wireless earphone; determining an equalization judgment parameter corresponding to the local equalizer of the earphone based on a first earphone end equalization parameter and a device end equalization parameter corresponding to the local equalizer of the earphone; determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played; and sending the second earphone end equalization parameters to the wireless earphone.
With reference to the second aspect, in some implementation manners of the second aspect, determining a second headphone end equalization parameter corresponding to a headphone local equalizer based on the equalization judgment parameter and headphone target frequency response information corresponding to an audio file to be played includes: if the balance judgment parameter does not fall into the standard balance parameter range corresponding to the target frequency response information of the earphone, unbalance prompt information is sent to a user; and if the confirmation adjustment information sent by the user is received, determining the equalization parameters of the second earphone end based on the equalization judgment parameters and the earphone target frequency response information.
With reference to the second aspect, in some implementations of the second aspect, after sending the imbalance prompt message to the user if the equalization judgment parameter does not fall within the standard equalization parameter range corresponding to the target frequency response information of the headset, the method further includes: and if receiving the confirmation non-adjustment information sent by the user, determining the first earphone end equalization parameter as a second earphone end equalization parameter.
In a third aspect, an embodiment of the present application provides a wireless headset, including a headset local equalizer, further including: the receiving module is used for receiving equipment end equalization parameters sent by electronic equipment connected with the wireless earphone, wherein the equipment end equalization parameters correspond to the audio file to be played; the first determining module is used for determining an equalization judgment parameter corresponding to the local earphone equalizer based on a first earphone end equalization parameter and a device end equalization parameter corresponding to the local earphone equalizer; and the second determining module is used for determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judging parameter and the earphone target frequency response information corresponding to the audio file to be played.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining user-defined equipment end equalization parameters based on user operation, the equipment end equalization parameters correspond to audio files to be played of the wireless earphone, and the wireless earphone comprises an earphone local equalizer; the second determining module is used for determining the equalization judgment parameter corresponding to the local earphone equalizer based on the first earphone end equalization parameter and the equipment end equalization parameter corresponding to the local earphone equalizer; the third determining module is used for determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judging parameter and the earphone target frequency response information corresponding to the audio file to be played; and the sending module is used for sending the second earphone end equalization parameters to the wireless earphone.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor; a memory for storing the processor-executable instructions; the processor is configured to perform the parameter determination method according to the first aspect and/or the second aspect.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where the storage medium stores a computer program for executing the parameter determination method mentioned in the first aspect and/or the second aspect.
According to the parameter determining method provided by the embodiment of the application, the device end equalization parameter sent by the electronic device connected with the wireless earphone is received, wherein the device end equalization parameter corresponds to the audio file to be played, then the equalization judging parameter corresponding to the local equalizer of the earphone is determined based on the first earphone end equalization parameter corresponding to the local equalizer of the earphone and the device end equalization parameter, and then the second earphone end equalization parameter corresponding to the local equalizer of the earphone is determined based on the equalization judging parameter and the target frequency response information of the earphone corresponding to the audio file to be played, so that the purpose of improving the tone quality experience of the wireless earphone is achieved. The parameter determination method provided by the embodiment of the application is applied to the wireless earphone, so that on the premise of having functions of other wireless earphones, when the frequency response of the audio file to be played does not accord with the target frequency response, the frequency spectrum equalization operation can be performed on the audio file to be played locally on the wireless earphone, the personalized tone quality requirement of a user is met, and the purpose that the user can selectively experience music with different tone qualities is achieved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic flow chart of a parameter determination method according to an exemplary embodiment of the present application.
Fig. 2 is a schematic flow chart illustrating a process of determining a second headphone end equalization parameter corresponding to a headphone local equalizer based on an equalization judgment parameter and headphone target frequency response information corresponding to an audio file to be played according to an exemplary embodiment of the present application.
Fig. 3 is a schematic flow chart of a parameter determination method according to an exemplary embodiment of the present application.
Fig. 4 is a schematic structural diagram of a wireless headset according to an exemplary embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to another exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow chart of a parameter determination method according to an exemplary embodiment of the present application. In particular, the parameter determination method provided by the embodiment of the application is applied to the wireless headset comprising the headset local equalizer.
As shown in fig. 1, a parameter determination method provided in an embodiment of the present application includes the following steps.
And step S10, receiving the device-side equalization parameters sent by the electronic device connected with the wireless headset. The equipment end equalization parameters correspond to the audio files to be played.
In an embodiment of the application, the electronic device is a device such as a mobile phone or a tablet computer connected to the wireless headset, and the user sends the device-side equalization parameter corresponding to the audio file to be played by operating the mobile phone or the tablet computer, and the wireless headset acquires and receives the device-side equalization parameter.
In an embodiment of the present application, the device-side equalization parameters mentioned in the foregoing embodiments include default equalization parameters of the electronic device or custom equalization parameters set by a user.
Step S20, determining an equalization judgment parameter corresponding to the headphone local equalizer based on the first headphone-side equalization parameter and the device-side equalization parameter corresponding to the headphone local equalizer.
In an embodiment of the present application, the local equalizer of the headphone determines a first headphone end equalization parameter of an audio file to be played according to related information such as a genre of music, a style of music, a musician, an album, a single song, or even words and sentences in the single song of the audio file to be played, and then performs a spectrum equalization operation on the audio file to be played, so that the wireless headphone can play the equalized audio file after the spectrum equalization operation.
It should be noted that, if the frequency response of the audio file to be played does not conform to the target frequency response due to the reasons of the device-side equalization parameter, such as undertone, overshoot, mistone, and trip limit, the electronic device or the wireless headset may make a judgment on the situation, specifically, determine the equalization judgment parameter corresponding to the local equalizer of the headset based on the first headset-side equalization parameter corresponding to the local equalizer of the headset and the device-side equalization parameter, and prompt the user to perform further operations according to the equalization judgment parameter.
In an embodiment of the present application, the equalization parameter at the first earphone end is
Figure BDA0003216456780000051
The equalization parameter at the equipment end is EQa(f) The information of the loudspeaking path transfer function is G (f), and the frequency response of the audio file to be played is T (f), wherein the information of the loudspeaking path transfer function G (f) is the transfer function of the sound signal received by the wireless earphone. The product of the first headphone end equalization parameter corresponding to the headphone local equalizer and the device end equalization parameter is the equalization judgment parameter corresponding to the headphone local equalizer, that is, the following formula (1).
Figure BDA0003216456780000061
As shown in the above formula (1), the equalization judgment parameter is the frequency response t (f) of the audio file to be played.
In one embodiment of the present application, the frequency response is defined as the frequency response of the system through which the audio file to be played is converted by an electrical signal into an acoustic signal received by the tympanic membrane of the human ear.
In an embodiment of the present application, the first headphone-side equalization parameter is an initial value of a headphone local equalizer parameter.
And step S30, determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played.
In an embodiment of the present application, if the frequency response of the audio file to be played does not conform to the target frequency response, the user is prompted to "the wireless headset is not currently in the best tone quality" and the like, at this time, the user needs to confirm the information adjusted to the best tone quality or not adjusted to the best tone quality, and determine the second headset end equalization parameter corresponding to the local headset equalizer based on the target frequency response information of the headset corresponding to the audio file to be played.
In an embodiment of the present application, the second headphone-end equalization parameter is an equalization parameter of a headphone local equalizer corresponding to an audio file to be played after the user confirms that the audio file to be played is adjusted to the best tone quality or is not adjusted to the best tone quality. Specifically, if the wireless earphone receives the confirmation adjustment information sent by the user, the second earphone end equalization parameter is determined based on the equalization parameter and the earphone target frequency response information; and if the wireless earphone receives the confirmation non-adjustment information sent by the user, determining the first earphone end equalization parameter (namely the initial value of the earphone local equalizer) as the second earphone end equalization parameter.
In an embodiment of the present application, the target frequency response information of the earphone may be determined based on a Harman curve or a Pittsmet curve.
In an embodiment of the present application, the target frequency response information of the headset may be fixed and unchangeable, and the equalization parameter of the first headset end may be updated through a new headset firmware issued by the cloud end to adjust the current frequency response. The target headphone frequency response information may also be variable, such as information related to the genre of music, style of music, musicians, albums, single music, or even words and phrases in the single music of the audio file to be played. That is, it can be understood that different audio files to be played have different headphone target frequency response information. For example, when the playing audio of the wireless headset is switched from the audio file a to the audio file B, the target frequency response information of the headset is also switched accordingly, and the target frequency response information of the headset corresponding to the audio file a is switched to the target frequency response information of the headset corresponding to the audio file B.
For example, when the target frequency response information of the headphones may vary, the user may determine the target frequency response information of the headphones corresponding to the audio file to be played in the following manner. The following modes are explained by taking an example of switching the audio file a to the audio file B.
a. The user controls the wireless earphone to switch the audio file through a preset gesture, the wireless earphone locally responds to the switching instruction, earphone target frequency response information corresponding to the audio file B is obtained, and then the wireless earphone locally determines and adjusts the first earphone end balance parameter according to the earphone target frequency response information corresponding to the audio file B.
b. And the wireless earphone locally determines and adjusts the first earphone end balance parameter according to the earphone target frequency response information corresponding to the audio file B.
c. And the user performs switching operation of the audio file through the wireless earphone application program, the electronic equipment obtains the earphone target frequency response information corresponding to the audio file B, and determines the first earphone end equalization parameter according to the earphone target frequency response information corresponding to the audio file B, so that the first earphone end equalization parameter is sent to the wireless earphone to perform adjustment operation of the first earphone end equalization parameter locally.
In an embodiment of the present application, an audio file to be played is input to a target frequency response model (the target frequency response model is a deep learning network model) to determine target frequency response information of an earphone. The target frequency response model is obtained through model training. Specifically, an initial network model is established, an audio file sample to be played and earphone target frequency response information corresponding to the audio file sample to be played are determined to generate training data, then the initial network model is trained based on the generated training data, model parameters of the initial network model are adjusted, and finally the target frequency response model is generated.
In some embodiments, the input data of the target frequency response model is an audio file to be played, and the output data is the target frequency response information of the earphone corresponding to the audio file to be played.
In the practical application process, the method comprises the steps of firstly receiving equipment end equalization parameters sent by electronic equipment connected with a wireless earphone, wherein the equipment end equalization parameters correspond to an audio file to be played, then determining equalization judgment parameters corresponding to a local earphone equalizer based on first earphone end equalization parameters corresponding to the local earphone equalizer and the equipment end equalization parameters, and then determining second earphone end equalization parameters corresponding to the local earphone equalizer based on the equalization judgment parameters and earphone target frequency response information corresponding to the audio file to be played.
The parameter determining method provided by the embodiment of the application is applied to a wireless earphone comprising an earphone local equalizer, and the method comprises the steps of receiving equipment end equalization parameters sent by an electronic device connected with the wireless earphone, wherein the equipment end equalization parameters correspond to an audio file to be played, then determining equalization judgment parameters corresponding to the earphone local equalizer based on first earphone end equalization parameters corresponding to the earphone local equalizer and the equipment end equalization parameters, and then determining second earphone end equalization parameters corresponding to the earphone local equalizer based on the equalization judgment parameters and earphone target frequency response information corresponding to the audio file to be played, so that the purpose of improving the tone quality experience of the wireless earphone is achieved. The parameter determining method provided by the embodiment of the application is applied to the wireless earphone, so that on the premise of having functions of other wireless earphones, when the frequency response of the audio file to be played does not accord with the target frequency response, the frequency spectrum balancing operation can be performed locally on the wireless earphone by using the earphone local equalizer, the tone quality of the audio file to be played is adjusted to be optimal, and a user can selectively experience music with different tone qualities.
Fig. 2 is a schematic flow chart illustrating a process of determining a second headphone end equalization parameter corresponding to a headphone local equalizer based on an equalization judgment parameter and headphone target frequency response information corresponding to an audio file to be played according to an exemplary embodiment of the present application. The embodiment shown in fig. 2 is extended based on the embodiment shown in fig. 1, and the differences between the embodiment shown in fig. 2 and the embodiment shown in fig. 1 will be emphasized below, and the descriptions of the same parts will not be repeated.
As shown in fig. 2, in the parameter determining method provided in the embodiment of the present application, the step of determining the equalization parameter of the second headphone end corresponding to the local equalizer of the headphone based on the equalization judgment parameter and the target frequency response information of the headphone corresponding to the audio file to be played includes the following steps.
And step S31, judging whether the equalization judgment parameter falls into the standard equalization parameter range corresponding to the earphone target frequency response information.
In an embodiment of the present application, if the equalization determination parameter falls within the standard equalization parameter range corresponding to the target frequency response information of the earphone, step S32 is executed. If the equalization judgment parameter does not fall within the standard equalization parameter range corresponding to the headphone target frequency response information, step S33 is executed.
In step S32, the first headphone-side equalization parameter is determined as the second headphone-side equalization parameter.
Step S33, an imbalance prompt message is sent to the user.
In an embodiment of the present application, the target frequency response is tg (f), the standard equalization parameter is target frequency response tg (f), and if the equalization determination parameter t (f) does not fall within the range of the target frequency response tg (f) corresponding to the target frequency response information of the earphone, that is, when the frequency response of the audio file to be played does not conform to the target frequency response t (f) ≠ tg (f), the unbalance prompt information is sent to the user.
In an embodiment of the present application, sending the imbalance prompt information to the user includes prompting the user that the wireless headset is not currently in the best sound quality through a device interface such as a mobile phone or a tablet computer and/or prompting the user that the wireless headset is not currently in the best sound quality through a voice of the wireless headset, which specifically includes the following implementation manners.
a. Electronic equipment uses equipment end equalization parameter EQa(f) And when the wireless earphone locally determines that T (f) ≠ Tg (f), the wireless earphone returns the result to the electronic equipment, and displays that the wireless earphone is not at the best tone currently through an electronic equipment interface and/or prompts that the wireless earphone is not at the best tone currently through wireless earphone voice.
b. The electronic equipment equalizes the parameters EQ according to the equipment enda(f) Calculating and determining the frequency response T (f) of the audio file to be played, and when the electronic equipment determines that T (f) is not equal to Tg (f), displaying that the wireless earphone is not at the optimal tone quality currently by the electronic equipment through an interface, or sending the result to the wireless earphone, and locally responding the result by the wireless earphone and prompting that the wireless earphone is not at the optimal tone quality currently through voice.
It should be noted that the electronic devices in the above embodiments a and b include a wireless headset application and a music application registered through a wireless headset application account.
After step S33 (sending the imbalance prompt information to the user), the following steps are performed.
Step S34, determining whether the adjustment confirmation information sent by the user is received.
In an embodiment of the present application, if no adjustment confirmation message sent by the user is received (or no adjustment confirmation message sent by the user is received), the above step S32 is executed (determining the first headphone-side equalization parameter as the second headphone-side equalization parameter).
In an embodiment of the application, a user confirms to abandon switching to the best tone quality through confirming on an electronic device interface or confirms to abandon switching to the best tone quality through operating a wireless headset through a preset gesture, and the wireless headset receives confirmation non-adjustment information sent by the user, and then the first headset end equalization parameter is determined as a second headset end equalization parameter, which is equivalent to still utilizing the first headset end equalization parameter
Figure BDA0003216456780000102
And (f) carrying out spectrum equalization operation on the audio file to be played, wherein the frequency response of the audio file to be played is still T (f).
It should be noted that t (f) can be regarded as a general target frequency response tg (f) and a specific target frequency response adjusted individually by the user.
If the confirmation adjustment information issued by the user is received, step S35 is executed.
And step S35, determining the second earphone end equalization parameter based on the equalization judgment parameter and the earphone target frequency response information.
In an embodiment of the present application, a user confirms that "switching to the best tone quality" is performed on an interface of an electronic device or confirms that "switching to the best tone quality" is performed by operating a wireless headset through a preset gesture, and the wireless headset receives confirmation adjustment information sent by the user, so that a headset local equalizer parameter of the wireless headset is equalized by a first headset end equalizer parameter
Figure BDA0003216456780000103
Switching to the second earphone end equalization parameter
Figure BDA0003216456780000104
It should be noted that the second headphone-side equalization parameter is a handover value of a headphone local equalizer parameter.
In an embodiment of the present application, the second headphone side equalizes parameters
Figure BDA0003216456780000105
Determined according to the following equation (2):
Figure BDA0003216456780000101
the determination of the second headphone-side equalization parameters illustratively includes the following embodiments in particular.
c. The wireless earphone locally responds to the adjustment information of switching to the best tone quality, and the wireless earphone responds to the equipment end equalization parameter EQa(f) Determining and adjusting second headphone-end equalization parameters
Figure BDA0003216456780000106
d. The electronic equipment responds to the adjustment information of switching to the optimal tone quality and balances the parameter EQ according to the equipment enda(f) Determining second earpiece-side equalization parameters
Figure BDA0003216456780000111
Second headphone side equalization parameters
Figure BDA0003216456780000112
And sending the audio file to be played and the audio file to be played to the wireless earphone, and adjusting the balance parameters locally on the wireless earphone.
It should be noted that, after the user confirms "switch to the best sound quality", the frequency response of the audio file to be played is the target frequency response, i.e. t (f) ═ tg (f).
In the practical application process, firstly, judging whether the equalization judgment parameter falls into a standard equalization parameter range corresponding to the target frequency response information of the earphone, and if so, determining the equalization parameter of the first earphone end as the equalization parameter of the second earphone end; if the unbalance prompt information does not fall into the unbalance prompt information, the unbalance prompt information is sent to a user; then judging whether the adjustment confirmation information sent by the user is received or not, and if the adjustment confirmation information sent by the user is not received (or the adjustment non-confirmation information sent by the user is received), determining the first earphone end equalization parameter as a second earphone end equalization parameter; and if the confirmation adjustment information sent by the user is received, determining the equalization parameters of the second earphone end based on the equalization judgment parameters and the earphone target frequency response information.
According to the parameter determination method provided by the embodiment of the application, whether the equalization judgment parameter falls into the standard equalization parameter range corresponding to the target frequency response information of the earphone is judged, and if the equalization judgment parameter falls into the standard equalization parameter range, the equalization parameter of the first earphone end is determined as the equalization parameter of the second earphone end; if the unbalance prompt information does not fall into the unbalance prompt information, the unbalance prompt information is sent to a user; then judging whether the adjustment confirmation information sent by the user is received or not, and if the adjustment confirmation information sent by the user is not received (or the adjustment non-confirmation information sent by the user is received), determining the first earphone end equalization parameter as a second earphone end equalization parameter; and if the confirmation adjustment information sent by the user is received, determining the second earphone end equalization parameter based on the equalization judgment parameter and the earphone target frequency response information, thereby achieving the purpose of determining the second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played. The parameter determining method provided by the embodiment of the application is applied to the wireless earphone, so that on the premise of having functions of other wireless earphones, when the frequency response of the audio file to be played does not accord with the target frequency response, unbalance prompt information is sent to a user, if the user confirms that the tone quality of the audio file to be played is not adjusted to the optimal tone quality, the tone quality of the audio file to be played is kept unchanged, and if the user confirms that the tone quality of the audio file to be played is adjusted to the optimal tone quality, the second earphone end equalization parameter is switched to, the tone quality of the audio file to be played is adjusted to the optimal tone quality, and personalized tone quality requirements of the user are further met.
Fig. 3 is a schematic flow chart of a parameter determination method according to an exemplary embodiment of the present application. Specifically, the parameter determination method provided by the embodiment of the application is applied to an electronic device connected with a wireless headset, wherein the wireless headset comprises a headset local equalizer.
As shown in fig. 3, the parameter determining method provided in the embodiment of the present application includes the following steps.
And step S40, determining user-defined equipment end equalization parameters based on user operation, wherein the equipment end equalization parameters correspond to the audio file to be played of the wireless headset.
In an embodiment of the application, the electronic device is a mobile phone or a tablet computer connected to the wireless headset, and the user sends the device-side equalization parameters corresponding to the audio file to be played by operating the mobile phone or the tablet computer, where the device-side equalization parameters include default equalization parameters of the electronic device or user-defined equalization parameters set by the user.
Step S50, determining an equalization judgment parameter corresponding to the headphone local equalizer based on the first headphone-side equalization parameter and the device-side equalization parameter corresponding to the headphone local equalizer.
And step S60, determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played.
And step S70, sending the second earphone end equalization parameter to the wireless earphone.
In the practical application process, firstly, the user-defined equipment end equalization parameters are determined based on user operation, wherein the equipment end equalization parameters correspond to the audio files to be played of the wireless earphones, then, the equalization judgment parameters corresponding to the local equalizers of the earphones are determined based on the first earphone end equalization parameters corresponding to the local equalizers of the earphones and the equipment end equalization parameters, then, the second earphone end equalization parameters corresponding to the local equalizers of the earphones are determined based on the equalization judgment parameters and the target earphone frequency response information corresponding to the audio files to be played, and the second earphone end equalization parameters are sent to the wireless earphones.
The parameter determining method provided by the embodiment of the application determines the user-defined equipment end equalization parameter based on user operation, wherein the equipment end equalization parameter corresponds to an audio file to be played of the wireless earphone, then determines the equalization judgment parameter corresponding to the local equalizer of the earphone based on the first earphone end equalization parameter corresponding to the local equalizer of the earphone and the equipment end equalization parameter, then determines the second earphone end equalization parameter corresponding to the local equalizer of the earphone based on the equalization judgment parameter and the target frequency response information of the earphone corresponding to the audio file to be played, and sends the second earphone end equalization parameter to the wireless earphone, so that the purpose of improving the experience tone quality of the wireless earphone is achieved. The parameter determining method provided by the embodiment of the application is applied to the electronic equipment connected with the wireless earphone, so that the wireless earphone can perform frequency spectrum balancing operation locally by using the earphone local equalizer on the wireless earphone when the frequency response of the audio file to be played does not accord with the target frequency response aiming at the same audio file under the premise of having common functions, so that the tone quality of the audio file to be played is adjusted to be optimal, and a user can selectively experience music with different tone qualities.
Fig. 4 is a schematic structural diagram of a wireless headset according to an exemplary embodiment of the present application. In particular, the wireless headset includes a headset local equalizer.
As shown in fig. 4, the wireless headset provided in the embodiment of the present application further includes a receiving module 100, a first determining module 200, and a second determining module 300. The receiving module 100 is configured to receive a device-side equalization parameter sent by an electronic device connected to the wireless headset, where the device-side equalization parameter corresponds to an audio file to be played. The first determining module 200 is configured to determine an equalization judgment parameter corresponding to the local equalizer of the headset based on a first headset-side equalization parameter and a device-side equalization parameter corresponding to the local equalizer of the headset. The second determining module 300 is configured to determine a second headphone end equalization parameter corresponding to the headphone local equalizer based on the equalization determining parameter and the headphone target frequency response information corresponding to the audio file to be played.
The embodiment of the application provides a wireless earphone, including earphone local equalizer, the equipment end equalization parameter that sends through the electronic equipment who receives to be connected with wireless earphone, wherein, equipment end equalization parameter corresponds with waiting to play the audio file, then confirm the equalization judgment parameter that earphone local equalizer corresponds based on the first earphone end equalization parameter that earphone local equalizer corresponds and equipment end equalization parameter, then confirm the mode of the second earphone end equalization parameter that earphone local equalizer corresponds based on equalization judgment parameter and the earphone target frequency response information that waits to play the audio file correspondence, wireless earphone's tone quality experience has effectively been improved.
It should be understood that the operations and functions of the receiving module 100, the first determining module 200, and the second determining module 300 included in the wireless headset provided in fig. 4 may refer to the parameter determining method provided in fig. 1 to 3, and are not described herein again to avoid repetition.
Next, an electronic apparatus according to an embodiment of the present application is described with reference to fig. 5 and 6. Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
As shown in fig. 5, an electronic device 400 provided in this embodiment of the application includes a first determining module 401, a second determining module 402, a third determining module 403, and a sending module 404. The first determining module 401 is configured to determine, based on a user operation, a device-side equalization parameter defined by a user, where the device-side equalization parameter corresponds to an audio file to be played of a wireless headset, and the wireless headset includes a headset local equalizer. The second determining module 402 is configured to determine an equalization judgment parameter corresponding to the headphone local equalizer based on the first headphone-side equalization parameter and the device-side equalization parameter corresponding to the headphone local equalizer. The third determining module 403 is configured to determine a second headphone end equalization parameter corresponding to the headphone local equalizer based on the equalization determining parameter and the headphone target frequency response information corresponding to the audio file to be played. The sending module 404 is configured to send the second earpiece-side equalization parameter to the wireless earpiece.
The electronic equipment provided by the embodiment of the application determines the user-defined equipment end equalization parameters based on user operation, wherein the equipment end equalization parameters correspond to the audio file to be played of the wireless earphone, the wireless earphone comprises the local earphone equalizer, then the equalization judgment parameters corresponding to the local earphone equalizer are determined based on the first earphone end equalization parameters corresponding to the local earphone equalizer and the equipment end equalization parameters, then the second earphone end equalization parameters corresponding to the local earphone equalizer are determined based on the equalization judgment parameters and the target earphone frequency response information corresponding to the audio file to be played, and the second earphone end equalization parameters are sent to the wireless earphone, so that the tone quality experience of the wireless earphone is effectively improved.
Fig. 6 is a schematic structural diagram of an electronic device according to another exemplary embodiment of the present application. As shown in fig. 6, an electronic device 500 provided by an embodiment of the application includes one or more processors 510 and a memory 520.
The processor 510 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
Memory 520 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 510 to implement the parameter determination methods of the various embodiments of the present application described above and/or other desired functions. Various content such as device-side equalization parameters may also be stored in the computer-readable storage medium.
In one example, the electronic device 500 may further include: an input device 530 and an output device 540, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 530 may include, for example, a keyboard, a mouse, and the like.
The output device 540 may output various information including an unbalance prompt message and the like to the outside. The output device 540 may include, for example, a display, a communication network, speakers, a remote output device connected thereto, and so forth.
Of course, for simplicity, only some of the components of the electronic device 500 relevant to the present application are shown in fig. 6, and components such as buses, input/output interfaces, and the like are omitted. In addition, the electronic device 500 may include any other suitable components depending on the particular application.
Illustratively, the electronic device 500 may be at least one of a speaker, a stylus, and a hearing aid.
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the parameter determination method according to various embodiments of the present application described in the "exemplary methods" section of this specification, supra.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, the present application may also be a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, cause the processor to perform the steps in the parameter determination method according to various embodiments of the present application described in the "exemplary method" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A parameter determination method, for use in a wireless headset including a headset local equalizer, the method comprising:
receiving equipment end equalization parameters sent by electronic equipment connected with the wireless earphone, wherein the equipment end equalization parameters correspond to an audio file to be played;
determining an equalization judgment parameter corresponding to the earphone local equalizer based on a first earphone end equalization parameter corresponding to the earphone local equalizer and the equipment end equalization parameter;
and determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played.
2. The method for determining parameters according to claim 1, wherein the determining, based on the equalization judgment parameter and the target headphone frequency response information corresponding to the audio file to be played, the second headphone-end equalization parameter corresponding to the local headphone equalizer comprises:
if the balance judgment parameter does not fall into the standard balance parameter range corresponding to the target frequency response information of the earphone, unbalance prompt information is sent to a user;
and if receiving confirmation adjustment information sent by a user, determining the second earphone end equalization parameter based on the equalization judgment parameter and the earphone target frequency response information.
3. The method according to claim 2, wherein after sending an imbalance prompt message to a user if the equalization judgment parameter does not fall within a standard equalization parameter range corresponding to the target frequency response message of the headset, the method further comprises:
and if receiving the confirmation non-adjustment information sent by the user, determining the first earphone end equalization parameter as the second earphone end equalization parameter.
4. A parameter determination method for use with an electronic device connected to a wireless headset including a headset local equalizer, the method comprising:
determining user-defined equipment end equalization parameters based on user operation, wherein the equipment end equalization parameters correspond to audio files to be played of the wireless headset;
determining an equalization judgment parameter corresponding to the earphone local equalizer based on a first earphone end equalization parameter corresponding to the earphone local equalizer and the equipment end equalization parameter;
determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judgment parameter and the earphone target frequency response information corresponding to the audio file to be played;
and sending the second earphone end equalization parameter to the wireless earphone.
5. The method for determining parameters of claim 4, wherein the determining, based on the equalization judgment parameter and the target audio response information of the headphones corresponding to the audio file to be played, the equalization parameter of the second headphone end corresponding to the local equalizer of the headphones comprises:
if the balance judgment parameter does not fall into the standard balance parameter range corresponding to the target frequency response information of the earphone, unbalance prompt information is sent to the user;
and if the confirmation adjustment information sent by the user is received, determining the second earphone end equalization parameter based on the equalization judgment parameter and the earphone target frequency response information.
6. The method according to claim 5, wherein after sending an imbalance prompt message to the user if the equalization judgment parameter does not fall within a standard equalization parameter range corresponding to the target frequency response message of the headset, the method further comprises:
and if receiving the confirmation non-adjustment information sent by the user, determining the first earphone end equalization parameter as the second earphone end equalization parameter.
7. A wireless headset comprising a headset local equalizer, further comprising:
the receiving module is used for receiving equipment end equalization parameters sent by the electronic equipment connected with the wireless earphone, wherein the equipment end equalization parameters correspond to the audio file to be played;
a first determining module, configured to determine an equalization judgment parameter corresponding to the local headphone equalizer based on a first headphone end equalization parameter corresponding to the local headphone equalizer and the device end equalization parameter;
and the second determining module is used for determining a second earphone end equalization parameter corresponding to the earphone local equalizer based on the equalization judging parameter and the earphone target frequency response information corresponding to the audio file to be played.
8. An electronic device, comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining user-defined equipment end equalization parameters based on user operation, the equipment end equalization parameters correspond to audio files to be played of a wireless earphone, and the wireless earphone comprises an earphone local equalizer;
a second determining module, configured to determine an equalization judgment parameter corresponding to the local headphone equalizer based on the first headphone end equalization parameter corresponding to the local headphone equalizer and the device end equalization parameter;
a third determining module, configured to determine a second headphone end equalization parameter corresponding to the headphone local equalizer based on the equalization determining parameter and the headphone target frequency response information corresponding to the audio file to be played;
and the sending module is used for sending the second earphone end equalization parameter to the wireless earphone.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor configured to perform the parameter determination method of any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the parameter determination method of any of the above claims 1 to 6.
CN202110945328.0A 2021-08-17 2021-08-17 Parameter determination method, wireless earphone, storage medium and electronic equipment Withdrawn CN113596677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110945328.0A CN113596677A (en) 2021-08-17 2021-08-17 Parameter determination method, wireless earphone, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110945328.0A CN113596677A (en) 2021-08-17 2021-08-17 Parameter determination method, wireless earphone, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113596677A true CN113596677A (en) 2021-11-02

Family

ID=78258355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110945328.0A Withdrawn CN113596677A (en) 2021-08-17 2021-08-17 Parameter determination method, wireless earphone, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113596677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347284A (en) * 2022-12-29 2023-06-27 荣耀终端有限公司 Earphone sound effect compensation method and earphone sound effect compensation device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347284A (en) * 2022-12-29 2023-06-27 荣耀终端有限公司 Earphone sound effect compensation method and earphone sound effect compensation device
CN116347284B (en) * 2022-12-29 2024-04-09 荣耀终端有限公司 Earphone sound effect compensation method and earphone sound effect compensation device

Similar Documents

Publication Publication Date Title
CN1972524B (en) Music file replaying method and apparatus
US9613028B2 (en) Remotely updating a hearing and profile
TWI527024B (en) Method of transmitting voice data and non-transitory computer readable medium
KR101251626B1 (en) Sound compensation service providing method for characteristics of sound system using smart device
CN109982231B (en) Information processing method, device and storage medium
US10121491B2 (en) Intelligent volume control interface
WO2014061578A1 (en) Electronic device and acoustic reproduction method
JP2020109968A (en) Customized audio processing based on user-specific audio information and hardware-specific audio information
WO2017032012A1 (en) Volume adjusting method and user terminal
US9053710B1 (en) Audio content presentation using a presentation profile in a content header
JP2018191296A (en) Personalized system of smart headphone device and method for using the same
JP6402666B2 (en) Information processing apparatus and information processing method therefor
CN113596677A (en) Parameter determination method, wireless earphone, storage medium and electronic equipment
CN113518284A (en) Audio processing method, wireless headset and computer readable storage medium
US10433081B2 (en) Consumer electronics device adapted for hearing loss compensation
CN114420158A (en) Model training method and device, and target frequency response information determining method and device
KR101051036B1 (en) Apparatus and method for controlling sound quality of audio equipments according to the hearing of individual users
KR20150049914A (en) Earphone apparatus capable of outputting sound source optimized about hearing character of an individual
TWI630828B (en) Personalized system of smart headphone device for user-oriented conversation and use method thereof
WO2023051083A1 (en) Audio control method, electronic device, and audio playback system
CN114257910A (en) Audio processing method and device, computer readable storage medium and electronic equipment
KR20130135535A (en) Mobile terminal for storing sound control application
CN113613142A (en) Audio processing method and wireless earphone
JP3223325U (en) Bluetooth headset with adjustable customized EQ curve
TWI634477B (en) Sound signal detection device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211102