CN113766383B - Method and device for controlling mute of earphone - Google Patents
Method and device for controlling mute of earphone Download PDFInfo
- Publication number
- CN113766383B CN113766383B CN202111051047.7A CN202111051047A CN113766383B CN 113766383 B CN113766383 B CN 113766383B CN 202111051047 A CN202111051047 A CN 202111051047A CN 113766383 B CN113766383 B CN 113766383B
- Authority
- CN
- China
- Prior art keywords
- earphone
- mute
- angle
- controlling
- wearer
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000007613 environmental effect Effects 0.000 claims abstract description 37
- 230000006870 function Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 7
- 230000009471 action Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005265 energy consumption Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Headphones And Earphones (AREA)
Abstract
The embodiment of the application discloses a method for controlling mute of an earphone, which comprises the following steps: acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position; when the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not; and when the environmental sound comprises human voice, controlling the earphone to mute. The method is used for improving the intelligent degree of the earphone.
Description
Technical Field
The invention relates to the field of equipment control, in particular to a method and a device for controlling mute of an earphone.
Background
With the progress of technology, headphones are seen everywhere in people's lives. When a user plays audio using headphones, a scene may be encountered in which the headphones need to be adjusted to mute, for example, when the user communicates with a person wearing headphones, sounds in the environment outside the headphones need to be heard. In the prior art, in order to realize the mute of the earphone, the earphone wearer is required to manually pause/stop the played audio, to take off the earphone, or to perform a designated operation on the earphone by the wearer, but these methods all require the earphone wearer to perform an additional operation, resulting in a low degree of intelligentization of the earphone.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method and apparatus for controlling mute of an earphone, so as to improve the intelligentization degree of the earphone.
In a first aspect, the present application provides a method of controlling silence of an earphone, the method comprising:
Acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
When the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not;
and when the environmental sound comprises human voice, controlling the earphone to mute.
In a possible implementation manner, the controlling the mute of the earphone may include: judging whether the deflection angle is larger than a second angle threshold, if so, controlling the mute of the two-side earphone; wherein the second angle threshold is greater than the first angle threshold.
In a possible implementation manner, the controlling the mute of the earphone may include: judging whether the deflection angle is larger than a second angle threshold value, if not, then: when the current position is positioned at the left side of the reference position, controlling the left earphone to mute; when the current position is positioned on the right side of the reference position, controlling the right earphone to mute; wherein the second angle threshold is greater than the first angle threshold.
In one possible embodiment, determining that the deflection angle is greater than the first angle threshold may include: and when the deflection angles are all larger than the first angle threshold value within the preset deflection time, determining that the deflection angles are larger than the first angle threshold value.
In one possible implementation, identifying whether the ambient sound outside the headset includes a human voice may include: determining that the ambient sound comprises a human voice when the ambient sound comprises a sound that is distinct from ambient noise; otherwise, determining that the environmental sound does not include a human voice; wherein the ambient noise is derived from analysis of the ambient sound of the wearer's head at the reference location.
In one possible implementation manner, after the controlling the mute of the earphone, the method may further include: and when the deflection angle is smaller than or equal to the first angle threshold value, the mute of the earphone is released.
In one possible embodiment, the obtaining the deflection angle of the head of the earphone wearer may include: and responding to the mute function starting instruction, and acquiring the deflection angle of the head of the earphone wearer.
In a second aspect, the present application provides an apparatus for controlling silence of headphones, the apparatus comprising:
The angle acquisition unit is used for acquiring the deflection angle of the head of the earphone wearer; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
A sound recognition unit for recognizing whether the ambient sound outside the earphone includes a human sound when the deflection angle is greater than a first angle threshold;
and the mute control unit is used for controlling the earphone to mute when the environmental sound comprises human voice.
In a third aspect, the present application provides an electronic device for controlling mute of headphones, where the electronic device includes a processor and a memory, where the memory stores codes, and the processor is configured to invoke the codes stored in the memory to implement the following functions:
Acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
When the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not;
and when the environmental sound comprises human voice, controlling the earphone to mute.
In a fourth aspect, the present application provides a computer readable storage medium for storing a computer program for performing any one of the methods described above.
From this, the embodiment of the application has the following beneficial effects:
In the embodiment of the application, the deflection angle of the head of the earphone wearer from the reference position to the current position is acquired, and when the deflection angle is larger than the first angle threshold value and the ambient sound comprises human voice, the earphone is controlled to mute. The deflection angle is larger than a first angle threshold value, which indicates that the head of the wearer deviates from the reference position, and the wearer may have the need of receiving the words of other people; the method is characterized in that whether the environmental sound comprises human voice is identified, whether the human voice is spoken by a person or a wearer is further confirmed, if the environmental sound comprises the human voice, the person and the wearer are indicated to speak, and at the moment, the wearer is identified that the need for controlling the mute of the earphone possibly exists, and the mute of the earphone is controlled. Compared with the prior art, the earphone mute control method and device require additional operations of a wearer to realize earphone mute, in the embodiment of the application, through automatic identification of the earphone, the earphone mute is controlled when the wearer has earphone mute requirements, and the intelligent degree of the earphone is improved.
Drawings
FIG. 1 is a flow chart of a method for controlling mute of an earphone according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for controlling mute of headphones according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device for controlling earphone silence according to an embodiment of the present application.
Detailed Description
In order to facilitate understanding of the technical solution provided by the embodiments of the present application, a method and an apparatus for controlling mute of headphones provided by the embodiments of the present application are described below with reference to the accompanying drawings.
While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Based on the embodiments of the present application, other embodiments that may be obtained by those skilled in the art without making any inventive contribution are within the scope of the application.
In the claims and specification of the application and in the drawings of the specification, the terms "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion.
In the prior art, controlling the mute of the headset requires additional operations by the headset wearer. Based on this, in the embodiment of the present application provided by the inventor, a deflection angle of the head of the wearer of the headset from the reference position to the current position is acquired, and when the deflection angle is greater than the first angle threshold, and the ambient sound includes a human voice, the headset is controlled to mute. The deflection angle is larger than a first angle threshold value, which indicates that the head of the wearer deviates from the reference position, and the wearer may have the need of receiving the words of other people; the method is characterized in that whether the environmental sound comprises human voice is identified, whether the human voice is spoken by a person or a wearer is further confirmed, if the environmental sound comprises the human voice, the person and the wearer are indicated to speak, and at the moment, the wearer is identified that the need for controlling the mute of the earphone possibly exists, and the mute of the earphone is controlled. Compared with the prior art, the earphone mute control method and device require additional operations of a wearer to realize earphone mute, in the embodiment of the application, through automatic identification of the earphone, the earphone mute is controlled when the wearer has earphone mute requirements, and the intelligent degree of the earphone is improved.
Referring to fig. 1, fig. 1 is a flowchart of a method for controlling mute of an earphone according to an embodiment of the application. As shown in fig. 1, the method for controlling the mute of the earphone in the embodiment of the application includes the following steps:
s101, acquiring a deflection angle of the head of a headset wearer; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position.
In S101, the function of obtaining the deflection angle of the head of the earphone wearer is to identify whether the earphone wearer has a need for controlling the mute of the earphone, so as to provide a basis for controlling the mute of the earphone. The type of the earphone can be a headphone, an in-ear earphone or any other type of earphone, and the embodiment of the application does not limit the type of the earphone. The embodiment of the application recognizes whether the wearer has the need of controlling the mute of the earphone based on the deflection action of the head of the wearer. The deflection action refers to the action of the wearer's head deflecting from one position to another. The deflection action may refer to deflection of the wearer's head in a left-right direction and/or an up-down direction. The reference position refers to a position of the head of the wearer before deflection, and generally refers to a position where the earphone wearer normally uses the earphone, or other positions set according to needs. The reference position may be a fixed position preset manually, or may be adjusted according to actual conditions, which is not limited in the present application. The state of the wearer when the head of the wearer is in the reference position may be referred to as a reference state, and the state of the earphone (for example, whether the wearer is silent or not) when the wearer is in the reference state is generally a state in which the wearer normally uses the earphone, but the state of the earphone when the head of the wearer is in the reference position (when the wearer is in the reference state) is not limited in this application. The current position refers to the position of the head of the wearer when the head deflection angle of the wearer is acquired. For example, when the earphone wearer is working, the head is deflected to communicate with other people, the reference position may be the position of the head of the wearer when working (the position of the head before deflection), and the current position is the position of the head when the wearer communicates with other people.
S102, when the deflection angle is larger than a first angle threshold value, whether the ambient sound outside the earphone comprises human voice or not is identified.
In S102, the function of identifying whether the environmental sound outside the earphone includes human voice is to further identify whether the earphone wearer has a need for controlling the mute of the earphone, so as to provide a basis for controlling the mute of the earphone. The first angle threshold refers to a specific angle, and is used to compare with the deflection angle to determine whether to identify the ambient sound outside the earphone. Identifying whether the ambient sound outside the earphone comprises human voice or not when the deflection angle is larger than the first angle threshold; when the deflection angle is smaller than or equal to the first angle threshold value, the identification processing is not performed; when the deflection angle is less than or equal to the first angle threshold, what kind of processing or operation is specifically performed is not limited in this embodiment of the present application. In an embodiment of the present application, the deflection angle being greater than the first angle threshold may be regarded as a trigger condition for recognizing the ambient sound.
The embodiment of the application aims to identify a scene in which a wearer needs to control the mute of the earphone and control the mute of the earphone under the scene. The wearer may sometimes experience head deflection in situations where there is no need to control the headset to mute, due to the wearer's own habits or for other reasons, and typically in such situations the wearer's head is deflected to a lesser extent, i.e. the angle of deflection is smaller, although there is a deflection action. Based on the principle, when the deflection angle is smaller, the situation that the wearer does not need to control the earphone to mute can be identified, and the earphone is not controlled to mute at the moment. When the deflection angle generated by the head of the wearer is large, the head of the wearer can be identified as not being in the reference state any more, and at the moment, in combination with the identification of the environmental sound, whether the wearer needs to control the earphone to mute or not is further determined. In summary, setting the deflection angle greater than the first angle threshold as the condition of the recognition processing is to reduce the error in controlling the mute of the earphone in the scenario that the wearer does not need to control the mute of the earphone, thereby further improving the intelligentization degree of the earphone.
The ambient sound outside the earphone is a concept with respect to the sound emitted by the earphone. In colloquial terms, the ambient sound outside the headset may be understood as the sound of the environment that the wearer is able to hear after taking the headset off/no longer wearing the headset. The ambient sound external to the headset may include human voice, or ambient noise, or other sounds other than the sound emitted by the headset of the wearer. The content specifically included in the environmental sound outside the earphone is not limited in this embodiment of the present application.
S103, when the environmental sound comprises human voice, controlling the earphone to mute.
In S103, when the environmental sound includes human voice, the function of controlling the mute of the earphone is to intelligently control the mute of the earphone. When the ambient sound comprises a voice, the deflection angle is larger than the first preset angle threshold, the ambient sound comprises a voice, namely the head of the wearer deviates from the reference position, and the ambient sound comprises a voice, at the moment, the wearer is identified to be in a scene where the earphone needs to be controlled to mute, for example, the wearer may need to hear others to speak, at the moment, the earphone is controlled to mute, and the requirements of the wearer can be met, so that the intelligent degree of the earphone is improved.
In the embodiment S101 of the present application, the deflection angle of the head of the wearer of the headset may be obtained by a gyroscope. It will be appreciated how to obtain the angle of deflection of the wearer's head of the headset does not affect the implementation of embodiments of the application.
In the embodiment S102 of the present application, the first angle threshold may be a preset fixed value, or a value that is adjusted in real time or non-real time according to actual needs, or may be obtained by other ways that can provide a threshold for the deflection angle; the first angle threshold may be set manually, may be set/generated automatically, or may be generated in other manners, which are not limited in this embodiment of the present application. The embodiment of the application provides a mode for setting the first angle threshold value: and acquiring a deflection angle of the head of the earphone wearer, when the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice, and when the ambient sound comprises human voice, controlling the earphone to mute. Judging whether to identify the environment sound outside the earphone according to the result that whether the deflection angle is larger than the first angle threshold value or not for the first time, wherein the first angle threshold value can be a preset fixed value; after the recognition result of whether to recognize the environment sound outside the earphone is obtained, the first angle threshold value can be adjusted; and, the recognition result of recognizing the environmental sound outside the earphone at each time can be used as the basis for adjusting the first angle threshold, or a part of the recognition results can be used, which is not limited by the embodiment of the application. The first angle threshold is adjusted to reduce the energy consumption generated by processing the sound signal. Since the deflection angle is larger than the first angle threshold, the deflection angle can be used as a trigger condition for voice recognition, and if the first angle threshold is not suitable, the energy consumption generated in the voice recognition processing process can be increased. For example, the first angle threshold is preset to be 30 °, and for a specific wearer, the environmental sound is identified when the deflection angle is greater than 30 °, the identification results are that the environmental sound does not include human voice before 40 °, and the identification results after the deflection angle is 40 ° indicate that the environmental sound includes human voice, and the identification results indicate that for the wearer, the identification process performed on the environmental sound before the deflection angle is less than 40 ° may be regarded as an ineffective process, that is, the processing wastes energy but has no substantial effect. At this time, the first angle threshold may be adjusted according to the above-mentioned identification result for the wearer, for example, the first angle threshold may be adjusted to 35 °. At this time, the embodiment of the present application may be: acquiring a deflection angle of the head of the earphone wearer, wherein the deflection angle is an angle of deflection of the head of the earphone wearer from a reference position to a current position; when the deflection angle is larger than a first angle threshold, identifying whether the environmental sound outside the earphone comprises human voice or not, wherein the first angle threshold is obtained by adjusting a preset angle threshold according to the identification result obtained before; and when the environmental sound comprises human voice, controlling the earphone to mute. The above procedure is equivalent to taking the voice recognition result as feedback to adjust the first angle threshold. The first angle threshold may be adjusted according to the recognition result, for example, according to the environmental sound, according to the characteristics of the wearer, or in other manners capable of adjusting the first angle threshold. The adjustment of the preset angle threshold may also be based on other conditions. The adjustment of the first angle threshold may be performed in real time or may be performed a limited number of times. It can be appreciated how the first angle threshold is set does not affect the implementation of the embodiments of the present application.
In the embodiment S102 of the present application, the process of identifying whether the ambient sound outside the earphone includes the human voice may be performed by disposing a chip on the earphone, for example, a noise reduction chip; in order to reduce the requirement of the earphone on hardware, the terminal can also complete the voice recognition process by transmitting the environment voice outside the earphone to the terminal, and further, the transmission process can be realized by Bluetooth transmission or other transmission modes; or otherwise be able to complete the voice recognition process. It can be appreciated how the recognition of whether the ambient sound outside the headphones includes human voice is achieved without affecting the implementation of the embodiments of the present application.
In the embodiment S102 of the present application, the following manner may be used for the recognition process of whether the ambient sound outside the earphone includes the voice: and identifying the environmental sound, and judging that the wearer is communicating with other people if the environmental sound comprises continuous non-noise human voice. The fact that the ambient sound includes a continuous non-noise human voice means that the ambient sound includes a clearer human voice, and at this time, the wearer may be communicating with other people, and the earphone mute needs to be controlled. It can be appreciated how to identify whether the ambient sound outside the headset includes the identification of a human voice does not affect the implementation of the embodiments of the present application.
Further, the controlling the mute of the earphone may include: judging whether the deflection angle is larger than a second angle threshold, if so, controlling the mute of the two-side earphone; wherein the second angle threshold is greater than the first angle threshold. Because the deflection angle is an angle that the head of the wearer deflects from the reference position to the current position, the second angle threshold is larger than the first angle threshold, and when the deflection angle is larger than the second angle threshold, the head of the wearer deviates from the reference position by a larger angle, which means that the wearer is in the current state of the current position and deviates more from the reference state, at this time, the wearer may be in a scene requiring mute of the earphone, and the degree of dependence on mute of the two-side earphone is high, and may be in a scene requiring mute of the two-side earphone, so that the mute of the two-side earphone is controlled. It can be understood that whether the deflection angle is greater than the second angle threshold is determined, and when the deflection angle is greater than the second angle threshold, the mute of the double-sided earphone is controlled, without affecting the implementation of the embodiment of the present application.
Further, the controlling the mute of the earphone may include: judging whether the deflection angle is larger than a second angle threshold value, if not, then: when the current position is positioned at the left side of the reference position, controlling the left earphone to mute; when the current position is positioned on the right side of the reference position, controlling the right earphone to mute; wherein the second angle threshold is greater than the first angle threshold. Since the second angle threshold is greater than the first angle threshold, when the deflection angle is less than or equal to the second angle threshold, the deflection angle is less than or equal to the second angle threshold and greater than the first angle threshold, and the wearer deviates from the reference position but the degree of deviation is not excessively large, as described above for controlling the double-sided headphones, which indicates that the wearer may be in a state where control of headphone muting is required, but the degree of dependence on double-sided headphone muting is not high, so left-side or right-side headphone muting is controlled according to the positional relationship of the current position and the reference position. For example, when the current position is to the left of the reference position, indicating that the wearer's head is deflected to the left of the reference position, it may be understood that the wearer's head is deflected to the left as compared to the reference position, meaning that the wearer may need to hear ambient sounds outside the headset to the left of the reference position, thus controlling left-side headset silence; the same applies to the mute control of the right ear phone. It will be appreciated that since the headphones are generally divided into two sides, i.e. left and right headphones, the scenario when the current position is located at the left or right side of the reference position is discussed more herein, but in the embodiment of the present application, there is no exclusion of the left or right positional relationship between the current position and the reference position, for example, the current position is located directly above or directly below the reference position, where mute of the two-sided headphones may be controlled, other control manners may be performed, and the current state of the headphones may be maintained, or control may be performed according to the actual situation. It can be appreciated whether or not to implement controlling the headset muting in the above manner does not affect the implementation of the embodiments of the present application.
Further, determining that the deflection angle is greater than the first angle threshold may include: and when the deflection angle is larger than the first angle threshold value in a preset time, determining that the deflection angle is larger than the first angle threshold value. The preset time is set to reduce the error of controlling the mute of the earphone in the state that the wearer does not need to control the mute of the earphone, thereby further improving the intelligent degree of the earphone. The function of detecting whether the deflection angle is greater than the first angle threshold is to identify whether the wearer is in a state where control of headset silence is required. If the deflection angle is larger than the first angle threshold, recognizing that the wearer is likely to be in a state of controlling the earphone to be mute, and recognizing the environmental sound; if the deflection angle is less than or equal to the first angle threshold, it is identified that the wearer may not be in a state where control of headset silence is desired. For example, when the earphone wearer normally uses the earphone, there may be a case that the head is deflected but the earphone is not required to be controlled to mute, and the user's requirement is not satisfied if the earphone is controlled to mute. The deflection angle is thus set to be greater than the first angle threshold for a preset time, and the condition for determining that the deflection angle is greater than the first angle threshold reduces the risk of erroneously controlling the mute of the headset due to, for example, the wearer accidentally deflecting the head but not requiring the mute of the headset. When the deflection angle is greater than the first angle threshold for a preset time, meaning that the degree of deflection of the wearer's head is greater than the first angle threshold and remains for a certain time (preset time), the wearer may need to control the headset to mute. Further, the preset time can be set according to actual needs. It will be appreciated that whether determining that the deflection angle is greater than the first angle threshold is accomplished in the manner described above does not affect the implementation of embodiments of the present application.
Further, identifying whether the environmental sound outside the earphone includes a human voice may include: determining that the ambient sound comprises a human voice when the ambient sound comprises a sound that is distinct from ambient noise; otherwise, determining that the environmental sound does not include a human voice; wherein the ambient noise is derived from analysis of the ambient sound of the wearer's head at the reference location. Typically, the ambient sound includes ambient noise, and in the case where a human voice is present, the ambient sound typically includes at least ambient noise and human voice. Since the sound signals of the human voice and the environmental noise generally have a distinction, it is determined whether the environmental sound includes the human voice by recognizing whether the environmental sound includes a sound different from the environmental noise. Based on the wearer's ambient noise being generally similar when in the reference position and the current position, ambient noise outside the headset is obtained when the wearer's head is in the reference position for identifying whether ambient sound outside the headset includes human voice when the wearer's head is in the current position. Further, considering that the head deflects when the user receives the human voice in the environment, the environment voice can be acquired in a period of time before the deflection occurs, so as to obtain the environment noise. The recognition of whether the ambient sound outside the headset includes human voice may utilize noise analysis techniques. It will be appreciated how to identify whether the ambient sound outside the headset comprises human voice does not affect the implementation of the embodiments of the application.
Further, after the controlling the mute of the earphone, the method may further include: and when the deflection angle is smaller than or equal to the first angle threshold value, the mute of the earphone is released. When the deflection angle is smaller than or equal to the first angle threshold, the effect of eliminating the mute of the earphone is to further improve the intelligent degree of the earphone. When the deflection angle is smaller than or equal to the first angle threshold, the current position of the head of the wearer is close to the reference position, namely, the head of the wearer returns to the reference state from the state requiring the earphone to be muted, and the head of the wearer returns to the reference position, the state of the wearer is usually the state of normally using the earphone, so that the earphone is released from being muted at the moment in order to enable the wearer to normally use the earphone. It will be appreciated that whether to unmute headphones when the yaw angle is less than or equal to the first angle threshold does not affect the implementation of embodiments of the present application.
Further, the acquiring the deflection angle of the head of the earphone wearer may include: and responding to the mute function starting instruction, and acquiring the deflection angle of the head of the earphone wearer. The function of setting the mute kinetic energy starting instruction meets different use requirements of different wearers, so that the intelligent degree of the earphone is further improved. Different wearers generally have different use requirements, when the wearers need the function which can be realized by the method for controlling the mute of the earphone according to the embodiment of the application, the function can be started, and the deflection angle of the head of the wearers of the earphone is obtained in response to the starting instruction of the mute function. Further, the mute function activation instruction may be issued by the headset wearer. Still further, the wearer may set at least one of the first angle threshold and the second angle threshold when issuing a function activation instruction. It can be appreciated whether or not the deflection angle of the head of the wearer of the headset is obtained in response to the mute function activation instruction does not affect the implementation of the embodiments of the present application.
In the embodiment of the application shown in fig. 1, a deflection angle of the head of the wearer of the headset from the reference position to the current position is obtained, and when the deflection angle is greater than a first angle threshold value and the ambient sound comprises human voice, the headset is controlled to mute. The earphone is automatically identified, so that the earphone silence is controlled when the wearer has the earphone silence control requirement, and the intelligent degree of the earphone is improved.
The application also provides a device for controlling the mute of the earphone. Referring to fig. 2, fig. 2 is a schematic structural diagram of an apparatus for controlling mute of an earphone according to an embodiment of the present application. As shown in fig. 2, an apparatus 200 for controlling mute of an earphone according to an embodiment of the present application includes:
An angle acquisition unit 201 for acquiring a deflection angle of a head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
a sound recognition unit 202 for recognizing whether the ambient sound outside the earphone includes a human sound when the deflection angle is greater than a first angle threshold;
And a mute control unit 203 for controlling the mute of the earphone when the environmental sound includes a human voice.
The units included in the device and the connection relationship between the units can achieve the same technical effects as the method for controlling the mute of the earphone, and in order to avoid repetition, the description is omitted.
The application also provides electronic equipment for controlling the mute of the earphone. Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device for controlling mute of an earphone according to an embodiment of the present application. As shown in fig. 3, an electronic device 300 for controlling earphone mute according to an embodiment of the present application includes a processor 301 and a memory 302, where the memory 302 stores codes, and the processor 301 is configured to invoke the codes stored in the memory 302 to implement the following functions:
Acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
When the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not;
and when the environmental sound comprises human voice, controlling the earphone to mute.
The memory and the processor included in the electronic device, and the function implemented by the processor calling the code stored in the memory, can achieve the same technical effects as the method for controlling the mute of the earphone, and are not repeated here.
In an embodiment of the present application, a computer readable storage medium is further provided, where the computer readable storage medium is configured to store a computer program, where the computer program is configured to execute the method for controlling mute of headphones according to the foregoing disclosure, and achieve the same technical effects, and in order to avoid repetition, a description is omitted herein. The computer readable storage medium is, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk or an optical disk. The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A method of controlling silence in headphones, the method comprising:
Acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
When the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not;
When the environmental sound comprises human voice, controlling the earphone to mute;
the controlling earphone silence includes: judging whether the deflection angle is larger than a second angle threshold, if so, controlling the mute of the two-side earphone; if not, then: when the current position is positioned at the left side of the reference position, controlling the left earphone to mute; when the current position is positioned on the right side of the reference position, controlling the right earphone to mute; wherein the second angle threshold is greater than the first angle threshold.
2. The method of claim 1, wherein determining that the deflection angle is greater than the first angle threshold comprises:
and when the deflection angle is larger than the first angle threshold value in a preset time, determining that the deflection angle is larger than the first angle threshold value.
3. The method of claim 1, wherein identifying whether the ambient sound outside the headset comprises a human voice comprises:
Determining that the ambient sound comprises a human voice when the ambient sound comprises a sound that is distinct from ambient noise; otherwise, determining that the environmental sound does not include a human voice; wherein the ambient noise is derived from analysis of the ambient sound of the wearer's head at the reference location.
4. The method of claim 1, further comprising, after said controlling the headset to mute:
And when the deflection angle is smaller than or equal to the first angle threshold value, the mute of the earphone is released.
5. The method of claim 1, wherein the obtaining the deflection angle of the headset wearer's head comprises:
And responding to the mute function starting instruction, and acquiring the deflection angle of the head of the earphone wearer.
6. An apparatus for controlling mute of headphones, the apparatus comprising:
The angle acquisition unit is used for acquiring the deflection angle of the head of the earphone wearer; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
A sound recognition unit for recognizing whether the ambient sound outside the earphone includes a human sound when the deflection angle is greater than a first angle threshold;
the mute control unit is used for controlling the earphone to mute when the environmental sound comprises human voice;
the controlling earphone silence includes: judging whether the deflection angle is larger than a second angle threshold, if so, controlling the mute of the two-side earphone; if not, then: when the current position is positioned at the left side of the reference position, controlling the left earphone to mute; when the current position is positioned on the right side of the reference position, controlling the right earphone to mute; wherein the second angle threshold is greater than the first angle threshold.
7. An electronic device for controlling mute of an earphone, the electronic device comprising a processor and a memory, wherein the memory stores codes, and the processor is configured to invoke the codes stored in the memory to implement the following functions:
Acquiring a deflection angle of the head of a wearer of the headset; the deflection angle is an angle for the head of the earphone wearer to deflect from the reference position to the current position;
When the deflection angle is larger than a first angle threshold value, identifying whether the ambient sound outside the earphone comprises human voice or not;
When the environmental sound comprises human voice, controlling the earphone to mute;
the controlling earphone silence includes: judging whether the deflection angle is larger than a second angle threshold, if so, controlling the mute of the two-side earphone; if not, then: when the current position is positioned at the left side of the reference position, controlling the left earphone to mute; when the current position is positioned on the right side of the reference position, controlling the right earphone to mute; wherein the second angle threshold is greater than the first angle threshold.
8. A computer readable storage medium for storing a computer program for executing the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111051047.7A CN113766383B (en) | 2021-09-08 | 2021-09-08 | Method and device for controlling mute of earphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111051047.7A CN113766383B (en) | 2021-09-08 | 2021-09-08 | Method and device for controlling mute of earphone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113766383A CN113766383A (en) | 2021-12-07 |
CN113766383B true CN113766383B (en) | 2024-06-18 |
Family
ID=78793948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111051047.7A Active CN113766383B (en) | 2021-09-08 | 2021-09-08 | Method and device for controlling mute of earphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113766383B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056036A (en) * | 2009-10-28 | 2011-05-11 | 索尼公司 | Reproducing device, headphone and reproducing method |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5125032A (en) * | 1988-12-02 | 1992-06-23 | Erwin Meister | Talk/listen headset |
DE102006047982A1 (en) * | 2006-10-10 | 2008-04-24 | Siemens Audiologische Technik Gmbh | Method for operating a hearing aid, and hearing aid |
US20140126733A1 (en) * | 2012-11-02 | 2014-05-08 | Daniel M. Gauger, Jr. | User Interface for ANR Headphones with Active Hear-Through |
US9020160B2 (en) * | 2012-11-02 | 2015-04-28 | Bose Corporation | Reducing occlusion effect in ANR headphones |
US20140126736A1 (en) * | 2012-11-02 | 2014-05-08 | Daniel M. Gauger, Jr. | Providing Audio and Ambient Sound simultaneously in ANR Headphones |
JP2019129366A (en) * | 2018-01-23 | 2019-08-01 | セイコーエプソン株式会社 | Head-mounted display device, voice transmission system, and method of controlling head-mounted display device |
US10817252B2 (en) * | 2018-03-10 | 2020-10-27 | Staton Techiya, Llc | Earphone software and hardware |
US11259108B2 (en) * | 2018-05-24 | 2022-02-22 | Sony Corporation | Information processing device and information processing method |
CN110475178B (en) * | 2019-09-11 | 2020-11-24 | 歌尔股份有限公司 | Wireless earphone noise reduction method and device, wireless earphone and storage medium |
CN110830870B (en) * | 2019-11-26 | 2021-05-14 | 北京声加科技有限公司 | Earphone wearer voice activity detection system based on microphone technology |
CN211128121U (en) * | 2019-12-06 | 2020-07-28 | 科大讯飞股份有限公司 | Sound collection equipment and earphone |
CN111796748A (en) * | 2020-07-01 | 2020-10-20 | 维沃移动通信有限公司 | Control method and device |
CN111818418A (en) * | 2020-07-12 | 2020-10-23 | 韶关市启之信息技术有限公司 | Earphone background display method and system |
CN112612445A (en) * | 2020-12-28 | 2021-04-06 | 维沃移动通信有限公司 | Audio playing method and device |
CN113038337B (en) * | 2021-02-02 | 2022-10-28 | 深圳千岸科技股份有限公司 | Audio playing method, wireless earphone and computer readable storage medium |
CN113194383A (en) * | 2021-04-29 | 2021-07-30 | 歌尔科技有限公司 | Sound playing method and device, electronic equipment and readable storage medium |
-
2021
- 2021-09-08 CN CN202111051047.7A patent/CN113766383B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056036A (en) * | 2009-10-28 | 2011-05-11 | 索尼公司 | Reproducing device, headphone and reproducing method |
Also Published As
Publication number | Publication date |
---|---|
CN113766383A (en) | 2021-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12149881B2 (en) | Automatic active noise reduction (ANR) control to improve user interaction | |
CN110785808B (en) | Audio device with wake-up word detection | |
EP2863392A2 (en) | Noise reduction in multi-microphone systems | |
CN112911441A (en) | Noise reduction method, apparatus, audio device, and computer-readable storage medium | |
US20140314242A1 (en) | Ambient Sound Enablement for Headsets | |
EP3777114B1 (en) | Dynamically adjustable sidetone generation | |
EP3675519A1 (en) | Control device, control method, and program | |
US10916248B2 (en) | Wake-up word detection | |
JP5130298B2 (en) | Hearing aid operating method and hearing aid | |
CN113766383B (en) | Method and device for controlling mute of earphone | |
CN216752099U (en) | Hearing system | |
CN113473345B (en) | Wearable device hearing assistance control method, device and system and readable storage medium | |
KR102139599B1 (en) | Sound transferring apparatus | |
CN114745624A (en) | Wireless earphone searching method and device, earphone and storage medium | |
CN115668370A (en) | Voice detector of hearing device | |
CN117412216B (en) | Earphone, control method and control device thereof | |
EP4120692A1 (en) | An apparatus, method and computer program for enabling audio zooming | |
US20240089671A1 (en) | Hearing aid comprising a voice control interface | |
US9137601B2 (en) | Audio adjusting method and acoustic processing apparatus | |
CN110691312B (en) | Method for reducing noise generated by contact with hearing aids and binaural hearing aids | |
KR20240144278A (en) | Hearing aids for cognitive assistance using speakers | |
CN117729470A (en) | Earphone control method and device, earphone and storage medium | |
CN117202011A (en) | Volume control method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |