[go: up one dir, main page]

WO2015074363A1 - 立体声耳机、终端及两者的音频信号处理方法 - Google Patents

立体声耳机、终端及两者的音频信号处理方法 Download PDF

Info

Publication number
WO2015074363A1
WO2015074363A1 PCT/CN2014/074631 CN2014074631W WO2015074363A1 WO 2015074363 A1 WO2015074363 A1 WO 2015074363A1 CN 2014074631 W CN2014074631 W CN 2014074631W WO 2015074363 A1 WO2015074363 A1 WO 2015074363A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
digital signal
analog
right channel
microphone
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.)
Ceased
Application number
PCT/CN2014/074631
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP14864590.6A priority Critical patent/EP3057336A4/en
Publication of WO2015074363A1 publication Critical patent/WO2015074363A1/zh
Priority to US15/163,369 priority patent/US20160269844A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S1/00Two-channel systems
    • H04S1/002Non-adaptive circuits, e.g. manually adjustable or static, for enhancing the sound image or the spatial distribution
    • H04S1/005For headphones
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/107Monophonic and stereophonic headphones with microphone for two-way hands free communication

Definitions

  • the present invention relates to the field of stereo technology, and in particular to an audio signal processing method for a stereo earphone, a terminal, and both.
  • Stereo capture devices such as binaural microphones are important components of audio devices. Because they can output clear surround sound fields and greatly enhance the user's audio experience, they are widely used in terminals such as audio, electronic playback devices and smart phones. .
  • the binaural microphone stereo headphones include a left channel microphone, a right channel microphone, a left channel earphone, and a right channel earphone, and at least 5 wires including a ground wire are required for signal transmission, and correspondingly, the earphone plug is also It needs to be designed as a 5-pin connector, which obviously cannot be compatible with the 4-pin connector of the traditional mono headset commonly used by terminals such as smartphones.
  • the compatibility of the binaural microphone stereo earphone and the 4-pin interface is mainly achieved by adopting a mechanical switch switching manner.
  • this switching method determines that the microphone cannot use the microphone and speaker (channel) functions at the same time, that is, the acquisition and playback function of the channel analog signal can only select one of them. Therefore, the prior art also does not well achieve compatibility between the binaural microphone stereo headset and the 4-pin interface of the terminal mono headset.
  • the main technical problem to be solved by the present invention is to provide a stereo earphone, a terminal and an audio signal processing method thereof, which can realize compatibility between a stereo binaural microphone earphone and a 4-pin interface of a mono headset of a terminal such as a smart phone. .
  • the first aspect provides an audio signal processing method for a stereo earphone, including a left ear earphone unit, a right ear earphone unit, and an external plug for connecting an external terminal, the external plug includes a microphone port, and the left ear earphone unit includes a left The channel microphone and the left channel earphone, the right ear earphone unit includes a right channel microphone and a right channel earphone, and the audio signal processing method includes: a left channel analog signal and a right channel microphone output output to the left channel microphone
  • the right channel analog signal is time-divisionally sampled and held; analog-to-digital conversion is performed on the sampled and held left channel analog signal and the right channel analog signal to obtain a corresponding left channel digital signal and right channel digital signal;
  • the left channel digital signal and the right channel digital signal are data-encapsulated to obtain a serial digital signal; the serial digital signal is transmitted to the external terminal through the microphone port of the external plug.
  • the stereo earphone further includes a mono microphone
  • the step of transmitting the serial digital signal to the external terminal through the microphone port of the external plug includes: the stereo earphone is externally connected The plug detects the feeder voltage of the external terminal; if the first feeder voltage is detected, the serial digital signal is transmitted to the external terminal through the microphone port of the external plug; if the second feeder voltage is detected, the mono analog signal is externally connected The microphone port of the plug is transmitted to the external terminal.
  • the second aspect provides a stereo earphone, including a left ear earphone unit, a right ear earphone unit, and an external plug for connecting an external terminal, the external plug includes a microphone port, and the left ear earphone unit includes a left channel microphone and a left channel earphone.
  • the right earphone unit includes a right channel microphone and a right channel earphone, and the stereo earphone further includes: a sample and hold module for the left channel analog signal and the right channel analog output corresponding to the left channel microphone and the right channel microphone
  • the signal is time-divisionally sampled and held; the first analog-to-digital conversion module is configured to perform analog-to-digital conversion on the left channel analog signal and the right channel analog signal sampled and held by the sample and hold module to obtain a corresponding left channel number.
  • Signal and right channel digital signal signal encapsulation module for data encapsulation of left channel digital signal and right channel digital signal to obtain serial digital signal, and serial digital signal to external through microphone port of external plug Terminal transmission.
  • the stereo earphone further includes a mono microphone, a first selection module, and a feeder monitoring module, and the feeder monitoring module is configured to detect the feeder voltage of the external terminal from the external plug. If the first feeder voltage is detected, the feeder monitoring module controls the first selection module to transmit the serial digital signal to the external terminal through the microphone port of the external plug; if the second feeder voltage is detected, the feeder monitoring module controls the first selection The module transmits the mono analog signal output from the mono microphone to the external terminal through the microphone port of the external plug.
  • the third aspect provides a method for processing an audio signal of a terminal, where the terminal includes an external socket for connecting an external plug of the stereo earphone, the external socket includes a microphone port, and the audio signal processing method comprises: receiving a stereo earphone transmission through a microphone port of the external socket Input signal, the input signal is a mono analog signal or a serial digital signal including a left channel digital signal and a right channel digital signal; demodulating the input signal to obtain a left channel digital number included in the serial digital signal Signal and right channel digital signal.
  • the step of demodulating the input signal further includes: identifying that the input signal is a string including a left channel digital signal and the right channel digital signal The digital signal is still a mono analog signal; if the identification input signal is a serial digital signal, the step of demodulating the input signal is performed; if the input signal is recognized as a mono analog signal, the mono analog signal is performed. Analog to digital conversion to get a mono digital signal.
  • the audio signal processing method further includes the step of performing demodulation on the input signal: performing the following steps: performing analog-to-digital conversion on the input signal to obtain a single sound a digital signal; and identifying whether the input signal is a serial digital signal comprising a left channel digital signal and a right channel digital signal or a mono analog signal; and, in identifying the input signal, comprising a left channel digital signal and a right channel
  • the method further comprises: if the identification input signal is a serial digital signal, transmitting the left channel digital signal and the right channel digital signal to a subsequent stage circuit of the terminal; If the input signal is recognized as a mono analog signal, the mono digital signal is sent to the subsequent stage circuit.
  • the audio signal processing method further includes: outputting a feeder voltage to the external plug to control the stereo headphone output to include the left channel digital signal and the right channel digital The serial digital signal of the signal or the mono analog signal to a microphone port of the external plug.
  • the step of inputting a feeder voltage to the external plug includes: if the stereo headphone output serial digital signal is required, outputting the first feeder voltage To the external plug; if the stereo headphone is required to output a mono analog signal, the second feeder voltage is output to the external plug.
  • the audio signal processing method further includes: performing digital-to-analog conversion on the left channel digital signal and the right channel digital signal to obtain Corresponding left channel analog signal and right channel analog signal; the left channel analog signal and the right channel analog signal are output to the left channel port and the right channel port of the external plug through an external jack.
  • the left channel analog signal and the right channel analog signal are output to the left channel port and the right channel of the external plug through the external jack
  • the track port includes: adaptive noise cancellation, adaptive echo cancellation, and signal enhancement for the left channel analog signal and the right channel analog signal.
  • the fourth aspect provides a terminal, including an external socket for connecting an external plug of the stereo earphone, the external socket includes a microphone port, and the terminal further includes: a receiving module, configured to receive an input signal transmitted by the stereo earphone through the microphone port of the external socket
  • the input signal is a mono analog signal or a serial digital signal including a left channel digital signal and a right channel digital signal; a demodulation module for demodulating the input signal to obtain a left of the serial digital signal Channel digital signal and right channel digital signal.
  • the terminal further includes an identification module and a second analog-to-digital conversion module, where the identification module is configured to identify that the input signal received by the receiving module is a left channel digital signal and The serial digital signal of the right channel digital signal is also a mono analog signal. If the identification input signal is a serial digital signal, the demodulation module demodulates the input signal; if the identification input signal is a mono analog signal, then The second analog to digital conversion module performs analog to digital conversion on the mono analog signal to obtain a mono digital signal.
  • the terminal further includes a signal switching module, where the signal switching module is configured to control when the identification module recognizes that the input signal is a serial digital signal The left channel digital signal and the right channel digital signal obtained by the demodulation module are sent to the rear stage circuit of the terminal; when the identification module recognizes that the input signal is a mono analog signal, the signal switching module is configured to control the second analog to digital conversion The mono digital signal converted by the module is sent to the subsequent stage circuit.
  • the signal switching module is configured to control when the identification module recognizes that the input signal is a serial digital signal The left channel digital signal and the right channel digital signal obtained by the demodulation module are sent to the rear stage circuit of the terminal; when the identification module recognizes that the input signal is a mono analog signal, the signal switching module is configured to control the second analog to digital conversion The mono digital signal converted by the module is sent to the subsequent stage circuit.
  • the terminal further includes a feed output module, where the feed output module is configured to output the first feeder voltage to the external plug to control the stereo headphone output to include the left channel The serial digital signal of the digital signal and the right channel digital signal to a microphone port of the external plug or the second feeder voltage to the external plug to control the stereo headphone output mono analog signal to the microphone port.
  • the terminal further includes a digital-to-analog conversion module and a second selection module, where the digital-to-analog conversion module is configured to the left channel digital signal and the right The channel digital signal is digital-to-analog converted to obtain a corresponding left channel analog signal and a right channel analog signal, and the second selection module is configured to output the left channel analog signal and the right channel analog signal to the left sound of the external plug Channel port and right channel port.
  • the terminal further includes a voice signal processing module, where the left channel analog signal and the right channel analog signal are output to the second selection module Before the left channel port and the right channel port of the external plug, the voice signal processing module is used for adaptive noise cancellation, adaptive echo cancellation, and signal enhancement for the left channel analog signal and the right channel analog signal.
  • a fifth aspect provides an audio signal processing method for a stereo earphone, the processing method being based on a stereo earphone including a left earphone unit, a right ear earphone unit, and an external plug for connecting an external terminal
  • the external plug includes a microphone port
  • the left earphone unit includes a left channel microphone and a left channel earphone
  • the right ear earphone unit includes a right channel microphone and a right channel earphone
  • the terminal includes an external plug for connecting the stereo earphone.
  • An external socket the external socket includes a microphone interface
  • the audio signal processing method comprises: time-division sampling and maintaining the left channel analog signal output by the left channel microphone and the right channel analog signal output by the right channel microphone;
  • the left channel analog signal and the right channel analog signal sampled and held are subjected to analog-to-digital conversion to obtain a corresponding left channel digital signal and right channel digital signal; and left channel digital signal and right channel digital signal are subjected to data Encapsulate to obtain a serial digital signal; pass the serial digital signal through the microphone end of the external plug
  • the terminal transmits the input signal of the stereo earphone through the microphone port of the external socket, and the input signal is a mono analog signal or a serial digital signal including a left channel digital signal and a right channel digital signal; the terminal pairs the input signal Demodulation is performed to obtain a left channel digital signal and a right channel digital signal included in the serial digital signal.
  • the stereo earphone further includes a mono microphone
  • the step of transmitting the serial digital signal to the external terminal through the microphone port of the external plug includes: the stereo earphone is externally connected The plug detects the feeder voltage of the external terminal; if the first feeder voltage is detected, the serial digital signal is transmitted to the external terminal through the microphone port of the external plug; if the second feeder voltage is detected, the mono analog signal is externally connected The microphone port of the plug is transmitted to the external terminal.
  • the step of demodulating the input signal further includes: identifying that the input signal is a string including a left channel digital signal and the right channel digital signal The digital signal is still a mono analog signal; if the identification input signal is a serial digital signal, the step of demodulating the input signal is performed; if the input signal is recognized as a mono analog signal, the mono analog signal is performed. Analog to digital conversion to get a mono digital signal.
  • the present invention digitally encapsulates the left channel digital signal and the right channel digital signal corresponding to the left channel microphone and the right channel microphone to obtain one
  • the serial digital signal transmitted on the root line can transmit the signals of the left and right microphones on the microphone unit of the 4-pin external plug of the earphone, realizing the binaural microphone stereo earphone and the traditional mono earphone in the 4-pin interface. compatible.
  • FIG. 1 is a flowchart of an audio signal processing method according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural view of a preferred embodiment of a stereo earphone and a terminal of the present invention
  • FIG. 3 is a flowchart of a method for processing an audio signal according to a second embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of an audio signal processing system according to a first embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of an audio signal processing system in accordance with a second embodiment of the present invention.
  • Figure 6 is a schematic block diagram of an audio signal processing system in accordance with a third embodiment of the present invention.
  • Figure 7 is a block diagram showing the principle of an audio signal processing system in accordance with a fourth embodiment of the present invention.
  • the present invention provides a method for processing an audio signal.
  • the audio signal processing method of this embodiment is based on the stereo earphone 10 and the terminal (external terminal) 20 shown in FIG. 2, and the two are electrically connected by a four-segment pin structure 30, wherein the four-segment pin structure 30 includes an external plug 31 disposed on one side of the stereo earphone 10, and an external jack 32 disposed on one side of the terminal 20.
  • the stereo earphone 10 is a binaural microphone stereo earphone.
  • the stereo earphone 10 further includes a left ear earphone unit 50 and a right ear earphone unit 60, and the left ear earphone unit 50 includes The left channel microphone M1 and the left channel earphone (left speaker) S1, the right ear earphone unit 60 includes a right channel microphone M2 and a right channel earphone (right speaker) S2.
  • the left channel microphone M1 and the right channel microphone M2 have good acoustic isolation with the left channel earphone S1 and the right channel earphone S2, respectively, and the left and right independent settings of M1 and M2 are mainly for collecting the corresponding left channel. Analog signal and right channel analog signal.
  • the external plug 31 of the four-segment pin structure 30 includes a ground port G, a microphone port M connected to the left channel microphone M1 and the right channel microphone M2, and a corresponding connection to the left channel earphone S1 and the right channel earphone S2.
  • the left channel port LS and the right channel port RS, the external socket 32 includes a structure adapted to the respective ports of the external plug 31 described above, for example including a microphone interface adapted to the microphone port M.
  • the stereo earphones 10 mentioned in the following full text are described by taking a binaural microphone stereo earphone as an example.
  • the stereo earphone 10 is not limited thereto, and it may be any having a left channel microphone M1 and a right channel.
  • the terminal 20 is described by taking a smart phone as an example, and is also not limited to a smart phone. It may be any terminal having a four-segment pin structure 30, including a tablet computer, a personal digital assistant (PDA), a portable communication device, and the like.
  • PDA personal digital assistant
  • the audio signal processing method of this embodiment includes:
  • Step S11 The stereo earphone performs time-division sampling and holding on the left channel analog signal output by the left channel microphone and the right channel analog signal output by the right channel microphone.
  • the left channel microphone M1 and the right channel microphone M2 respectively collect sound information in the surrounding sound field in real time, and output the sound correspondingly as a left channel analog signal and a right channel analog signal.
  • the left channel analog signal and the right channel analog signal outputted in the present invention are specifically represented as voltage values, and the corresponding sample values are sampled voltage values.
  • Step S12 The stereo earphone performs analog-to-digital conversion on the sampled and held left channel analog signal and the right channel analog signal to obtain a corresponding left channel digital signal and right channel digital signal.
  • Step S13 The stereo earphone performs data encapsulation on the left channel digital signal and the right channel digital signal to obtain a serial digital signal.
  • the main purpose of the present invention is to transmit a left channel microphone signal and a right channel microphone signal on one line (the microphone port M of the external plug 31), so it is first necessary to digitize the analog signals of the left and right channels. Then digitally encapsulated to obtain a serial digital signal that can be transmitted on this line.
  • a digital-to-analog converter of a type such as ⁇ - ⁇ , pipeline, or the like that outputs a digital signal of 1, 4, or 16 bits may be employed.
  • a serial digital signal can be obtained by using a data encapsulation method such as AES3.
  • the serial digital signal that is preferably encapsulated in this embodiment includes a packet header, an actual load, and a parity bit, wherein:
  • the packet header includes synchronization information and clock information for ensuring that the left channel digital signal and the right channel digital signal received by the terminal 20 and the left channel digital signal and the right channel digital signal output by the stereo earphone 10 are in transmission order. Synchronization, as well as identifying the start and end times of the left channel digital signal and the right channel digital signal transmission.
  • the actual load contains the left channel digital signal and the right channel digital signal that need to be transmitted.
  • the check digit contains a check code, which is mainly used for verifying the validity and integrity of the received serial digital signal by the terminal 20 to ensure that the left channel digital signal and the right channel digital signal received by the terminal 20 are not Damaged or lost.
  • steps S12 and S13 of the present embodiment are preferably completed under the control of the line control module 40 provided on the headphone line shown in FIG. 2.
  • the voltage required for the operation of the analog-to-digital converter comes from the terminal 20 feeding the earphone line through the external socket 32. Based on this, the embodiment can improve the voltage value of the feeding by using other earphone lines such as an analog-to-digital converter.
  • the device on the device provides more power support.
  • Step S14 The terminal receives the serial digital signal transmitted by the stereo earphone.
  • the stereo headphone 10 transmits the serial digital signal obtained in step S13 to the terminal 20 through the microphone port M of the external plug 31.
  • Step S15 The terminal demodulates the serial digital signal to obtain a left channel digital signal and a right channel digital signal.
  • the terminal 20 When the terminal 20 detects the input signal transmitted by the stereo earphone 10, it first identifies whether it has a serial digital signal identification header, and if it recognizes that the input signal has a packet header, it determines that it is the data-encapsulated serial digital signal in step S13. Then, the demodulation in step S15 is performed. If it is not recognized that the input signal has a header, the input signal is not demodulated.
  • the present embodiment mainly performs analog-to-digital conversion on the left and right channel analog signals collected by the left channel microphone M1 and the right channel microphone M2 of the stereo earphone 10, so as to obtain the left and right channel digital signals.
  • the terminal 20 is connected by a conventional 4-pin external plug.
  • the present invention also provides an audio signal processing method of the second embodiment, which is described in detail based on the audio processing method disclosed in the first embodiment.
  • the difference between this embodiment and the audio signal processing method of the first embodiment is that:
  • the earphone of the stereo earphone of this embodiment is further provided with a mono microphone (which can be built in the wire control module 40 shown in FIG. 2), which is equivalent to the microphone on the current earphone wire, so that the earphone socket of the terminal 20 can be Compatible with traditional mono (microphone) stereo headphones.
  • a mono microphone which can be built in the wire control module 40 shown in FIG. 2
  • the audio signal processing method of this embodiment includes the following steps:
  • Step S21 The stereo earphone detects the feeder voltage of the external terminal and outputs an input signal, wherein the input signal includes a serial digital signal or a mono analog signal of the left channel digital signal and the right channel digital signal.
  • the left channel microphone M1 and the right channel microphone M2 shown in FIG. 2 stop collecting and stop outputting the left channel analog signal and the right channel analog signal.
  • the user performs the above selection through the touch screen of the terminal 20, and the first audio mode and the second audio mode may be provided in the terminal 20 during actual operation.
  • the stereo earphone 10 is required to acquire and output the left channel analog signal and the right channel analog signal through the left channel microphone M1 and the right channel microphone M2;
  • the mono analog signal that the stereo earphone 10 collects and outputs through the mono microphone is required.
  • the terminal 20 When the user selects the first audio mode or the second audio mode, the terminal 20 outputs a feeder voltage to the external plug 31, so that the wire control module 40 controls the stereo earphone 10 to output the left channel digital signal and the right channel according to the feeder voltage.
  • a serial digital signal of a digital signal or a mono analog signal to the microphone port M in particular:
  • the terminal 20 When the user selects the first audio mode, it means that the stereo earphone 10 is required to output a serial digital signal, and at this time, the terminal 20 outputs the first feeder voltage to the external plug 31.
  • the user selects the second audio mode it means that the stereo earphone 10 is required to output a mono analog signal, and at this time, the terminal 20 outputs the second feeder voltage to the external plug 31.
  • the stereo earphone 10 detects the feeder voltage of the external plug 31 in real time or time division, and if the first feeder voltage is detected, transmits the serial digital signal to the terminal 20 through the microphone port M of the external plug 31. If the second feeder voltage is detected, the mono analog signal is transmitted to the terminal 20 through the microphone port M of the external plug 31.
  • the present embodiment mainly controls the stereo earphone 10 to output a serial digital signal or a mono analog signal including a left channel digital signal and a right channel digital signal to the microphone port M by detecting the feeder voltage, in other implementations.
  • those skilled in the art can select other circuit quantities, such as impedance, current, etc., according to actual needs.
  • Step S22 The terminal receives the input signal and identifies whether it contains a packet header.
  • the terminal 20 After receiving the input signal output by the stereo earphone 10, the terminal 20 determines whether the input signal is a serial digital signal including a left channel digital signal and a right channel digital signal by identifying whether the input signal includes a data encapsulated packet header. Still a mono analog signal.
  • step S23 is performed to obtain a mono digital signal. If the terminal 20 recognizes that the input signal contains a packet header, that is, it is a serial digital signal, step S24 is performed to parse it.
  • Step S23 The terminal performs analog-to-digital conversion on the mono analog signal to obtain a mono digital signal.
  • Step S24 The terminal demodulates the serial digital signal.
  • step S23 there is no connection between step S23 and step S24 of the embodiment, and it can be considered that the two steps are simultaneously and selectively performed after step S22, that is, only two steps are performed under the control of one selection instruction of the user. If the user selects the first audio mode, only step S24 is performed, and step S23 is not performed; if the user selects the second audio mode, only step S23 is performed, and step S24 is not executed.
  • Step S25 If the terminal recognizes that the input signal is a mono analog signal, the mono digital signal obtained by the analog-to-digital conversion is sent to the subsequent stage circuit of the terminal.
  • Step S26 If the terminal recognizes that the input signal is a serial digital signal, the terminal transmits the demodulated left channel digital signal and the right channel digital signal to the subsequent circuit.
  • the terminal 20 After transmitting the serial digital signal to the subsequent stage circuit, the terminal 20 can make a stereo voice call. in particular:
  • the left channel microphone M1 and the right channel microphone M2 of the stereo headphone 10 are respectively worn on the left and right ears of the calling party.
  • the left channel microphone M1 collects the left channel analog signal in the caller's voice signal
  • the right channel microphone M2 collects the right channel analog signal in the caller's voice signal
  • the stereo earphone 10 is processed by the audio signal of the first embodiment.
  • the method transmits the left channel analog signal and the right channel analog signal to the terminal 20 through the four-segment pin structure 30, and the subsequent circuit of the terminal 20 transmits it to the called party through the network through the left channel of the called party.
  • the headset and right channel headphones are played to give the called party a stereo call experience.
  • the left and right channel analog signals collected by the channel microphone M2 are adaptive echo processing (Adaptive Echo Cancellation (AEC), to eliminate the sound of the left channel earphone LS and the right channel earphone RS that are correspondingly collected.
  • AEC Adaptive Echo Cancellation
  • the left channel microphone is also required.
  • Adaptive noise cancellation for left and right channel analog signals acquired by M1 and right channel microphone M2 Adaptive Noise Cancellation (ANC), on the called party side, the terminal needs to perform signal enhancement processing on the left and right channel analog signals output to the left channel earphone and the right channel earphone.
  • the terminal 20 can also perform binaural stereo recording, that is, the left channel microphone M1 and the right channel microphone M2 will correspond to the acquired left channel analog signal and the right.
  • the channel analog signal is transmitted to the terminal 20 through the four-segment pin structure 30, and the terminal 20 stores both in the form of a left channel digital signal and a right channel digital signal in the memory.
  • the terminal 20 can also perform binaural stereo monitoring (also equivalent to a hearing aid), that is, the stored left channel digital signal and right channel digital signal are subjected to digital-to-analog conversion, low-delay processing, gain processing, and acoustic echo suppression processing (Acoustic).
  • left channel port LS and the right channel port RS are only one specific example, which is merely for visual and intuitive explanation of the output of the left channel analog signal and the output of the right channel analog signal.
  • the present invention also provides an audio signal processing system comprising the stereo earphone 10, the terminal 20 and the four-segment pin structure 30 shown in FIG.
  • the stereo earphone 10 of the present embodiment further includes a sample and hold module 110, a first analog to digital conversion module 120, and a signal encapsulation module 130.
  • the terminal 20 includes a receiving module 210 and demodulation.
  • the sample and hold module 110 is configured to perform time-division sampling and holding of the left channel analog signal and the right channel analog signal correspondingly output by the left channel microphone M1 and the right channel microphone M2.
  • the first analog-to-digital conversion module 120 is configured to perform analog-to-digital conversion on the left channel analog signal and the right channel analog signal sampled and held by the sample and hold module 110 to obtain corresponding left channel digital signals and right channel digital signals. .
  • the signal packing module 130 is configured to perform data encapsulation on the left channel digital signal and the right channel digital signal to obtain a serial digital signal.
  • the serial digital signal is transmitted to the receiving module 210 via the external plug 31 and the external jack 32.
  • the demodulation module 220 is configured to demodulate the serial digital signal received by the receiving module 210 to obtain a left channel digital signal and a right channel digital signal.
  • the digital-to-analog conversion module 230 is configured to perform digital-to-analog conversion on the left channel digital signal and the right channel digital signal to obtain a corresponding left channel analog signal and right channel analog signal.
  • the second selection module 240 is configured to output the left channel analog signal and the right channel analog signal to the external plug 31 through the external jack 32, and then output to the left channel port LS and the right channel of the external plug 31 shown in FIG. Port RS. It should be understood that the left channel port LS and the right channel port RS are only one specific example, which is merely for visual and intuitive explanation of the output of the left channel analog signal and the output of the right channel analog signal.
  • the present invention also provides an audio signal processing system of the second embodiment, which is described in detail based on the audio signal processing system of the first embodiment. As shown in FIG. 5, the difference between this embodiment and the first embodiment is that:
  • the stereo earphone 10 of the embodiment further includes a mono microphone M0, a first selection module 140 and a feeder monitoring module 160.
  • the terminal 20 further includes a feed output module 250, an identification module 260, a second analog to digital conversion module 270, and signal switching. Module 280.
  • the feeder monitoring module 160 is configured to detect the feeder voltage of the external terminal 20 from the external plug 21.
  • the first selection module 140 is configured to select, according to the selection instruction, one of the mono analog signal and the serial digital signal output by the mono microphone M0 to be transmitted through the microphone port M (see FIG. 2) and the external socket 32 of the external plug 31. To the terminal 20.
  • the user's selection command is preferably a feeder voltage during a specific implementation. in particular:
  • the second selection module 240 controls the feed output module 250 to output the first feeder voltage to the external plug 31. If the feeder monitoring module 160 detects the first feeder voltage from the external plug 31, the first selection module 140 transmits the serial digital signal to the second receiving module 210 of the terminal 20 through the microphone port M of the external plug 31.
  • the identification module 260 is configured to identify that the input signal received by the second receiving module 210 is a serial digital signal
  • the demodulation module 220 is configured to demodulate the input signal (serial digital signal)
  • the signal switching module 280 is configured to control the demodulation
  • the left channel digital signal and the right channel digital signal obtained by module 220 are sent to the subsequent stage circuit of terminal 20.
  • the second selection module 240 controls the feed output module 250 to output the second feeder voltage to the external plug 31. If the feeder monitoring module 160 detects the second feeder voltage from the external plug 31, the first selection module 140 controls the stereo earphone 10 to transmit the mono analog signal to the receiving module 210 of the terminal 20 through the microphone port M of the external plug 31.
  • the identification module 260 is configured to identify that the input signal received by the receiving module 210 is a mono analog signal, and the second analog to digital conversion module 270 performs analog-to-digital conversion on the mono analog signal to obtain a mono digital signal, and the signal switching module 280 The mono digital signal for controlling the conversion of the second analog to digital conversion module 270 is sent to the subsequent stage circuit.
  • the present invention also provides an audio signal processing system of the third embodiment, which is described in detail based on the audio signal processing system of the first embodiment. As shown in FIG. 6, the difference between this embodiment and the first embodiment is that:
  • the terminal 20 of this embodiment further includes a voice signal processing module 290.
  • the voice signal processing 290 is used for the left channel analog signal and
  • the right channel analog signal performs adaptive noise cancellation, adaptive echo cancellation, and signal enhancement.
  • the audio signal processing system, the stereo earphone 10, and the terminal 20 of the above-described several embodiments of the present invention, corresponding to the audio signal processing method based on the above embodiments, can therefore have the same technical effects.
  • the description of the disclosed stereo earphone 10 and the description module of the terminal 20 is only a logical function division, and the actual implementation may have another division manner, for example, multiple modules may be combined or may be integrated into another. Some features in the system, or some features, can be ignored or not executed.
  • the coupling or communication connection of the modules to each other may be through some interfaces, or may be electrical or other forms.
  • Each of the foregoing functional modules, as part of the stereo headset 10 and the terminal 20, may or may not be a physical frame, and may be located in one place or on multiple network units, and may be implemented in hardware or in a form of hardware. Implemented in the form of a software function box. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of the present invention.
  • the present invention also provides an audio signal processing system of the fourth embodiment, comprising the stereo earphone 10, the terminal 20 and the four-segment pin structure 30 shown in FIG.
  • the stereo earphone 10 of the present embodiment includes a sample holder 410, a first analog to digital converter 420, and a signal encapsulator 430.
  • the terminal 20 includes a receiver 510 and demodulation.
  • the 520, the digital to analog converter 530, and the second selector 540 are examples of the stereo earphone 10.
  • the sample holder 410 is configured to perform time-division sampling and holding of the left channel analog signal and the right channel analog signal correspondingly output by the left channel microphone M1 and the right channel microphone M2.
  • the first analog-to-digital converter 420 is configured to perform analog-to-digital conversion on the left channel analog signal and the right channel analog signal sampled and held by the sample holder 410 to obtain corresponding left channel digital signals and right channel digital signals. .
  • the signal encapsulator 430 is configured to perform data encapsulation on the left channel digital signal and the right channel digital signal to obtain a serial digital signal.
  • the demodulator 520 is configured to demodulate the serial digital signal received by the receiver 510 to obtain a left channel digital signal and a right channel digital signal.
  • the digital-to-analog converter 530 is configured to perform digital-to-analog conversion on the left channel digital signal and the right channel digital signal to obtain a corresponding left channel analog signal and right channel analog signal.
  • the second selector 540 is configured to output the left channel analog signal and the right channel analog signal to the external plug 31 through the external jack 32, and then output to the left channel port LS and the right channel of the external plug 31 shown in FIG. 2.
  • Port RS Port RS.
  • the present invention digitally encapsulates a left channel digital signal and a right channel digital signal corresponding to a left channel microphone and a right channel microphone to obtain a serial digital signal that can be transmitted on one line.
  • the signals of the left and right microphones can be transmitted on one line, and the stereo binaural microphone earphone is compatible with the traditional mono earphone in the 4-pin interface.

Landscapes

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

Abstract

本发明提供一种立体声耳机、终端及两者的音频信号处理方法。该音频信号处理方法包括:对立体声耳机的左声道传声器输出的左声道模拟信号和右声道传声器输出的右声道模拟信号进行分时采样及保持;对采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号;终端接收该串行数字信号并对其进行解调,以得到左声道数字信号和右声道数字信号。通过上述方式,本发明能够实现双耳传声器立体声耳机与传统单声道耳机在4针接口的兼容,并且使得终端的耳机插口可兼容传统的单麦克风立体声耳机。

Description

立体声耳机、终端及两者的音频信号处理方法
【技术领域】
本发明涉及立体声技术领域,特别是涉及一种立体声耳机、终端及两者的音频信号处理方法。
【背景技术】
双耳传声器立体声耳机等立体声采集设备作为音频设备的重要组件,因其能够输出清晰的环绕立体声声场,大幅提高用户的音频体验,被广泛应用于各类音响、电子播放设备和智能手机等终端中。当前,双耳传声器立体声耳机包括左声道传声器、右声道传声器、左声道耳机和右声道耳机,在信号传输时需要包括地线在内的至少5根线,对应地,耳机插头也需设计为5针接头,这显然不能与智能手机等终端普遍使用的传统单声道耳机的4针接口相兼容。
现有技术中,主要通过采用机械开关切换的方式实现双耳传声器立体声耳机与4针接口的兼容。但是,该切换方式决定了耳机不能同时使用传声器和扬声器(声道)功能,即声道模拟信号的采集和播放功能只能选择其中之一。因此,现有技术同样不能很好的实现双耳传声器立体声耳机与终端的单声道耳机的4针接口的兼容。
【发明内容】
鉴于此,本发明主要解决的技术问题是提供一种立体声耳机、终端及两者的音频信号处理方法,能够实现立体声双耳传声器耳机与智能手机等终端的单声道耳机的4针接口的兼容。
第一方面提供一种立体声耳机的音频信号处理方法,该立体声耳机包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,外接插头包括一传声器端口,左耳耳机单元包括左声道传声器和和左声道耳机,右耳耳机单元包括右声道传声器和右声道耳机,音频信号处理方法包括:对左声道传声器输出的左声道模拟信号和右声道传声器输出的右声道模拟信号进行分时采样及保持;对采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号;将串行数字信号通过外接插头的传声器端口向外部终端传输。
结合第一方面的实现方式,在第一种可能的实现方式中,立体声耳机还包括单声道传声器,将串行数字信号通过外接插头的传声器端口向外部终端传输的步骤包括:立体声耳机从外接插头检测外部终端的馈线电压;若检测到第一馈线电压,则将串行数字信号通过外接插头的传声器端口向外部终端传输;若检测到第二馈线电压,则将单声道模拟信号通过外接插头的传声器端口向外部终端传输。
第二方面提供一种立体声耳机,包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,外接插头包括一传声器端口,左耳耳机单元包括左声道传声器和左声道耳机,右耳耳机单元包括右声道传声器和右声道耳机,立体声耳机进一步包括:采样保持模块,用于对左声道传声器和右声道传声器对应输出的左声道模拟信号和右声道模拟信号进行分时采样及保持;第一模数转换模块,用于对经过采样保持模块采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;信号封装模块,用于将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号,并将串行数字信通过外接插头的传声器端口向外部终端传输。
结合第二方面的实现方式,在第一种可能的实现方式中,立体声耳机还包括单声道传声器、第一选择模块和馈线监测模块,馈线监测模块用于从外接插头检测外部终端的馈线电压,若检测到第一馈线电压,则馈线监测模块控制第一选择模块将串行数字信号通过外接插头的传声器端口向外部终端传输;若检测到第二馈线电压,则馈线监测模块控制第一选择模块将单声道传声器输出的单声道模拟信号通过外接插头的传声器端口向外部终端传输。
第三方面提供一种终端的音频信号处理方法,终端包括用于连接立体声耳机的外接插头的外接插口,外接插口包括一传声器端口,音频信号处理方法包括:通过外接插口的传声器端口接收立体声耳机传输的输入信号,输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;对输入信号进行解调,以得到串行数字信号包含的左声道数字信号和右声道数字信号。
结合第三方面的实现方式,在第一种可能的实现方式中,对输入信号进行解调的步骤之前还包括:识别输入信号是包含左声道数字信号和所述右声道数字信号的串行数字信号还是单声道模拟信号;若识别输入信号为串行数字信号,则执行对输入信号进行解调的步骤;若识别输入信号为单声道模拟信号,则对单声道模拟信号进行模数转化,以得到单声道数字信号。
结合第三方面的实现方式,在第二种可能的实现方式中,音频信号处理方法进一步包括对输入信号进行解调的步骤同时执行的以下步骤:对输入信号进行模数转化,以得到单声道数字信号;以及识别输入信号是包含左声道数字信号和右声道数字信号的串行数字信号还是单声道模拟信号;并且,在识别输入信号是包含左声道数字信号和右声道数字信号的串行数字信号还是单声道模拟信号的步骤之后还包括:若识别输入信号为串行数字信号,则将左声道数字信号和右声道数字信号发送至终端的后级电路;若识别输入信号为单声道模拟信号,则将单声道数字信号发送至后级电路。
结合第三方面的实现方式,在第三种可能的实现方式中,该音频信号处理方法进一步包括:输出一馈线电压至外接插头,以控制立体声耳机输出包含左声道数字信号和右声道数字信号的串行数字信号或单声道模拟信号至外接插头的一传声器端口。
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中,输入一馈线电压至外接插头的步骤包括:若需要立体声耳机输出串行数字信号,则输出第一馈线电压至外接插头;若需要立体声耳机输出单声道模拟信号,则输出第二馈线电压至外接插头。
结合第三方面的第二种可能的实现方式,在第五种可能的实现方式中,该音频信号处理方法进一步包括:对左声道数字信号和右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号;将左声道模拟信号和右声道模拟信号通过外接插口输出至外接插头的左声道端口和右声道端口。
结合第三方面的第五种可能的实现方式,在第六种可能的实现方式中,将左声道模拟信号和右声道模拟信号通过外接插口输出至外接插头的左声道端口和右声道端口之前包括:对左声道模拟信号和右声道模拟信号进行自适应噪声消除、自适应回声消除和信号增强。
第四方面提供一种终端,包括用于连接立体声耳机的外接插头的外接插口,外接插口包括一传声器端口,终端进一步包括:接收模块,用于通过外接插口的传声器端口接收立体声耳机传输的输入信号,输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;解调模块,用于对输入信号进行解调,以得到串行数字信号包含的左声道数字信号和右声道数字信号。
结合第四方面的实现方式,在第一种可能的实现方式中,终端还包括识别模块和第二模数转换模块,识别模块用于识别接收模块接收的输入信号是包含左声道数字信号和右声道数字信号的串行数字信号还是单声道模拟信号,若识别输入信号为串行数字信号,则解调模块对输入信号进行解调;若识别输入信号为单声道模拟信号,则第二模数转换模块对单声道模拟信号进行模数转化,以得到单声道数字信号。
结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中,终端还包括信号切换模块,在识别模块识别输入信号为串行数字信号时,信号切换模块用于控制将解调模块得到的左声道数字信号和右声道数字信号发送至终端的后级电路;在识别模块识别输入信号为单声道模拟信号时,信号切换模块用于控制将第二模数转换模块转换的单声道数字信号发送至后级电路。
结合第四方面的实现方式,在第三种可能的实现方式中,终端还包括馈电输出模块,馈电输出模块用于输出第一馈线电压至外接插头,以控制立体声耳机输出包含左声道数字信号和右声道数字信号的串行数字信号至外接插头的一传声器端口,或输出第二馈线电压至外接插头,以控制立体声耳机输出单声道模拟信号至传声器端口。
结合第四方面的第三种可能的实现方式,在第四种可能的实现方式中,终端还包括数模转换模块和第二选择模块,数模转换模块用于对左声道数字信号和右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号,第二选择模块用于将左声道模拟信号和右声道模拟信号输出至外接插头的左声道端口和右声道端口。
结合第四方面的第四种可能的实现方式,在第五种可能的实现方式中,终端还包括语音信号处理模块,在第二选择模块将左声道模拟信号和右声道模拟信号输出至外接插头的左声道端口和右声道端口之前,语音信号处理模块用于对左声道模拟信号和右声道模拟信号进行自适应噪声消除、自适应回声消除和信号增强。
第五方面提供一种立体声耳机的音频信号处理方法,该处理方法基于立体声耳机和与其相适配的终端,该立体声耳机包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,外接插头包括一传声器端口,左耳耳机单元包括左声道传声器和和左声道耳机,右耳耳机单元包括右声道传声器和右声道耳机,终端包括用于连接立体声耳机的外接插头的外接插口,所述外接插口包括一传声器接口,音频信号处理方法包括:对左声道传声器输出的左声道模拟信号和右声道传声器输出的右声道模拟信号进行分时采样及保持;对采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号;将串行数字信号通过外接插头的传声器端口向终端传输;终端通过外接插口的传声器端口接收立体声耳机传输的输入信号,输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;终端对输入信号进行解调,以得到串行数字信号包含的左声道数字信号和右声道数字信号。
结合第五方面的实现方式,在第一种可能的实现方式中,立体声耳机还包括单声道传声器,将串行数字信号通过外接插头的传声器端口向外部终端传输的步骤包括:立体声耳机从外接插头检测外部终端的馈线电压;若检测到第一馈线电压,则将串行数字信号通过外接插头的传声器端口向外部终端传输;若检测到第二馈线电压,则将单声道模拟信号通过外接插头的传声器端口向外部终端传输。
结合第五方面的实现方式,在第二种可能的实现方式中,对输入信号进行解调的步骤之前还包括:识别输入信号是包含左声道数字信号和所述右声道数字信号的串行数字信号还是单声道模拟信号;若识别输入信号为串行数字信号,则执行对输入信号进行解调的步骤;若识别输入信号为单声道模拟信号,则对单声道模拟信号进行模数转化,以得到单声道数字信号。
本发明的有益效果是:区别于现有技术的情况,本发明通过对左声道传声器和右声道传声器对应的左声道数字信号和右声道数字信号进行数字封装,得到一个可在一根线上传输的串行数字信号,从而能够在耳机的4针外接插头的传声器单元上传输左、右两个传声器的信号,实现双耳传声器立体声耳机与传统单声道耳机在4针接口的兼容。
【附图说明】
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:
图1是本发明第一实施例的音频信号处理方法的流程图;
图2是本发明立体声耳机和终端的优选实施例的结构示意图;
图3是本发明第二实施例的音频信号处理方法的流程图;
图4是本发明第一实施例的音频信号处理系统的原理框图;
图5是本发明第二实施例的音频信号处理系统的原理框图;
图6是本发明第三实施例的音频信号处理系统的原理框图;
图7是本发明第四实施例的音频信号处理系统的原理框图。
【具体实施方式】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性的劳动前提下所获得的所有其他实施例,例如各实施例之间技术特征的相互结合,都属于本发明保护的范围。
本发明提供一种音频信号的处理方法,请参见图1的本发明第一实施例的音频信号处理方法的流程图。本实施例的音频信号处理方法基于图2所示的立体声耳机10和终端(外部终端)20,两者之间通过四段式插针结构30实现电连接,其中,该四段式插针结构30包括设置于立体声耳机10一侧的外接插头31,以及设置于终端20一侧的外接插口32。
本实施例优选立体声耳机10为双耳传声器立体声耳机,除用于连接终端20的外接插头31之外,立体声耳机10还包括左耳耳机单元50和右耳耳机单元60,左耳耳机单元50包括左声道传声器M1和左声道耳机(左扬声器)S1,右耳耳机单元60包括右声道传声器M2和右声道耳机(右扬声器)S2。其中,左声道传声器M1和右声道传声器M2分别与左声道耳机S1和右声道耳机S2之间具有良好的声学隔离,并且M1和M2左右独立设置主要是为了采集对应的左声道模拟信号和右声道模拟信号。另外,四段式插针结构30的外接插头31包括接地端口G、与左声道传声器M1和右声道传声器M2连接的传声器端口M、与左声道耳机S1和右声道耳机S2对应连接的左声道端口LS和右声道端口RS,外接插口32包括与上述外接插头31的各个端口相适配的结构,例如包括与传声器端口M相适配的传声器接口。
需要说明的是,图2所示外接插头31的接地端口G、传声器端口M、左声道端口LS和右声道端口RS的位置顺序仅供说明举例,本领域技术人员可在其他实施例中根据实际需要进行其他设置。
在本发明中,以下全文所提及的立体声耳机10均以双耳传声器立体声耳机为例进行描述,当然立体声耳机10并不局限于此,其可以为任何具有左声道传声器M1和右声道传声器M2的多声道耳机。另外终端20以智能手机为例进行描述,同样也不局限于智能手机,可以是具有四段式插针结构30的任何终端,包括平板电脑、个人数字助理(PDA)、便携式通信装置等。
如图1所示,本实施例的音频信号处理方法包括:
步骤S11:立体声耳机对左声道传声器输出的左声道模拟信号和右声道传声器输出的右声道模拟信号进行分时采样及保持。
参阅图2,左声道传声器M1和右声道传声器M2分别实时采集周围声场中的声音信息,并将该声音对应输出为左声道模拟信号和右声道模拟信号。
由于模数转换需要一定的时间,并且左声道模拟信号和右声道模拟信号在该时间段内的采样值是不断变化的,因此需要确保每一次瞬时采样的左、右声道模拟信号的采样值在模数转换期间保持不变,方可保证数模转换的精确度。值得注意的是,本发明中输出的左声道模拟信号和右声道模拟信号具体表现为电压值,对应的采样值为采样电压值。
步骤S12:立体声耳机对采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,得到对应的左声道数字信号和右声道数字信号。
步骤S13:立体声耳机将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号。
本发明的主要目的是在一根线(外接插头31的传声器端口M)上传输左声道传声器信号和右声道传声器信号,因此首先需要将左、右两个声道的模拟信号进行数字化,再通过数字封装的方式得到一个能够在此根线上传输的串行数字信号。
在步骤S12中进行模数转换时,可采用输出数字信号为1位、4位或16位的Σ-∆、pipeline等类型的数模转换器。在步骤S13中可采用AES3等数据封装方式得到串行数字信号。并且,本实施例优选封装得到的串行数字信号依次包括包头、实际负载和校验位,其中:
包头包含同步信息和时钟信息,用于确保使得终端20接收到的左声道数字信号和右声道数字信号与立体声耳机10输出的左声道数字信号和右声道数字信号在传输顺序上的同步,以及标识左声道数字信号和右声道数字信号传输的开始时刻以及结束时刻。
实际负载包含需要传输的左声道数字信号和右声道数字信号。
校验位包含校验码,主要用于终端20对接收到的串行数字信号进行有效性和完整性的验证,以确保终端20接收到的左声道数字信号和右声道数字信号并没有损坏或丢失。
应理解,上述串行数字信号所包含的结构以及包头、实际负载和校验位的位置顺序仅供说明举例,本发明可根据具体的数据封装需要采用其他数据封装方式,不限于前文所举例的AES3封装方式。并且,需要说明的是,本实施例采用的模数转换器的类型和输出的数字信号的位数可以和根据步骤S13中的数据封装方式具体而定。
另外,本实施例的步骤S12和S13优选在图2所示的耳机线上设置的线控模块40的控制下完成。进一步地,该模数转换器工作所需电压来自终端20通过外接插口32对耳机线上的馈电,基于此,本实施例可通过提高馈电的电压值为模数转换器等其他耳机线上的器件提供更多的电力支持。
步骤S14:终端接收立体声耳机发送的串行数字信号。
立体声耳机10将步骤S13得到的串行数字信号通过外接插头31的传声器端口M传输至终端20。
步骤S15:终端对串行数字信号进行解调,以得到左声道数字信号和右声道数字信号。
终端20检测到立体声耳机10传输的输入信号时,首先识别其是否具有串行数字信号标识包头,若识别该输入信号具有包头则确定其为步骤S13中的经过数据封装后的串行数字信号,而后进行步骤S15的解调。若未识别出该输入信号具有包头,则不对该输入信号进行解调。
基于上述,可知本实施例主要通过对立体声耳机10的左声道传声器M1和右声道传声器M2采集的左、右声道模拟信号进行模数转换,以将得到的左、右声道数字信号进行数字封装,得到可在一根线上传输的串行数字信号,从而实现在外接插头31的传声器端口M上传输左、右两个传声器的声道模拟信号,进而使得双耳传声器立体声耳机能够通过传统的4针外接插头与终端20进行连接。
本发明还提供第二实施例的音频信号处理方法,其在第一实施例中揭示的音频处理方法的基础上进行详细描述。本实施例与第一实施例的音频信号处理方法的不同之处在于:
本实施例的立体声耳机的耳机线上还设置有单声道传声器(可内置于图2所示的线控模块40中),相当于当前耳机线上的话筒,以使得终端20的耳机插口可兼容传统的单声道(麦克风)立体声耳机。如图3所示,本实施例的音频信号处理方法包括以下步骤:
步骤S21:立体声耳机检测外部终端的馈线电压,并输出一输入信号,其中输入信号包含左声道数字信号和右声道数字信号的串行数字信号或单声道模拟信号。
当用户选择使用单声道传声器时,图2所示的左声道传声器M1和右声道传声器M2停止采集并停止输出左声道模拟信号和右声道模拟信号。
在本实施例中,优选用户通过终端20的触摸屏进行上述选择,实际操作时可在终端20中提供第一音频模式和第二音频模式。具体而言,当用户选择第一音频模式时,即需要立体声耳机10通过左声道传声器M1和右声道传声器M2对应采集并输出左声道模拟信号和右声道模拟信号;当用户选择第二音频模式时,即需要立体声耳机10通过单声道传声器采集并输出的单声道模拟信号。
当用户选择第一音频模式或第二音频模式时,终端20输出一馈线电压至外接插头31,以使线控模块40根据该馈线电压控制立体声耳机10输出包含左声道数字信号和右声道数字信号的串行数字信号或单声道模拟信号至传声器端口M。具体而言:
在用户选择第一音频模式时,即表示需要立体声耳机10输出串行数字信号,此时终端20输出第一馈线电压至外接插头31。在用户选择第二音频模式时,即表示需要立体声耳机10输出单声道模拟信号,此时终端20输出第二馈线电压至外接插头31。
立体声耳机10实时或分时检测外接插头31的馈线电压,若检测到第一馈线电压,则将串行数字信号通过外接插头31的传声器端口M传输至终端20。若检测到第二馈线电压,则将单声道模拟信号通过外接插头31的传声器端口M传输至终端20。
需要说明的是,本实施例主要通过检测馈线电压以控制立体声耳机10输出包含左声道数字信号和右声道数字信号的串行数字信号或单声道模拟信号至传声器端口M,在其他实施例中,本领域技术人员可根据实际需要选择其他的电路量,例如阻抗、电流等。
步骤S22:终端接收输入信号,并识别其是否含有包头。
在接收到立体声耳机10输出的输入信号后,终端20通过识别该输入信号是否包含数据封装后的包头,以判断该输入信号是包含左声道数字信号和右声道数字信号的串行数字信号还是单声道模拟信号。
若终端识别其不包含包头,即输入信号为单声道模拟信号,则执行步骤S23以得到单声道数字信号。若终端20识别输入信号包含包头,即其为串行数字信号,则执行步骤S24以对其进行解析。
步骤S23:终端对单声道模拟信号进行模数转化,以得到单声道数字信号。
步骤S24:终端对串行数字信号进行解调。
需要说明的是,本实施例的步骤S23与步骤S24之间没有联系,可以看作两步骤是步骤S22之后同时且选择性执行的,即在用户的一次选择指令控制下仅执行两步骤中的一个,用户若选择第一音频模式,则仅执行步骤S24,不执行步骤S23;用户若选择第二音频模式,则仅执行步骤S23,不执行步骤S24。
步骤S25:若终端识别输入信号为单声道模拟信号,则将模数转换得到的单声道数字信号发送至终端的后级电路。
步骤S26:若终端识别输入信号为串行数字信号,则终端将解调得到的左声道数字信号和右声道数字信号发送至后级电路。
在将串行数字信号发送至后级电路后,终端20可以进行立体声语音通话。具体而言:
再次参阅图2,立体声耳机10的左声道传声器M1和右声道传声器M2分别被戴在呼叫方的左右耳。左声道传声器M1采集呼叫方的语音信号中的左声道模拟信号,右声道传声器M2采集呼叫方的语音信号中的右声道模拟信号,立体声耳机10通过第一实施例的音频信号处理方法将左声道模拟信号和右声道模拟信号通过四段式插针结构30传输至终端20,终端20的后级电路将其通过网络传输到被呼叫方,通过被呼叫方的左声道耳机和右声道耳机进行播放,以使被呼叫方获得立体声通话体验。
在语音通话时,由于左声道传声器M1和左声道耳机LS、右声道传声器M2和右声道耳机RS之间不可能实现完全的声学隔离,因此需要对左声道传声器M1和右声道传声器M2采集的左、右声道模拟信号进行自适应回声处理(Adaptive Echo Cancellation,AEC),以消除两者采对应集到的左声道耳机LS和右声道耳机RS发出的声音。
另外,由于通话过程中用户(呼叫方)的发声源(嘴巴)与左声道传声器M1和右声道传声器M2有相当一段距离,且通话环境中具有背景噪声,因此还需要对左声道传声器M1和右声道传声器M2采集的左、右声道模拟信号进行自适应噪声消除(Adaptive Noise Cancellation,ANC),在被呼叫方一侧,终端需要对输出至左声道耳机和右声道耳机的左、右声道模拟信号进行信号增强处理。
当然,在将串行数字信号发送至后级电路后,终端20还可以进行双耳立体声录音,即,左声道传声器M1和右声道传声器M2将对应采集到的左声道模拟信号和右声道模拟信号通过四段式插针结构30传输至终端20,终端20将两者以左声道数字信号和右声道数字信号的形式存储于内存中。终端20还可以进行双耳立体声监听(亦相当于助听器),即,将存储的左声道数字信号和右声道数字信号通过数模转换、低延迟处理、增益处理、声学回声抑制处理(Acoustic Echo Suppression,AES)等处理后,通过左声道端口LS和右声道端口RS进行立体声播放。应理解,左声道端口LS和右声道端口RS仅是一种具体举例,其仅是为了形象且直观的说明左声道模拟信号的输出和右声道模拟信号的输出。
本发明还提供一种音频信号处理系统,包括图2所示的立体声耳机10、终端20和四段式插针结构30。如图4所示,在图2所示基础上,本实施例的立体声耳机10还包括采样保持模块110、第一模数转换模块120和信号封装模块130,终端20包括接收模块210、解调模块220、数模转换模块230和第二选择模块240。
在本实施例中,采样保持模块110用于对左声道传声器M1和右声道传声器M2对应输出的左声道模拟信号和右声道模拟信号进行分时采样及保持。
第一模数转换模块120用于对经过采样保持模块110采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号。
信号打包模块130用于将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号。该串行数字信号经过外接插头31和外接插口32传输至接收模块210。
解调模块220用于对接收模块210接收到的串行数字信号进行解调,以得到左声道数字信号和右声道数字信号。
数模转换模块230用于对左声道数字信号和右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号。
第二选择模块240用于将左声道模拟信号和右声道模拟信号通过外接插口32输出至外接插头31,继而输出至图2所示的外接插头31的左声道端口LS和右声道端口RS。应理解,左声道端口LS和右声道端口RS仅是一种具体举例,其仅是为了形象且直观的说明左声道模拟信号的输出和右声道模拟信号的输出。
本发明还提供第二实施例的音频信号处理系统,其在第一实施例的音频信号处理系统的基础上进行详细描述。如图5所示,本实施例与第一实施例的不同之处在于:
本实施例的立体声耳机10还包括单声道传声器M0、第一选择模块140和馈线监测模块160,终端20还包括馈电输出模块250、识别模块260、第二模数转换模块270和信号切换模块280。
其中,馈线监测模块160用于从外接插头21检测外部终端20的馈线电压。
第一选择模块140用于根据选择指令选择将单声道传声器M0输出的单声道模拟信号和串行数字信号中的一个通过外接插头31的传声器端口M(见图2)、外接插口32传输至终端20。
在本实施例中,用户的选择指令在具体的实施过程中优选为馈线电压。具体而言:
若用户需要输出串行数字信号,则第二选择模块240控制馈电输出模块250用于输出第一馈线电压至外接插头31。馈线监测模块160若从外接插头31检测到第一馈线电压,则第一选择模块140将串行数字信号通过外接插头31的传声器端口M传输至终端20的第二接收模块210。识别模块260用于识别第二接收模块210接收的输入信号为串行数字信号,解调模块220用于对输入信号(串行数字信号)进行解调,信号切换模块280用于控制将解调模块220得到的左声道数字信号和右声道数字信号发送至终端20的后级电路。
若用户需要输出单声道模拟信号,则第二选择模块240控制馈电输出模块250用于输出第二馈线电压至外接插头31。馈线监测模块160若从外接插头31检测到第二馈线电压,则第一选择模块140控制立体声耳机10将单声道模拟信号通过外接插头31的传声器端口M传输至终端20的接收模块210。识别模块260用于识别接收模块210接收的输入信号为单声道模拟信号,第二模数转换模块270对单声道模拟信号进行模数转化,以得到单声道数字信号,信号切换模块280用于控制将第二模数转换模块270转换的单声道数字信号发送至后级电路。
本发明还提供第三实施例的音频信号处理系统,其在第一实施例的音频信号处理系统的基础上进行详细描述。如图6所示,本实施例与第一实施例的不同之处在于:
本实施例的终端20还包括语音信号处理模块290。
在第二选择模块240将左声道模拟信号和右声道模拟信号输出至外接插头31的左声道端口LS和右声道端口RS之前,语音信号处理290用于对左声道模拟信号和右声道模拟信号进行自适应噪声消除、自适应回声消除和信号增强。
本发明的上述几个实施例的音频信号处理系统、立体声耳机10和终端20,对应的基于上述实施例的音频信号处理方法,因此可具有相同的技术效果。并且应该理解到,所揭露的立体声耳机10和终端20的描述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统中,或一些特征可以忽略,或不执行。另外,模块相互之间的耦合或通信连接可以是通过一些接口,也可以是电性或其它的形式。
上述各个功能模块作为立体声耳机10和终端20的组成部分,可以是或者也可以不是物理框,既可以位于一个地方,也可以分布到多个网络单元上,既可以采用硬件的形式实现,也可以采用软件功能框的形式实现。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。
本发明还提供第四实施例的音频信号处理系统,包括图2所示的立体声耳机10、终端20和四段式插针结构30。如图7所示,在图2所示的基础上,本实施例的立体声耳机10包括采样保持器410、第一模数转换器420和信号封装器430,终端20包括接收器510、解调器520、数模转换器530和第二选择器540。
在本实施例中,采样保持器410用于对左声道传声器M1和右声道传声器M2对应输出的左声道模拟信号和右声道模拟信号进行分时采样及保持。
第一模数转换器420用于对经过采样保持器410采样及保持的左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号。
信号封装器430用于将左声道数字信号和右声道数字信号进行数据封装,得到串行数字信号。
解调器520用于对接收器510接收到的串行数字信号进行解调,以得到左声道数字信号和右声道数字信号。
数模转换器530用于对左声道数字信号和右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号。
第二选择器540用于将左声道模拟信号和右声道模拟信号通过外接插口32输出至外接插头31,继而输出至图2所示的外接插头31的左声道端口LS和右声道端口RS。
综上所述,本发明通过对左声道传声器和右声道传声器对应的左声道数字信号和右声道数字信号进行数字封装,以得到可在一根线上传输的串行数字信号,从而能够在一根线上传输左、右两个传声器的信号,实现立体声双耳传声器耳机与传统单声道耳机在4针接口的兼容。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (20)

  1. 一种立体声耳机的音频信号处理方法,所述立体声耳机包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,所述外接插头包括一传声器端口,所述左耳耳机单元包括左声道传声器和左声道耳机,所述右耳耳机单元包括右声道传声器和右声道耳机,其特征在于,所述方法包括:
    对所述左声道传声器输出的左声道模拟信号和所述右声道传声器输出的右声道模拟信号进行分时采样及保持;
    对采样及保持的所述左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;
    将所述左声道数字信号和所述右声道数字信号进行数据封装,得到串行数字信号;
    将所述串行数字信号通过所述外接插头的传声器端口向所述外部终端传输。
  2. 根据权利要求1所述的音频信号处理方法,其特征在于,所述立体声耳机还包括单声道传声器,所述将所述串行数字信号通过所述外接插头的传声器端口向所述外部终端传输的步骤包括:
    所述立体声耳机从所述外接插头检测所述外部终端的馈线电压;
    若检测到第一馈线电压,则将所述串行数字信号通过所述外接插头的所述传声器端口向所述外部终端传输;
    若检测到第二馈线电压,则将所述单声道传声器输出的单声道模拟信号通过所述外接插头的所述传声器端口向所述外部终端传输。
  3. 一种立体声耳机,其特征在于,所述立体声耳机包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,所述外接插头包括一传声器端口,所述左耳耳机单元包括左声道传声器和左声道耳机,所述右耳耳机单元包括右声道传声器和右声道耳机,其特征在于,所述立体声耳机进一步包括:
    采样保持模块,用于对所述左声道传声器输出的左声道模拟信号和所述右声道传声器输出的右声道模拟信号进行分时采样及保持;
    第一模数转换模块,用于对经过所述采样保持模块采样及保持的所述左声道模拟信号和所述右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;
    信号封装模块,用于将所述左声道数字信号和所述右声道数字信号进行数据封装,得到串行数字信号,并将所述串行数字信通过所述外接插头的传声器端口向所述外部终端传输。
  4. 根据权利要求3所述的立体声耳机,其特征在于,所述立体声耳机还包括单声道传声器、第一选择模块和馈线监测模块,所述馈线监测模块用于从所述外接插头检测所述外部终端的馈线电压,若检测到第一馈线电压,则所述馈线监测模块控制所述第一选择模块将所述串行数字信号通过所述外接插头的所述传声器端口向所述外部终端传输;若检测到第二馈线电压,则所述馈线监测模块控制所述第一选择模块将所述单声道传声器输出的单声道模拟信号通过所述外接插头的所述传声器端口向所述外部终端传输。
  5. 一种终端的音频信号处理方法,所述终端包括用于连接立体声耳机的外接插头的外接插口,所述外接插口包括一传声器接口,其特征在于,所述音频信号处理方法包括:
    通过所述外接插口的传声器端口接收所述立体声耳机传输的输入信号,所述输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;
    对所述输入信号进行解调,以得到所述串行数字信号包含的所述左声道数字信号和所述右声道数字信号。
  6. 根据权利要求5所述的音频信号处理方法,其特征在于,所述对所述输入信号进行解调的步骤之前包括:
    识别所述输入信号是包含所述左声道数字信号和所述右声道数字信号的串行数字信号还是所述单声道模拟信号;
    若识别所述输入信号为所述串行数字信号,则执行所述对所述输入信号进行解调的步骤;
    若识别所述输入信号为所述单声道模拟信号,则对所述单声道模拟信号进行模数转化,以得到单声道数字信号。
  7. 根据权利要求5所述的音频信号处理方法,其特征在于,所述音频信号处理方法进一步包括对所述输入信号进行解调的步骤同时执行的以下步骤:
    对所述输入信号进行模数转化,以得到单声道数字信号;以及
    识别所述输入信号是包含所述左声道数字信号和所述右声道数字信号的串行数字信号还是单声道模拟信号;
    并且,在所述识别所述输入信号是包含所述左声道数字信号和所述右声道数字信号的串行数字信号还是单声道模拟信号的步骤之后还包括:
    若识别所述输入信号为所述串行数字信号,则将所述左声道数字信号和所述右声道数字信号发送至所述终端的后级电路;
    若识别所述输入信号为所述单声道模拟信号,则将所述单声道数字信号发送至所述后级电路。
  8. 根据权利要求5所述的音频信号处理方法,所述音频信号处理方法进一步包括:
    输出一馈线电压至所述外接插头,以控制所述立体声耳机输出包含所述左声道数字信号和所述右声道数字信号的串行数字信号或所述单声道模拟信号至所述外接插头的一传声器端口。
  9. 根据权利要求8所述的音频信号处理方法,其特征在于,所述输入一馈线电压至所述外接插头的步骤包括:
    若需要所述立体声耳机输出所述串行数字信号,则输出第一馈线电压至所述外接插头;
    若需要所述立体声耳机输出所述单声道模拟信号,则输出第二馈线电压至所述外接插头。
  10. 根据权利要求7所述的音频信号处理方法,其特征在于,所述音频信号处理方法进一步包括:
    对所述左声道数字信号和所述右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号;
    将所述左声道模拟信号和所述右声道模拟信号通过所述外接插口输出至所述外接插头的左声道端口和右声道端口。
  11. 根据权利要求10所述的音频信号处理方法,其特征在于,所述将所述左声道模拟信号和所述右声道模拟信号通过所述外接插口输出至所述外接插头的左声道端口和右声道端口的步骤之前包括:
    对所述左声道模拟信号和所述右声道模拟信号进行自适应噪声消除、自适应回声消除和信号增强。
  12. 一种终端,所述终端包括用于连接立体声耳机的外接插头的外接插口,所述外接插口包括一传声器接口,其特征在于,所述终端进一步包括:
    接收模块,用于通过所述外接插口的传声器接口接收所述立体声耳机传输的输入信号,所述输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;
    解调模块,用于对所述输入信号进行解调,以得到所述串行数字信号包含的所述左声道数字信号和所述右声道数字信号。
  13. 根据权利要求12所述的终端,其特征在于,所述终端还包括识别模块和第二模数转换模块,所述识别模块用于识别所述接收模块接收的所述输入信号是包含所述左声道数字信号和所述右声道数字信号的串行数字信号还是单声道模拟信号,若识别所述输入信号为所述串行数字信号,则所述解调模块对所述输入信号进行解调;若识别所述输入信号为所述单声道模拟信号,则所述第二模数转换模块对所述单声道模拟信号进行模数转化,以得到单声道数字信号。
  14. 根据权利要求13所述的终端,其特征在于,所述终端还包括信号切换模块,在所述识别模块识别所述输入信号为所述串行数字信号时,所述信号切换模块用于控制将所述解调模块得到的所述左声道数字信号和所述右声道数字信号发送至所述终端的后级电路;在所述识别模块识别所述输入信号为所述单声道模拟信号时,所述信号切换模块用于控制将所述第二模数转换模块转换的所述单声道数字信号发送至所述后级电路。
  15. 根据权利要求12所述的终端,其特征在于,所述终端还包括馈电输出模块,所述馈电输出模块用于输出第一馈线电压至所述外接插头,以控制所述立体声耳机输出包含所述左声道数字信号和所述右声道数字信号的串行数字信号至所述外接插头的一传声器端口,或输出第二馈线电压至所述外接插头,以控制所述立体声耳机输出所述单声道模拟信号至所述传声器端口。
  16. 根据权利要求15所述的终端,其特征在于,所述终端还包括数模转换模块和第二选择模块,所述数模转换模块用于对所述左声道数字信号和所述右声道数字信号进行数模转换,以得到对应的左声道模拟信号和右声道模拟信号,所述第二选择模块用于将所述左声道模拟信号和所述右声道模拟信号输出至所述外接插头的左声道端口和右声道端口。
  17. 根据权利要求16所述的终端,其特征在于,所述终端还包括语音信号处理模块,在所述第二选择模块将所述左声道模拟信号和所述右声道模拟信号输出至所述外接插头的左声道端口和右声道端口之前,所述语音信号处理模块用于对所述左声道模拟信号和所述右声道模拟信号进行自适应噪声消除、自适应回声消除和信号增强。
  18. 一种音频信号的处理方法,所述处理方法基于立体声耳机和与其相适配的终端,所述立体声耳机包括左耳耳机单元、右耳耳机单元以及用于连接外部终端的外接插头,所述外接插头包括一传声器端口,所述左耳耳机单元包括左声道传声器和左声道耳机,所述右耳耳机单元包括右声道传声器和右声道耳机,所述终端包括用于连接立体声耳机的外接插头的外接插口,所述外接插口包括一传声器接口,其特征在于,所述处理方法包括:
    所述立体声耳机对所述左声道传声器输出的左声道模拟信号和所述右声道传声器输出的右声道模拟信号进行分时采样及保持;
    所述立体声耳机对采样及保持的所述左声道模拟信号和右声道模拟信号进行模数转换,以得到对应的左声道数字信号和右声道数字信号;
    所述立体声耳机将所述左声道数字信号和所述右声道数字信号进行数据封装,得到串行数字信号;
    所述立体声耳机将所述串行数字信号通过所述外接插头的传声器端口向所述终端传输;
    所述终端通过所述外接插口的传声器端口接收所述立体声耳机传输的输入信号,所述输入信号是单声道模拟信号或包含左声道数字信号和右声道数字信号的串行数字信号;
    所述终端对所述输入信号进行解调,以得到所述串行数字信号包含的所述左声道数字信号和所述右声道数字信号。
  19. 根据权利要求18所述的音频信号处理方法,其特征在于,所述立体声耳机还包括单声道传声器,所述将所述串行数字信号通过所述外接插头的传声器端口向所述外部终端传输的步骤包括:
    所述立体声耳机从所述外接插头检测所述外部终端的馈线电压;
    若检测到第一馈线电压,则将所述串行数字信号通过所述外接插头的所述传声器端口向所述外部终端传输;
    若检测到第二馈线电压,则将所述单声道传声器输出的单声道模拟信号通过所述外接插头的所述传声器端口向所述外部终端传输。
  20. 根据权利要求18所述的音频信号处理方法,其特征在于,所述对所述输入信号进行解调的步骤之前包括:
    识别所述输入信号是包含所述左声道数字信号和所述右声道数字信号的串行数字信号还是所述单声道模拟信号;
    若识别所述输入信号为所述串行数字信号,则执行所述对所述输入信号进行解调的步骤;
    若识别所述输入信号为所述单声道模拟信号,则对所述单声道模拟信号进行模数转化,以得到单声道数字信号。
PCT/CN2014/074631 2013-11-25 2014-04-02 立体声耳机、终端及两者的音频信号处理方法 Ceased WO2015074363A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14864590.6A EP3057336A4 (en) 2013-11-25 2014-04-02 STEREO EARPHONES, TERMINALS AND AUDIO SIGNAL PROCESSING METHODS FOR THE STEREO EARPHONES AND THE TERMINAL
US15/163,369 US20160269844A1 (en) 2013-11-25 2016-05-24 Stereo headset, terminal, and audio signal processing methods thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310608206.8 2013-11-25
CN201310608206.8A CN104661158A (zh) 2013-11-25 2013-11-25 立体声耳机、终端及两者的音频信号处理方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/163,369 Continuation US20160269844A1 (en) 2013-11-25 2016-05-24 Stereo headset, terminal, and audio signal processing methods thereof

Publications (1)

Publication Number Publication Date
WO2015074363A1 true WO2015074363A1 (zh) 2015-05-28

Family

ID=53178867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074631 Ceased WO2015074363A1 (zh) 2013-11-25 2014-04-02 立体声耳机、终端及两者的音频信号处理方法

Country Status (4)

Country Link
US (1) US20160269844A1 (zh)
EP (1) EP3057336A4 (zh)
CN (1) CN104661158A (zh)
WO (1) WO2015074363A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032675A1 (zh) * 2016-08-16 2018-02-22 歌尔股份有限公司 一种数字耳机
CN111902866A (zh) * 2018-03-19 2020-11-06 伯斯有限公司 头戴式耳机中的双耳自适应噪声消除系统中的回声控制

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10141902B1 (en) * 2015-07-08 2018-11-27 Marvell World Trade Ltd. Apparatus for and method of generating output signal based on detected load resistance value
CN105355230A (zh) * 2015-10-14 2016-02-24 宁波萨瑞通讯有限公司 高品质音乐数码产品的处理方法
CN105657594A (zh) * 2015-12-25 2016-06-08 星人科技(北京)有限公司 耳机
CN105472509B (zh) * 2015-12-30 2019-08-16 深圳Tcl数字技术有限公司 音频信号发送、接收方法及装置
CN107493543B (zh) * 2016-06-12 2021-03-09 深圳奥尼电子股份有限公司 用于耳机耳塞的3d音效处理电路及其处理方法
CN106297815B (zh) * 2016-07-27 2017-09-01 武汉诚迈科技有限公司 一种语音识别场景中回音消除的方法
CN106303789A (zh) * 2016-10-31 2017-01-04 维沃移动通信有限公司 一种录音方法、耳机及移动终端
JP6874430B2 (ja) * 2017-03-09 2021-05-19 ティアック株式会社 音声レコーダ
CN106921915A (zh) * 2017-04-03 2017-07-04 张德明 一种全无线蓝牙立体声拾音装置
CN108391205B (zh) * 2018-03-30 2021-01-22 Oppo广东移动通信有限公司 左右声道切换方法和装置、可读存储介质、终端
CN108391208B (zh) * 2018-03-30 2021-02-02 Oppo广东移动通信有限公司 信号切换方法、装置、终端、耳机及计算机可读存储介质
CN109688513A (zh) * 2018-11-19 2019-04-26 恒玄科技(上海)有限公司 无线主动降噪耳机及双主动降噪耳机通话数据处理方法
CN111372166B (zh) * 2020-02-21 2021-10-01 华为技术有限公司 左右耳智能识别方法及相关设备
CN113993028B (zh) * 2021-11-01 2024-02-13 苏州敏芯微电子技术股份有限公司 信号处理电路、方法及骨传导耳机

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070104333A1 (en) * 2005-11-08 2007-05-10 Bill Kuo Headset with built-in power supply
CN101410900A (zh) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 用于可佩戴装置的数据处理
CN101841586A (zh) * 2010-04-27 2010-09-22 深圳桑菲消费通信有限公司 一种将手机耳机接口扩展为串口通信接口的方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100514601B1 (ko) * 2003-03-18 2005-09-13 한국스프라이트 주식회사 멀티채널스피커시스템의 결선방법과 장치
US8396196B2 (en) * 2009-05-08 2013-03-12 Apple Inc. Transfer of multiple microphone signals to an audio host device
CN101719610A (zh) * 2009-12-30 2010-06-02 华为终端有限公司 一种有线耳机兼容方法和装置
US20110288860A1 (en) * 2010-05-20 2011-11-24 Qualcomm Incorporated Systems, methods, apparatus, and computer-readable media for processing of speech signals using head-mounted microphone pair
KR101670723B1 (ko) * 2011-01-04 2016-11-01 삼성전자주식회사 비디오 및 오디오 통신 시스템에서 가변 길이의 전송 패킷 지원 방법 및 장치
CN102111699A (zh) * 2011-03-11 2011-06-29 华为终端有限公司 终端及其兼容对讲耳机和立体声耳机的方法
US9246554B2 (en) * 2011-05-31 2016-01-26 Facebook, Inc. Using a wireless radio to manage power consumption
DE102011104268A1 (de) * 2011-06-15 2012-12-20 Austriamicrosystems Ag Kopfhörer, Audiogerät, Audiosystem und Verfahren zur Signalübertragung
EP2587833A1 (en) * 2011-10-27 2013-05-01 Research In Motion Limited Headset with two-way multiplexed communication
CN102438187B (zh) * 2011-12-22 2014-05-21 深圳市朵唯志远科技有限公司 一种通用多功能耳机
CN202759583U (zh) * 2012-06-21 2013-02-27 徐丙川 音频采集装置和音频录制装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070104333A1 (en) * 2005-11-08 2007-05-10 Bill Kuo Headset with built-in power supply
CN101410900A (zh) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 用于可佩戴装置的数据处理
CN101841586A (zh) * 2010-04-27 2010-09-22 深圳桑菲消费通信有限公司 一种将手机耳机接口扩展为串口通信接口的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3057336A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032675A1 (zh) * 2016-08-16 2018-02-22 歌尔股份有限公司 一种数字耳机
CN111902866A (zh) * 2018-03-19 2020-11-06 伯斯有限公司 头戴式耳机中的双耳自适应噪声消除系统中的回声控制

Also Published As

Publication number Publication date
EP3057336A4 (en) 2016-12-14
US20160269844A1 (en) 2016-09-15
EP3057336A1 (en) 2016-08-17
CN104661158A (zh) 2015-05-27

Similar Documents

Publication Publication Date Title
WO2015074363A1 (zh) 立体声耳机、终端及两者的音频信号处理方法
WO2015135201A1 (zh) 双传声器耳机及通话中音频信号的降噪处理方法
WO2020155090A1 (zh) 音频的蓝牙传输方法、蓝牙收发器及计算机可读存储介质
WO2012105735A1 (ko) 골전도 기능을 갖는 통신단말기
CN104202691B (zh) 一种用于心电检测的耳机及移动终端
WO2010081434A1 (zh) 自适应音量调节的方法、装置及通信终端
CN2854988Y (zh) 蓝牙耳机
WO2018076434A1 (zh) 声音信号的输出方法及装置、耳机状态的检测方法及装置
CN107959903A (zh) 音频输出切换方法、反馈耳机佩戴状态方法、装置及耳机
WO2018147573A1 (ko) 인이어 마이크와 아웃이어 마이크 수음특성을 이용한 소음 제거 이어셋 및 소음 제거 방법
WO2011132845A2 (ko) 이어마이크폰
CN104333630A (zh) 嵌有无线耳机的手机
WO2017012376A1 (zh) 一种移动终端麦克风功能切换的方法及系统
WO2014133346A1 (ko) 외부상황 인지 리시버
WO2017092387A1 (zh) 一种可穿戴设备的通信实现方法及系统
WO2016074610A1 (zh) 耳机
WO2020080578A1 (ko) 휴대용 음향기기
JP3398699B2 (ja) 携帯端末装置
CN105072538B (zh) 一种立体声播放系统及立体声播放方法
CN209642920U (zh) 环境感知降噪入耳式蓝牙耳机
WO2017010609A1 (ko) 헤드셋의 하울링 및 에코 제거 방법 및 컴퓨터 프로그램
CN106792321B (zh) 一种分体式无线耳机及其通信方法
CN202713580U (zh) 一种终端设备的耳机兼容接口电路
WO2016171316A1 (ko) 5극 접속단자가 구비된 단말기
CN104168465A (zh) 一种视频音频采集方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14864590

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014864590

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014864590

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE