CN110996205A - Earphone control method, earphone and readable storage medium - Google Patents

Earphone control method, earphone and readable storage medium Download PDF

Info

Publication number
CN110996205A
CN110996205A CN201911211918.XA CN201911211918A CN110996205A CN 110996205 A CN110996205 A CN 110996205A CN 201911211918 A CN201911211918 A CN 201911211918A CN 110996205 A CN110996205 A CN 110996205A
Authority
CN
China
Prior art keywords
volume
audio signal
external audio
earphone
controlling
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
CN201911211918.XA
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.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN201911211918.XA priority Critical patent/CN110996205A/en
Priority to PCT/CN2019/129564 priority patent/WO2021103262A1/en
Publication of CN110996205A publication Critical patent/CN110996205A/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/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a control method of an earphone, which comprises the following steps: acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal; acquiring processing parameters corresponding to the characteristic information; and processing the external audio signal according to the processing parameter, and controlling the loudspeaker to output the processed external audio signal. The invention also discloses an earphone and a computer readable storage medium, which achieve the effect of improving the compatibility of the earphone to different use scenes.

Description

Earphone control method, earphone and readable storage medium
Technical Field
The invention relates to the technical field of electronic appliances, in particular to a control method of an earphone, the earphone and a computer readable storage medium.
Background
The earphone is a pair of conversion units which receive the electric signals sent by the media player or receiver and convert the electric signals into audible sound waves by using a loudspeaker close to the ear. With the development of electronic product production technology in recent years, earphones have become a common audio output device in people's daily life.
For the result of use of guarantee earphone, traditional earphone generally is provided with the function that gives sound insulation, reduces the interference that external noise brought the sound wave of earphone output. But when the user uses the headset in some specific occasions, it is necessary to receive the external sound waves at the same time. For example, when driving, the earphone needs to receive external sound waves to avoid potential safety hazards. Therefore, the traditional earphone which can only perform sound insulation processing, and the defect that the compatibility of the earphone to different use scenes is poor exists.
Disclosure of Invention
The invention mainly aims to provide a control method of an earphone, the earphone and a computer readable storage medium, aiming at achieving the effect of improving the compatibility of the earphone to different use scenes.
In order to achieve the above object, the present invention provides a method for controlling an earphone, including the steps of:
acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal;
acquiring processing parameters corresponding to the characteristic information;
and processing the external audio signal according to the processing parameter, and controlling the loudspeaker to output the processed external audio signal.
Optionally, the step of processing the external audio signal according to the processing parameter and controlling the speaker to output the processed external audio signal includes:
controlling an equalizer of the earphone to process the external audio signal according to the processing parameter;
controlling the loudspeaker to output the processed external audio signal
Optionally, the step of controlling the equalizer to process the external audio signal according to the processing parameter includes:
adjusting the operation parameters of the equalizer according to the processing parameters;
and taking the external audio signal as an input signal of the equalizer, and taking an output signal of the equalizer as a processed external audio signal, so as to perform full-band equalization processing on the external audio signal through the equalizer.
Optionally, the step of acquiring the processing parameter corresponding to the feature information includes:
inquiring the audio features of the target scene matched with the feature information;
and acquiring preset processing parameters associated with the audio features of the target scene as processing parameters corresponding to the feature information.
Optionally, the control method of the headset further includes:
and receiving target audio signals sent by other terminals, and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals.
Optionally, before the step of receiving a target audio signal sent by another terminal and controlling the speaker to simultaneously output the target audio signal and the processed external audio signal, the method further includes:
determining a first volume and a second volume, wherein the first volume is the output volume of the target audio signal, and the second volume is the output volume of the processed external audio signal;
the step of receiving target audio signals sent by other terminals and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals comprises the following steps:
receiving the target audio signal sent by the other terminal;
and controlling the loudspeaker to output the target audio signal according to the first volume, and outputting the processed external audio signal according to the second volume.
Optionally, the step of determining the first volume and the second volume includes:
receiving a first volume setting parameter sent by other terminals and/or acquiring a second volume setting parameter of the earphone;
determining the first volume according to the first volume setting parameter and/or the second volume setting parameter;
and determining the second volume according to the first volume, wherein the second volume is greater than or equal to the first volume.
Optionally, the step of determining the first volume and the second volume includes:
acquiring a second volume setting parameter of the earphone;
determining the second volume according to the second volume setting parameter;
and determining the first volume according to the second volume, wherein the second volume is greater than or equal to the first volume.
Optionally, before the step of acquiring the external audio signal received by the microphone and acquiring the characteristic information of the external audio signal, the method further includes:
and when the monitoring function is detected to be started, executing the steps of acquiring the external audio signal received by the microphone and acquiring the characteristic information of the external audio signal.
In addition, to achieve the above object, the present invention also provides a headset including: the control method comprises a microphone, a loudspeaker, a memory, a processor and a control program of the earphone, wherein the control program of the earphone is stored on the memory and can run on the processor, the microphone is used for receiving external audio signals, the loudspeaker is used for outputting audio signals, and the control program of the earphone realizes the steps of the control method of the earphone when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a control program of a headset, which when executed by a processor, implements the steps of the control method of the headset as described above.
According to the control method of the earphone, the earphone and the computer readable storage medium provided by the embodiment of the invention, the external audio signal received by the microphone is firstly acquired, the characteristic information of the external audio signal is acquired, then the processing parameter corresponding to the characteristic information is acquired, the external audio signal is processed according to the processing parameter, and the loudspeaker is controlled to output the processed external audio signal. The external audio signals can be received through the microphone, the corresponding processing parameters are determined according to the received external audio signals, and the external audio signals processed based on the processing parameters are broadcast, so that when a user uses the earphone, the external sound waves can be received through the earphone, and the sound waves corresponding to the external audio signals sent by the earphone are the sound waves which are processed by the earphone in advance based on the scene parameters, so that the effect of improving the compatibility of the earphone to different use scenes is achieved while the use effect of the earphone is not influenced.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a control method of an earphone according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
For the result of use of guarantee earphone, traditional earphone generally is provided with the function that gives sound insulation, reduces the interference that external noise brought the sound wave of earphone output. But when the user uses the headset in some specific occasions, it is necessary to receive the external sound waves at the same time. For example, when driving, the earphone needs to receive external sound waves to avoid potential safety hazards. Therefore, the traditional earphone which can only perform sound insulation processing, and the defect that the compatibility of the earphone to different use scenes is poor exists.
In order to solve the foregoing drawbacks, an embodiment of the present invention provides a control method for an earphone, and a computer-readable storage medium, where the control method for an earphone mainly includes the following steps:
acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal;
acquiring processing parameters corresponding to the characteristic information;
and processing the external audio signal according to the processing parameter, and controlling the loudspeaker to output the processed external audio signal.
The external audio signals can be received through the microphone, the corresponding processing parameters are determined according to the received external audio signals, and the external audio signals processed based on the processing parameters are broadcast, so that when a user uses the earphone, the external sound waves can be received through the earphone, and the sound waves corresponding to the external audio signals sent by the earphone are the sound waves which are processed by the earphone in advance based on the scene parameters, so that the effect of improving the compatibility of the earphone to different use scenes is achieved while the use effect of the earphone is not influenced.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be terminal equipment such as a smart phone.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as a keyboard, etc., and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a control program of the headset.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the processor 1001 may be configured to invoke a control program for the headset stored in the memory 1005 and perform the following operations:
acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal;
acquiring processing parameters corresponding to the characteristic information;
and processing the external audio signal according to the processing parameter, and controlling the loudspeaker to output the processed external audio signal.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
controlling an equalizer of the earphone to process the external audio signal according to the processing parameter;
and controlling the loudspeaker to output the processed external audio signal.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
adjusting the operation parameters of the equalizer according to the processing parameters;
and taking the external audio signal as an input signal of the equalizer, and taking an output signal of the equalizer as a processed external audio signal, so as to perform full-band equalization processing on the external audio signal through the equalizer.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
inquiring the audio features of the target scene matched with the feature information;
and acquiring preset processing parameters associated with the audio features of the target scene as processing parameters corresponding to the feature information.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
and receiving target audio signals sent by other terminals, and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
determining a first volume and a second volume, wherein the first volume is the output volume of the target audio signal, and the second volume is the output volume of the processed external audio signal;
the step of receiving target audio signals sent by other terminals and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals comprises the following steps:
receiving the target audio signal sent by the other terminal;
and controlling the loudspeaker to output the target audio signal according to the first volume, and outputting the processed external audio signal according to the second volume.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
receiving a first volume setting parameter sent by other terminals and/or acquiring a second volume setting parameter of the earphone;
determining the first volume according to the first volume setting parameter and/or the second volume setting parameter;
and determining the second volume according to the first volume, wherein the second volume is greater than or equal to the first volume.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
acquiring a second volume setting parameter of the earphone;
determining the second volume according to the second volume setting parameter;
and determining the first volume according to the second volume, wherein the second volume is greater than or equal to the first volume.
Further, the processor 1001 may call a control program of the headset stored in the memory 1005, and also perform the following operations:
and when the monitoring function is detected to be started, executing the steps of acquiring the external audio signal received by the microphone and acquiring the characteristic information of the external audio signal.
Referring to fig. 2, in an embodiment of the method for controlling a headset of the present invention, the method for controlling a headset includes the following steps:
step S10, acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal;
step S20, acquiring processing parameters corresponding to the characteristic information;
and step S30, processing the external audio signal according to the processing parameters, and controlling the loudspeaker to output the processed external audio signal.
In this embodiment, the earphone is provided with a microphone for receiving external sound waves, and a speaker for playing a source signal. The microphone can receive external sound waves in real time and convert the external sound waves into external audio signals. The external sound waves refer to other sound waves except the sound waves emitted by a loudspeaker of the earphone in the environment where the earphone is located.
When the microphone receives an external audio signal, the external audio signal received by the microphone is acquired, and the external audio signal is subjected to signal analysis to determine the characteristic information of the external audio signal.
In particular, the external audio signal may be a time domain signal or may be a frequency domain signal or other transform domain signal. When the types of the external audio signals are different, the manner of extracting the feature information of the external audio signals may also be different. Again, the present embodiment does not specifically limit the manner of extracting the feature information of the external audio signal. For example, when the external audio signal is a time-domain signal, the characteristic information includes multiple sub-characteristic information such as zero-crossing rate, short-time energy, short-time autocorrelation function, short-time average amplitude difference, spectrogram (fast fourier transform), short-time power spectral density, spectral entropy, fundamental frequency, and/or formant.
When extracting each sub-feature information of the external audio signal, the extracting may be performed based on different signal feature extraction algorithms, that is, based on the received external audio signal, one or more sub-feature information of the external audio signal may be respectively extracted as feature information corresponding to the external audio signal.
Further, when the feature information corresponding to the external audio signal is acquired, the corresponding processing parameter may be acquired based on the feature information.
Specifically, the earphone is further provided with a scene audio characteristic database, and when the characteristic information of the external audio signal is acquired, the target scene audio characteristic matched with the characteristic information of the external audio signal can be inquired in the scene audio characteristic database according to the characteristic information of the external audio signal. When the target scene audio features matched with the feature information of the external audio signals are inquired, the matching degree between the feature information of the external audio signals and each scene audio feature in the scene audio feature database can be respectively obtained, then the matching degree between the feature information of the external audio signals and each scene audio feature is sequenced, the scene audio feature with the highest matching degree with the feature information of the external audio signals in the scene audio feature database is determined according to the sequencing result, and the scene audio feature with the highest matching degree with the feature information of the external audio signals is used as the target scene audio feature.
It can be understood that, when the feature information includes a plurality of pieces of sub-feature information, in the process of calculating the matching degree between the feature information and any scene audio feature, the matching degree between each piece of sub-feature information may be calculated one by one as a sub-matching degree, and after a plurality of sub-matching degrees are obtained, the weighted matching degree between the plurality of sub-matching degrees may be used as the matching degree between the feature information and the scene audio feature, or the average matching degree between the plurality of matching degrees may be used as the matching degree between the feature information and the scene audio feature. Or otherwise determining the matching degree between the feature information and the scene audio feature based on a plurality of sub-matching degrees. Here, the present embodiment is not particularly limited.
After the target scene audio features corresponding to the feature information of the external audio signal are obtained, preset processing parameters associated with the target scene audio features can be obtained as processing parameters corresponding to the feature information. The preset processing parameters are preset numerical values which are stored in an earphone in a pre-associated mode with the audio features of the target scene.
Furthermore, the earphone is further provided with an equalizer, after the processing parameters are obtained, the equalizer can be controlled to process the external audio signals according to the processing parameters, and then the processed external audio signals are used as source signals of the loudspeaker to output the processed external audio signals.
Specifically, after the processing parameters are obtained, the operation parameters of the equalizer may be set according to the processing parameters, and then the external audio signal received by the microphone is used as the input signal of the equalizer, so as to perform full-band equalization processing on the missed audio signal received by the microphone through the equalizer. The output signal of the equalizer (namely the processed external audio signal) is used as a source signal of the loudspeaker to control the loudspeaker to emit sound waves, so that the purpose of outputting the processed external audio signal through the loudspeaker is achieved.
It can be understood that different scene audio features are associated with different processing parameters, and the processing parameters are processing parameters which are set in advance according to the sound wave features corresponding to the scene. After the external audio signal is equalized according to the processing parameter, the emphasis in the external audio signal can be more highlighted, and the interference factor in the voice is reduced. For example, when listening to music in a quiet environment, the whole frequency band to be monitored is turned up to notice the surrounding emergency; in a noisy environment, the full frequency band to be monitored is adjusted to the minimum, and the user can enjoy music safely; under the condition of driving, the external sound needs to be concerned, the tire noise or the wind noise is restrained, and the high-pass mode needs to be monitored and started.
Alternatively, before the step S10, the headset may first detect whether the listening function is turned on at the current time, and when the listening function is turned on, the steps S10 to S30 are performed. The external audio signal is not responded to, i.e. is not processed and is not played. The monitoring function can be started through a control arranged on the earphone, and can also be started through other modes.
In the technical scheme disclosed in this embodiment, an external audio signal received by a microphone is acquired first, feature information of the external audio signal is acquired, and then a processing parameter corresponding to the feature information is acquired, so that the external audio signal is processed according to the processing parameter, and the loudspeaker is controlled to output the processed external audio signal. The external audio signals can be received through the microphone, the corresponding processing parameters are determined according to the received external audio signals, and the external audio signals processed based on the processing parameters are broadcast, so that when a user uses the earphone, the external sound waves can be received through the earphone, and the sound waves corresponding to the external audio signals sent by the earphone are the sound waves which are processed by the earphone in advance based on the scene parameters, so that the effect of improving the compatibility of the earphone to different use scenes is achieved while the use effect of the earphone is not influenced.
Optionally, referring to fig. 3, based on the foregoing embodiment, in another embodiment, the method for controlling an earphone further includes the following steps:
and step S40, receiving target audio signals sent by other terminals, and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals.
It should be noted that fig. 3 shows a step execution flow of an alternative embodiment of the present invention, and is not intended to limit the present invention, and step S40 is only executed after step S30.
In this embodiment, the headset is further provided with a connection module, which may comprise a wired connection and/or a wireless communication component. When the wired connector is connected with other terminals and/or the wireless communication assembly is connected with other terminals, the earphone can receive target audio signals sent by other terminals. For example, an audio signal that may be a multimedia file, etc.
When the target audio signal is received by the earphone, the target audio signal and the processed external audio signal can be simultaneously used as source signals of the loudspeaker, so that the loudspeaker is controlled to simultaneously output the target audio signal and the processed external audio signal.
Optionally, before executing the step S40, a first volume and a second volume may be determined, where the first volume is an output volume of the target audio signal, and the second volume is an output volume of the processed external audio signal. And then controlling the loudspeaker to output the target audio signal according to the first volume and outputting the processed external audio signal according to the second volume.
Specifically, a volume adjusting assembly is arranged on the earphone, wherein the volume adjusting assembly comprises a volume adjusting control. The user can adjust the playing volume of the earphone by triggering the volume adjusting control. And/or the headset may also receive volume setting parameters sent by other terminals.
It will be appreciated that the volume adjustment control may be provided as a physical button or a physical knob. The push type entity key can be triggered by pressing, the sliding type entity key can be triggered by sliding, or the knob can be triggered by rotating. The volume adjustment control can also be set as a virtual touch button and can be triggered by touch operation. The volume adjusting control can also be set to be a volume adjusting control controlled by voice or gestures, and the like.
Optionally, the earphone may obtain a first volume setting parameter sent by the other terminal, and/or obtain a second volume setting parameter set by the user through the volume adjusting device. The first volume is then determined from the first volume setting parameter and/or the second volume setting parameter. Then, after the first volume is determined, a second volume is determined according to the first volume. When the second volume is determined according to the first volume, the volume increase parameter may be acquired first. The volume increase parameter may be a proportional value, so that the adjusted first volume may be used as the second volume after the first volume is adjusted according to the proportion. Or the volume increase parameter may be a fixed value, so that the first volume may be adjusted according to the fixed value, and the adjusted first volume may be taken as the second volume.
For example, after determining the first volume a according to the first volume setting parameter and/or the second volume setting parameter, the increase parameter m% may be obtained, and then Am% may be used as the second volume. Or acquiring a growth parameter n and then taking A + n as the second volume.
It is to be understood that, in order to make the second volume greater than or equal to the first volume, therefore, the volume increase parameter m% may be set to be greater than or equal to 100%, or the volume increase parameter n may be set to be greater than or equal to 0.
Optionally, when the first volume and the second volume are determined, the set volume of the earphone may be determined according to a second volume setting parameter set by the user, and the set volume of the earphone is used as the second volume. The first volume is then determined based on the second volume.
When the first volume is determined according to the second volume, the volume attenuation parameter may be obtained first, and then the first volume is determined according to the volume attenuation parameter and the second volume.
Illustratively, when the second volume is B, the volume attenuation parameter x% or y may be acquired, and then Bx% or B-y may be taken as the first volume. It is understood that, in order to make the second volume greater than or equal to the first volume, the volume adjustment parameter x% may be set to be less than or equal to 100%, or the volume adjustment parameter y may be set to be greater than or equal to 0.
In the technical scheme disclosed in this embodiment, the earphone can receive a target audio signal sent by another terminal, and control the speaker to simultaneously output the target audio signal and the processed external audio signal, so that the earphone does not affect the normal output of the target audio signal when outputting the target audio signal. Thereby improving headset compatibility.
In addition, an embodiment of the present invention further provides an earphone, where the earphone includes a memory, a processor, and a control program of the earphone stored on the memory and executable on the processor, and when the control program of the earphone is executed by the processor, the steps of the control method of the earphone described in the above embodiments are implemented.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a control program of a headset is stored, and when the control program of the headset is executed by a processor, the steps of the control method of the headset according to the above embodiments are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g. a headset, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A control method of an earphone is characterized in that the earphone comprises a microphone and a loudspeaker, and the control method of the earphone comprises the following steps:
acquiring an external audio signal received by the microphone, and acquiring characteristic information of the external audio signal;
acquiring processing parameters corresponding to the characteristic information;
and processing the external audio signal according to the processing parameter, and controlling the loudspeaker to output the processed external audio signal.
2. The method as claimed in claim 1, wherein the step of processing the external audio signal according to the processing parameter and controlling the speaker to output the processed external audio signal comprises:
controlling an equalizer of the earphone to process the external audio signal according to the processing parameter;
and controlling the loudspeaker to output the processed external audio signal.
3. The headphone control method according to claim 2, wherein the step of controlling the equalizer to process the external audio signal according to the processing parameter includes:
adjusting the operation parameters of the equalizer according to the processing parameters;
and taking the external audio signal as an input signal of the equalizer, and taking an output signal of the equalizer as a processed external audio signal, so as to perform full-band equalization processing on the external audio signal through the equalizer.
4. The method for controlling the earphone according to claim 1, wherein the step of obtaining the processing parameter corresponding to the feature information comprises:
inquiring the audio features of the target scene matched with the feature information;
and acquiring preset processing parameters associated with the audio features of the target scene as processing parameters corresponding to the feature information.
5. The control method of an earphone according to claim 1, further comprising:
and receiving target audio signals sent by other terminals, and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals.
6. The method for controlling an earphone according to claim 5, wherein before the step of receiving a target audio signal sent by another terminal and controlling the speaker to simultaneously output the target audio signal and the processed external audio signal, the method further comprises:
determining a first volume and a second volume, wherein the first volume is the output volume of the target audio signal, and the second volume is the output volume of the processed external audio signal;
the step of receiving target audio signals sent by other terminals and controlling the loudspeaker to simultaneously output the target audio signals and the processed external audio signals comprises the following steps:
receiving the target audio signal sent by the other terminal;
and controlling the loudspeaker to output the target audio signal according to the first volume, and outputting the processed external audio signal according to the second volume.
7. The method of claim 6, wherein the step of determining the first volume and the second volume comprises:
receiving a first volume setting parameter sent by other terminals and/or acquiring a second volume setting parameter of the earphone;
determining the first volume according to the first volume setting parameter and/or the second volume setting parameter;
and determining the second volume according to the first volume, wherein the second volume is greater than or equal to the first volume.
8. The method of claim 6, wherein the step of determining the first volume and the second volume comprises:
acquiring a second volume setting parameter of the earphone;
determining the second volume according to the second volume setting parameter;
and determining the first volume according to the second volume, wherein the second volume is greater than or equal to the first volume.
9. The method for controlling an earphone according to claim 1, wherein the step of acquiring the external audio signal received by the microphone and acquiring the characteristic information of the external audio signal is preceded by the step of:
and when the monitoring function is detected to be started, executing the steps of acquiring the external audio signal received by the microphone and acquiring the characteristic information of the external audio signal.
10. An earphone, characterized in that the earphone comprises: microphone for receiving an external audio signal, loudspeaker for outputting an audio signal, memory, processor and control program for a headset stored on the memory and executable on the processor, which control program for a headset when executed by the processor implements the steps of the method for controlling a headset according to one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of a headset, which when executed by a processor implements the steps of the control method of a headset according to any one of claims 1 to 9.
CN201911211918.XA 2019-11-28 2019-11-28 Earphone control method, earphone and readable storage medium Pending CN110996205A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911211918.XA CN110996205A (en) 2019-11-28 2019-11-28 Earphone control method, earphone and readable storage medium
PCT/CN2019/129564 WO2021103262A1 (en) 2019-11-28 2019-12-28 Earphone control method, earphone and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911211918.XA CN110996205A (en) 2019-11-28 2019-11-28 Earphone control method, earphone and readable storage medium

