CN114095835A - Method and device for controlling transparent mode of earphone, earphone equipment and storage medium - Google Patents

Method and device for controlling transparent mode of earphone, earphone equipment and storage medium Download PDF

Info

Publication number
CN114095835A
CN114095835A CN202111372479.8A CN202111372479A CN114095835A CN 114095835 A CN114095835 A CN 114095835A CN 202111372479 A CN202111372479 A CN 202111372479A CN 114095835 A CN114095835 A CN 114095835A
Authority
CN
China
Prior art keywords
signal
gain
mode
threshold
earphone
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.)
Granted
Application number
CN202111372479.8A
Other languages
Chinese (zh)
Other versions
CN114095835B (en
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111372479.8A priority Critical patent/CN114095835B/en
Priority to PCT/CN2021/139038 priority patent/WO2023087468A1/en
Publication of CN114095835A publication Critical patent/CN114095835A/en
Application granted granted Critical
Publication of CN114095835B publication Critical patent/CN114095835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04R3/02Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a method and a device for controlling a transparent mode of an earphone, earphone equipment and a storage medium, wherein the method comprises the following steps: when the earphone equipment is in a transparent mode, acquiring a first signal which is played through a loudspeaker and picked up by a microphone, wherein the frequency of the first signal is out of the range of the auditory frequency of a user; if the signal energy of the picked first signal is smaller than or equal to a first energy threshold, controlling the earphone equipment to perform gain processing by adopting a gain value larger than or equal to the first gain threshold in a transparent mode; and if the signal energy of the picked first signal is greater than a first energy threshold, controlling the earphone equipment to perform gain processing by adopting a gain value smaller than a second gain threshold in a pass-through mode, wherein the second gain threshold is smaller than or equal to the first gain threshold. The invention can avoid squeaking caused by ear covering and poor permeation effect caused by misadjustment of gain value due to sudden loud outside sound.

Description

Method and device for controlling transparent mode of earphone, earphone equipment and storage medium
Technical Field
The invention relates to the technical field of earphones, in particular to a method and a device for controlling a transparent mode of an earphone, earphone equipment and a storage medium.
Background
The transparent mode is a common earphone technology, and aims to enable a wearer to clearly hear environmental sounds in a state that the earphone is not taken off. The common practice is to pick up external environment sound through a microphone outside the earphone, gain-process the picked-up microphone signal (to obtain transparent sound), and then send the sound to human ears through an earphone speaker. At present, when a user covers the earphone with hands, when the through sound played by the loudspeaker is picked up by the microphone again due to the leakage of the earphone, the through sound forms a closed loop in a link and is subjected to gain processing continuously to generate howling. The existing scheme for solving howling is to reduce the gain value when it is monitored that an external environment signal picked up by a microphone exceeds a certain threshold value. However, the problem with this solution is that when a large sound such as a door closing sound suddenly occurs outside, the microphone monitoring function may be triggered by mistake, resulting in the gain being turned down, and the user may obviously feel that the external sound is muffled and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a method and a device for controlling a through mode of an earphone, an earphone device and a storage medium, and aims to solve the problem of squeaking when the ear is covered in the through mode of the earphone and avoid mistaken touch caused by external loud sound.
In order to achieve the above object, the present invention provides a method for controlling a transparent mode of an earphone, the method being applied to an earphone device, the earphone device including a speaker and a microphone, the earphone device picking up an external environment signal by the microphone when being in the transparent mode, performing gain processing on the external environment signal, and then playing the external environment signal through the speaker, the method including the steps of:
when the earphone device is in the through mode, acquiring a first signal played through the loudspeaker and picked up by the microphone, wherein the frequency of the first signal is out of the range of the user auditory frequencies;
if the signal energy of the picked first signal is smaller than or equal to a first energy threshold, controlling the earphone device to perform gain processing by adopting a gain value larger than or equal to a first gain threshold in the pass-through mode;
and if the picked signal energy of the first signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold, wherein the second gain threshold is smaller than or equal to the first gain threshold.
Optionally, the earphone device adopts a gain value greater than or equal to the first gain threshold when entering the pass-through mode, and before the step of acquiring the first signal played by the speaker and picked up by the microphone, the method further includes:
when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is greater than or equal to the first gain threshold value, acquiring a first external environment signal currently picked by the microphone;
and if the signal energy of the first external environment signal is greater than a second energy threshold value, playing the first signal through the loudspeaker.
Optionally, after the step of controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold if the signal energy of the picked-up first signal is larger than the first energy threshold, the method further includes:
when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, playing a second signal through the loudspeaker, and picking up the second signal through the microphone, wherein the frequency of the second signal is out of the range of the user auditory frequency;
if the signal energy of the picked-up second signal is less than or equal to the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the signal energy of the picked second signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
Optionally, after the step of controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold if the signal energy of the picked-up first signal is larger than the first energy threshold, the method further includes:
when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, acquiring a second external environment signal picked by the microphone currently;
if the signal energy of the second external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the signal energy of the second external environment signal is greater than the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
Optionally, after the step of acquiring the first external environment signal currently picked up by the microphone when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is greater than or equal to the first gain threshold, the method further includes:
and if the signal energy of the first external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold.
Optionally, if the signal energy of the picked-up first signal is greater than the first energy threshold, the step of controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold includes:
if the signal energy of the picked-up first signal is greater than the first energy threshold, detecting whether a gain value adopted by the earphone device in the pass-through mode is smaller than a second gain threshold;
if the gain value adopted by the earphone equipment in the transparent mode is smaller than the second gain threshold value, keeping the gain value adopted by the earphone equipment in the transparent mode unchanged;
and if the gain value adopted by the earphone equipment in the transparent mode at present is greater than or equal to the second gain threshold value, reducing the gain value adopted by the earphone equipment in the transparent mode at present to be less than the second gain threshold value according to preset steps.
Optionally, the step of acquiring a first signal played through the speaker and picked up by the microphone includes:
acquiring a sound signal picked up by the microphone;
and filtering the sound signal to obtain a first signal which is played by the loudspeaker and picked up by the microphone.
In order to achieve the above object, the present invention further provides a device for controlling a pass-through mode of an earphone, where the device is disposed in an earphone device, the earphone device includes a speaker and a microphone, and when the earphone device is in the pass-through mode, the earphone device picks up an external environment signal through the microphone, performs gain processing on the external environment signal, and then plays the external environment signal through the speaker, and the device includes:
an obtaining module, configured to obtain, when the earphone device is in the pass-through mode, a first signal that is played through the speaker and is picked up by the microphone, where a frequency of the first signal is outside a user auditory frequency range;
the first control module is configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to a first gain threshold if the signal energy of the picked-up first signal is less than or equal to the first energy threshold;
a second control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold if the signal energy of the picked-up first signal is greater than the first energy threshold, where the second gain threshold is smaller than or equal to the first gain threshold.
In order to achieve the above object, the present invention further provides an earphone device, which includes a memory, a processor, and an earphone through mode control program stored in the memory and executable on the processor, wherein the earphone through mode control program implements the steps of the earphone through mode control method when executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a control program of the headset through mode, and when the control program of the headset through mode is executed by a processor, the steps of the method for controlling the headset through mode as described above are implemented.
According to the method, when the earphone device is in a transparent mode, a first signal which is played through a loudspeaker of the earphone device and is picked up by a microphone is obtained, the frequency of the first signal is set to be out of the range of the auditory frequency of a user, when the signal energy of the first signal is smaller than or equal to a first energy threshold value, the earphone device is controlled to conduct gain processing in the transparent mode by adopting a gain value which is larger than or equal to the first gain threshold value, when the signal energy of the first signal is larger than the first energy threshold value, the earphone device is controlled to conduct gain processing in the transparent mode by adopting a gain value which is smaller than a second gain threshold value, and the second gain threshold value is set to be smaller than or equal to the first gain threshold value. Through adopting the signal that the user can not hear of speaker broadcast under penetrating mode to judge through the energy size of this signal that picks up the microphone and whether cover the ear with the definite user, and then turn down the gain value when the user covers the ear, adopt normal gain value to carry out the gain processing when the user does not cover the ear, can enough avoid because of covering the whistle that the ear caused, can avoid again that external sudden big sound causes the gain value to transfer by mistake and lead to penetrating effect not good, the user has improved the experience of earphone penetrating mode.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a method for controlling a pass-through mode of an earphone according to the present invention;
fig. 2 is a schematic diagram of a frame of a control system in a pass-through mode of an earphone according to an embodiment of the present invention;
fig. 3 is a schematic control flow diagram of a pass-through mode of an earphone according to an embodiment of the present invention;
fig. 4 is a functional block diagram of a preferred embodiment of the apparatus for controlling the pass-through mode of the earphone according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling a pass-through mode of an earphone according to a first embodiment of the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein. The method for controlling the headset through mode of the invention is applied to the headset device, the headset device can comprise one or two headsets, and since the method for controlling the headset through mode of the two headsets is the same, for convenience of description, the embodiment is explained by taking the headset device comprising one headset as an example by default. In this embodiment, the method for controlling the transparent mode of the earphone includes:
step S10, when the earphone device is in the through mode, acquiring a first signal played through the speaker and picked up by the microphone, where a frequency of the first signal is outside a user auditory frequency range;
the earphone device may comprise a speaker and a microphone arranged at a side of the earphone device close to the external environment for picking up the external environment signal. Set up penetrating mode in the earphone equipment, when being in penetrating mode, the earphone equipment can pick up external environment signal through the microphone to carry out gain processing to external environment signal, later rethread speaker broadcast, when making the user wear the earphone, also can not block up the duct because of the earphone and influence the external sound of listening. The gain processing generally uses a pass-through filter for gain processing, and the specific manner is not limited herein.
In order to solve the problem of whistling caused by covering ears in the transparent mode and avoid the poor experience effect of the user on the transparent mode due to the fact that the user can touch the loud sound by mistake when the whistling problem is overcome, in the embodiment, when the earphone device is in the transparent mode, a sound signal (hereinafter referred to as a first signal) with a section of specific frequency is played by a loudspeaker, the first signal is picked up by a microphone, whether the user covers the ears is accurately determined by judging the energy of the picked-up first signal, and then the gain value is accurately adjusted, so that while the whistling is avoided, the gain adjustment when the loud sound outside is touched to cover the ears by mistake is avoided. Wherein the specific first signal is a signal having a frequency outside the user's audible frequency range, i.e. the first signal being played by the loudspeaker cannot be heard by the user of the earphone device. The range of auditory frequencies may vary from person to person, and thus in particular embodiments the frequency of the first signal may be selected empirically to suit a large percentage of users, or may be set for a particular user, for example by playing a sound signal of a different frequency through a speaker to test the range of auditory frequencies of a particular user, the frequency of the first signal being selected based on the measured range of auditory frequencies.
When the earphone device is in the transparent mode, the timing of playing the first signal through the speaker is not limited in this embodiment. For example, in an embodiment, the earphone device may play the first signal through the speaker uninterruptedly or periodically while in the pass-through mode, and accordingly pick up the first signal through the microphone uninterruptedly or periodically; when the first signal is played by the loudspeaker at regular time, the first signal can be played once at intervals, each time is played for a certain time, and the time interval between two adjacent first signals can be set to be shorter, so that howling caused by the fact that a user covers the ears in the middle non-played time period is avoided. In another embodiment, the earphone device may play the first signal through the speaker only when detecting that the energy value of the external environment signal picked up by the microphone is greater than a threshold value while being in the pass-through mode; wherein, when the energy value of the external environment signal is less than the threshold value, the gain value can be kept at the normal level of the transparent mode.
It should be noted that, when the speaker does not play the first signal, the sound signal picked up by the microphone only includes the external environment signal; when the loudspeaker plays the first signal, the sound signal picked up by the microphone comprises the first signal and the external environment signal. When the loudspeaker plays the first signal, the headphone arrangement may extract the first signal from the sound signal picked up by the microphone, since the first signal is known.
Further, in an embodiment, the step of acquiring the first signal played by the speaker and picked up by the microphone in step S10 includes:
step S101, acquiring a sound signal picked up by the microphone;
step S102, filtering the sound signal to obtain a first signal played through the speaker and picked up by the microphone.
The earphone device can play the first signal through the loudspeaker, acquire the sound signal picked up by the microphone, and obtain the first signal picked up by the microphone by filtering the sound signal. The filtering may specifically be to set a filter according to the frequency of the first signal, and obtain the first signal by filtering with the filter. For example, when the frequency of the first signal is high, a high-pass filter may be arranged for filtering, and when the frequency of the first signal is low, a low-pass filter may be arranged for filtering, or a band-pass filter may be arranged for filtering, which is not limited in this embodiment.
Step S20, if the signal energy of the first signal picked up is less than or equal to a first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
after the first signal is picked up by the microphone, whether the signal energy of the picked-up first signal is larger than a first energy threshold value or not can be judged. The first energy threshold may be set through testing, such that when the signal energy of the picked-up first signal is greater than the first energy threshold, it indicates that the user covers the ear with the hand, and when the signal energy of the picked-up first signal is less than or equal to the first energy threshold, it indicates that the user does not cover the ear. During its principle, when the user wears the earphone and covers the ear with the hand and take place to wear and leak, the signal energy of the first signal that is picked up by the microphone can be greater than the signal energy of the first signal that the microphone energy picked up when the user does not cover the ear, so compare through the signal energy with first energy threshold value of setting with the first signal, can judge whether the user covers the ear.
If the signal energy of the picked-up first signal is less than or equal to the first energy threshold, it indicates that the user does not cover the ear, and at this time, the earphone device may be controlled to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold. The first gain threshold may be set according to experience, and the first gain threshold is a gain value that can achieve a transparent effect of external sound and does not generate howling when a user does not cover ears, and howling may occur when the user performs gain processing with the first gain threshold when the user covers ears. Then, when the outside generates suddenly large sound but the user does not cover the ear, since the user can be determined not to cover the ear by judging the signal energy of the picked-up first signal, and then gain processing is still performed with a normal gain value, the user can hear more real outside sound, and the transparent effect is more real.
The specific implementation details of controlling the headphone apparatus to perform the gain processing in the pass-through mode by using the gain value greater than or equal to the first gain threshold are not limited in this embodiment. For example, in an embodiment, when detecting that the signal energy of the picked-up first signal is less than or equal to the first energy threshold, the earphone device may first determine whether the currently employed gain value is greater than or equal to the first gain threshold; if the gain value is larger than or equal to the first gain threshold value, the earphone device does not need to be adjusted, and the current gain value is kept; if the gain value is smaller than the first gain threshold, the headphone device may directly set the gain value to a value larger than or equal to the first gain threshold, or may increase the gain value based on the current gain value according to a certain step, and the gain value is adjusted by at least one step to reach a level larger than or equal to the first gain threshold. For another example, in another embodiment, the earphone device may directly set the gain value to a value greater than or equal to the first gain threshold when detecting that the signal energy of the picked-up first signal is less than or equal to the first energy threshold.
Step S30, if the signal energy of the picked-up first signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold, where the second gain threshold is smaller than or equal to the first gain threshold.
If the signal energy of the picked-up first signal is greater than the first energy threshold, it indicates that the user covers the ear, and at this time, in order to avoid howling, the earphone device may be controlled to perform gain processing in the transparent mode by using a gain value smaller than the second gain threshold. The second gain threshold may be set empirically, where the second gain threshold is a gain value that does not cause howling due to leakage when the user covers the ears, and may be set to be less than or equal to the first gain threshold according to specific situations.
Further, in an embodiment, when detecting that the signal energy of the picked-up first signal is greater than the first energy threshold, the earphone device may first detect whether the energy value of the external environment signal picked-up by the microphone is greater than a second energy threshold, if the energy value is greater than the second energy threshold, control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold, and if the energy value is greater than or equal to the second energy threshold, control the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold. The second energy threshold may be set as needed, so that howling may not occur when the energy value of the external environment signal picked up by the microphone is less than or equal to the second energy threshold, and howling may occur for a period of time when the energy value of the external environment signal picked up by the microphone is greater than the second energy threshold. That is, if the user is covering the ears, but the signal energy of the external environment signal has not yet reached the level at which howling will occur, the normal gain level may still be maintained, and when the signal energy of the external environment signal reaches the level at which howling is to occur, the gain value is adjusted to be small, so as to avoid howling.
The specific implementation details of controlling the headphone apparatus to perform the gain processing in the pass-through mode by using the gain value greater than or equal to the first gain threshold are not limited in this embodiment. For example, in an embodiment, the earphone device may directly set the gain value to a value smaller than the second gain threshold when detecting that the signal energy of the picked-up first signal is larger than the first energy threshold.
Further, in another embodiment, the step S30 includes:
step S301, if the signal energy of the picked first signal is greater than the first energy threshold, detecting whether a gain value currently adopted by the earphone device in the pass-through mode is smaller than a second gain threshold;
step S302, if the gain value adopted by the earphone device in the pass-through mode is smaller than the second gain threshold value, keeping the gain value adopted by the earphone device in the pass-through mode unchanged;
step S303, if the gain value currently used by the headphone device in the pass-through mode is greater than or equal to the second gain threshold, reducing the gain value currently used by the headphone device in the pass-through mode to be smaller than the second gain threshold according to preset steps.
The earphone device may first determine whether the currently employed gain value is smaller than a second gain threshold value when detecting that the signal energy of the picked-up first signal is larger than a first energy threshold value. If the currently adopted gain value is smaller than the second gain threshold value, the earphone equipment does not need to be adjusted, and the current gain value is kept; if the currently used gain value is greater than or equal to the second gain threshold, the headset device may directly set the gain value to a value smaller than the second gain threshold, or may reduce the gain value based on the current gain value according to a preset step, and the gain value is adjusted by at least one step to reach a level smaller than the second gain threshold. The preset step may be set as needed, and is not limited in this embodiment.
In this embodiment, when the earphone device is in the pass-through mode, a first signal played by a speaker of the earphone device and picked up by a microphone is acquired, a frequency of the first signal is set to be outside a user auditory frequency range, and when a signal energy of the first signal is less than or equal to a first energy threshold, the earphone device is controlled to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold, when the signal energy of the first signal is greater than the first energy threshold, the earphone device is controlled to perform gain processing in the pass-through mode by using a gain value less than a second gain threshold, and the second gain threshold is set to be less than or equal to the first gain threshold. Through adopting the signal that the user can not hear of speaker broadcast under penetrating mode to judge through the energy size of this signal that picks up the microphone and whether cover the ear with the definite user, and then turn down the gain value when the user covers the ear, adopt normal gain value to carry out the gain processing when the user does not cover the ear, can enough avoid because of covering the whistle that the ear caused, can avoid again that external sudden big sound causes the gain value to transfer by mistake and lead to penetrating effect not good, the user has improved the experience of earphone penetrating mode.
Further, based on the first embodiment, a second embodiment of the method for controlling a headphone through mode according to the present invention is provided, in this embodiment, before the step of acquiring the first signal played by the speaker and picked up by the microphone in step S10, the method further includes:
step S40, when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is greater than or equal to the first gain threshold, acquiring a first external environment signal currently picked up by the microphone;
in this embodiment, in order to avoid excessive resource consumption of the headset device caused by the headset device always emitting the first signal, the first signal may be played through the speaker only when the signal energy of the external environment signal picked up by the microphone of the headset device is greater than the second energy threshold.
Specifically, when the earphone device enters the pass-through mode, the default adopted gain value may be greater than or equal to the first gain threshold value, so as to ensure the normal pass-through function of the pass-through mode. Then, when the earphone device is in the pass-through mode and the adopted gain value is greater than or equal to the first gain threshold value, the external environment signal currently picked up by the microphone is acquired (hereinafter referred to as the first external environment signal for convenience of distinction). It should be noted that, when the earphone device is in the pass-through mode and the adopted gain value is greater than or equal to the first gain threshold value, the earphone device may acquire an external environment signal picked up by the microphone to monitor whether there is loud sound outside in real time.
Step S50, if the signal energy of the first external environment signal is greater than a second energy threshold, playing the first signal through the speaker.
After the first ambient signal is picked up, it may be determined whether the signal energy of the first ambient signal is greater than a second energy threshold. If the signal energy of the first external environment signal is greater than the second energy threshold, it is indicated that howling may be caused if the user continuously covers the ear at the time, at this time, the earphone device may play the first signal through the speaker, pick up the first signal through the microphone, and determine whether the user covers the ear at the time by judging the signal energy of the picked-up first signal; if the user is determined to cover the ears, the signal energy of the external environment signal is larger due to the fact that the user covers the ears, and at the moment, the gain value is reduced to be lower than a second gain threshold value so as to avoid howling; if the user is determined not to cover the ears, the sound is natural loud sound outside, and at the moment, the gain value is kept at or above the first gain threshold value, so that the normal transparent function is ensured.
When the earphone device is in the pass-through mode and the adopted gain value is smaller than the second gain threshold, the earphone device may restore the gain value to a level greater than or equal to the second gain threshold when a certain condition is satisfied, where the condition may be that the gain value is restored when it is detected that the user does not cover the ear by a certain method, or may be that the signal energy of the external environment signal is detected to be lower than the second energy threshold, which is not limited in this embodiment.
Further, in an embodiment, after the step S30, the method further includes:
step A10, when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, playing a second signal through the loudspeaker, and picking up the second signal through the microphone, wherein the frequency of the second signal is outside the range of the user auditory frequency;
when the gain value adopted by the earphone device is smaller than the second gain threshold value, the earphone device can play the second signal through the loudspeaker. The second signal may be a different signal from the first signal, or the same signal, but the frequencies of the second signal and the first signal are outside the user hearing frequency range, that is, by judging the energy of the second signal picked up by the microphone, it can also be determined whether the user covers the ear.
It should be noted that, when the earphone device is in the pass-through mode and the adopted gain value is smaller than the second gain threshold value, the earphone device may play the second signal through the speaker to determine whether the user covers the ear in real time.
Step a20, if the signal energy of the picked-up second signal is less than or equal to the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
after the second signal is picked up by the microphone, it can be determined whether the signal energy of the second signal is less than or equal to the first energy threshold. Similarly to the first signal, when the signal energy of the second signal is less than or equal to the first energy threshold, it indicates that the user does not cover the ear, and at this time, the earphone device may be controlled to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold, that is, to restore the gain value to a normal level, so as to ensure a normal pass-through function. At this time, since the previous gain value is smaller than the second gain threshold, when the headphone apparatus is controlled to perform the gain processing by using the gain value greater than or equal to the first gain threshold, specifically, the gain value may be directly set to a value greater than or equal to the first gain threshold, or may be increased according to a certain step based on the current gain value, and the gain value is adjusted at least once to reach a level greater than or equal to the first gain threshold.
Step a30, if the signal energy of the picked-up second signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
When the signal energy of the second signal is greater than the first energy threshold, it indicates that the user still covers the ears, and at this time, the earphone device is still controlled to perform gain processing by using a gain value smaller than the second gain threshold, so as to avoid howling. Since the previous gain value is smaller than the second gain threshold, when the headphone apparatus is controlled to perform the gain processing by using the gain value smaller than the second gain threshold, specifically, the gain value may be directly set to a value smaller than the second gain threshold, or the current gain value may be kept unchanged.
If the signal energy of the external environment signal picked up by the microphone is detected to be larger than a certain threshold value, the gain value is reduced, and the gain value is recovered if the signal energy is smaller than or equal to the threshold value, howling may be caused due to a large gain value when the user continuously covers the ears, the external environment signal energy is smaller than the threshold value after the gain value is reduced, the gain value is recovered, and howling is caused due to a large gain value afterwards, so that when the user covers the ears, howling of the earphone disappears after the occurrence, then disappears again, and continues to circulate, and poor user experience is caused. In this embodiment, since the headphone device reduces the gain value when it is detected that the ear is covered, the gain value is not restored until it is detected that the ear is not covered, thereby avoiding the situation that the whistle suddenly disappears.
Further, in an embodiment, after the step S30, the method further includes:
step B10, when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold, acquiring a second external environment signal currently picked up by the microphone;
when the earphone device is in the pass-through mode and the gain value adopted during the gain processing is smaller than the second gain threshold value, the earphone device acquires the external environment signal (hereinafter referred to as the second external environment signal for convenience of distinction) picked up by the current microphone. It should be noted that, when the earphone device is in the pass-through mode and the adopted gain value is smaller than the second gain threshold, the earphone device may acquire the external environment signal picked up by the microphone, so as to monitor whether there is no loud sound outside in real time.
Step B20, if the signal energy of the second external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
after the second ambient environment signal is picked up, it may be determined whether the signal energy of the second ambient environment signal is greater than a second energy threshold. If the signal energy of the second external environment signal is less than or equal to the second energy threshold, it indicates that howling does not occur at this time; at this time, the earphone device may be controlled to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold value, so as to ensure a normal pass-through function.
Since the previous gain value is smaller than the second gain threshold, when the headphone apparatus is controlled to perform the gain processing by using the gain value greater than or equal to the first gain threshold, specifically, the gain value may be directly set to a value greater than or equal to the first gain threshold, or may be increased according to a certain step based on the current gain value, and the gain value is adjusted at least once to reach a level greater than or equal to the first gain threshold.
Step B30, if the signal energy of the second external environment signal is greater than the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
If the signal energy of the second external environment signal is greater than the second energy threshold, it indicates that howling may be caused if the user continues to cover the ear at this time, and at this time, the earphone device is still controlled to perform gain processing by using a gain value smaller than the second gain threshold, so as to avoid howling. Since the previous gain value is smaller than the second gain threshold, when the headphone apparatus is controlled to perform the gain processing by using the gain value smaller than the second gain threshold, specifically, the gain value may be directly set to a value smaller than the second gain threshold, or the current gain value may be kept unchanged.
Further, in an embodiment, after the step S40, the method further includes:
step S60, if the signal energy of the first external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold.
If the signal energy of the first external environment signal is less than or equal to the second energy threshold, it indicates that howling does not occur at this time; at this time, the earphone device may be controlled to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold value, so as to ensure a normal pass-through function.
Further, in one embodiment, as shown in fig. 2, a schematic diagram of a control system framework of a possible headset pass-through mode is provided. The processor is a processing platform for performing relevant detection processing and transparent filtering processing; the microphone is used for picking up sound signals; the loudspeaker is used for converting the electric signal into a sound signal and emitting the sound signal; the energy monitoring module is used for monitoring the energy of the external environment signal picked up by the microphone; the filtering module is used for filtering interference and retaining high-frequency signals (in fig. 2, the first signal is exemplarily defined as a high-frequency signal outside the user hearing frequency range); the high-frequency signal energy monitoring module is used for monitoring the energy of the high-frequency signal picked up by the microphone; the gain control module is used for controlling the gain value of the pass filter according to the output of the high-frequency signal energy monitoring module; the transparent filter is used for amplifying the intermediate frequency signal picked up by the microphone to achieve the effect of non-inductive wearing in a transparent mode; the high frequency signal generator generates a high frequency signal for detecting whether a user is covering the ear. Further, in one embodiment, as shown in fig. 3, a control flow diagram of the headset through mode implemented according to the system framework shown in fig. 2 is shown.
In addition, an embodiment of the present invention further provides a control device for a pass-through mode of an earphone, where the device is disposed in an earphone device, the earphone device includes a speaker and a microphone, and when the earphone device is in the pass-through mode, the earphone device picks up an external environment signal through the microphone, performs gain processing on the external environment signal, and then plays the external environment signal through the speaker, with reference to fig. 4, the control device for the pass-through mode of the earphone includes:
an obtaining module 10, configured to obtain, when the earphone device is in the pass-through mode, a first signal that is played through the speaker and picked up by the microphone, where a frequency of the first signal is outside a user auditory frequency range;
a first control module 20, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to a first gain threshold if the signal energy of the picked-up first signal is less than or equal to the first energy threshold;
a second control module 30, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold if the signal energy of the picked-up first signal is greater than the first energy threshold, where the second gain threshold is smaller than or equal to the first gain threshold.
Further, the obtaining module 10 is further configured to obtain a first external environment signal currently picked up by the microphone when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is greater than or equal to the first gain threshold;
the device further comprises:
and the playing module is used for playing the first signal through the loudspeaker if the signal energy of the first external environment signal is greater than a second energy threshold.
Further, the playing module is further configured to play a second signal through the speaker and pick up the second signal through the microphone when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold, where a frequency of the second signal is outside a user auditory frequency range;
the device further comprises:
a third control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value that is greater than or equal to the first gain threshold if the signal energy of the picked-up second signal is less than or equal to the first energy threshold;
and the fourth control module is configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold if the signal energy of the picked-up second signal is greater than the first energy threshold.
Further, the obtaining module 10 is further configured to obtain a second external environment signal currently picked up by the microphone when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is smaller than the second gain threshold;
the device further comprises:
a fifth control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value that is greater than or equal to the first gain threshold if signal energy of the second external environment signal is less than or equal to the second energy threshold;
a sixth control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold if the signal energy of the second external environment signal is greater than the second energy threshold.
Further, the apparatus further comprises:
a seventh control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold if the signal energy of the first external environment signal is less than or equal to the second energy threshold.
Further, the second control module 30 is further configured to:
if the signal energy of the picked-up first signal is greater than the first energy threshold, detecting whether a gain value adopted by the earphone device in the pass-through mode is smaller than a second gain threshold;
if the gain value currently adopted by the earphone device in the pass-through mode is smaller than the second gain threshold value, keeping the gain value currently adopted by the earphone device in the pass-through mode unchanged;
and if the gain value adopted by the earphone equipment in the transparent mode at present is greater than or equal to the second gain threshold value, reducing the gain value adopted by the earphone equipment in the transparent mode at present to be less than the second gain threshold value according to preset steps.
Further, the obtaining module 10 is further configured to:
acquiring a sound signal picked up by the microphone;
and filtering the sound signal to obtain a first signal which is played by the loudspeaker and picked up by the microphone.
The specific implementation of the apparatus for controlling a transparent mode of an earphone of the present invention is basically the same as the embodiments of the method for controlling a transparent mode of an earphone described above, and will not be described herein again.
The earphone device of the present invention may include a speaker and a microphone, the earphone device picks up an external environment signal through the microphone when being in a pass-through mode, performs gain processing on the external environment signal, and then plays the external environment signal through the speaker, the earphone device further includes a memory, a processor, and an earphone pass-through mode control program stored in the memory and executable on the processor, the earphone pass-through mode control program implements operations when executed by the processor:
when the earphone device is in the through mode, acquiring a first signal played through the loudspeaker and picked up by the microphone, wherein the frequency of the first signal is out of the range of the user auditory frequencies;
if the signal energy of the picked first signal is smaller than or equal to a first energy threshold, controlling the earphone device to perform gain processing by adopting a gain value larger than or equal to a first gain threshold in the pass-through mode;
and if the picked signal energy of the first signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold, wherein the second gain threshold is smaller than or equal to the first gain threshold.
Further, the earphone device adopts a gain value greater than or equal to the first gain threshold value when entering the pass-through mode, and the control program of the earphone pass-through mode, when executed by the processor, further implements the following operations before acquiring the first signal played by the speaker and picked up by the microphone:
when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is greater than or equal to the first gain threshold value, acquiring a first external environment signal currently picked by the microphone;
and if the signal energy of the first external environment signal is greater than a second energy threshold value, playing the first signal through the loudspeaker.
Further, after controlling the headphone apparatus to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold value if the signal energy of the picked-up first signal is larger than the first energy threshold value, when the processor executes the control program of the headphone pass-through mode, the method further includes:
when the earphone equipment is in the pass-through mode and the gain value adopted by the earphone equipment is smaller than the second gain threshold value, playing a second signal through the loudspeaker, and picking up the second signal through the microphone, wherein the frequency of the second signal is out of the hearing frequency range of a user;
if the signal energy of the picked-up second signal is less than or equal to the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the picked signal energy of the second signal is greater than the first energy threshold, controlling the earphone device to perform gain processing by adopting a gain value smaller than the second gain threshold in the pass-through mode.
Further, after controlling the headphone apparatus to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold value if the signal energy of the picked-up first signal is larger than the first energy threshold value, when the processor executes the control program of the headphone pass-through mode, the method further includes:
when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, acquiring a second external environment signal picked by the microphone currently;
if the signal energy of the second external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the signal energy of the second external environment signal is greater than the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
Further, after acquiring the first external environment signal currently picked up by the microphone when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is greater than or equal to the first gain threshold, the control program of the earphone pass-through mode, when executed by the processor, further implements the operations of:
and if the signal energy of the first external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold.
Further, if the signal energy of the picked-up first signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold includes:
if the picked signal energy of the first signal is greater than the first energy threshold, detecting whether a gain value currently adopted by the earphone device in the pass-through mode is smaller than a second gain threshold;
if the gain value adopted by the earphone equipment in the transparent mode is smaller than the second gain threshold value, keeping the gain value adopted by the earphone equipment in the transparent mode unchanged;
and if the gain value adopted by the earphone equipment in the transparent mode at present is greater than or equal to the second gain threshold value, reducing the gain value adopted by the earphone equipment in the transparent mode at present to be less than the second gain threshold value according to preset steps.
Further, the acquiring the first signal played through the speaker and picked up by the microphone includes:
acquiring a sound signal picked up by the microphone;
and filtering the sound signal to obtain a first signal which is played by the loudspeaker and picked up by the microphone.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a control program of the headset pass-through mode is stored on the storage medium, and when the control program of the headset pass-through mode is executed by a processor, the steps of the method for controlling the headset pass-through mode are implemented.
In the embodiments of the earphone device and the computer-readable storage medium of the present invention, reference may be made to the embodiments of the method for controlling a pass-through mode of an earphone of the present invention, and details are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for controlling a through mode of an earphone is applied to an earphone device, the earphone device comprises a loudspeaker and a microphone, when the earphone device is in the through mode, an external environment signal is picked up through the microphone, gain processing is carried out on the signal, and then the signal is played through the loudspeaker, and the method comprises the following steps:
when the earphone device is in the through mode, acquiring a first signal played through the loudspeaker and picked up by the microphone, wherein the frequency of the first signal is out of the range of the user auditory frequencies;
if the signal energy of the picked first signal is smaller than or equal to a first energy threshold, controlling the earphone device to perform gain processing by adopting a gain value larger than or equal to a first gain threshold in the pass-through mode;
and if the picked signal energy of the first signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold, wherein the second gain threshold is smaller than or equal to the first gain threshold.
2. The method for controlling a pass-through mode of an earphone according to claim 1, wherein the earphone device adopts a gain value greater than or equal to the first gain threshold value when entering the pass-through mode, and the step of acquiring the first signal played by the speaker and picked up by the microphone further comprises:
when the earphone device is in the pass-through mode and a gain value adopted by the earphone device is greater than or equal to the first gain threshold value, acquiring a first external environment signal currently picked by the microphone;
and if the signal energy of the first external environment signal is greater than a second energy threshold value, playing the first signal through the loudspeaker.
3. The method for controlling a pass-through mode of an earphone according to claim 2, wherein the step of controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold value if the signal energy of the picked-up first signal is larger than the first energy threshold value further comprises:
when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, playing a second signal through the loudspeaker, and picking up the second signal through the microphone, wherein the frequency of the second signal is out of the range of the user auditory frequency;
if the signal energy of the picked-up second signal is less than or equal to the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the signal energy of the picked second signal is greater than the first energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than the second gain threshold.
4. The method for controlling a pass-through mode of an earphone according to claim 2, wherein if the signal energy of the picked-up first signal is greater than the first energy threshold, the step of controlling the earphone device to perform gain processing in the pass-through mode with a gain value less than a second gain threshold further comprises:
when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is smaller than the second gain threshold value, acquiring a second external environment signal picked by the microphone currently;
if the signal energy of the second external environment signal is less than or equal to the second energy threshold, controlling the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to the first gain threshold;
and if the signal energy of the second external environment signal is greater than the second energy threshold, controlling the earphone device to perform gain processing by adopting a gain value smaller than the second gain threshold in the transparent mode.
5. The method for controlling a pass-through mode of an earphone according to claim 2, wherein the step of acquiring the first ambient signal currently picked up by the microphone when the earphone device is in the pass-through mode and the gain value adopted by the earphone device is greater than or equal to the first gain threshold further comprises:
and if the signal energy of the first external environment signal is less than or equal to the second energy threshold, controlling the earphone equipment to perform gain processing by adopting a gain value greater than or equal to the first gain threshold in the transparent mode.
6. The method for controlling a pass-through mode of an earphone according to claim 1, wherein if the signal energy of the picked-up first signal is greater than the first energy threshold, the step of controlling the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold comprises:
if the signal energy of the picked-up first signal is greater than the first energy threshold, detecting whether a gain value adopted by the earphone device in the pass-through mode is smaller than a second gain threshold;
if the gain value adopted by the earphone equipment in the transparent mode is smaller than the second gain threshold value, keeping the gain value adopted by the earphone equipment in the transparent mode unchanged;
and if the gain value adopted by the earphone equipment in the transparent mode at present is greater than or equal to the second gain threshold value, reducing the gain value adopted by the earphone equipment in the transparent mode at present to be less than the second gain threshold value according to preset steps.
7. The method of controlling a headset pass-through mode according to any one of claims 1 to 6, wherein the step of acquiring the first signal played through the speaker and picked up by the microphone comprises:
acquiring a sound signal picked up by the microphone;
and filtering the sound signal to obtain a first signal which is played through the loudspeaker and picked up by the microphone.
8. The utility model provides a controlling means of earphone penetrating mode, its characterized in that, the device disposes in earphone equipment, earphone equipment includes speaker and microphone, earphone equipment passes through the microphone picks up external environment signal and carries out gain processing back and passes through the speaker broadcast when being in penetrating mode, the device includes:
an obtaining module, configured to obtain, when the earphone device is in the pass-through mode, a first signal that is played through the speaker and is picked up by the microphone, where a frequency of the first signal is outside a user auditory frequency range;
the first control module is configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value greater than or equal to a first gain threshold if the signal energy of the picked-up first signal is less than or equal to the first energy threshold;
a second control module, configured to control the earphone device to perform gain processing in the pass-through mode by using a gain value smaller than a second gain threshold if the signal energy of the picked-up first signal is greater than the first energy threshold, where the second gain threshold is smaller than or equal to the first gain threshold.
9. An earphone device, characterized in that the earphone device comprises a memory, a processor and a control program of earphone pass-through mode stored on the memory and operable on the processor, wherein the control program of earphone pass-through mode realizes the steps of the control method of earphone pass-through mode according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, having stored thereon a control program for a headset-through mode, which when executed by a processor, implements the steps of the method for controlling a headset-through mode according to any one of claims 1 to 7.
CN202111372479.8A 2021-11-18 2021-11-18 Earphone through mode control method and device, earphone equipment and storage medium Active CN114095835B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111372479.8A CN114095835B (en) 2021-11-18 2021-11-18 Earphone through mode control method and device, earphone equipment and storage medium
PCT/CN2021/139038 WO2023087468A1 (en) 2021-11-18 2021-12-17 Method and apparatus for controlling transparency mode of earphones, and earphone device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111372479.8A CN114095835B (en) 2021-11-18 2021-11-18 Earphone through mode control method and device, earphone equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114095835A true CN114095835A (en) 2022-02-25
CN114095835B CN114095835B (en) 2023-06-09

Family

ID=80302162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111372479.8A Active CN114095835B (en) 2021-11-18 2021-11-18 Earphone through mode control method and device, earphone equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114095835B (en)
WO (1) WO2023087468A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156385A (en) * 2023-04-19 2023-05-23 深圳市汇顶科技股份有限公司 Filtering method, filtering device, chip and earphone

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183177A1 (en) * 2007-07-18 2010-07-22 Dietmar Ruwisch User-adaptable hearing aid comprising an initialization module
CN109151700A (en) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 Microphone plug-hole detection method and Related product
CN112291689A (en) * 2020-11-27 2021-01-29 歌尔光学科技有限公司 Sound playing method, wearable device and readable storage medium
CN113473304A (en) * 2021-08-17 2021-10-01 北京小米移动软件有限公司 Howling suppression method, howling suppression device, earphone and storage medium
CN113596665A (en) * 2021-07-29 2021-11-02 北京小米移动软件有限公司 Howling suppression method, howling suppression device, earphone and storage medium
CN113596662A (en) * 2021-07-30 2021-11-02 北京小米移动软件有限公司 Howling suppression method, howling suppression device, headphone, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5197458B2 (en) * 2009-03-25 2013-05-15 株式会社東芝 Received signal processing apparatus, method and program
US20160300562A1 (en) * 2015-04-08 2016-10-13 Apple Inc. Adaptive feedback control for earbuds, headphones, and handsets

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183177A1 (en) * 2007-07-18 2010-07-22 Dietmar Ruwisch User-adaptable hearing aid comprising an initialization module
CN109151700A (en) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 Microphone plug-hole detection method and Related product
CN112291689A (en) * 2020-11-27 2021-01-29 歌尔光学科技有限公司 Sound playing method, wearable device and readable storage medium
CN113596665A (en) * 2021-07-29 2021-11-02 北京小米移动软件有限公司 Howling suppression method, howling suppression device, earphone and storage medium
CN113596662A (en) * 2021-07-30 2021-11-02 北京小米移动软件有限公司 Howling suppression method, howling suppression device, headphone, and storage medium
CN113473304A (en) * 2021-08-17 2021-10-01 北京小米移动软件有限公司 Howling suppression method, howling suppression device, earphone and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156385A (en) * 2023-04-19 2023-05-23 深圳市汇顶科技股份有限公司 Filtering method, filtering device, chip and earphone
CN116156385B (en) * 2023-04-19 2023-07-07 深圳市汇顶科技股份有限公司 Filtering method, filtering device, chip and earphone

Also Published As

Publication number Publication date
WO2023087468A1 (en) 2023-05-25
CN114095835B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US11710473B2 (en) Method and device for acute sound detection and reproduction
CN110326305B (en) Off-head detection of in-ear headphones
CN112911487B (en) In-ear detection method for wireless headset, wireless headset and storage medium
CN111885458B (en) Audio playing method, earphone and computer readable storage medium
CN114071308B (en) Headset self-adaptive tuning method and device, headset and readable storage medium
CN112291664B (en) Volume adjusting method, device and system of head-mounted display equipment
CN110972012A (en) Earphone control method and earphone
US20230396940A1 (en) Hearing aid having a sensor
US20190141462A1 (en) System and method for performing an audiometric test and calibrating a hearing aid
CN113920975B (en) Noise reduction parameter setting method and device, earphone equipment and storage medium
CN114095835B (en) Earphone through mode control method and device, earphone equipment and storage medium
CN112235683B (en) Microphone and ambient sound noise reduction method
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN114071307A (en) Earphone volume adjusting method, device, equipment and medium
CN115225998A (en) Earphone noise reduction method and device, earphone equipment and computer readable storage medium
CN106856537B (en) Volume adjustment method and device
CN110139181A (en) Audio-frequency processing method, device, earphone, terminal device and medium
CN114125625B (en) Noise reduction adjustment method, earphone and computer readable storage medium
US20240205588A1 (en) Information processing apparatus, information processing method, and program
JP2015515215A (en) System and method for reducing damage to human auditory organs by terminal sound pressure
CN114845199A (en) Noise reduction adjusting method and device for earphone, earphone and storage medium
CN118018904A (en) In-out ear detection method, in-out ear detection device, in-out ear detection equipment and computer readable storage medium
CN116208880A (en) Method for sound signal and related equipment

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
GR01 Patent grant
GR01 Patent grant