Nothing Special   »   [go: up one dir, main page]

CN111385701A - Sound playing control method and device of earphone - Google Patents

Sound playing control method and device of earphone Download PDF

Info

Publication number
CN111385701A
CN111385701A CN202010260502.3A CN202010260502A CN111385701A CN 111385701 A CN111385701 A CN 111385701A CN 202010260502 A CN202010260502 A CN 202010260502A CN 111385701 A CN111385701 A CN 111385701A
Authority
CN
China
Prior art keywords
sound
current
determining
volume
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010260502.3A
Other languages
Chinese (zh)
Inventor
安凯
邵明绪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Jifengtianxia Information Technology Co ltd
Original Assignee
Xi'an Jifengtianxia Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Jifengtianxia Information Technology Co ltd filed Critical Xi'an Jifengtianxia Information Technology Co ltd
Priority to CN202010260502.3A priority Critical patent/CN111385701A/en
Publication of CN111385701A publication Critical patent/CN111385701A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • 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
    • 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/1083Reduction of ambient noise
    • 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

Landscapes

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

Abstract

The disclosure relates to a sound playing control method and device of an earphone, wherein the method comprises the following steps: collecting current environment sounds; determining a sound type of the current environmental sound; and when the sound type of the current environment sound comprises a preset playing type, playing the current environment sound. The technical scheme can avoid the phenomenon that important sound information in the environment is leaked due to the separation of the earphone by a user, ensure the safety of the user and facilitate the use of the user.

Description

Sound playing control method and device of earphone
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling sound playing of an earphone.
Background
In order to realize better hearing feeling, the existing earphone adopts physical methods such as ear wrapping type and earplug type to block external sound, and also adopts an active noise reduction mode to block the external sound. Therefore, after wearing, the sound insulation is too good, so that voice information in the environment or whistle sound in a traffic system is often missed, and unnecessary troubles and dangers are caused.
Disclosure of Invention
The embodiment of the disclosure provides a sound playing control method and device for an earphone, which can avoid that a user leaks important sound information in an environment due to the separation of the earphone, ensure the safety of the user and facilitate the use of the user. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a sound playing control method for an earphone, including:
collecting current environment sounds;
determining a sound type of the current environmental sound;
and when the sound type of the current environment sound comprises a preset playing type, playing the current environment sound.
In one embodiment, the method further comprises:
determining whether the volume of the current environment sound is larger than a preset threshold value;
the determining the sound type of the current environmental sound comprises:
and when the volume of the current environment sound is larger than a preset threshold value, determining the sound type of the current environment sound.
In one embodiment, the determining whether the volume of the current environmental sound is greater than a preset threshold includes:
determining whether a VOX circuit triggered by sound detection is activated, determining that the volume of the current environmental sound is greater than a preset threshold when the VOX circuit is activated, determining that the volume of the current environmental sound is less than or equal to the preset threshold when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environmental sound is greater than the preset threshold.
In one embodiment, the determining the sound type of the environmental sound includes:
comparing the current environmental sound with the characteristics of the pre-stored sample sound corresponding to each sound type to obtain a sample sound matched with the current environmental sound;
and determining the sound type corresponding to the matched sample sound as the sound type of the current environment sound.
In one embodiment, the playing the environmental sound comprises:
determining the volume of the audio to be played currently by the earphone;
according to the volume of the current audio to be played, carrying out weighted sound mixing processing on the current environment sound and the current audio to be played to obtain a new audio to be played;
and playing the new audio to be played.
According to a second aspect of the embodiments of the present disclosure, there is provided a sound playing control device of a headphone, including:
the acquisition module is used for acquiring current environmental sounds;
a first determining module, configured to determine a sound type of the current environmental sound;
and the playing module is used for playing the current environment sound when the sound type of the current environment sound comprises a preset playing type.
In one embodiment, the apparatus further comprises:
the second determining module is used for determining whether the volume of the current environment sound is larger than a preset threshold value;
the first determining module includes:
the first determining submodule is used for determining the sound type of the current environment sound when the volume of the current environment sound is larger than a preset threshold value.
In one embodiment, the second determining module comprises:
the second determining submodule is used for determining whether a VOX circuit triggered by sound detection is activated or not, determining that the volume of the current environment sound is greater than a preset threshold value when the VOX circuit is activated, determining that the volume of the current environment sound is less than or equal to the preset threshold value when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environment sound is greater than the preset threshold value.
In one embodiment, the first determining module comprises:
the comparison submodule is used for comparing the characteristics of the current environmental sound with the characteristics of the sample sound corresponding to each pre-stored sound type to obtain the sample sound matched with the current environmental sound;
and the third determining submodule is used for determining the sound type corresponding to the matched sample sound as the sound type of the current environment sound.
In one embodiment, the playback module includes:
the fourth determining submodule is used for determining the volume of the audio to be played currently by the earphone;
the audio mixing sub-module is used for performing weighted audio mixing processing on the current environment sound and the current audio to be played according to the volume of the current audio to be played to obtain a new audio to be played;
and the playing submodule is used for playing the new audio to be played.
According to a third aspect of the embodiments of the present disclosure, there is provided a sound playing control device of a headphone, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the above method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps in the above method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
this embodiment can be when the sound type of current environment sound includes predetermineeing the broadcast type, broadcast current environment sound, so, the user just can help the user separation to fall the sound that external unnecessary listened after wearing this earphone, only plays the environment sound that the user needs, avoids the user to leak important sound information in the environment because of the earphone separation, guarantees user safety, and convenience of customers uses.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a sound play control method of a headset according to an exemplary embodiment.
Fig. 2 is a block diagram illustrating an internal circuit configuration of a headset according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a sound play control method of a headset according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a sound play control apparatus of an earphone according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a sound play control apparatus of an earphone according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a sound play control apparatus of an earphone according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a sound play control apparatus of a headset according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a sound play control apparatus of a headphone according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a sound playing control method for a headphone according to an exemplary embodiment, where the sound playing control method for a headphone can be applied to a headphone as shown in fig. 1, and the method includes the following steps 101 and 103:
in step 101, a current ambient sound is collected.
In step 102, the sound type of the current ambient sound is determined.
In step 103, when the sound type of the current environmental sound includes a preset playing type, the current environmental sound is played.
The sound playing control method of the earphone in this embodiment may be applied to an earphone, which may be a wired earphone or a wireless earphone, and the earphone has a function of blocking external sound, and may be a physical method such as an ear wrapping type method or an ear plug type method, or may be a method of actively reducing noise, so as to block the external sound.
Here, the earphone may collect the current environmental sound from the outside in real time, and determine the sound type of the current environmental sound, where the sound type may be a sound type such as speaking sound, noise, car whistling sound, and the like.
Here, the sound types such as the automobile whistling sound and the specific voice information are external sounds required to be acquired by the user, so that the sound types can be prestored as preset playing types, when the earphone determines that the current environment sound comprises the preset playing types, the fact that the user needs to hear the external current environment sound is indicated, the earphone can play the environment sound at the moment, and therefore after the user wears the earphone, the user can be helped to block the sounds unnecessarily heard by the outside, and the environment sound required by the user is played.
This embodiment can be when the sound type of current environment sound includes predetermineeing the broadcast type, broadcast current environment sound, so, the user just can help the user separation to fall the sound that external unnecessary listened after wearing this earphone, acquires the external sound of specific type, avoids the user to leak important sound information in the environment because of the earphone separation, guarantees user safety, and convenience of customers uses.
In a possible implementation manner, the sound playing control method of the headset may further include step a1, and step 102 of the method may be further implemented as the following step a 2.
In step a1, it is determined whether the volume of the current ambient sound is greater than a preset threshold.
In step a2, when the volume of the current environmental sound is greater than a preset threshold, the sound type of the current environmental sound is determined.
Here, after the earphone collects the current environmental sound, the volume of the current environmental sound may be determined first. When the volume of the current external environment sound is smaller than or equal to a preset threshold value, the fact that the sounding body is far away from the user is indicated, and the situation is not critical; or the speech is not intended for the user and does not require the user's attention. For example, when the car is far away from the user, the volume of the whistling sound emitted by the car is small when the car is collected by the user's headphones, and the whistling sound of the car is far away from the user and does not need the attention of the user. At this time, the earphone does not need to play the current environmental sound, and the process of the method is ended.
Here, when the volume of the current environment sound outside is large, it indicates that the sounding body is close to the user, and the situation is critical; or the speech is intended for the user and needs the attention of the user. At this point, the headset will trigger steps 102 and 103.
The embodiment can determine the sound type of the current environment sound when the volume of the current environment sound is larger than a preset threshold value, so that the external unnecessary sound is prevented from triggering the starting process, and the resource waste of the earphone is reduced.
In a possible implementation manner, step a1 in the sound playing control method of the above-mentioned earphone can be implemented as the following step a 11.
In step a11, it is determined whether a VOX circuit is activated by sound detection, when the VOX circuit is activated, it is determined that the volume of the current environmental sound is greater than a preset threshold, when the VOX circuit is not activated, it is determined that the volume of the current environmental sound is less than or equal to the preset threshold, and when the volume of the current environmental sound is greater than the preset threshold, the VOX circuit is activated.
Here, some earphones may have a VOX (Voice over activated) circuit, for example, fig. 2 is a block diagram illustrating an internal circuit structure of an earphone according to an exemplary embodiment, and as shown in fig. 2, the earphone 2 is a bluetooth earphone and includes an MCU (Micro control Unit)20, a VOX circuit 21, a microphone 22, a speaker 23, a bluetooth module 24 and a power supply 25. The power supply 25 supplies power to each module in the headset 2, and the bluetooth module 24 can establish a bluetooth connection with the terminal and send the received information to the speaker 23 for playing or to the MCU 20 for processing through the bluetooth connection.
Here, the VOX circuit 21 may be activated when the volume of the collected sound exceeds a preset threshold, and this embodiment may utilize this function of the VOX circuit to implement the method provided by this embodiment. The microphone 22 may collect current environmental sound, and send the current environmental sound to the VOX circuit 21, when the VOX circuit 21 is activated, it is determined that the volume of the current environmental sound is greater than a preset threshold, and when the VOX circuit is not activated, it is determined that the volume of the current environmental sound is less than or equal to the preset threshold. Thus, when the outside is quiet, the VOX circuit 21 is not activated, the earphone is in a normal working state, and outside sound cannot enter the earphone; when the external environmental sound is greater than a preset threshold value at which the VOX circuit 21 is activated, the VOX circuit 21 is activated. The MCU 20 may acquire a state of the VOX circuit 21, determine a sound type of the current ambient sound when the MCU acquires that the state of the VOX circuit 21 is an activated state, and control the speaker 23 to play the current ambient sound when the sound type of the current ambient sound includes a preset play type.
The embodiment can determine whether the volume of the current environmental sound is larger than a preset threshold value by using the VOX circuit, thereby saving the cost of the earphone.
In a possible implementation manner, the step 102 in the sound playing control method of the earphone can be implemented as the following steps B1 and B2.
In step B1, the current environmental sound is compared with the pre-stored sample sounds corresponding to each sound type to obtain a sample sound matched with the current environmental sound.
In step B2, the sound type corresponding to the matched sample sound is determined as the sound type of the current environmental sound.
Here, sample sounds corresponding to a plurality of sound types can be recorded in advance in the MCU of the headset, the headset can perform characteristic comparison between the current environmental sound and the pre-stored sample sounds corresponding to each sound type, and the example can perform sound characteristic comparison using frequency components as sound characteristic information. The matching with the environmental sound mentioned here means that the similarity with the current environmental sound exceeds a preset threshold, and the sample sound with the similarity with the current environmental sound exceeding the preset threshold may be used as the sample sound matched with the environmental sound, and further, the sound type corresponding to the matched sample sound is determined as the sound type of the environmental sound.
In a possible implementation manner, step 103 in the sound playing control method of the above-mentioned earphone can be implemented as the following steps C1 to C3.
In step C1, the volume of the audio currently to be played by the headphones is determined.
In step C2, according to the volume of the current audio to be played, performing weighted mixing processing on the current environmental sound and the current audio to be played to obtain a new audio to be played.
In step C3, the new audio to be played is played.
Here, when the earphone plays the current environmental sound, the user needs to be able to hear the current environmental sound without being covered by the currently played audio and being ignored by the user, so the earphone can determine the volume of the current audio to be played by the earphone, and perform weighted audio mixing processing on the current environmental sound and the current audio to be played according to the volume of the current audio to be played, so that the current audio to be played does not cover the current environmental sound, and a new audio to be played is obtained; therefore, after the new audio to be played is played by the earphone, the user can hear the current audio to be played and the current environment sound, so that the user can not be influenced to hear the current audio, and the user can hear the current environment sound to avoid troubles and dangers.
It should be noted that the earphone may not play any audio currently, and at this time, the earphone may not perform mixing processing, but directly play the current ambient sound.
Here, there may be many types of sound types in the current ambient sound, and besides the preset playing type, there are many other sound types of sound, and in order for the user to clearly hear the sound belonging to the preset playing type, the earphone may play only the sound belonging to the preset playing type, instead of playing the entire ambient sound, when playing the current ambient sound.
According to the embodiment, the current environmental sound and the current audio to be played can be subjected to weighted mixing processing according to the volume of the current audio to be played, so as to obtain a new audio to be played; the new audio to be played is played, and the situation that the current environment sound is covered by the currently played audio is avoided, so that after the new audio to be played is played by the earphone, the user can hear the current audio to be played and the current environment sound, the user can not be influenced to hear the current audio, and the user can hear the current environment sound to avoid trouble and danger.
Fig. 3 is a flowchart illustrating a sound playing control method for a headphone according to an exemplary embodiment, as shown in fig. 3, including the following steps 301 and 307:
in step 301, a current ambient sound is collected.
In step 302, it is determined whether a sound detection trigger VOX circuit is activated, and when the VOX circuit is activated, it is determined that the volume of the current environmental sound is greater than a preset threshold.
In step 303, when the volume of the current environmental sound is greater than a preset threshold, performing feature comparison between the current environmental sound and sample sounds corresponding to pre-stored sound types to obtain a sample sound matched with the current environmental sound.
In step 304, the sound type corresponding to the matched sample sound is determined as the sound type of the current environmental sound.
In step 305, when the sound type of the current environmental sound includes a preset playing type, determining the volume of the audio currently to be played by the earphone.
In step 306, according to the volume of the current audio to be played, performing weighted audio mixing processing on the current environmental sound and the current audio to be played to obtain a new audio to be played;
in step 307, the new audio to be played is played.
Fig. 4 is a block diagram illustrating a sound play control apparatus of a headset, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 4, the sound playback control apparatus of the headphone includes:
an acquisition module 401, configured to acquire a current environmental sound;
a first determining module 402, configured to determine a sound type of the current environmental sound;
a playing module 403, configured to play the current environmental sound when the sound type of the current environmental sound includes a preset playing type.
In one embodiment, fig. 5 is a block diagram illustrating a sound playing control apparatus of a headset according to an exemplary embodiment, and as shown in fig. 5, the sound playing control apparatus of a headset disclosed above may be further configured to include a second determining module 404, and the first determining module 402 may be further configured to include a first determining sub-module 4021, where:
a second determining module 404, configured to determine whether the volume of the current environmental sound is greater than a preset threshold;
the first determining sub-module 4021 is configured to determine a sound type of the current environmental sound when the volume of the current environmental sound is greater than a preset threshold.
In one embodiment, fig. 6 is a block diagram illustrating a sound playing control apparatus of a headset according to an exemplary embodiment, and as shown in fig. 6, the sound playing control apparatus of a headset disclosed above may further configure the second determining module 404 to include a second determining sub-module 4041, where:
a second determining sub-module 4041, configured to determine whether a VOX circuit is activated by sound detection, determine that the volume of the current environmental sound is greater than a preset threshold when the VOX circuit is activated, determine that the volume of the current environmental sound is less than or equal to the preset threshold when the VOX circuit is not activated, and activate the VOX circuit when the volume of the current environmental sound is greater than the preset threshold.
In an embodiment, fig. 7 is a block diagram illustrating a sound playing control apparatus of a headset according to an exemplary embodiment, and as shown in fig. 7, the sound playing control apparatus of a headset disclosed above may further configure the first determining module 402 to include a comparing sub-module 4022 and a third determining sub-module 4023, where:
a comparison submodule 4022, configured to perform feature comparison on the current environmental sound and a sample sound corresponding to each pre-stored sound type, to obtain a sample sound matched with the current environmental sound;
the third determining sub-module 4023 is configured to determine a sound type corresponding to the matched sample sound as the sound type of the current environmental sound.
In an embodiment, fig. 8 is a block diagram of a sound playing control apparatus of a headphone according to an exemplary embodiment, and as shown in fig. 8, the sound playing control apparatus of a headphone disclosed above may further configure the playing module 403 to include a fourth determining sub-module 4031, a mixing sub-module 4032, and a playing sub-module 4033, where:
a fourth determining submodule 4031, configured to determine a volume of an audio currently to be played by the headset;
the sound mixing sub-module 4032 is configured to perform weighted sound mixing processing on the current environmental sound and the current audio to be played according to the volume of the current audio to be played, so as to obtain a new audio to be played;
and the playing sub-module 4033 is used for playing the new audio to be played.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
This embodiment also provides a sound playing control device of an earphone, including:
a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
collecting current environment sounds;
determining a sound type of the current environmental sound;
and when the sound type of the current environment sound comprises a preset playing type, playing the current environment sound.
In one embodiment, the processor may be further configured to:
determining whether the volume of the current environment sound is larger than a preset threshold value;
the determining the sound type of the current environmental sound comprises:
and when the volume of the current environment sound is larger than a preset threshold value, determining the sound type of the current environment sound.
In one embodiment, the processor may be further configured to:
the controlling the interphone to execute corresponding operation according to the direction information comprises the following steps:
and controlling the interphone to execute the operation corresponding to the included angle range in which the included angle is positioned according to the corresponding relation between the preset included angle range and the operation.
In one embodiment, the processor may be further configured to:
the determining whether the volume of the current environmental sound is greater than a preset threshold includes:
determining whether a VOX circuit triggered by sound detection is activated, determining that the volume of the current environmental sound is greater than a preset threshold when the VOX circuit is activated, determining that the volume of the current environmental sound is less than or equal to the preset threshold when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environmental sound is greater than the preset threshold.
In one embodiment, the processor may be further configured to:
the determining the sound type of the environmental sound comprises:
comparing the current environmental sound with the characteristics of the pre-stored sample sound corresponding to each sound type to obtain a sample sound matched with the current environmental sound;
and determining the sound type corresponding to the matched sample sound as the sound type of the current environment sound.
In one embodiment, the processor may be further configured to:
the playing the environmental sound comprises:
determining the volume of the audio to be played currently by the earphone;
according to the volume of the current audio to be played, carrying out weighted sound mixing processing on the current environment sound and the current audio to be played to obtain a new audio to be played;
and playing the new audio to be played.
In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, for example, the non-transitory computer-readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. When executed by a processor applied to a headset, the instructions in the storage medium enable the headset to perform the steps of the sound play control method of the headset, the method comprising:
collecting current environment sounds;
determining a sound type of the current environmental sound;
and when the sound type of the current environment sound comprises a preset playing type, playing the current environment sound.
In one embodiment, the method further comprises:
determining whether the volume of the current environment sound is larger than a preset threshold value;
the determining the sound type of the current environmental sound comprises:
and when the volume of the current environment sound is larger than a preset threshold value, determining the sound type of the current environment sound.
In one embodiment, the determining whether the volume of the current environmental sound is greater than a preset threshold includes:
determining whether a VOX circuit triggered by sound detection is activated, determining that the volume of the current environmental sound is greater than a preset threshold when the VOX circuit is activated, determining that the volume of the current environmental sound is less than or equal to the preset threshold when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environmental sound is greater than the preset threshold.
In one embodiment, the determining the sound type of the environmental sound includes:
comparing the current environmental sound with the characteristics of the pre-stored sample sound corresponding to each sound type to obtain a sample sound matched with the current environmental sound;
and determining the sound type corresponding to the matched sample sound as the sound type of the current environment sound.
In one embodiment, the playing the environmental sound comprises:
determining the volume of the audio to be played currently by the earphone;
according to the volume of the current audio to be played, carrying out weighted sound mixing processing on the current environment sound and the current audio to be played to obtain a new audio to be played;
and playing the new audio to be played.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A sound playing control method of an earphone is characterized by comprising the following steps:
collecting current environment sounds;
determining a sound type of the current environmental sound;
and when the sound type of the current environment sound comprises a preset playing type, playing the current environment sound.
2. The method of claim 1, further comprising:
determining whether the volume of the current environment sound is larger than a preset threshold value;
the determining the sound type of the current environmental sound comprises:
and when the volume of the current environment sound is larger than a preset threshold value, determining the sound type of the current environment sound.
3. The method of claim 2, wherein the determining whether the volume of the current ambient sound is greater than a preset threshold comprises:
determining whether a VOX circuit triggered by sound detection is activated, determining that the volume of the current environmental sound is greater than a preset threshold when the VOX circuit is activated, determining that the volume of the current environmental sound is less than or equal to the preset threshold when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environmental sound is greater than the preset threshold.
4. The method of claim 1, wherein the determining the sound type of the ambient sound comprises:
comparing the current environmental sound with the characteristics of the pre-stored sample sound corresponding to each sound type to obtain a sample sound matched with the current environmental sound;
and determining the sound type corresponding to the matched sample sound as the sound type of the current environment sound.
5. The method of claim 1, wherein the playing the ambient sound comprises:
determining the volume of the audio to be played currently by the earphone;
according to the volume of the current audio to be played, carrying out weighted sound mixing processing on the current environment sound and the current audio to be played to obtain a new audio to be played;
and playing the new audio to be played.
6. A sound playback control apparatus for an earphone, comprising:
the acquisition module is used for acquiring current environmental sounds;
a first determining module, configured to determine a sound type of the current environmental sound;
and the playing module is used for playing the current environment sound when the sound type of the current environment sound comprises a preset playing type.
7. The apparatus of claim 6, further comprising:
the second determining module is used for determining whether the volume of the current environment sound is larger than a preset threshold value;
the first determining module includes:
the first determining submodule is used for determining the sound type of the current environment sound when the volume of the current environment sound is larger than a preset threshold value.
8. The apparatus of claim 6, wherein the second determining module comprises:
the second determining submodule is used for determining whether a VOX circuit triggered by sound detection is activated or not, determining that the volume of the current environment sound is greater than a preset threshold value when the VOX circuit is activated, determining that the volume of the current environment sound is less than or equal to the preset threshold value when the VOX circuit is not activated, and activating the VOX circuit when the volume of the current environment sound is greater than the preset threshold value.
9. A sound playback control apparatus for an earphone, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 5.
10. A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 5.
CN202010260502.3A 2020-04-03 2020-04-03 Sound playing control method and device of earphone Pending CN111385701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010260502.3A CN111385701A (en) 2020-04-03 2020-04-03 Sound playing control method and device of earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010260502.3A CN111385701A (en) 2020-04-03 2020-04-03 Sound playing control method and device of earphone

Publications (1)

Publication Number Publication Date
CN111385701A true CN111385701A (en) 2020-07-07

Family

ID=71218984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010260502.3A Pending CN111385701A (en) 2020-04-03 2020-04-03 Sound playing control method and device of earphone

Country Status (1)

Country Link
CN (1) CN111385701A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300915A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Mobile terminal with music playback function
CN101840700A (en) * 2010-04-28 2010-09-22 宇龙计算机通信科技(深圳)有限公司 Voice recognition method based on mobile terminal and mobile terminal
CN110809219A (en) * 2019-11-26 2020-02-18 广州酷狗计算机科技有限公司 Method, device and equipment for playing audio and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300915A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Mobile terminal with music playback function
CN101840700A (en) * 2010-04-28 2010-09-22 宇龙计算机通信科技(深圳)有限公司 Voice recognition method based on mobile terminal and mobile terminal
CN110809219A (en) * 2019-11-26 2020-02-18 广州酷狗计算机科技有限公司 Method, device and equipment for playing audio and storage medium

Similar Documents

Publication Publication Date Title
US11710473B2 (en) Method and device for acute sound detection and reproduction
CN110602594A (en) Earphone device with specific environment sound reminding mode
US20120101819A1 (en) System and a method for providing sound signals
CN108551604B (en) Noise reduction method, noise reduction device and noise reduction earphone
CN106231088B (en) Voice call method, device and terminal
CN106170108B (en) Earphone device with decibel reminding mode
KR101647974B1 (en) Smart earphone, appliance and system having smart mixing module, and method for mixing external sound and internal audio
CN112822585B (en) Audio playing method, device and system of in-ear earphone
WO2008103925A1 (en) Method and device for sound detection and audio control
CN110896509A (en) Earphone wearing state determining method, electronic equipment control method and electronic equipment
CN110636402A (en) Earphone device with local call condition confirmation mode
CN107147795A (en) A kind of reminding method and mobile terminal
CN107613113A (en) A kind of headset mode control method, device and computer-readable recording medium
JP6268033B2 (en) Mobile device
CN111510822A (en) Sound control system, device, method and computer readable storage medium thereof
CN112911441A (en) Noise reduction method, apparatus, audio device, and computer-readable storage medium
US10966015B2 (en) Automatic keyword pass-through system
JP2008228198A (en) Apparatus and method for adjusting playback sound
CN111385701A (en) Sound playing control method and device of earphone
CN114710730A (en) Volume prompting method and device, earphone and storage medium
CN114071307A (en) Earphone volume adjusting method, device, equipment and medium
CN106856537B (en) Volume adjustment method and device
CN113507678B (en) Bluetooth answering method and device of hearing aid
US20220256278A1 (en) Automatic keyword pass-through system
US20240339101A1 (en) Ear-worn device and reproduction method

Legal Events

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

Application publication date: 20200707

RJ01 Rejection of invention patent application after publication