CN117041800A - Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium - Google Patents

Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium Download PDF

Info

Publication number
CN117041800A
CN117041800A CN202311055348.6A CN202311055348A CN117041800A CN 117041800 A CN117041800 A CN 117041800A CN 202311055348 A CN202311055348 A CN 202311055348A CN 117041800 A CN117041800 A CN 117041800A
Authority
CN
China
Prior art keywords
digital gain
frequency response
earphone
gain
loudspeaker
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
CN202311055348.6A
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 Zhongke Lanxun Technology Co ltd
Original Assignee
Shenzhen Zhongke Lanxun 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 Shenzhen Zhongke Lanxun Technology Co ltd filed Critical Shenzhen Zhongke Lanxun Technology Co ltd
Priority to CN202311055348.6A priority Critical patent/CN117041800A/en
Publication of CN117041800A publication Critical patent/CN117041800A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • 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
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/105Manufacture of mono- or stereophonic headphone components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application relates to the technical field of headphones and discloses a method for dynamically adjusting the frequency response of a speaker of the headphones, the headphones and a storage medium, wherein the method comprises the following steps: when the frequency response adjustment requirements of the left loudspeaker and the right loudspeaker of the earphone are detected, the total digital gain is fixed; setting gains of left and right sound channels according to the total digital gain so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the requirement of a frequency response curve; and when receiving a volume adjustment instruction, adjusting the total digital gain based on the frequency response curve demand. According to the application, when the frequency response of the left loudspeaker and the frequency response of the right loudspeaker are inconsistent, the user can adjust the earphone, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the frequency response curve requirement, and the requirement that the user adjusts the frequency response of the loudspeaker in a personalized way is met.

Description

Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium
Technical Field
The embodiment of the application relates to the field of headphones, in particular to a method for dynamically adjusting the frequency response of a speaker of the headphones, the headphones and a storage medium.
Background
In the production process of the earphone, due to the error of materials, the frequency response of the horn of the left ear and the right ear of some earphones is different, and the difference of a few dB levels is usually generated. Or in the actual use process of the user, the sensitivity of the left ear and the right ear of the user is different, and the frequency response requirements on the left loudspeaker and the right loudspeaker are also different.
However, when the existing earphone meets the frequency response requirement, the firmware needs to be brushed again, and the adjustment mode is troublesome.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is to provide a method for dynamically adjusting the frequency response of an earphone speaker, an earphone and a storage medium, wherein when the frequency response of a left speaker and the frequency response of a right speaker are inconsistent, a user can adjust the earphone, so that the difference between the frequency response of the left speaker and the frequency response of the right speaker accords with the requirement of a frequency response curve, and the requirement of the user on individually adjusting the frequency response of the speakers is met.
In a first aspect, an embodiment of the present application provides a method for dynamically adjusting a frequency response of an earphone speaker, including:
when the frequency response adjustment requirements of the left loudspeaker and the right loudspeaker of the earphone are detected, the total digital gain is fixed;
setting gains of left and right sound channels according to the total digital gain so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the requirement of a frequency response curve;
and when receiving a volume adjustment instruction, adjusting the total digital gain based on the frequency response curve demand.
In some embodiments, the headphones are stereo headphones, the fixed total digital gain comprising:
enabling the left channel digital gain and the right channel digital gain such that the left channel digital gain and the right channel digital gain are in an adjustable state, fixing the total digital gain, and fixing a total analog gain.
In some embodiments, when the headphones are stereo headphones, the setting the gains of the left and right channels includes:
and setting a left channel digital gain and a right channel digital gain according to the fixed total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
In some embodiments, when the headphones are stereo headphones, the adjusting the total digital gain comprises:
the total analog gain is adjusted, or the total analog gain is adjusted.
In some embodiments, when the headset is a TWS headset, the fixed total digital gain comprises:
and turning off the left channel digital gain enable and turning off the right channel digital gain enable to place the left channel digital gain and the right channel digital gain in an unadjustable state to fix the left channel digital gain and the right channel digital gain.
In some embodiments, when the earphone is a TWS earphone, the setting the gain of the left and right channels includes:
according to the fixed left channel digital gain, setting the analog gain of the left earphone, and according to the fixed right channel digital gain, setting the analog gain of the right earphone, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
In some embodiments, when the headset is a TWS headset, the adjusting the total digital gain includes:
and adjusting the total digital gain of the left earphone and the total digital gain of the right earphone.
In some embodiments, the method further comprises:
and controlling the left loudspeaker to output first audio synthesized by the left channel digital gain, the total digital gain and the total analog gain, and controlling the right loudspeaker to output second audio synthesized by the right channel digital gain, the total digital gain and the total analog gain.
In a second aspect, an embodiment of the present application provides an earphone, including
At least one of the processors is configured to perform,
a memory storing instructions; the instructions, when executed by the processor, cause the headset to perform the method of any of the first aspects.
In a third aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a headset, implement the steps of the method of dynamically adjusting the frequency response of a headset horn as in any one of the first aspects.
Different from the situation of the prior art, the method for dynamically adjusting the frequency response of the earphone speaker, the earphone and the storage medium provided by the embodiment of the application can be used for adjusting the frequency response of the earphone by a user when the user feels that the frequency response of the left speaker and the right speaker of the earphone are inconsistent or the frequency response of the left speaker and the right speaker are different due to the problem of the material of the earphone. When in adjustment, the earphone firstly adjusts the requirement according to the frequency response of the left loudspeaker and the right loudspeaker, fixes the total digital gain, and then sets the gain of the left and right sound channels according to the total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the requirement of a frequency response curve. When the earphone receives a volume adjustment instruction of a user, the earphone adjusts the total digital gain based on the frequency response curve requirement, so that the frequency response of the left loudspeaker and the right loudspeaker can meet the consistency requirement, and the requirement of the user on individually adjusting the frequency response of the loudspeaker is met.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a schematic diagram of a stereo headset according to an embodiment of the present application;
fig. 2 is a schematic diagram of a TWS earphone according to an embodiment of the application.
FIG. 3 is a flow chart of a method for dynamically adjusting the frequency response of an earphone speaker according to the present application;
FIG. 4 is a schematic block diagram of the chip side of the headset of the present application;
FIG. 5 is a schematic diagram illustrating an embodiment of a device for dynamically adjusting the frequency response of an earphone according to the present application;
fig. 6 is a schematic diagram of a hardware structure of a controller in an embodiment of the earphone of the present application.
Detailed Description
The present application will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present application, but are not intended to limit the application in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present application.
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that, if not in conflict, the features of the embodiments of the present application may be combined with each other, which is within the protection scope of the present application. In addition, while functional block division is performed in a device diagram and logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. Moreover, the words "first," "second," "third," and the like as used herein do not limit the data and order of execution, but merely distinguish between identical or similar items that have substantially the same function and effect.
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 application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used in this specification includes any and all combinations of one or more of the associated listed items.
In addition, the technical features of the embodiments of the present application described below may be combined with each other as long as they do not collide with each other.
Referring to fig. 1, a schematic diagram of an application environment of an embodiment of a method for dynamically adjusting a speaker frequency response of an earphone according to the present application is shown, wherein the method for dynamically adjusting the speaker frequency response of the earphone is applied to an earphone, and the earphone is communicatively connected to an electronic device capable of playing audio, and the earphone 10 may be a stereo earphone (such as a headphone, an earplug-type stereo earphone) or a TWS (True Wireless Stereo, real wireless stereo) earphone.
The stereo earphone has the difference between left and right channels, and cannot be used interchangeably, otherwise, the fidelity of a sound source and the resolution of the frequency of the sound source are directly affected.
The TWS technology is developed based on the Bluetooth chip technology, and the working principle of the TWS technology is that a mobile phone is connected with a main earphone, and then the main earphone is connected with an auxiliary earphone in a wireless mode, so that real Bluetooth left and right channel wireless separation is realized.
As shown in fig. 1, when the earphone is a stereo earphone, the stereo earphone is provided with a control chip, the control chip realizes a left channel and a right channel, the left channel is connected with a left loudspeaker, the right channel is connected with a right loudspeaker, and the control chip controls the left loudspeaker and the right loudspeaker to output audio signals. The stereo earphone is a wired earphone or a Bluetooth earphone, when the stereo earphone is the wired earphone, a 3.5mm plug of the stereo earphone is inserted into an earphone jack of the electronic equipment, so that connection between the wired earphone and the electronic equipment can be realized, if the electronic equipment does not have the 3.5mm earphone jack, an adapter is needed, the 3.5mm plug of the earphone is inserted into the earphone jack of the adapter, and then the other end of the adapter is inserted into a charging port of the electronic equipment. When the stereo earphone is a Bluetooth earphone, the Bluetooth earphone is connected with the electronic equipment in a Bluetooth mode, and audio playing of the electronic equipment by the Bluetooth earphone can be achieved.
As shown in fig. 2, when the earphone is a TWS earphone, the two control chips are needed for wireless separation of left and right channels of the bluetooth, one control chip realizes a left channel, the other control chip realizes a right channel, correspondingly, the left channel is connected with a left horn, the right channel is connected with a right horn, one control chip controls the left horn to output an audio signal of the left channel, and the other control chip controls the right horn to output an audio signal of the right channel. The TWS earphone is a Bluetooth earphone, when the TWS earphone is connected with the electronic equipment, the Bluetooth function is required to be opened on the electronic equipment, the earphone is set to be searched, and then the earphone is searched and connected with the electronic equipment.
In the production process of the stereo earphone and the TWS earphone, the difference of the frequency response of the horns of the left ear and the right ear of the individual earphone can be caused due to the error of materials, the consistency check can be carried out before the earphone leaves the factory, the frequency response curve can be obtained through frequency sweeping of acoustic equipment, and the difference of the frequency response of the left horn and the right horn can be known through the frequency response curve. In the actual use process of the earphone, the user has different frequency response requirements on the left and right horns due to different sensitivity of the left and right ears of the user.
In order to solve the above-mentioned problems, an embodiment of the present application provides a method for dynamically adjusting the speaker frequency response of an earphone applied to the application environment, which can be executed by the controller 101 of the earphone 10, referring to fig. 3, and the method includes the following steps S301 to S303.
S301: the total digital gain is fixed upon detecting the frequency response adjustment requirements of the left and right speakers of the headset.
The frequency response adjustment requirement refers to the requirement that the frequency response of the left loudspeaker and the right loudspeaker is inconsistent, or when the user senses that the frequency response of the left loudspeaker and the right loudspeaker is inconsistent, the user needs to adjust the frequency response of the left loudspeaker and the right loudspeaker.
The earphone is connected with the electronic device, and APP (Application) is installed on the electronic device in a downloading mode. When the user feels that the frequency response of the left loudspeaker and the right loudspeaker of the earphone are inconsistent, or the user needs to adjust the frequency response difference of the left loudspeaker and the right loudspeaker in a personalized way, the user can enter the loudspeaker frequency response adjusting state of the earphone through the APP, the earphone detects the frequency response adjusting requirement, and the total digital gain is fixed.
Gain is a very common measurement for amplifiers. Gain is the ratio between the output level and the input level of a device such as a headset. As a ratio, gain is typically expressed in decibels (dB) as a unit of measure, but may also be expressed in percent. Volume (or loudness) is a subjective concept about the perception of sound by a listener. There are no volume units, only percentages or no reference numbers. Gain is the ratio of the input signal of the amplifier to the output signal of the amplifier, and is most of the time greater than 1, and sometimes less than 1.
Gain is used to enhance the signal input into the speaker circuit, and in general, the process of adjusting the gain parameter is to adjust the intensity of the input signal in the front stage area, i.e., gain control is to the input end of the device.
As shown in fig. 4, fig. 4 is a schematic block diagram of the chip side of the headset.
As can be seen in fig. 4, the gain of the digital-to-analog converter DAC is divided into an analog gain and a digital gain at the chip end of the earphone. The analog gain is only one stage of total analog gain, the digital gain is two stages, and the first stage is a left channel digital gain and a right channel digital gain; the second stage is the total digital gain of the left and right channels.
In some of these embodiments, the headphones are stereo headphones, the fixed total digital gain comprising:
enabling the left channel digital gain and the right channel digital gain such that the left channel digital gain and the right channel digital gain are in an adjustable state, fixing the total digital gain, and fixing a total analog gain.
Specifically, when the earphone is a stereo earphone, since the stereo earphone has only one control chip to control the left channel and the right channel, the left speaker and the right speaker are correspondingly connected respectively, and when the earphone enters the frequency response adjusting state, the control chip of the stereo earphone enables the left channel digital gain and the right channel digital gain, so that the left channel digital gain and the right channel digital gain are in an adjustable state, and meanwhile, the two-level digital gain, that is, the total digital gain of the left channel and the right channel is fixed, and the total analog gain is fixed.
The enabling refers to allowing a certain pin (pin), chip or module of the electronic device to start a certain preset function and enter a preset state. Enabling the left channel digital gain and enabling the right channel digital gain can be achieved by setting corresponding registers in the control chip of the stereo headphones.
In some of these embodiments, when the headset is a TWS headset, the fixed total digital gain comprises:
and turning off the left channel digital gain enable and turning off the right channel digital gain enable to place the left channel digital gain and the right channel digital gain in an unadjustable state to fix the left channel digital gain and the right channel digital gain.
Specifically, when the earphone is a TWS earphone, since the TWS earphone adopts two control chips, and one control chip controls one channel, then, when the total digital gain is fixed, the left channel digital gain is actually fixed, and the right channel digital gain is fixed, so that the left channel digital gain is required to be turned off, and the right channel digital gain is required to be turned off, that is, the two control chips respectively control the respective channel digital gain to be turned off, so that the first-stage digital gain is turned off, and the left channel digital gain and the right channel digital gain are in an unadjustable state, thereby realizing the fixed left channel digital gain and the right channel digital gain.
S502: and setting the gains of the left and right channels according to the total digital gain so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
The frequency response curve is that before the earphone leaves the factory, consistency check can be made, and the frequency response curve can be obtained by utilizing the frequency sweep of acoustic equipment, and the frequency response curve represents the frequency response of the left loudspeaker and the frequency response of the right loudspeaker, so that the frequency response difference of the left loudspeaker and the right loudspeaker is determined.
Since the total digital gain is fixed, when the earphone is a stereo earphone, in some embodiments, the setting the gain of the left and right channels may include:
and setting a left channel digital gain and a right channel digital gain according to the fixed total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
Specifically, when the earphone is a stereo earphone, the total digital gain is the total digital gain of the left and right channels, the left channel digital gain adjustment interface and the right channel digital gain adjustment interface are displayed in the frequency response adjustment state, a user can set the left channel digital gain and the right channel digital gain which the user wants through the APP of the electronic equipment, the earphone sets the gain according to the left channel digital gain and the right channel digital gain set by the user, and the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the frequency response curve requirement through the gain setting, so that the frequency response difference requirement of the user on the left loudspeaker and the right loudspeaker is met.
It can be understood that the APP sets SPP wireless transmission technology, which is an existing bluetooth technology, is a wireless communication serial port for transmitting data. The user can operate through the APP of the electronic device to set the left channel digital gain and the right channel digital gain.
In some embodiments, when the earphone is a TWS earphone, the setting the gain of the left and right channels includes:
according to the fixed left channel digital gain, setting the analog gain of the left earphone, and according to the fixed right channel digital gain, setting the analog gain of the right earphone, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
Specifically, when the headphones are TWS headphones, since the left channel digital gain and the right channel digital gain are fixed, the analog gain of the left headphone can be set according to the fixed left channel digital gain, and the analog gain of the right headphone can be set according to the fixed right channel digital gain.
Correspondingly, the user sets the analog gain of the left earphone and the analog gain of the right earphone on the APP of the electronic equipment, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the frequency response curve requirement, and the frequency response difference requirement of the user on the left loudspeaker and the right loudspeaker is met.
S503: and when receiving a volume adjustment instruction, adjusting the total digital gain based on the frequency response curve demand.
Specifically, after the frequency response curve demand is determined, the user can exit the frequency response adjustment state on the APP of the electronic device and can enter the volume adjustment state of the earphone, when the user operates the volume adjustment of the earphone, the earphone generates a volume adjustment instruction, and the earphone adjusts the total digital gain based on the frequency response curve demand of the user.
In some embodiments, when the headphones are stereo headphones, the adjusting the total digital gain comprises:
the total analog gain is adjusted, or the total analog gain is adjusted.
Specifically, when the earphone is a stereo earphone, the user only needs to adjust the volume, and the earphone adjusts the total digital gain or the total analog gain, so that the change of the frequency response amplitude difference between the left loudspeaker and the right loudspeaker of the earphone is not affected.
In some embodiments, when the headset is a TWS headset, the adjusting the total digital gain includes:
and adjusting the total digital gain of the left earphone and the total digital gain of the right earphone.
When the earphone is a TWS earphone, the left earphone is controlled by one control chip, the right earphone is controlled by the other control chip, and when a user needs to adjust the volume, the one control chip adjusts the total digital gain of the left earphone, and the other control chip adjusts the total digital gain of the right earphone, so that the change of the frequency response amplitude difference between the left loudspeaker and the right loudspeaker of the earphone is not influenced.
In some of these embodiments, the method further comprises:
and controlling the left loudspeaker to output first audio synthesized by the left channel digital gain, the total digital gain and the total analog gain, and controlling the right loudspeaker to output second audio synthesized by the right channel digital gain, the total digital gain and the total analog gain.
Specifically, whether it be a stereo headphone or a TWS headphone, when the user adjusts the headphone volume, the headphone controls the left speaker to output first audio synthesized by the left channel digital gain, the total digital gain, and the total analog gain, and controls the right speaker to output second audio synthesized by the right channel digital gain, the total digital gain, and the total analog gain. The playing function of the left loudspeaker and the right loudspeaker on the audio frequency is realized.
According to the embodiment of the application, when a user feels that the frequency response of the left loudspeaker and the right loudspeaker of the earphone are inconsistent, or the frequency response of the left loudspeaker and the right loudspeaker are different due to the problem of the material of the earphone, the user can perform loudspeaker frequency response adjustment on the earphone. When in adjustment, the earphone firstly adjusts the requirement according to the frequency response of the left loudspeaker and the right loudspeaker, fixes the total digital gain, and then sets the gain of the left and right sound channels according to the total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the requirement of a frequency response curve. When the earphone receives a volume adjustment instruction of a user, the earphone adjusts the total digital gain based on the frequency response curve requirement, so that the frequency response of the left loudspeaker and the right loudspeaker can meet the consistency requirement, and the requirement of the user on individually adjusting the frequency response of the loudspeaker is met.
An embodiment of the present application further provides a device for dynamically adjusting a frequency response of an earphone, referring to fig. 5, which shows a structure of the device for dynamically adjusting a frequency response of an earphone according to an embodiment of the present application, where the device 500 for dynamically adjusting a frequency response of an earphone includes:
a fixing module 501, configured to fix a total digital gain when frequency response adjustment requirements of a left speaker and a right speaker of the earphone are detected;
the setting module 502 is configured to set gains of left and right channels according to the total digital gain, so that a difference between a frequency response of the left speaker and a frequency response of the right speaker meets a frequency response curve requirement;
and the adjusting module 503 is configured to adjust the total digital gain based on the frequency response curve requirement when receiving a volume adjustment command.
According to the embodiment of the application, when a user feels that the frequency response of the left loudspeaker and the right loudspeaker of the earphone is inconsistent, or the frequency response of the left loudspeaker and the right loudspeaker are different due to the problem of the material of the earphone, the user can adjust the frequency response of the loudspeaker of the earphone. When in adjustment, the earphone firstly adjusts the requirement according to the frequency response of the left loudspeaker and the right loudspeaker, fixes the total digital gain, and then sets the gain of the left and right sound channels according to the total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker accords with the requirement of a frequency response curve. When the earphone receives a volume adjustment instruction of a user, the earphone adjusts the total digital gain based on the frequency response curve requirement, so that the frequency response of the left loudspeaker and the right loudspeaker can meet the consistency requirement, and the requirement of the user on individually adjusting the frequency response of the loudspeaker is met.
In some embodiments, the fixation module 501 is further configured to:
enabling the left channel digital gain and the right channel digital gain such that the left channel digital gain and the right channel digital gain are in an adjustable state, fixing the total digital gain, and fixing a total analog gain.
In some embodiments, the setting module 502 is further configured to:
and setting a left channel digital gain and a right channel digital gain according to the fixed total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
In some embodiments, when the headphones are stereo headphones, the adjustment module 503 is further configured to:
the total analog gain is adjusted, or the total analog gain is adjusted.
In some embodiments, when the headset is a TWS headset, the fixing module 501 is further configured to:
and turning off the left channel digital gain enable and turning off the right channel digital gain enable to place the left channel digital gain and the right channel digital gain in an unadjustable state to fix the left channel digital gain and the right channel digital gain.
In some embodiments, when the headset is a TWS headset, the setting module 502 is further configured to:
according to the fixed left channel digital gain, setting the analog gain of the left earphone, and according to the fixed right channel digital gain, setting the analog gain of the right earphone, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
In some embodiments, when the headset is a TWS headset, the adjusting module 503 is configured to:
and adjusting the total digital gain of the left earphone and the total digital gain of the right earphone.
In some embodiments, further comprising an output module 504, further for:
and controlling the left loudspeaker to output first audio synthesized by the left channel digital gain, the total digital gain and the total analog gain, and controlling the right loudspeaker to output second audio synthesized by the right channel digital gain, the total digital gain and the total analog gain.
It should be noted that, the device can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of executing the method. Technical details which are not described in detail in the device embodiments may be found in the methods provided by the embodiments of the present application.
Fig. 6 is a schematic diagram of a hardware structure of a controller in one embodiment of the earphone, as shown in fig. 6, the controller 110 includes:
one or more processors 111, a memory 112. In fig. 6, a processor 111 and a memory 112 are taken as examples.
The processor 111, the memory 112 may be connected by a bus or otherwise, which is illustrated in fig. 6 as a bus connection.
The memory 112 is used as a non-volatile computer readable storage medium, and may be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules (e.g., the fixed module 501, the setting module 502, the adjusting module 503, and the output module 504 shown in fig. 5) corresponding to the method for dynamically adjusting the earphone speaker frequency response in the embodiment of the present application. The processor 111 executes various functional applications of the controller and data processing by running non-volatile software programs, instructions and modules stored in the memory 112, i.e. implements the method of dynamically adjusting the earphone horn frequency response of the above-described method embodiments.
Memory 112 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created from the use of the charging stake, etc. In addition, memory 112 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 112 may optionally include memory located remotely from processor 111, which may be connected to the signal long-time recording device via 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 one or more modules are stored in the memory 112 and when executed by the one or more processors 111 perform the method of dynamically adjusting the earpiece horn frequency response in any of the method embodiments described above, e.g., perform the method steps of method steps S301 through S303 in fig. 3 described above; the functions of modules 501-504 in fig. 5 are implemented.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment may be found in the methods provided in the embodiments of the present application.
Embodiments of the present application provide a non-transitory computer readable storage medium storing computer executable instructions for execution by one or more processors, such as one of the processors 111 in fig. 6, to cause the one or more processors to perform the method for dynamically adjusting the earpiece horn frequency in any of the method embodiments described above, such as performing the method steps of method steps S301 through S303 in fig. 3 described above; the functions of modules 501-504 in fig. 5 are implemented.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Those skilled in the art will appreciate that all or part of the processes implementing the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and where the program may include processes implementing the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the application as described above, which are not provided in detail for the sake of brevity; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (10)

1. A method for dynamically adjusting the frequency response of an earphone speaker, comprising:
when the frequency response adjustment requirements of the left loudspeaker and the right loudspeaker of the earphone are detected, the total digital gain is fixed;
setting gains of left and right sound channels according to the total digital gain so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the requirement of a frequency response curve;
and when receiving a volume adjustment instruction, adjusting the total digital gain based on the frequency response curve demand.
2. The method of claim 1, wherein the headphones are stereo headphones, the fixed total digital gain comprising:
enabling the left channel digital gain and the right channel digital gain such that the left channel digital gain and the right channel digital gain are in an adjustable state, fixing the total digital gain, and fixing a total analog gain.
3. The method of claim 1, wherein setting the gain of the left and right channels when the headphones are stereo headphones comprises:
and setting a left channel digital gain and a right channel digital gain according to the fixed total digital gain, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
4. The method of claim 1, wherein said adjusting the total digital gain when the headphones are stereo headphones comprises:
the total analog gain is adjusted, or the total analog gain is adjusted.
5. The method of claim 2, wherein the fixed total digital gain when the headset is a TWS headset comprises:
and turning off the left channel digital gain enable and turning off the right channel digital gain enable to place the left channel digital gain and the right channel digital gain in an unadjustable state to fix the left channel digital gain and the right channel digital gain.
6. The method of claim 5, wherein the setting the gain of the left and right channels when the headset is a TWS headset comprises:
according to the fixed left channel digital gain, setting the analog gain of the left earphone, and according to the fixed right channel digital gain, setting the analog gain of the right earphone, so that the difference between the frequency response of the left loudspeaker and the frequency response of the right loudspeaker meets the frequency response curve requirement.
7. The method of claim 1, wherein the adjusting the total digital gain when the headset is a TWS headset comprises:
and adjusting the total digital gain of the left earphone and the total digital gain of the right earphone.
8. The method according to any one of claims 1 to 7, further comprising:
and controlling the left loudspeaker to output first audio synthesized by the left channel digital gain, the total digital gain and the total analog gain, and controlling the right loudspeaker to output second audio synthesized by the right channel digital gain, the total digital gain and the total analog gain.
9. An earphone, comprising
At least one of the processors is configured to perform,
a memory storing instructions; the instructions, when executed by the processor, cause the headset to perform the method of any of claims 1 to 8.
10. A computer readable storage medium storing computer executable instructions which, when executed by a headset, implement the steps of the method of dynamically adjusting the frequency response of a headset horn of any one of claims 1 to 8.
CN202311055348.6A 2023-08-18 2023-08-18 Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium Pending CN117041800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311055348.6A CN117041800A (en) 2023-08-18 2023-08-18 Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311055348.6A CN117041800A (en) 2023-08-18 2023-08-18 Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium

Publications (1)

Publication Number Publication Date
CN117041800A true CN117041800A (en) 2023-11-10

Family

ID=88627903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311055348.6A Pending CN117041800A (en) 2023-08-18 2023-08-18 Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium

Country Status (1)

Country Link
CN (1) CN117041800A (en)

Similar Documents

Publication Publication Date Title
CN105245195B (en) For the technology of distortion reduction multiband compressor reducer protected with sound quality
EP1971035B1 (en) Audio control system for a vehicle
EP2191660B1 (en) Method and device for extension of low frequency output from a loudspeaker
US20110002467A1 (en) Dynamic enhancement of audio signals
EP2706662A2 (en) System and method for remotely controlling audio equipment
KR20120027249A (en) Driving of multi-channel speakers
WO2016131266A1 (en) Method and apparatus for adjusting sound field of earphone, terminal and earphone
US11070914B2 (en) Controller and control method
US10255912B2 (en) Isolation and enhancement of short duration speech prompts in an automotive system
JP2010068409A (en) Sound emitting apparatus
US20170046120A1 (en) Customizable Personal Sound Delivery System
EP3550424A1 (en) Method for configuring wireless sound box, wireless sound box, and terminal device
WO2012114155A1 (en) A transducer apparatus with in-ear microphone
CN117041800A (en) Method for dynamically adjusting earphone loudspeaker frequency response, earphone and storage medium
EP3133488B1 (en) Audio device, audio system, and volume value control method
US20170346453A1 (en) Multidriver based canalphone system
EP1505802A1 (en) Handheld device having an auto-volume control means for earphone plugging and controlling method thereof
WO2017156880A1 (en) Terminal audio parameter management method, apparatus and system
CN111654745A (en) Multi-channel signal processing method and display device
CN114125625B (en) Noise reduction adjustment method, earphone and computer readable storage medium
JP2001339800A (en) Sound volume control device
KR200240707Y1 (en) Sound controller for streo sound
WO2023215405A2 (en) Customized binaural rendering of audio content
WO2018025398A1 (en) Communication equipment, vehicle-mounted hands-free device and sound output device
KR20150012633A (en) Apparatus for generating surround sound effect

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