Publications (1)

Publication Number Publication Date
CN110996205A true CN110996205A (en) 2020-04-10

Family

ID=70089000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911211918.XA Pending CN110996205A (en) 2019-11-28 2019-11-28 Earphone control method, earphone and readable storage medium

Country Status (2)

Country Link
CN (1) CN110996205A (en)
WO (1) WO2021103262A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698602A (en) * 2020-06-19 2020-09-22 青岛歌尔智能传感器有限公司 Earphone, earphone control method and device and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071626A (en) * 2017-06-19 2017-08-18 深圳市泰衡诺科技有限公司上海分公司 Equalizer adaptation regulating system, method and earphone
CN107533839A (en) * 2015-12-17 2018-01-02 华为技术有限公司 A kind of processing method and equipment to surrounding environment sound
CN108540895A (en) * 2018-07-17 2018-09-14 会听声学科技(北京)有限公司 Intelligent equalization device design method and noise cancelling headphone with intelligent equalization device
CN108847208A (en) * 2018-05-04 2018-11-20 歌尔科技有限公司 A kind of noise reduction process method, apparatus and earphone
CN108900943A (en) * 2018-07-24 2018-11-27 四川长虹电器股份有限公司 A kind of scene adaptive active denoising method and earphone
CN109686367A (en) * 2018-12-17 2019-04-26 科大讯飞股份有限公司 A kind of earphone noise-reduction method, device, equipment and readable storage medium storing program for executing
CN109714663A (en) * 2018-12-21 2019-05-03 歌尔科技有限公司 A kind of control method of earphone, earphone and storage medium
CN110049403A (en) * 2018-01-17 2019-07-23 北京小鸟听听科技有限公司 A kind of adaptive audio control device and method based on scene Recognition
US20190251946A1 (en) * 2006-11-14 2019-08-15 Sony Corporation Noise reducing device, noise reducing method, noise reducing program, and noise reducing audio outputting device
CN110475170A (en) * 2019-07-10 2019-11-19 深圳壹账通智能科技有限公司 Control method, device, mobile terminal and the storage medium of earphone broadcast state

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140314242A1 (en) * 2013-04-19 2014-10-23 Plantronics, Inc. Ambient Sound Enablement for Headsets
GB201719041D0 (en) * 2017-10-10 2018-01-03 Cirrus Logic Int Semiconductor Ltd Dynamic on ear headset detection
CN109089184A (en) * 2018-03-28 2018-12-25 广州市神火科技有限公司 A kind of wear-type pickup noise reduction communication earphone
CN108521621B (en) * 2018-03-30 2020-01-10 Oppo广东移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium
CN108540661A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190251946A1 (en) * 2006-11-14 2019-08-15 Sony Corporation Noise reducing device, noise reducing method, noise reducing program, and noise reducing audio outputting device
CN107533839A (en) * 2015-12-17 2018-01-02 华为技术有限公司 A kind of processing method and equipment to surrounding environment sound
CN107071626A (en) * 2017-06-19 2017-08-18 深圳市泰衡诺科技有限公司上海分公司 Equalizer adaptation regulating system, method and earphone
CN110049403A (en) * 2018-01-17 2019-07-23 北京小鸟听听科技有限公司 A kind of adaptive audio control device and method based on scene Recognition
CN108847208A (en) * 2018-05-04 2018-11-20 歌尔科技有限公司 A kind of noise reduction process method, apparatus and earphone
CN108540895A (en) * 2018-07-17 2018-09-14 会听声学科技(北京)有限公司 Intelligent equalization device design method and noise cancelling headphone with intelligent equalization device
CN108900943A (en) * 2018-07-24 2018-11-27 四川长虹电器股份有限公司 A kind of scene adaptive active denoising method and earphone
CN109686367A (en) * 2018-12-17 2019-04-26 科大讯飞股份有限公司 A kind of earphone noise-reduction method, device, equipment and readable storage medium storing program for executing
CN109714663A (en) * 2018-12-21 2019-05-03 歌尔科技有限公司 A kind of control method of earphone, earphone and storage medium
CN110475170A (en) * 2019-07-10 2019-11-19 深圳壹账通智能科技有限公司 Control method, device, mobile terminal and the storage medium of earphone broadcast state

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698602A (en) * 2020-06-19 2020-09-22 青岛歌尔智能传感器有限公司 Earphone, earphone control method and device and readable storage medium

Also Published As

Publication number Publication date
WO2021103262A1 (en) 2021-06-03

Similar Documents

Publication Publication Date Title
US10466957B2 (en) Active acoustic filter with automatic selection of filter parameters based on ambient sound
CN102016994B (en) An apparatus for processing an audio signal and method thereof
US10733970B2 (en) Noise control method and device
CN108365827B (en) Band compression with dynamic threshold
CN107995360B (en) Call processing method and related product
JP2017538341A (en) Volume control method, system, device and program
CN107948869B (en) Audio processing method, audio processing device, audio system, and storage medium
CN105491495B (en) Deterministic sequence based feedback estimation
CN113362839B (en) Audio data processing method, device, computer equipment and storage medium
KR20190012003A (en) Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics
CN110931019B (en) Public security voice data acquisition method, device, equipment and computer storage medium
EP2560413A1 (en) Audio device and audio producing method
CN102860047B (en) The control method of hearing aids and hearing aids
CN115348507A (en) Impulse noise suppression method, system, readable storage medium and computer equipment
CN116980804B (en) Volume adjustment method, device, equipment and readable storage medium
CN112312258B (en) Intelligent earphone with hearing protection and hearing compensation
CN107948854B (en) Operation audio generation method and device, terminal and computer readable medium
CN110996205A (en) Earphone control method, earphone and readable storage medium
CN110022514B (en) Method, device and system for reducing noise of audio signal and computer storage medium
CN111988702B (en) Audio signal processing method, electronic device and storage medium
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
CN108932953B (en) Audio equalization function determination method, audio equalization method and equipment
KR20120016709A (en) Apparatus and method for improving the voice quality in portable communication system
CN106328159B (en) Audio stream processing method and device
CN110366068B (en) Audio adjusting method, electronic equipment and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination