CN108391205B - Left and right channel switching method and device, readable storage medium and terminal - Google Patents

Left and right channel switching method and device, readable storage medium and terminal Download PDF

Info

Publication number
CN108391205B
CN108391205B CN201810276605.1A CN201810276605A CN108391205B CN 108391205 B CN108391205 B CN 108391205B CN 201810276605 A CN201810276605 A CN 201810276605A CN 108391205 B CN108391205 B CN 108391205B
Authority
CN
China
Prior art keywords
ear canal
earphone
information
user
acoustic echo
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.)
Expired - Fee Related
Application number
CN201810276605.1A
Other languages
Chinese (zh)
Other versions
CN108391205A (en
Inventor
严笔祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810276605.1A priority Critical patent/CN108391205B/en
Publication of CN108391205A publication Critical patent/CN108391205A/en
Application granted granted Critical
Publication of CN108391205B publication Critical patent/CN108391205B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/082Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

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

Abstract

The application relates to a left and right channel switching method and device, a computer readable storage medium and a terminal. The method comprises the following steps: acquiring an acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user according to an audio signal currently played by the earphone; determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information; according to the ear canal information, the terminal controls the input to the left channel audio signal and the right channel audio signal of the earphone, the terminal can be controlled to automatically switch the left channel audio signal and the right channel audio signal, a user does not need to manually adjust left and right earphones of the earphone, the operation burden of the user is reduced, and better audio-visual experience is provided.

Description

Left and right channel switching method and device, readable storage medium and terminal
Technical Field
The present application relates to the field of audio technologies, and in particular, to a method and an apparatus for switching between left and right channels, a computer-readable storage medium, and a terminal.
Background
With the development of communication technology, terminals have been incorporated into the lives of people, and the lives of people are greatly improved. More and more people like to listen to music and watch videos by using the terminal, so in order to ensure good listening experience and avoid causing sound interference to other people, the user generally adopts the earphone to listen to the audio. In order to give the user a better audio-visual experience, the audio signal is split into a left channel audio signal and a right channel audio signal. However, when listening to audio, the left and right earphones are worn reversely, so that the stereoscopic effect and the sense of presence heard by the user are deteriorated, and the user can only manually exchange the left and right earphones to enable the left and right channel audio signals to be in a normal state, so that the operation is complicated and time-consuming, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the application provides a left and right channel switching method and device, a computer readable storage medium and a terminal, which can automatically switch left and right channel audio signals, reduce the operation burden of a user and improve the user experience.
A left-right channel switching method, comprising:
acquiring an acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user according to an audio signal currently played by the earphone;
determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information;
and controlling a left channel audio signal and a right channel audio signal input to the earphone according to the ear canal information.
A left and right sound channel switching device is applied to a terminal, the terminal is connected with an earphone, and the device comprises:
the acquisition module is used for acquiring acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user according to the audio signal currently played by the earphone;
the determining module is used for determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information;
and the control module is used for controlling the left channel audio signal and the right channel audio signal which are input to the earphone according to the ear canal information.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the left and right channel switching method in the various embodiments of the present application.
A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the left and right channel switching method in the embodiments of the present application when executing the computer program.
An earphone comprising an electroacoustic transducer, a memory, a processor and a computer program stored on and executable on the memory, the processor being electrically connected to the electroacoustic transducer and the memory, the processor implementing the steps of the audio signal processing method in the various embodiments of the present application when executing the computer program.
According to the method and the device for switching the left channel and the right channel, the computer readable storage medium, the terminal and the earphone, acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user is obtained according to the audio signal currently played by the earphone; determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information; according to the ear canal information, the terminal controls the input to the left channel audio signal and the right channel audio signal of the earphone, the terminal can be controlled to automatically switch the left channel audio signal and the right channel audio signal, a user does not need to manually adjust left and right earphones of the earphone, the operation burden of the user is reduced, and better audio-visual experience is provided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary application environment of a left/right channel switching method;
fig. 2 is a schematic diagram of the internal structure of the terminal in one embodiment;
FIG. 3 is a flow diagram of a method for left and right channel switching in one embodiment;
FIG. 4 is a flow diagram of determining an acoustic echo impulse response associated with a current position of the headset from a currently playing audio signal in one embodiment;
FIG. 5 is a flowchart of a left-right channel switching method in another embodiment;
FIG. 6 is a flow diagram of determining ear canal information worn by the earpiece from the acoustic echo impulse response in one embodiment;
FIG. 7 is a flowchart of a left-right channel switching method in yet another embodiment;
FIG. 8 is a flowchart of a left and right channel switching method in yet another embodiment;
FIG. 9 is a block diagram showing the structure of a left/right channel switching device according to an embodiment;
fig. 10 is a block diagram of a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first acquisition unit may be referred to as a second acquisition unit, and similarly, a second acquisition unit may be referred to as a first acquisition unit, without departing from the scope of the present invention. The first acquisition unit and the second acquisition unit are both acquisition units, but are not the same acquisition unit.
Fig. 1 is a schematic diagram of an application environment of an audio signal processing method according to an embodiment. As shown in fig. 1, the application environment includes a terminal 110 and a headset 120 communicating with the terminal 110.
Among them, the type of the headset 120 may be an in-ear wired/wireless headset, an earbud wired/wireless headset, or the like. The terminal 110 and the headset 120 can communicate in a wired or wireless manner to realize data transmission.
The earpiece 120 comprises a first earpiece and a second earpiece, the first earpiece/speaker, the second earpiece/speaker of the earpiece 120 each being located in the ear canal (ear canal) of the user. In order to ensure that a user of the earphone can hear a stereo effect with a good sound effect, a left channel audio signal is sent to a first earphone in a default state, wherein the first earphone is positioned in a left ear canal of the user; the right channel audio signal is transmitted to a second earpiece, which is positioned in a left ear canal of the user.
Fig. 2 is a schematic diagram of an internal structure of the terminal in one embodiment. The terminal 110 includes a processor, a memory, and a display screen connected by a system bus. Wherein the processor is configured to provide computing and control capabilities to support the operation of the entire terminal 110. The memory is used for storing data, programs, and/or instruction codes, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to realize the audio signal processing method suitable for the terminal 110 provided in the embodiment of the present application. The Memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access-Memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a database, and a computer program. The database stores data related to implementing an audio signal processing method provided in the above embodiments. The computer program can be executed by a processor for implementing an audio signal processing method provided by various embodiments of the present application. The internal memory provides a cached operating environment for the operating system, databases, and computer programs in the non-volatile storage medium. The display screen may be a touch screen, such as a capacitive screen or an electronic screen, for displaying interface information of the terminal 110, and includes a screen-on state and a screen-off state. The terminal 110 may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or the like.
Those skilled in the art will appreciate that the configuration shown in fig. 2 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal 110 to which the present application is applied, and that a particular terminal 110 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
FIG. 3 is a flow diagram of a method for left and right channel switching in one embodiment. The left and right channel switching method in this embodiment is described by taking the terminal or the headset in fig. 1 as an example. As shown in fig. 3, the left and right channel switching method includes steps 302 to 306.
Step 302: and acquiring an acoustic echo impulse response associated with the current position of the earphone according to the audio signal currently played by the earphone.
When a user uses an earbud-type or in-ear-type earphone to make a call, listen to music, and play games, it is necessary to place an earpiece of the earphone in the ear canal of the user. When the audio signal is played at present, the audio signal can form an acoustic echo signal through the reflection and the vibration of the ear canal, and according to the played audio signal and the collected acoustic echo signal, an acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user can be obtained, wherein the acoustic echo impulse response is used for representing the space characteristic of the ear canal where the earphone is located at present and can also be understood as the ear print information of the ear canal where the ear canal is located at present. While also characterizing the position information of the earpiece at different positions in the user's ear canal with different acoustic echo impulse responses.
It can be understood that the audio signal may be a multimedia file currently being played, a voice signal of the user or a contact during a call, or an audio signal outside the normal range of human hearing (audio signal higher than 20 KHz), which is not heard by the user even if the earphone is located in the ear of the user.
Step 304: and determining the ear canal information worn by the earphone according to the acoustic echo impulse response.
The ear canal information includes left ear canal information and right ear canal information, wherein the ear canal information can also be understood as ear print information of the user. Because the ear print information of each user ear has uniqueness, and the ear print information of the left and right ears also has uniqueness, the earphone corresponding to the ear print information can be determined to be worn in the left ear canal or the right ear canal of the user according to the ear print information. Specifically, the ear print information of the user can be obtained according to the obtained acoustic echo impulse response, and then it can be known whether the earphone corresponding to the ear print information is specifically worn in the left ear canal of the user or worn in the right ear canal for use.
Step 306: and controlling a left channel audio signal and a right channel audio signal input to the earphone according to the ear canal information.
Specifically, according to the ear canal information, it can be determined whether the wearing positions of the first earpiece and the second earpiece of the earphone are the left ear canal or the right ear canal of the user. Meanwhile, configuring the left channel audio signal for an earphone worn in the left ear canal of the user; configuring the right channel audio signal for an earpiece worn in a right ear canal of a user.
The terminal controls the left channel audio signal and the right channel audio signal input to the earphone, wherein the control mode can be realized by a hardware circuit or a software method. For example, the left channel audio signal and the right channel audio signal may be both connected to each earphone via corresponding switches, and the switching of the transmission paths of the left channel signal and the right channel signal may be achieved by controlling the states of the switches. For example, if the audio signal of the headphone is an I2S (Inter-IC Sound) digital audio signal, the I2S format audio signal mainly includes a Serial Clock (SCLK) signal corresponding to each bit of data of the digital audio, a frame clock (LRCK) signal for switching left and right channel data, and an audio data line data (SDATA) signal expressed in series by two's complement. As technology has evolved, under the unified I2S interface, a number of different data formats have emerged, including: left aligned, I2S format, right aligned. For the left/right justification format: when the frame clock signal is at a high level "1", it indicates that data of a left channel (left channel audio signal) is being transmitted, and when the frame clock signal is at a low level "0", it indicates that data of a right channel (right channel audio signal) is being transmitted; for the standard I2S format: when the frame clock signal is at a low level "0", it indicates that the left channel data is being transmitted, and when the frame clock signal is at a high level "1", it indicates that the right channel data is being transmitted. Then, the channel switching process may be performed on the digital audio signal of the I2S format by performing an inversion process on the frame clock signal according to the data format of the I2S interface.
Further, only the audio signal in the I2S format during the wearing process may be processed. Every time when the headphone is removed, the digital audio signal in the I2S format is restored to the original state, i.e., the frame clock signal is stopped from being inverted.
According to the left and right channel switching method, an acoustic echo impulse response associated with the current position of the earphone is obtained according to the audio signal currently played by the earphone; determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information; according to the ear canal information, the terminal controls the input to the left channel audio signal and the right channel audio signal of the earphone, the terminal can be controlled to automatically switch the left channel audio signal and the right channel audio signal, a user does not need to manually adjust left and right earphones of the earphone, the operation burden of the user is reduced, and better audio-visual experience is provided.
As shown in fig. 4, in one embodiment, the determining an acoustic echo impulse response associated with the current position of the headset according to the currently played audio signal includes:
step 402: acquiring the audio signal played by the earphone;
the audio signal played by the earphone can be controlled by the terminal connected with the earphone, and the terminal outputs the corresponding audio signal by using the earphone and acquires the audio signal currently played by the earphone. The audio signal may be music or voice signal emitted by multimedia files played by application programs (music, video, games, conversation, etc.), or sound signal outside the hearing range of the user, or may be voice signal of the user or contact person during the conversation.
Step 404: recording an acoustic echo signal formed by the sound signal reflected and vibrated by the auditory canal;
the earphone includes an electroacoustic transducer, which may be an earpiece (speaker/horn), to convert an electrical signal corresponding to an audio signal into a sound wave signal that may be heard by a user. Meanwhile, the electroacoustic transducer is very sensitive to sound waves in the auditory canal (ear canal) of a user, can cause the vibration of a cone of a loudspeaker, and drives a coil connected with the cone to make a motion of cutting magnetic lines of force in a magnetic field of a permanent magnet, so that current changing along with the change of the sound waves is generated (the phenomenon of generating the current is called as an electromagnetic induction phenomenon in physics), and meanwhile, electromotive force of audio frequency is output at two ends of the coil. Thus, the electroacoustic transducer may also record acoustic echo signals generated by the reflection and vibration of the audio signal from the ear canal. That is, the electroacoustic transducer may be used as a microphone.
Electroacoustic transducers, although they differ in their type, function or operating state, comprise two basic components, namely an electrical system and a mechanical vibration system, which are interconnected by some physical effect inside the electroacoustic transducer to accomplish the conversion of energy.
The acoustic echo signal formed by the audio signal reflected and vibrated by the ear canal is recorded by the electroacoustic transducer playing the audio signal, and the acoustic echo signal is collected without additionally arranging a microphone in the earphone, so that the cost is saved, and the internal structure of the earphone is simplified.
Alternatively, an acoustic echo signal formed by the reflection and vibration of the audio signal via the ear canal may also be recorded by a microphone arranged in the earphone. Wherein the microphone is arranged at the side of the earphone that is in contact with the ear canal of the user, i.e. the microphone is arranged at the earphone housing where the speaker through hole is arranged, when the earphone is worn in the ear of the user.
Step 406: and determining an acoustic echo impulse response associated with the current position of the earphone according to the audio signal and the acoustic echo signal.
The audio signal played by the earphone receiver is s (t), the acoustic echo signal collected by the electroacoustic transducer is r (t), and the echo impulse response associated with the current position of the earphone is represented by w (t), so that the following expression can be obtained:
r(t)=s(t)*w(t) (1)
where w (t) is a parameter reflecting the coupling between the earpiece and the user's ear canal and is used to characterize the spatial acoustic characteristics of the earpiece when placed in the user's ear canal. In formula (1), the audio signal is s (t) and the acoustic echo signal is r (t) can be obtained by monitoring an audio circuit provided in the earphone or the terminal, and then an echo impulse response w (t) associated with the current position of the earphone in the ear canal of the user can be obtained. Here, the acoustic echo impulse response w (t) may be understood as a spatial acoustic feature of the ear canal of the user where the earphone is currently located, that is, an ear print feature of each user. At the same time, different acoustic echo impulse responses w (t) may also be used to characterize different positions of the earpiece inside the user's ear.
Furthermore, a noise factor e (t) may be added to the above formula (1), where the noise factor e (t) includes ambient noise and circuit noise; the environmental noise is the environmental noise generated in the process of recording the acoustic echo signal when the audio signal s (t) is not played, and the environmental noise can be collected by an additional microphone; circuit noise is noise caused in a circuit built in the headphone, and is an inherent property of the headphone. Adding the noise factor e (t) as a known parameter, and considering the noise factor e (t), the formula (1) can be revised as:
r(t)=s(t)*w(t)+e(t) (2)
in the formula (2), the newly added noise factor e (t), the audio signal s (t), and the acoustic echo signal r (t) are known parameters, and the echo impulse response w (t) associated with the current position of the earphone can be obtained.
As shown in fig. 5, in an embodiment, before determining the ear canal information worn by the earphone according to the acoustic echo impulse response, the method further includes:
step 502: and receiving an input operation of a user to start user identity information registration.
Since the acoustic echo response may characterize the user's ear print information, an acoustic signature based on the acoustic echo response may be used to characterize the user's identity information. Before the left and right channel switching method is executed, an input operation of a user needs to be received to start user identity information registration. Based on the earphone and the terminal connected with the earphone, the user can be prompted whether to register the user identity information on the display interface of the terminal, the user can respond to the prompt information according to the requirement of the user, and when the user executes the input operation of the user identity information registration, the program of the user identity information registration is started.
It should be noted that the input operation may be an input operation such as touch, drag, slide, voice, gesture, and the like, and the specific form of the input operation by the user is not further limited herein.
Step 504: displaying the operation guide and generating a plurality of preset acoustic echo pulses associated with the current position of the earphone.
When the user identity information registration is started, the terminal displays a reminding interface for reminding the user how to finish the operation process of the registration on a display interface of the terminal according to the registration request, and provides a guidance process of executing steps required by the user. Such as placing the earpiece in the ear canal of the user, adjusting the position of the earpiece in the ear canal, confirming hearing of a clear audio signal, etc.
According to the operation flow of the prompt, when the user places the earphone of the earphone at the position which is considered to be most comfortable by the user's left ear canal, the position is defined as the preset position information. At the moment, a preset audio signal is played, a left ear echo signal of the preset audio signal reflected back through the auditory canal is recorded by the electroacoustic transducer, and the preset acoustic echo impulse response of the left ear at the preset position can be obtained according to the preset audio signal and the left ear echo signal. Accordingly, the position of the earpiece in the left ear canal may be adjusted to obtain a set of (1-10) preset acoustic echo impulse responses of the left ear canal, which correspond to the left ear canal information of the user.
Meanwhile, an earphone of the earphone can be placed in the right ear canal of the user, the position of the earphone in the right ear canal is adjusted, a group of (1-10) preset acoustic echo impulse responses of the right ear canal are obtained, and the preset acoustic echo impulse responses of the right ear canal correspond to the right ear canal information of the user.
Step 506: and forming a preset database according to the generated preset acoustic echo impulse response.
According to the generated group of preset acoustic echo impulse responses for representing the left ear canal information and the group of preset acoustic echo impulse responses for representing the right ear canal information, registration of the user identity information can be completed, that is, the obtained two groups (the left ear canal and the right ear canal) of preset acoustic echo impulse responses can be used for representing the identity information of the user.
Correspondingly, multiple groups of preset acoustic echo impulse responses of different users can be obtained, and the obtained preset acoustic echo impulse responses of the different users are stored in a preset database.
It should be noted that the two groups of preset acoustic echo impulse responses stored in the preset database for each user have unique identifiers capable of reflecting user identity information, and each preset acoustic echo impulse corresponds to one piece of location information of the ear canal, that is, each preset acoustic echo impulse response can reflect the identity information of the user, the ear canal information, and the location information located in the ear canal.
As shown in fig. 6, in one embodiment, determining ear canal information worn by the earphone according to the acoustic echo impulse response comprises:
step 602: and judging whether the obtained acoustic echo impulse response is stored in a preset database.
Acquiring an acoustic impulse response associated with the position information of the current earphone in the ear canal of the user according to the audio signal currently played by the earphone, matching the acquired acoustic echo impulse response with a preset acoustic echo impulse response stored in the preset database, if the matching is successful, considering that the acquired acoustic echo impulse response is stored in the preset database, and simultaneously executing step 604: and determining the ear canal information worn by the earphone according to a plurality of preset acoustic echo responses in a preset database.
And according to the matched preset acoustic echo impulse response, the identity information, the ear canal information and the position information in the ear canal corresponding to the acoustic echo impulse response can be obtained. For example, if an earpiece of the headset is located in the left ear canal of the user a, the earpiece of the user a is configured with a left channel audio signal, and if an earpiece of the headset is located in the right ear canal of the user B, the earpiece of the user B is configured with a right channel audio signal. That is, when the user a shares music with the user B, one person can only wear one headphone, and can switch the sound channel at this time to provide a complete audio experience, that is, one headphone can also enjoy music with a complete sound channel.
If the matching is not successful, it may be determined that the obtained acoustic echo impulse response is not stored in the preset database, and step 606 is executed: controlling to close an application program used for processing the audio signal currently played by the earphone. If the matching is not successful, it can be assumed that the current earpiece is not placed in the ear canal of the user, or that the earpiece is placed in the ear canal of a stranger (not pre-stored in the preset data). If the earphone is not placed in the ear canal of the user, the user does not need to listen to music or end the call at the moment, and the application program of the user for processing the audio signal is automatically closed at the moment, so that the power consumption of the terminal can be saved. If the earphone is placed in the ear canal of a stranger, the application program of the user for processing the audio signal can be automatically closed, so that the stranger is prevented from stealing the privacy information of the user, and the privacy of the user is protected.
As shown in fig. 7, in one embodiment, the method further includes:
step 702: and determining the position information of the earphone in the ear canal based on the preset database.
And acquiring an acoustic impulse response associated with the position information of the current earphone in the ear canal of the user according to the audio signal currently played by the earphone, matching the acquired acoustic echo impulse response with a preset acoustic echo impulse response stored in the preset database, and if the matching is successful, considering that the acquired acoustic echo impulse response is stored in the preset database. And according to the matched preset acoustic echo impulse response, the identity information, the ear canal information and the position information in the ear canal corresponding to the acoustic echo impulse response can be obtained.
Step 704: and acquiring the relative position information of the position information and the preset position information.
The preset position information is the position which is considered to be the most comfortable by the user, namely, when the user listens to music, the audio-visual effect of the position where the earphone is placed is the best, and the earphone of the earphone cannot affect the ears of the user. And correspondingly acquiring the position information of the earphone currently positioned in the ear canal of the user according to the acquired acoustic echo. And comparing the acquired position information with preset position information to acquire a relative position. Wherein the relative position information includes distance information and direction information. For example, if the relative position information is-0.5 mm, wherein "-" indicates 0.5 mm moving outward (auricle) with respect to the preset position, and if the relative position information is +0.5 mm, wherein "+" indicates 0.5 mm moving inward (eardrum) with respect to the preset position.
Step 706: and adjusting the output volume of the earphone according to the relative information or executing operation of reminding a user to adjust the position of the earphone.
Specifically, the output volume of the earphone can be adjusted according to the acquired relative information. For example, if the relative position information is-0.5 mm, the output volume of the earphone is automatically increased, and the increase of the output volume corresponds to the moving distance of the earphone. If the relative position information is +0.5 mm, the output volume of the earphone is automatically reduced, and the reduction amount of the output volume corresponds to the moving distance of the earphone.
Optionally, an operation of reminding the user to adjust the position of the earphone may be performed according to the acquired relative information. For example, if the relative position information is-0.5 mm, the user is reminded that the earphone is loosened so that the user can manually adjust the position of the earphone to achieve the best audio-visual effect, and if the relative position information is +0.5 mm, the user is reminded that the earphone is worn too tightly so that the user can manually adjust the position of the earphone to prevent the damage to the external auditory canal or the hearing of the user.
According to the method in the embodiment, the degree of tightness of wearing of the earphone can be acquired through the relative position information, so that the volume of the earphone is adjusted or the user is reminded to adjust the position of the earphone, and the user experience is improved.
As shown in fig. 8, in one embodiment, the left and right channel switching method includes:
step 802: acquiring an acoustic echo impulse response associated with the current position of the earphone according to an audio signal currently played by the earphone;
step 804: determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information;
step 806: according to the ear canal information, the terminal controls a left channel audio signal and a right channel audio signal which are input to the earphone;
steps 802 to 806 correspond to steps 302 to 306 in the previous embodiment one to one, and are not described herein again.
Step 808: and receiving the knocking operation of the user on the terminal.
When a user listens to music, listens to songs, plays games through an earphone, whether the user performs a tapping operation on the terminal is detected. For example, the terminal may collect the tapping operation through a microphone or the like of the terminal itself. Wherein, the knocking operation carries the knocking times, the knocking rhythm and the like.
Step 810: and executing corresponding operation on a preset application program according to the knocking operation, wherein the preset application program is an application program corresponding to the audio signal currently played by the earphone.
According to the audio signal played by the current earphone, corresponding operation is executed on a preset application program in the audio signal, and the operation can be playing, pausing, volume adjusting, switching, searching, collecting, downloading or sharing the audio signal being played; the preset application program can be closed; but also for initiating a telephone call, ending a telephone call, recording, etc. For example, if the user taps once, the volume is controlled to be increased, and if the user taps twice, the preset application program is controlled to be closed, and the like.
The method in the embodiment can realize the control of the preset application program according to the received knocking operation, is convenient and quick, can greatly simplify the user operation, improves the use efficiency and improves the user experience.
It should be understood that although the various steps in the flow charts of fig. 1-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 9 is a block diagram showing a left/right channel switching device according to an embodiment. Left and right channel switching apparatus comprising:
an obtaining module 910, configured to obtain, according to an audio signal currently played by an earphone, an acoustic echo impulse response associated with a current position of the earphone in an ear canal of a user;
a determining module 920, configured to determine, according to the acoustic echo impulse response, ear canal information worn by the earphone, where the ear canal information includes left ear canal information and right ear canal information;
a control module 930 configured to control the left channel audio signal and the right channel audio signal input to the earphone according to the ear canal information.
The left and right sound channel switching device can acquire acoustic echo impulse response associated with the current position of the earphone in the ear canal of the user according to the audio signal currently played by the earphone; determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information; according to the ear canal information, the terminal controls the input to the left channel audio signal and the right channel audio signal of the earphone, the terminal can be controlled to automatically switch the left channel audio signal and the right channel audio signal, a user does not need to manually adjust left and right earphones of the earphone, the operation burden of the user is reduced, and better audio-visual experience is provided.
In one embodiment, the obtaining module includes:
the first acquisition unit is used for acquiring the audio signal played by the earphone;
the recording unit records an acoustic echo signal formed by the sound signal through the reflection and the vibration of the auditory canal;
a determining unit for determining an acoustic echo impulse response associated with the current position of the earpiece in the ear canal of the user from the audio signal and the acoustic echo signal.
In one embodiment, the left-right channel switching apparatus further comprises:
the receiving module is used for receiving input operation of a user to start user identity information registration;
a display module for displaying operating directions and generating a plurality of preset acoustic echo impulse responses associated with a current position of the earpiece within the ear canal of the user;
and the production module is used for forming a preset database according to the generated preset acoustic echo impulse response.
In one embodiment, the determining module includes:
the judging unit is used for judging whether the obtained acoustic echo impulse response is stored in a preset database or not;
and the control unit is used for controlling to close an application program used for processing the audio signal currently played by the earphone.
In one embodiment, the determining module further comprises:
the determining unit is further used for determining the position information of the earphone located in the ear canal currently based on the preset database;
the second acquisition unit is used for acquiring the relative position information of the position information and the preset position information;
and the processing unit is used for adjusting the output volume of the earphone according to the relative information or executing operation of reminding a user to adjust the position of the earphone.
The device in this embodiment can acquire the elasticity degree that the earphone wore through relative position information to adjust the volume size of earphone or carry out the operation of reminding the user to adjust the earphone position, in order to promote user experience.
In one embodiment, the control module is further configured to configure the left channel audio signal for an earpiece worn in a left ear canal of the user and configure the right channel audio signal for an earpiece worn in a right ear canal of the user according to the ear canal information.
In one embodiment, the left and right channel switching apparatus further comprises:
the receiving module is used for receiving the knocking operation of the user on the earphone;
and the control module also executes corresponding operation on a preset application program by the user according to the knocking operation, wherein the preset application program is an application program corresponding to the audio signal currently played by the earphone.
The device in the embodiment can realize control over the preset application program according to the received knocking operation, is convenient and quick, can greatly simplify user operation, improves the use efficiency and improves the user experience.
The division of the modules in the left and right channel switching device is only for illustration, in other embodiments, the left and right channel switching device may be divided into different modules as required to complete all or part of the functions of the left and right channel switching device.
For specific limitations of the left and right channel switching device, reference may be made to the above limitations of the left and right channel switching method, which are not described herein again. The modules in the left and right channel switching device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the left and right channel switching apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media embodying computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the left and right channel switching method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a left and right channel switching method.
The embodiment of the application also provides a terminal. As shown in fig. 10, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the terminal as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 10, the cellular phone includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the handset configuration shown in fig. 10 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.
The RF circuit 1010 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the received downlink information to the processor 1080; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1000. Specifically, the input unit 1030 may include an operation panel 1031 and other input devices 1032. The operation panel 1031, which may also be referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the operation panel 1031 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. In one embodiment, the operation panel 1031 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. Further, the operation panel 1031 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the operation panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The display unit 1040 may include a display panel 1041. In one embodiment, the Display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the operation panel 1031 can cover the display panel 1041, and when the operation panel 1031 detects a touch operation on or near the operation panel 1031, the operation panel is transferred to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, the operation panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the operation panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1000 may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a distance sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the distance sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and a cell phone. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and the audio data is processed by the audio data output processor 1080 and then transmitted to another mobile phone through the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is to be understood that it does not belong to the essential constitution of the handset 1000 and may be omitted as needed.
The processor 1080 is a control center of the mobile phone, and connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby performing an overall listening to the mobile phone. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, processor 1080 may integrate an application processor and a modem, wherein the application processor primarily handles operating systems, user interfaces, application programs, and the like; the modem handles primarily wireless communications. It is to be appreciated that the modem can be non-integrated with the processor 1080. For example, the processor 1080 may integrate an application processor and a baseband processor, which may constitute a modem with other peripheral chips, etc. The handset 1000 also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1000 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor included in the mobile phone implements the left and right channel switching method described above when executing the computer program stored in the memory.
The present application further provides an earphone comprising an electroacoustic transducer, a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor is electrically connected to the electroacoustic transducer and the memory, and the processor implements the above-described audio signal processing method when executing the computer program.
In one embodiment, the electroacoustic transducer is configured to play the audio signal and record an acoustic echo signal formed by the audio signal and the noise signal reflected and vibrated by the ear canal.
In one embodiment, the electroacoustic transducer comprises a speaker for playing the audio signal and a microphone for recording an acoustic echo signal formed by the audio signal and the noise signal reflected and vibrated by the ear canal.
In one embodiment, the speaker and the microphone are of a unitary construction.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A left-right channel switching method, comprising:
acquiring an audio signal played by an earphone;
recording an acoustic echo signal formed by the sound signal reflected and vibrated by the auditory canal;
determining an acoustic echo impulse response of the earphone at the current position in the ear canal of the user according to the audio signal and the acoustic echo signal, wherein the acoustic echo impulse response is used for representing the spatial characteristics of the ear canal where the earphone is currently located;
determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information;
configuring a left channel audio signal for an earphone worn in a left ear canal of a user and configuring a right channel audio signal for an earphone worn in a right ear canal of the user according to the ear canal information;
determining the position information of the earphone located in the ear canal currently based on a preset database; the preset database stores a group of preset acoustic echo impulse responses used for representing left ear canal information and a group of preset acoustic echo impulse responses used for representing right ear canal information; each preset acoustic echo impulse response is used for reflecting the identity information, the ear canal information and the position information in the ear canal of the user;
acquiring relative position information of the position information and preset position information, wherein the relative position information comprises distance information and direction information;
and adjusting the output volume of the earphone or executing operation of reminding a user to adjust the position of the earphone according to the relative position information.
2. The method of claim 1, wherein prior to determining ear canal information worn by the earpiece from the acoustic echo impulse response, further comprising:
receiving input operation of a user to start user identity information registration;
displaying operating directions and generating a plurality of preset acoustic echo impulse responses associated with a current position of the earpiece within the ear canal of the user;
and forming a preset database according to the generated preset acoustic echo impulse response.
3. The method of claim 2, wherein determining ear canal information worn by the headset from the acoustic echo impulse response comprises:
judging whether the obtained acoustic echo impulse response is stored in the preset database or not;
if yes, determining the ear canal information worn by the earphone according to a plurality of preset acoustic echo responses in a preset database;
if not, controlling to close the application program for processing the audio signal currently played by the earphone.
4. The method according to any one of claims 1-3, further comprising:
receiving a tapping operation of a user on the earphone;
and executing corresponding operation on a preset application program according to the knocking operation, wherein the preset application program is an application program corresponding to the audio signal currently played by the earphone.
5. A left-right channel switching apparatus, comprising:
the acquisition module is used for acquiring the audio signal played by the earphone; recording an acoustic echo signal formed by the sound signal reflected and vibrated by the auditory canal; determining an acoustic echo impulse response of the earphone at the current position in the ear canal of the user according to the audio signal and the acoustic echo signal;
the determining module is used for determining ear canal information worn by the earphone according to the acoustic echo impulse response, wherein the ear canal information comprises left ear canal information and right ear canal information;
the control module is used for configuring a left channel audio signal for an earphone worn in a left ear canal of a user and configuring a right channel audio signal for an earphone worn in a right ear canal of the user according to the ear canal information; wherein the content of the first and second substances,
the determining module further comprises:
the determining unit is further used for determining the position information of the earphone located in the ear canal currently based on a preset database; the preset database stores a group of preset acoustic echo impulse responses used for representing left ear canal information and a group of preset acoustic echo impulse responses used for representing right ear canal information; each preset acoustic echo impulse response is used for reflecting the identity information, the ear canal information and the position information in the ear canal of the user;
the second acquisition unit is used for acquiring relative position information of the position information and preset position information, and the relative position information comprises distance information and direction information;
and the processing unit is used for adjusting the output volume of the earphone according to the relative position information or executing operation for reminding a user to adjust the position of the earphone.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
7. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 4 are implemented by the processor when executing the computer program.
8. An earphone, comprising an electroacoustic transducer, a memory, a processor and a computer program stored on and executable on the memory, the processor being electrically connected to the electroacoustic transducer and the memory, respectively, the processor implementing the steps of the method of any of claims 1 to 4 when executing the computer program.
9. The earphone of claim 8, wherein the electroacoustic transducer is configured to play the audio signal and to record an acoustic echo signal formed by the audio signal and a noise signal reflected and vibrated by the ear canal.
10. The headset of claim 9, wherein the electroacoustic transducer comprises a speaker for playing the audio signal and a microphone for recording an acoustic echo signal formed by the audio signal and the noise signal reflected and vibrated by the ear canal.
11. The headset of claim 10, wherein the speaker and the microphone are a unitary structure.
CN201810276605.1A 2018-03-30 2018-03-30 Left and right channel switching method and device, readable storage medium and terminal Expired - Fee Related CN108391205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810276605.1A CN108391205B (en) 2018-03-30 2018-03-30 Left and right channel switching method and device, readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810276605.1A CN108391205B (en) 2018-03-30 2018-03-30 Left and right channel switching method and device, readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108391205A CN108391205A (en) 2018-08-10
CN108391205B true CN108391205B (en) 2021-01-22

Family

ID=63072942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810276605.1A Expired - Fee Related CN108391205B (en) 2018-03-30 2018-03-30 Left and right channel switching method and device, readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108391205B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257496A (en) * 2018-09-28 2019-01-22 努比亚技术有限公司 A kind of sound channel switching method, terminal and computer readable storage medium
CN110012376A (en) * 2019-03-25 2019-07-12 歌尔科技有限公司 A kind of control method, earphone and the storage medium of earphone sound channel
CN111766548B (en) * 2020-05-29 2023-03-24 维沃移动通信有限公司 Information prompting method and device, electronic equipment and readable storage medium
CN114079836B (en) * 2020-08-20 2023-03-03 华为技术有限公司 Earphone set
CN111741400B (en) * 2020-08-25 2020-11-24 歌尔光学科技有限公司 Earphone position adjusting method, device, equipment and storage medium
CN111970626B (en) * 2020-08-28 2022-03-22 Oppo广东移动通信有限公司 Recording method and apparatus, recording system, and storage medium
CN114584904A (en) * 2020-12-01 2022-06-03 华为技术有限公司 Method and system for switching earphone sound channels and earphone terminal
CN114697790B (en) * 2020-12-30 2023-07-28 华为技术有限公司 Position identification method and earphone device
CN115278470A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Method for calibrating left ear and right ear of earphone and earphone
CN113596673A (en) * 2021-07-14 2021-11-02 宁波旗芯电子科技有限公司 Directional sound production method and device of AR (augmented reality) glasses loudspeaker and sound production equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049977A (en) * 2015-07-30 2015-11-11 努比亚技术有限公司 Automatic earphone volume adjusting method and device
CN106445457A (en) * 2016-09-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Headphone sound channel switching method and device
CN106484088A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 The control method of intelligent mobile terminal, device and intelligent mobile terminal
WO2017203484A1 (en) * 2016-05-27 2017-11-30 Bugatone Ltd. Determining earpiece presence at a user ear

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4599444B2 (en) * 2008-12-09 2010-12-15 株式会社東芝 Acoustic device and method for controlling acoustic device
CN104661158A (en) * 2013-11-25 2015-05-27 华为技术有限公司 Stereophone, terminal and audio signal processing method of stereophone and terminal
CN104202697B (en) * 2014-09-18 2017-01-18 苏州大学 Adaptive automatic left sound track and right sound track switching stereo headphone
US9924270B2 (en) * 2015-01-09 2018-03-20 Intel Corporation Techniques for channelization of stereo audio in headphones
CN107784234A (en) * 2016-08-29 2018-03-09 中兴通讯股份有限公司 Privacy recognition methods and device based on ear line

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049977A (en) * 2015-07-30 2015-11-11 努比亚技术有限公司 Automatic earphone volume adjusting method and device
CN106484088A (en) * 2015-09-02 2017-03-08 腾讯科技(深圳)有限公司 The control method of intelligent mobile terminal, device and intelligent mobile terminal
WO2017203484A1 (en) * 2016-05-27 2017-11-30 Bugatone Ltd. Determining earpiece presence at a user ear
CN106445457A (en) * 2016-09-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Headphone sound channel switching method and device

Also Published As

Publication number Publication date
CN108391205A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN108391205B (en) Left and right channel switching method and device, readable storage medium and terminal
CN108430003B (en) Sound effect compensation method and device, readable storage medium and terminal
EP3547659B1 (en) Method for processing audio signal and related products
ES2868242T3 (en) Method for processing signals, terminal device and non-transient computer-readable storage medium
US10349176B1 (en) Method for processing signals, terminal device, and non-transitory computer-readable storage medium
CN108540900B (en) Volume adjusting method and related product
CN108922537B (en) Audio recognition method, device, terminal, earphone and readable storage medium
CN108710486B (en) Audio playing method and device, earphone and computer readable storage medium
CN108538320B (en) Recording control method and device, readable storage medium and terminal
CN108668009B (en) Input operation control method, device, terminal, earphone and readable storage medium
US10805708B2 (en) Headset sound channel control method and system, and related device
CN108429969B (en) Audio frequency playing method, device, terminal, earphone and readable storage medium storing program for executing
CN108600885B (en) Sound signal processing method and related product
CN108763901B (en) Ear print information acquisition method and device, terminal, earphone and readable storage medium
CN108803859A (en) Information processing method, device, terminal, earphone and readable storage medium storing program for executing
CN109067965B (en) Translation method, translation device, wearable device and storage medium
WO2020107290A1 (en) Audio output control method and apparatus, computer readable storage medium, and electronic device
CN105915715A (en) Incoming call reminding method and device thereof, wearable audio device and mobile terminal
WO2020118496A1 (en) Audio path switching method and device, readable storage medium and electronic equipment
WO2020097927A1 (en) Call control method and device, computer-readable storage medium and electronic device
CN108391208B (en) Signal switching method, device, terminal, earphone and computer readable storage medium
CN108810787B (en) Foreign matter detection method and device based on audio equipment and terminal
CN108377298B (en) Method and device for switching answering mode, mobile terminal and computer readable storage medium
CN109618062B (en) Voice interaction method, device, equipment and computer readable storage medium
CN108551648B (en) Quality detection method and device, readable storage medium and terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210122