WO2017197742A1 - Method and device for audio processing - Google Patents

Method and device for audio processing Download PDF

Info

Publication number
WO2017197742A1
WO2017197742A1 PCT/CN2016/089183 CN2016089183W WO2017197742A1 WO 2017197742 A1 WO2017197742 A1 WO 2017197742A1 CN 2016089183 W CN2016089183 W CN 2016089183W WO 2017197742 A1 WO2017197742 A1 WO 2017197742A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
acoustic
sound
microphone
speaker
Prior art date
Application number
PCT/CN2016/089183
Other languages
French (fr)
Chinese (zh)
Inventor
蒋晓
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017197742A1 publication Critical patent/WO2017197742A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • 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

Definitions

  • the sound function of the terminal device is also more abundant, and the related technology mainly realizes a richer sound function by means of device stacking, that is, setting more speakers and microphones in the terminal device.
  • the sound processing device, and each speaker and microphone has a transducer. Therefore, on the one hand, the cost of the terminal is improved; on the other hand, for a mobile terminal with limited size, the internal space is extremely valuable, and the added transducer occupies more space, which is disadvantageous to the slimness of the mobile terminal.
  • the cost of the moving coil microphone is relatively low, due to the large volume of the transducer, it is only possible to use a column-level microphone or a condenser microphone which is relatively expensive but small in size.
  • the acoustic-electric bidirectional transducer comprises a moving coil transducer.
  • the acoustic-electric bidirectional transducer comprises a moving coil transducer.
  • the current working state is detected, and switching between the speaker mode and the microphone mode is performed according to the working state.
  • the working state includes a first working state and a second working state, and when it is detected that it is currently in the first working state (such as a video playing state, a music playing state, a recording playing state, a ringing state, etc.), entering the speaker mode;
  • the second working state such as recording state, call state, etc.
  • the judgment of the working state can be made by detecting the currently enabled application.
  • the switching of the two modes can be implemented in other ways. For example, when it is detected that the electrical signal input end of the acoustic-electric bidirectional transducer has an electrical signal input, the speaker mode is entered; when it is detected that the electrical signal input end of the acoustic-electric bidirectional transducer has no electrical signal input, the microphone mode is entered. . The details are not listed here.
  • the apparatus includes a mode switching module 101, a first processing module 102, a second processing module 103, and an acoustic-electric bidirectional transducer 104, and an acoustic-electric bidirectional transducer 104. It can realize two-way conversion of acoustic and electro-acoustic, among which:
  • the mode switching module 101 is further configured to: when switching to the speaker mode, turn off the second processing module 103, start the first processing module 102; when switching to the microphone mode, the mode switching module 101 turns off the first The processing module 102 starts the second processing module 103.

Landscapes

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

Abstract

A method and device for audio processing, comprising the steps of: switching between a speaker mode and a microphone mode; when entering the speaker mode, controlling an acoustic-electric two-way transducer to receive an electric signal and to convert the electric signal into an audio signal then to output same; and when entering the microphone mode, controlling the acoustic-electric two-way transducer to capture an audio signal and to convert the audio signal into an electric signal then to output same.

Description

声音处理方法和装置Sound processing method and device 技术领域Technical field
本文涉及但不限于电子技术领域,尤指一种声音处理方法和装置。This document relates to, but is not limited to, the field of electronic technology, and more particularly to a sound processing method and apparatus.
背景技术Background technique
终端设备通常都具有声音处理功能,包括播放声音、录制声音等,其中,播放声音由扬声器实现,录制声音由传声器(或称麦克,MIC)实现。每一个扬声器和传声器均包括一个换能器。扬声器的换能器又称电声转换器,能够将电信号转换为声音信号,实现声音的播放;传声器的换能器又称声电转换器,能够将声音信号转换为电信号,实现声音的录制。Terminal devices usually have sound processing functions, including playing sounds, recording sounds, etc., wherein the playing sound is implemented by a speaker, and the recording sound is realized by a microphone (or a microphone, MIC). Each speaker and microphone includes a transducer. The transducer of the speaker, also known as the electroacoustic transducer, can convert the electrical signal into a sound signal to realize the sound playback; the transducer of the microphone, also called the acoustic-electric converter, can convert the sound signal into an electrical signal to realize the sound. Recording.
根据换能器的工作原理和结构的不同,扬声器分为动圈式扬声器、动铁式扬声器、静电式扬声器等。其中,动圈式扬声器的换能器为动圈结构,即为动圈式换能器。动圈式扬声器的动圈式换能器如图1所示,主要包括振膜10、折环20、纸盆30、防尘帽40、定芯片50、线圈60、永磁体70、导磁板80和外磁体90,振膜10、折环20、定芯片50、线圈60以及承载线圈60的骨架构成振动系统,永磁体70、导磁板80和外磁体90构成磁路系统。其工作原理为:将交变的电信号输入振动系统的线圈60,使其在磁路系统形成的磁场中受到力的作用而运动,这个力的属性遵从左手定则(电动机定则),运动的线圈60带动振膜10产生振动,从而发出声音,完成电声转换。According to the working principle and structure of the transducer, the speaker is divided into a moving coil speaker, a moving iron speaker, an electrostatic speaker and the like. Among them, the transducer of the moving coil speaker is a moving coil structure, that is, a moving coil type transducer. As shown in FIG. 1 , the moving coil type transducer of the moving coil speaker mainly includes a diaphragm 10 , a folding ring 20 , a paper cone 30 , a dust cap 40 , a fixed chip 50 , a coil 60 , a permanent magnet 70 , and a magnetic conductive plate . The 80 and the outer magnet 90, the diaphragm 10, the folded ring 20, the fixed chip 50, the coil 60, and the skeleton of the carrier coil 60 constitute a vibration system, and the permanent magnet 70, the magnetic conductive plate 80, and the outer magnet 90 constitute a magnetic circuit system. The working principle is as follows: the alternating electrical signal is input into the coil 60 of the vibration system, and is subjected to the action of the force in the magnetic field formed by the magnetic circuit system. The properties of this force follow the left-hand rule (motor rule), motion The coil 60 drives the diaphragm 10 to generate vibration, thereby emitting a sound and completing the electro-acoustic conversion.
根据换能器的工作原理和结构的不同,传声器分为动圈式传声器、电容式传声器、柱级体式传声器等。其中,动圈式传声器的换能器为动圈结构,即为动圈式换能器。动圈式传声器的动圈式换能器如图2所示,主要包括振膜100、连接振膜100的线圈200以及磁体300,振膜100和线圈200构成振动系统,磁体300构成磁路系统。其工作原理为:声波到达振膜100,振膜100在声压的推动下发生振动,振动的振膜100带动线圈200在磁路系统形成的磁场中往复运动对磁场进行切割,这时线圈200中就会产生感应电流,电流方向遵从右手定则(愣次定则的特殊化),该电流200就是声电转换后形成的电信号。由此可见,动圈式扬声器和动圈式传声器的动圈式换能器实现电声转换和声电转换的过程刚好相反。 According to the working principle and structure of the transducer, the microphone is divided into a moving coil microphone, a condenser microphone, and a column-level microphone. Among them, the transducer of the moving coil microphone is a moving coil structure, that is, a moving coil type transducer. As shown in FIG. 2, the moving coil type transducer of the moving coil microphone mainly includes a diaphragm 100, a coil 200 connecting the diaphragm 100, and a magnet 300. The diaphragm 100 and the coil 200 constitute a vibration system, and the magnet 300 constitutes a magnetic circuit system. . The working principle is that the sound wave reaches the diaphragm 100, and the diaphragm 100 vibrates under the pressure of the sound pressure. The vibrating diaphragm 100 drives the coil 200 to reciprocate in the magnetic field formed by the magnetic circuit system to cut the magnetic field. At this time, the coil 200 Inductive current is generated in the current direction, and the current direction follows the right-hand rule (specialization of the time rule), and the current 200 is an electrical signal formed after the acoustic-electrical conversion. It can be seen that the moving coil transducer of the moving coil speaker and the moving coil microphone realizes the process of electroacoustic conversion and acoustic-electric conversion.
随着终端设备的智能化程度越来越高,终端设备的声音功能也更加丰富,而相关技术主要通过器件堆砌的方式来实现更加丰富声音功能,即在终端设备中设置更多的扬声器和传声器等声音处理器件,而每一个扬声器和传声器又具有一个换能器。从而,一方面提高了终端的成本;另一方面,对于尺寸受限的移动终端来说,内部空间极其宝贵,增加的换能器占用了较多空间,不利于移动终端的轻薄化。同时,虽然动圈式传声器的成本较低,但由于其换能器体积较大,因此只能选用成本较高但体积较小的柱级体式传声器或电容式传声器。As the terminal device becomes more intelligent, the sound function of the terminal device is also more abundant, and the related technology mainly realizes a richer sound function by means of device stacking, that is, setting more speakers and microphones in the terminal device. The sound processing device, and each speaker and microphone has a transducer. Therefore, on the one hand, the cost of the terminal is improved; on the other hand, for a mobile terminal with limited size, the internal space is extremely valuable, and the added transducer occupies more space, which is disadvantageous to the slimness of the mobile terminal. At the same time, although the cost of the moving coil microphone is relatively low, due to the large volume of the transducer, it is only possible to use a column-level microphone or a condenser microphone which is relatively expensive but small in size.
综上所述,相关的终端设备通过器件堆砌的方式来丰富声音功能,增大了终端的体积,不利于终端的小型化发展,同时提高了终端的成本。In summary, the related terminal equipment enriches the sound function by means of device stacking, increases the volume of the terminal, is not conducive to the miniaturization of the terminal, and increases the cost of the terminal.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种声音处理方法和装置,能够减小终端体积和成本。Embodiments of the present invention provide a sound processing method and apparatus, which can reduce terminal volume and cost.
本发明实施例提供一种声音处理方法,包括步骤:The embodiment of the invention provides a sound processing method, comprising the steps of:
在扬声器模式和传声器模式之间进行切换;Switch between speaker mode and microphone mode;
当进入所述扬声器模式时,控制声电双向换能器接收电信号,并将所述电信号转换为声音信号后予以输出;When entering the speaker mode, controlling the acoustic-electric bidirectional transducer to receive an electrical signal, and converting the electrical signal into a sound signal for output;
当进入所述传声器模式时,控制所述声电双向换能器采集声音信号,并将所述声音信号转换为电信号后予以输出。When entering the microphone mode, the acoustic-electric bidirectional transducer is controlled to collect a sound signal, and the sound signal is converted into an electrical signal and then output.
可选地,所述在扬声器模式和传声器模式之间进行切换包括:接收切换指令,根据所述切换指令在扬声器模式和传声器模式之间进行切换。Optionally, the switching between the speaker mode and the microphone mode comprises: receiving a switching instruction, and switching between a speaker mode and a microphone mode according to the switching instruction.
可选地,所述在扬声器模式和传声器模式之间进行切换包括:检测当前的工作状态,根据所述工作状态在扬声器模式和传声器模式之间进行切换。Optionally, the switching between the speaker mode and the microphone mode comprises: detecting a current working state, and switching between the speaker mode and the microphone mode according to the working state.
可选地,还包括:所述并将所述声音信号转换为电信号后予以输出的步骤之后,对所述声电双向换能器输出的电信号进行放大处理。Optionally, after the step of converting the sound signal into an electrical signal and outputting the signal, the electrical signal output by the acoustic-electric bidirectional transducer is amplified.
可选地,所述声电双向换能器包括动圈式换能器。 Optionally, the acoustic-electric bidirectional transducer comprises a moving coil transducer.
本发明实施例提供的一种声音处理装置,包括模式切换模块、第一处理模块、第二处理模块和声电双向换能器,其中:A sound processing device provided by an embodiment of the invention includes a mode switching module, a first processing module, a second processing module, and an acoustic-electric bidirectional transducer, wherein:
所述模式切换模块,设置为在扬声器模式和传声器模式之间进行切换;The mode switching module is configured to switch between a speaker mode and a microphone mode;
所述第一处理模块,设置为当进入所述扬声器模式时,控制所述声电双向换能器接收电信号,并将所述电信号转换为声音信号后予以输出;The first processing module is configured to, when entering the speaker mode, control the acoustic-electric bidirectional transducer to receive an electrical signal, and convert the electrical signal into a sound signal for output;
所述第二处理模块,设置为当进入所述传声器模式时,控制所述声电双向换能器采集声音信号,并将所述声音信号转换为电信号后予以输出。The second processing module is configured to control the acoustic-electric bidirectional transducer to collect a sound signal when entering the microphone mode, and convert the sound signal into an electrical signal and output the sound signal.
可选地,所述模式切换模块是设置为:接收切换指令,根据所述切换指令在扬声器模式和传声器模式之间进行切换。Optionally, the mode switching module is configured to: receive a switching instruction, and switch between a speaker mode and a microphone mode according to the switching instruction.
可选地,所述模式切换模块是设置为:检测当前的工作状态,根据所述工作状态在扬声器模式和传声器模式之间进行切换。Optionally, the mode switching module is configured to: detect a current working state, and switch between a speaker mode and a microphone mode according to the working state.
可选地,所述第二处理模块包括信号放大单元,所述信号放大单元设置为:接收所述声电双向换能器输出的电信号,并对所述电信号进行放大处理。Optionally, the second processing module includes a signal amplifying unit, and the signal amplifying unit is configured to: receive an electrical signal output by the acoustic-electric bidirectional transducer, and perform amplification processing on the electrical signal.
可选地,所述声电双向换能器包括动圈式换能器。Optionally, the acoustic-electric bidirectional transducer comprises a moving coil transducer.
本发明实施例的声音处理方法,通过在扬声器模式和传声器模式之间切换操作,在扬声器模式下通过声电双向换能器进行电声转换实现扬声器功能,在传声器模式下通过声电双向换能器进行声电转换实现传声器功能,使得扬声器功能和传声器功能融合在一起,相当于扬声器和传声器复用一个换能器,实现了扬声器和传声器的一体化设计,从而减少了终端中的零部件,进而减小了占用空间,有利于终端特别是移动终端的小型化发展,并大大降低了成本。The sound processing method of the embodiment of the invention realizes the speaker function by performing electro-acoustic conversion through the acoustic-electric two-way transducer in the speaker mode by switching between the speaker mode and the microphone mode, and the two-way transduction by the sound and electricity in the microphone mode The sound and electric conversion of the device realizes the microphone function, which combines the function of the speaker and the function of the microphone. It is equivalent to the multiplexer of a transducer by the speaker and the microphone, which realizes the integrated design of the speaker and the microphone, thereby reducing the components in the terminal. In turn, the occupied space is reduced, which is beneficial to the miniaturization of the terminal, especially the mobile terminal, and greatly reduces the cost.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术中动圈式扬声器的动圈式换能器的结构示意图;1 is a schematic structural view of a moving coil type transducer of a moving coil type speaker according to the related art;
图2为相关技术中动圈式传声器的动圈式换能器的结构示意图;2 is a schematic structural view of a moving coil transducer of a moving coil microphone in the related art;
图3为本发明实施例的声音处理方法的流程图;3 is a flowchart of a sound processing method according to an embodiment of the present invention;
图4为本发明实施例的声音处理装置的模块示意图; 4 is a schematic block diagram of a sound processing apparatus according to an embodiment of the present invention;
图5为本发明实施例的声音处理装置的第二处理模块的模块示意图;FIG. 5 is a schematic block diagram of a second processing module of a sound processing apparatus according to an embodiment of the present invention; FIG.
图6为本发明一实施例的声音处理装置作为扬声器时的信号传输示意图;6 is a schematic diagram of signal transmission when a sound processing device is used as a speaker according to an embodiment of the present invention;
图7为本发明一实施例的声音处理装置作为传声器时的信号传输示意图。FIG. 7 is a schematic diagram of signal transmission when a sound processing device is used as a microphone according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参见图3,提出本发明实施例的声音处理方法,所述方法包括以下步骤:Referring to FIG. 3, a sound processing method according to an embodiment of the present invention is proposed, and the method includes the following steps:
S11、在扬声器模式和传声器模式之间进行切换。S11, switching between the speaker mode and the microphone mode.
可选地,接收切换指令,根据切换指令在扬声器模式和传声器模式之间进行切换。例如,接收到切换指令后,判断当前处于扬声器模式还是传声器模式;当处于扬声器模式时,从扬声器模式切换为传声器模式;当处于传声器模式时,从传声器模式切换为扬声器模式。又如,切换指令包括第一切换指令和第二切换指令,当接收到第一切换指令时,进入扬声器模式;当接收到第二切换指令时,进入传声器模式。Optionally, a switching instruction is received to switch between a speaker mode and a microphone mode according to the switching instruction. For example, after receiving the switching command, it is judged whether it is currently in the speaker mode or the microphone mode; when in the speaker mode, it is switched from the speaker mode to the microphone mode; when in the microphone mode, it is switched from the microphone mode to the speaker mode. For another example, the switching instruction includes a first switching instruction and a second switching instruction. When the first switching instruction is received, the speaker mode is entered; when the second switching instruction is received, the microphone mode is entered.
可选地,检测当前的工作状态,根据工作状态在扬声器模式和传声器模式之间进行切换。例如,工作状态包括第一工作状态和第二工作状态,当检测到当前处于第一工作状态(如视频播放状态、音乐播放状态、录音播放状态、响铃状态等)时,进入扬声器模式;当检测到当前处于第二工作状态(如录音状态、通话状态等)时,进入传声器模式。可以通过检测当前启用的应用来进行工作状态的判断。Optionally, the current working state is detected, and switching between the speaker mode and the microphone mode is performed according to the working state. For example, the working state includes a first working state and a second working state, and when it is detected that it is currently in the first working state (such as a video playing state, a music playing state, a recording playing state, a ringing state, etc.), entering the speaker mode; When it is detected that it is currently in the second working state (such as recording state, call state, etc.), it enters the microphone mode. The judgment of the working state can be made by detecting the currently enabled application.
此外,还可以采用其它方式实现两个模式的切换。例如,当检测到声电双向换能器的电信号输入端有电信号输入时,则进入扬声器模式;当检测到声电双向换能器的电信号输入端没有电信号输入时,进入传声器模式。在此不再一一列举赘述。In addition, the switching of the two modes can be implemented in other ways. For example, when it is detected that the electrical signal input end of the acoustic-electric bidirectional transducer has an electrical signal input, the speaker mode is entered; when it is detected that the electrical signal input end of the acoustic-electric bidirectional transducer has no electrical signal input, the microphone mode is entered. . The details are not listed here.
S12、当进入扬声器模式时,控制声电双向换能器接收电信号,并将该电信号转换为声音信号后予以输出。 S12. When entering the speaker mode, the acoustic-electric two-way transducer is controlled to receive an electrical signal, and the electrical signal is converted into a sound signal and then output.
当进入扬声器模式时,声电双向换能器变为可以将电信号转换为声音信号的电声转换器,接收终端的其它声音处理单元(如数模转换器)传输的电信号,并通过电磁感应(或相关技术的其它转换原理)将电信号转换为声音信号后予以输出,播放出声音,实现扬声器功能。When entering the speaker mode, the acoustic-electric bidirectional transducer becomes an electroacoustic transducer that can convert an electrical signal into a sound signal, and an electrical signal transmitted by another sound processing unit (such as a digital-to-analog converter) of the receiving terminal, and passes through the electricity. Magnetic induction (or other conversion principle of related art) converts an electrical signal into a sound signal, outputs it, and plays a sound to realize a speaker function.
S13、当进入传声器模式时,控制声电双向换能器采集声音信号,并将该声音信号转换为电信号后予以输出。S13. When entering the microphone mode, control the acoustic-electric bidirectional transducer to collect the sound signal, and convert the sound signal into an electrical signal and output the sound signal.
当进入传声器模式时,声电双向换能器转变为可以将声音信号转换为电信号的声电转换器,采集声音信号,并通过电磁感应(或相关技术的其它转换原理)将声音信号转换为电信号后予以输出,终端的其它声音处理单元对声电双向换能器输出的电信号进行处理(如模数转换)后存储起来作为录音文件或者传输给外部设备,实现传声器功能。When entering the microphone mode, the acoustic-electric bidirectional transducer is converted into an acoustic-electrical converter that can convert the sound signal into an electrical signal, collects the sound signal, and converts the sound signal into electromagnetic signal (or other conversion principle of related art) After the electrical signal is output, the other sound processing unit of the terminal processes the electrical signal output by the acoustic-electric bidirectional transducer (such as analog-to-digital conversion) and stores it as a recording file or transmits it to an external device to realize the microphone function.
可选地,还对声电双向换能器输出的电信号进行放大处理,以在尽可能保持信噪比(SNR,Signal Noise Ratio)的前提下,调整电信号的增益,达到信号增强效果。Optionally, the electrical signal output by the acoustic-electric bidirectional transducer is further amplified to adjust the gain of the electrical signal to achieve a signal enhancement effect while maintaining a signal-to-noise ratio (SNR).
可选地,还对放大处理后的电信号进行优化处理,包括回声抑制、噪声消除、破音保护等,以提高信号质量。Optionally, the amplified processed electrical signal is further optimized, including echo suppression, noise cancellation, and broken sound protection to improve signal quality.
可选地,所述声电双向换能器包括动圈式换能器,可以直接采用传统的动圈式扬声器或动圈式传声器的动圈式换能器,或者对其进行适当改造。动圈式换能器包括磁路系统和振动系统,通过振动系统采集声音信号或输出声音信号,通过磁路系统和振动系统的配合实现电磁感应,通过电磁感应实现声电转换和电声转换。Optionally, the acoustic-electric bidirectional transducer comprises a moving coil transducer, which can directly adopt a moving coil transducer of a conventional moving coil speaker or a moving coil microphone, or can be appropriately modified. The moving coil transducer includes a magnetic circuit system and a vibration system, and collects a sound signal or an output sound signal through a vibration system, realizes electromagnetic induction through cooperation of a magnetic circuit system and a vibration system, and realizes acoustic-electric conversion and electro-acoustic conversion through electromagnetic induction.
本领域技术人员可以理解,除了采用动圈结构的换能器外,还可以采用相关技术中的其它结构(如变压器结构),只要能实现声电和电声的双向转换即可。Those skilled in the art can understand that other structures in the related art (such as a transformer structure) can be used in addition to the transducers of the moving coil structure, as long as the two-way conversion of acoustic and electrical sounds can be realized.
上述方法可以通过终端实现。The above method can be implemented by a terminal.
本发明实施例的声音处理方法,通过在扬声器模式和传声器模式之间切换操作,在扬声器模式下通过声电双向换能器进行电声转换实现扬声器功能,在传声器模式下通过声电双向换能器进行声电转换实现传声器功能,使得扬 声器功能和传声器功能融合在一起,相当于扬声器和传声器复用一个换能器,从而减少了终端中的零部件,进而减小了占用空间,有利于终端特别是移动终端的小型化发展,并大大降低了成本。The sound processing method of the embodiment of the invention realizes the speaker function by performing electro-acoustic conversion through the acoustic-electric two-way transducer in the speaker mode by switching between the speaker mode and the microphone mode, and the two-way transduction by the sound and electricity in the microphone mode Acousto-electrical conversion to realize the microphone function, so that Yang The sound function and the microphone function are combined, which is equivalent to the speaker and the microphone multiplexing one transducer, thereby reducing the components in the terminal, thereby reducing the space occupied, and facilitating the miniaturization of the terminal, especially the mobile terminal. And greatly reduce the cost.
参见图4,提出本发明实施例的声音处理装置,所述装置包括模式切换模块101、第一处理模块102、第二处理模块103和声电双向换能器104,声电双向换能器104能够实现声电和电声的双向转换,其中:Referring to FIG. 4, a sound processing apparatus according to an embodiment of the present invention is provided. The apparatus includes a mode switching module 101, a first processing module 102, a second processing module 103, and an acoustic-electric bidirectional transducer 104, and an acoustic-electric bidirectional transducer 104. It can realize two-way conversion of acoustic and electro-acoustic, among which:
模式切换模块101:设置为在扬声器模式和传声器模式之间进行切换。Mode switching module 101: set to switch between speaker mode and microphone mode.
可选地,模式切换模块101是设置为:接收切换指令,根据切换指令在扬声器模式和传声器模式之间进行切换。例如,接收到切换指令后,判断当前处于扬声器模式还是传声器模式;当处于扬声器模式时,从扬声器模式切换为传声器模式;当处于传声器模式时,从传声器模式切换为扬声器模式。又如,切换指令包括第一切换指令和第二切换指令,当接收到第一切换指令时,进入扬声器模式;当接收到第二切换指令时,进入传声器模式。Optionally, the mode switching module 101 is configured to: receive a switching instruction, and switch between a speaker mode and a microphone mode according to the switching instruction. For example, after receiving the switching command, it is judged whether it is currently in the speaker mode or the microphone mode; when in the speaker mode, it is switched from the speaker mode to the microphone mode; when in the microphone mode, it is switched from the microphone mode to the speaker mode. For another example, the switching instruction includes a first switching instruction and a second switching instruction. When the first switching instruction is received, the speaker mode is entered; when the second switching instruction is received, the microphone mode is entered.
可选地,模式切换模块101是设置为:检测当前的工作状态,根据工作状态在扬声器模式和传声器模式之间进行切换。例如,工作状态包括第一工作状态和第二工作状态,当检测到当前处于第一工作状态(如视频播放状态、音乐播放状态、录音播放状态、响铃状态等)时,进入扬声器模式;当检测到当前处于第二工作状态(如录音状态、通话状态等)时,进入传声器模式。模式切换模块101可以通过检测当前启用的应用来进行工作状态的判断。Optionally, the mode switching module 101 is configured to: detect a current working state, and switch between a speaker mode and a microphone mode according to the working state. For example, the working state includes a first working state and a second working state, and when it is detected that it is currently in the first working state (such as a video playing state, a music playing state, a recording playing state, a ringing state, etc.), entering the speaker mode; When it is detected that it is currently in the second working state (such as recording state, call state, etc.), it enters the microphone mode. The mode switching module 101 can judge the working state by detecting the currently enabled application.
此外,模式切换模块101还可以设置为采用其它方式实现两个模式的切换。例如,当检测到声电双向换能器104的电信号输入端有电信号输入时,则进入扬声器模式;当检测到声电双向换能器104的电信号输入端没有电信号输入时,进入传声器模式。在此不再一一列举赘述。In addition, the mode switching module 101 can also be configured to implement switching of the two modes in other manners. For example, when it is detected that the electrical signal input end of the acoustic-electric bidirectional transducer 104 has an electrical signal input, it enters the speaker mode; when it is detected that the electrical signal input end of the acoustic-electrical bidirectional transducer 104 has no electrical signal input, it enters Microphone mode. The details are not listed here.
在某些实施例中,模式切换模块101还设置为:当切换到扬声器模式时,关闭第二处理模块103,启动第一处理模块102;当切换到传声器模式时,模式切换模块101关闭第一处理模块102,启动第二处理模块103。In some embodiments, the mode switching module 101 is further configured to: when switching to the speaker mode, turn off the second processing module 103, start the first processing module 102; when switching to the microphone mode, the mode switching module 101 turns off the first The processing module 102 starts the second processing module 103.
在另一些实施例中,模式切换模块101还设置为:当切换到扬声器模式时,断开第二处理模块103和声电实现换能器104的连接,连通第一处理模块102和声电双向换能器104;当切换到传声器模式时,模式切换模块101 断开第一处理模块102和声电双向换能器104的连接,连通第二处理模块103和声电双向换能器104。此时,声电双向换能器104可以通过一单刀双掷开关与第一处理模块102和第二处理模块103连接,模式切换模块101通过控制该单刀双掷开关来实现声电双向换能器104与第一处理模块102和第二处理模块103的断开和连通。In other embodiments, the mode switching module 101 is further configured to: when switching to the speaker mode, disconnect the second processing module 103 and the acoustic electricity to implement the transducer 104, connect the first processing module 102 and the sound and power bidirectional The transducer 104; when switching to the microphone mode, the mode switching module 101 The connection of the first processing module 102 and the acoustic-electric bidirectional transducer 104 is disconnected, and the second processing module 103 and the acoustic-electric bidirectional transducer 104 are connected. At this time, the acoustic-electric bidirectional transducer 104 can be connected to the first processing module 102 and the second processing module 103 through a single-pole double-throw switch, and the mode switching module 101 realizes the acoustic-electric bidirectional transducer by controlling the single-pole double-throw switch. The disconnection and communication with the first processing module 102 and the second processing module 103 are 104.
第一处理模块101:设置为当进入扬声器模式时,控制声电双向换能器104接收电信号,并将电信号转换为声音信号后予以输出。The first processing module 101 is configured to control the acoustic-electric bidirectional transducer 104 to receive an electrical signal when entering the speaker mode, and convert the electrical signal into a sound signal for output.
当进入扬声器模式时,声电双向换能器104变为可以将电信号转换为声音信号的电声转换器。When entering the speaker mode, the acousto-electric bidirectional transducer 104 becomes an electroacoustic transducer that can convert an electrical signal into a sound signal.
可选地,第一处理模块102是设置为:当进入扬声器模式时,向声电双向换能器104发送控制信号,控制声电双向换能器104接收终端的其它声音处理单元(如数模转换器)传输的电信号,并通过电磁感应(或相关技术的其它转换原理)将电信号转换为声音信号后予以输出,播放声音,实现扬声器功能。Optionally, the first processing module 102 is configured to: when entering the speaker mode, send a control signal to the acoustic-electric bidirectional transducer 104, and control the acoustic-electric bidirectional transducer 104 to receive other sound processing units of the terminal (eg, digital-analog The electrical signal transmitted by the converter and converted into an acoustic signal by electromagnetic induction (or other conversion principle of the related art), outputted, and played a sound to realize a speaker function.
可选地,第一处理模块102是设置为:当进入扬声器模式时,接收终端的其它声音处理单元(如数模转换器)传输的电信号,并将电信号传送给声电双向换能器104,声电双向换能器104接收电信号,并通过电磁感应(或现有技术的其它转换原理)将电信号转换为声音信号后予以输出,播放声音,实现扬声器功能。Optionally, the first processing module 102 is configured to: when entering the speaker mode, receive an electrical signal transmitted by another sound processing unit (such as a digital-to-analog converter) of the terminal, and transmit the electrical signal to the acoustic-electric bidirectional transducer. 104. The acoustic-electric bidirectional transducer 104 receives the electrical signal and converts the electrical signal into a sound signal by electromagnetic induction (or other conversion principle of the prior art), outputs the sound, and plays the sound to realize the speaker function.
第二处理模块103:设置为当进入传声器模式时,控制声电双向换能器104采集声音信号,并将声音信号转换为电信号后予以输出。The second processing module 103 is configured to control the acoustic-electric bidirectional transducer 104 to collect a sound signal when entering the microphone mode, and convert the sound signal into an electrical signal and output the sound signal.
当进入传声器模式时,声电双向换能器104转变为可以将声音信号转换为电信号的声电转换器。Upon entering the microphone mode, the acoustic-electric bi-directional transducer 104 transitions to an acoustic-electrical converter that can convert the sound signal into an electrical signal.
可选的,第二处理模块103是设置为:当进入传声器模式时,向声电实现换能器104发送控制信号,控制声电双向换能器104采集声音信号,并通过电磁感应(或相关技术的其它转换原理)将声音信号转换为电信号后输出。Optionally, the second processing module 103 is configured to: when entering the microphone mode, send a control signal to the acoustic electricity implementing transducer 104, control the acoustic electric bidirectional transducer 104 to collect the sound signal, and pass the electromagnetic induction (or related Other conversion principles of the technology) convert the sound signal into an electrical signal and output it.
可选的,第二处理模块103是设置为:当进入传声器模式时,接收声电双向换能器104输出的电信号,将该电信号传送给终端的其它声音处理单元,由其它声音处理单元对声电双向换能器输出的电信号进行处理(如模数转换) 后存储起来作为录音文件或者传输给外部设备,实现传声器功能。在某些实施例中,声电双向换能器104也可以将电信号直接输出至终端的其它声音处理单元。Optionally, the second processing module 103 is configured to: when entering the microphone mode, receive an electrical signal output by the acoustic-electric bidirectional transducer 104, and transmit the electrical signal to other sound processing units of the terminal, by other sound processing units. Processing the electrical signal output by the acoustic-electric bidirectional transducer (such as analog-to-digital conversion) It is then stored as a recording file or transmitted to an external device to implement the microphone function. In some embodiments, the acoustic-electric bidirectional transducer 104 can also output electrical signals directly to other sound processing units of the terminal.
可选地,如图5所示,第二处理模块103包括信号放大单元113,该信号放大单元113设置为:接收声电双向换能器104输出的电信号,并对电信号进行放大处理,以在尽可能保持信噪比(SNR)的前提下,调整电信号的增益,以达到信号增强效果。Optionally, as shown in FIG. 5, the second processing module 103 includes a signal amplifying unit 113 configured to receive an electrical signal output by the acoustic-electric bidirectional transducer 104 and perform amplification processing on the electrical signal. In order to maintain the signal-to-noise ratio (SNR) as much as possible, adjust the gain of the electrical signal to achieve signal enhancement.
可选地,第二处理单元103还包括优化处理单元123,该优化处理单元123设置为:接收信号放大单元输出的电信号,并对该电信号进行优化处理,包括回声抑制、噪声消除、破音保护等,以提高信号质量,然后输出优化处理后的电信号。Optionally, the second processing unit 103 further includes an optimization processing unit 123, configured to: receive an electrical signal output by the signal amplifying unit, and perform optimization processing on the electrical signal, including echo suppression, noise cancellation, and breaking Sound protection, etc., to improve signal quality, and then output the optimized electrical signal.
本发明实施例的声音处理装置,既可以作为扬声器进行电声转换,实现声音播放功能;又可以作为传声器进行声电转换,实现声音录制功能。The sound processing device of the embodiment of the invention can perform electroacoustic conversion as a speaker to realize a sound playing function, and can also perform sound and electric conversion as a microphone to realize a sound recording function.
如图6所示,为一实施例的声音处理装置作为扬声器时的信号传输示意图。其中,第一处理模块102接收终端的其它声音处理单元输出的电信号,并将电信号输出给声电双向换能器104,声电双向换能器104将电信号转换为声音信号后予以输出。本实施例中,模式切换模块101可以通过检测第一处理模块102是否接收到电信号来进行模式切换,当检测到第一处理模块102接收到电信号时,则进入扬声器模式,当检测到第一初恋模块102没有接收到电信号时,进入传声器模式。As shown in FIG. 6, it is a schematic diagram of signal transmission when the sound processing apparatus of one embodiment is used as a speaker. The first processing module 102 receives the electrical signals output by the other sound processing units of the terminal, and outputs the electrical signals to the acoustic-electric bidirectional transducer 104. The acoustic-electric bidirectional transducer 104 converts the electrical signals into sound signals and outputs them. . In this embodiment, the mode switching module 101 may perform mode switching by detecting whether the first processing module 102 receives an electrical signal, and when detecting that the first processing module 102 receives an electrical signal, enter a speaker mode, when detecting the first When the first love module 102 does not receive an electrical signal, it enters the microphone mode.
如图7所示,为一实施例的声音处理装置作为传声器时的信号传输示意图。其中,声电双向换能器104采集声音信号,并将声音信号转换为电信号后输出给第二处理模块103,第二处理模块103对声音信号进行放大优化处理后输出给终端的其它声音处理单元。As shown in FIG. 7, it is a schematic diagram of signal transmission when the sound processing apparatus of one embodiment is used as a microphone. The acoustic-electric bidirectional transducer 104 collects a sound signal, converts the sound signal into an electrical signal, and outputs the sound signal to the second processing module 103. The second processing module 103 performs an amplification and optimization process on the sound signal, and outputs the sound processing to the terminal. unit.
可选地,所述声电双向换能器104包括动圈式换能器,可以直接采用传统的动圈式扬声器或动圈式传声器的动圈式换能器,或者对其进行适当改造。动圈式换能器包括磁路系统和振动系统,通过振动系统采集声音信号或输出声音信号,通过磁路系统和振动系统的配合实现电磁感应,通过电磁感应实现声电转换和电声转换。 Optionally, the acoustic-electric bidirectional transducer 104 includes a moving coil transducer, which can directly adopt a moving coil transducer of a conventional moving coil speaker or a moving coil microphone, or can be appropriately modified. The moving coil transducer includes a magnetic circuit system and a vibration system, and collects a sound signal or an output sound signal through a vibration system, realizes electromagnetic induction through cooperation of a magnetic circuit system and a vibration system, and realizes acoustic-electric conversion and electro-acoustic conversion through electromagnetic induction.
本领域技术人员可以理解,除了采用动圈结构的换能器外,还可以采用相关技术中的其它结构(如变压器结构),只要能实现声电和电声的双向转换即可。Those skilled in the art can understand that other structures in the related art (such as a transformer structure) can be used in addition to the transducers of the moving coil structure, as long as the two-way conversion of acoustic and electrical sounds can be realized.
本发明实施例的声音处理装置,通过在扬声器模式和传声器模式之间切换操作,在扬声器模式下通过声电双向换能器104进行电声转换实现扬声器功能,在传声器模式下通过声电双向换能器104进行声电转换实现传声器功能,使得扬声器功能和传声器功能融合在一起,相当于扬声器和传声器复用一个换能器,从而减少了终端中的零部件,进而减小了占用空间,有利于终端特别是移动终端的小型化发展,并大大降低了成本。The sound processing device of the embodiment of the present invention realizes the speaker function by performing electro-acoustic conversion through the acoustic-electric bidirectional transducer 104 in the speaker mode by switching between the speaker mode and the microphone mode, and bidirectionally changing through the sound and electricity in the microphone mode. The energy converter 104 performs the sound and electric conversion to realize the microphone function, so that the speaker function and the microphone function are combined, which is equivalent to the speaker and the microphone multiplexing one transducer, thereby reducing the components in the terminal, thereby reducing the space occupied, It is conducive to the miniaturization of terminals, especially mobile terminals, and greatly reduces the cost.
本发明实施例的声音处理装置,既可以应用于手机、平板等移动终端,又可以应用于计算机、电视机等固定终端。The sound processing device of the embodiment of the invention can be applied to mobile terminals such as mobile phones and tablets, and can also be applied to fixed terminals such as computers and televisions.
以手机为例,手机中通常采用动圈式扬声器以及电容式或柱级体式传声器,采用本发明实施例的声音处理装置,可以省略电容式或柱级体式传声器的换能器,只需对动圈式扬声器的动圈式换能器进行优化改造,使得扬声器和传声器复用优化改造后的动圈式换能器,该优化改造后的动圈式换能器即能作为上述实施例描述的声电双向换能器。Taking a mobile phone as an example, a mobile-type speaker and a capacitive or column-level microphone are generally used in the mobile phone. With the sound processing device of the embodiment of the present invention, the transducer of the capacitive or column-level microphone can be omitted, and only the movable The moving coil transducer of the ring speaker is optimized and modified, so that the speaker and the microphone are multiplexed to optimize the modified moving coil transducer, and the optimized modified moving coil transducer can be described as the above embodiment. Acoustic and electric bidirectional transducer.
动圈式换能器如图1所示,在对其进行优化改造时,可以从以下方面入手:对振动系统的折环20和定芯片50的阻尼特性进行调整,增加灵敏度;对磁路系统的永磁体70的磁场强度H、导磁板80的磁导率η和线圈60的磁感应强度B进行调整,调整的方向是增加H、η和B的值,目的是增加线圈运动区域的磁通量Φ,从而使线圈在磁场中受到的力F和线圈切割磁场后产生的感应电流i都尽可能的满足电声转换或声电转换的要求。The moving coil transducer is shown in Figure 1. When optimizing it, it can be started from the following aspects: adjusting the damping characteristics of the folding system 20 and the fixed chip 50 of the vibration system to increase the sensitivity; The magnetic field strength H of the permanent magnet 70, the magnetic permeability η of the magnetic conductive plate 80, and the magnetic induction B of the coil 60 are adjusted, and the direction of the adjustment is to increase the values of H, η, and B in order to increase the magnetic flux Φ of the coil moving region. Therefore, the force F received by the coil in the magnetic field and the induced current i generated after the coil cuts the magnetic field satisfy the requirements of electroacoustic conversion or acoustic-electric conversion as much as possible.
电声转换的方程式为:The equation for electroacoustic conversion is:
F=BLi    (公式1)F=BLi (Formula 1)
声场方程式为:The sound field equation is:
Figure PCTCN2016089183-appb-000001
Figure PCTCN2016089183-appb-000001
其中:among them:
γ:定压比热容与定容比热容之比,空气中为常数1.40;γ: ratio of constant pressure specific heat capacity to constant volume specific heat capacity, constant 1.40 in air;
P0:一个标准大气压,常温25℃条件下为常数;P 0 : a standard atmospheric pressure, constant at a normal temperature of 25 ° C;
p:振膜10承受的声压力;p: the sound pressure that the diaphragm 10 is subjected to;
ρ0:空气密度,常温25℃条件下为常数;ρ 0 : air density, constant at a normal temperature of 25 ° C;
v:振膜10移动速度;v: diaphragm 10 moving speed;
t:振膜10移动时间;t: diaphragm 10 moving time;
L:振膜10移动矢量=(x,y,z);L: diaphragm 10 motion vector = (x, y, z);
此外,v和t这两个物理量在仿真中可以人为设定,在实际测量中可以通过激光测距仪精确测得;以激光测距仪测量振膜中心点实际移动距离为x;若按照点声源进行简化,可以认为y=0和z=0;In addition, the two physical quantities v and t can be artificially set in the simulation, which can be accurately measured by the laser range finder in the actual measurement; the actual moving distance of the center point of the diaphragm is measured by the laser range finder to be x; The sound source is simplified, and y=0 and z=0 can be considered;
将F=BLi作为声压力p带入公式2,推出二阶偏导方程组公式:Bring F=BLi as the acoustic pressure p into Equation 2, and introduce the formula of the second-order partial derivative equation:
Figure PCTCN2016089183-appb-000002
Figure PCTCN2016089183-appb-000002
该公式是i和x的2阶偏导函数关系;The formula is a second-order partial derivative function relationship of i and x;
利用公式3可以求得振膜中心点位移量x和线圈中感应电流i这两个物理量,从而建立起换能器的振动系统灵敏度调整的数学依据:Using Equation 3, the two physical quantities of the displacement point x of the diaphragm and the induced current i in the coil can be obtained, thereby establishing the mathematical basis for the sensitivity adjustment of the vibration system of the transducer:
①若最终感应电流i过小,则利用公式3在加大i条件下反推出振膜带动线圈切割磁感线的最小距离x;1 If the final induced current i is too small, the minimum distance x of the diaphragm to drive the coil to cut the magnetic induction line is reversed by using Equation 3 under the condition of increasing i;
②由公式1计算这时线圈承受的力F;2 Calculate the force F that the coil is subjected to at this time by Equation 1;
③对i、x和F三个物理量进行声学部件的检验,考察它们是否符合材料力学的每一项约束指标(诸如寿命、应力等);3 Examine the acoustic components of the three physical quantities i, x and F to see if they meet every constraint index of material mechanics (such as life, stress, etc.);
④再利用仿真或实物测试进行声学验证,检验每一项声学指标的设计是否达到必要的声电转换效果。 4 Re-use the simulation or physical test for acoustic verification to verify whether the design of each acoustic indicator achieves the necessary acoustic-electric conversion effect.
具体如何对i、x和F三个物理量进行声学部件的检验可以采用本领域技术人员的公知技术实现,并不用于限定本发明的保护范围,这里不再赘述。Specifically, how to perform the verification of the acoustic components of the three physical quantities of i, x, and F can be implemented by using a well-known technique of those skilled in the art, and is not intended to limit the scope of protection of the present invention, and details are not described herein again.
根据上述优化改造原理,可以对如图1所示的动圈式换能器进行如下改造:According to the above optimization and transformation principle, the moving coil transducer shown in FIG. 1 can be modified as follows:
1)将纸盆30、防尘帽40的材质更换为更加轻薄的材料,以降低振膜重量,以在相同声压作用下,增加振膜10带动线圈60切割磁路磁场的距离;1) replacing the material of the paper cone 30 and the dust cap 40 with a lighter and thinner material to reduce the weight of the diaphragm, so as to increase the distance that the diaphragm 10 drives the coil 60 to cut the magnetic field magnetic field under the same sound pressure;
2)降低折环20、定芯片50的阻尼系数,以增加振动系统的灵敏度,以在相同声压作用下,增加振膜10带动线圈60切割磁路磁场的距离;2) reducing the damping coefficient of the folding ring 20 and the fixed chip 50 to increase the sensitivity of the vibration system to increase the distance that the diaphragm 10 drives the coil 60 to cut the magnetic field magnetic field under the same sound pressure;
3)调整磁路系统中导磁板80的磁导率,或调整永磁体70的磁场强度,在满足声电转换要求后,保持电声转换工作过程中,线圈的行径距离,即振膜10的震动行程x。3) Adjusting the magnetic permeability of the magnetic conductive plate 80 in the magnetic circuit system, or adjusting the magnetic field strength of the permanent magnet 70, and maintaining the path distance of the coil during the electroacoustic conversion work after satisfying the acoustic-electrical conversion requirement, that is, the diaphragm 10 The vibration stroke x.
以上几点调整都是基于公式1和公式3的原理确定的,同时需要反复仿真和实测进行参数优化,就能满足电声转换的性能要求的同时,提供足够大的灵敏度,完成声电转换的功能。The above adjustments are based on the principles of Equation 1 and Equation 3. At the same time, it is necessary to repeatedly simulate and measure the parameters to optimize the performance requirements of electroacoustic conversion, and provide sufficient sensitivity to complete the acoustic-electric conversion. Features.
采用本发明实施例的声音处理装置和方法,可以对现有的手机的动圈式扬声器的动圈式换能器进行优化改造,将其改造为既能满足电声转换的性能要求,又能满足声电转换的性能要求的声电双向换能器,并提供在扬声器模式和传声器模式之间切换的功能,在扬声器模式下通过声电双向换能器进行电声转换实现扬声器功能,在传声器模式下通过声电双向换能器进行声电转换实现传声器功能,使得扬声器功能和传声器功能融合在一起,从而使得扬声器和传声器复用一个换能器,而省略了手机中成本较高的电容式或柱级体式传声器的换能器。既降低了成本,又节约了空间,有利于手机的轻薄化发展,或者利用腾出的空间放置其它器件而为手机增添更多功能。By using the sound processing device and method of the embodiment of the invention, the moving coil transducer of the moving coil speaker of the existing mobile phone can be optimized and modified, and the utility model can be modified to meet the performance requirements of the electroacoustic conversion, and Acoustic-electric bidirectional transducer that satisfies the performance requirements of acoustic-electrical conversion, and provides a function of switching between a speaker mode and a microphone mode, and an electroacoustic conversion through a sound-electric two-way transducer in a speaker mode to realize a speaker function in a microphone In the mode, the acoustic-electrical conversion is realized by the acoustic-electric two-way transducer, so that the speaker function and the microphone function are combined, so that the speaker and the microphone are multiplexed with one transducer, and the cost-effective capacitive type in the mobile phone is omitted. Or a transducer of a column-level microphone. It not only reduces the cost, but also saves space, which is conducive to the development of thin and light mobile phones, or to use the free space to place other devices to add more functions to the mobile phone.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本 发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(ROM,Read Only Memory)或随机存取存储器(RAM,Random Access Memory)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation. Based on this understanding, this The technical solution of the invention may be embodied in the form of a software product stored in a storage medium (such as a read only memory (ROM) or a random memory). In a memory (RAM, Random Access Memory), a disk, an optical disk, including a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute various embodiments of the present invention Said method.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
以上参照附图说明了本发明的可选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质,可以有多种变型方案实现本发明,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本发明的技术构思之内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。The alternative embodiments of the invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. A person skilled in the art can implement the invention in various variants without departing from the scope and spirit of the invention. For example, the features of one embodiment can be used in another embodiment to obtain a further embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the invention are intended to be included within the scope of the invention.
工业实用性Industrial applicability
上述技术方案减小了换能器的占用空间,有利于终端特别是移动终端的小型化发展,并大大降低了成本。 The above technical solution reduces the occupied space of the transducer, facilitates the miniaturization of the terminal, especially the mobile terminal, and greatly reduces the cost.

Claims (10)

  1. 一种声音处理方法,包括步骤:A sound processing method comprising the steps of:
    在扬声器模式和传声器模式之间进行切换;Switch between speaker mode and microphone mode;
    当进入所述扬声器模式时,控制声电双向换能器接收电信号,并将所述电信号转换为声音信号后予以输出;When entering the speaker mode, controlling the acoustic-electric bidirectional transducer to receive an electrical signal, and converting the electrical signal into a sound signal for output;
    当进入所述传声器模式时,控制所述声电双向换能器采集声音信号,并将所述声音信号转换为电信号后予以输出。When entering the microphone mode, the acoustic-electric bidirectional transducer is controlled to collect a sound signal, and the sound signal is converted into an electrical signal and then output.
  2. 根据权利要求1所述的声音处理方法,其中,所述在扬声器模式和传声器模式之间进行切换包括:接收切换指令,根据所述切换指令在扬声器模式和传声器模式之间进行切换。The sound processing method according to claim 1, wherein the switching between the speaker mode and the microphone mode comprises: receiving a switching instruction to switch between a speaker mode and a microphone mode according to the switching instruction.
  3. 根据权利要求1所述的声音处理方法,其中,所述在扬声器模式和传声器模式之间进行切换包括:检测当前的工作状态,根据所述工作状态在扬声器模式和传声器模式之间进行切换。The sound processing method according to claim 1, wherein said switching between the speaker mode and the microphone mode comprises: detecting a current operating state, and switching between the speaker mode and the microphone mode according to the operating state.
  4. 根据权利要求1-3任一项所述的声音处理方法,还包括:The sound processing method according to any one of claims 1 to 3, further comprising:
    所述并将所述声音信号转换为电信号后予以输出的步骤之后,对所述声电双向换能器输出的电信号进行放大处理。After the step of converting the sound signal into an electrical signal and outputting the signal, the electrical signal output by the acoustic-electric bidirectional transducer is amplified.
  5. 根据权利要求1-3任一项所述的声音处理方法,其中,所述声电双向换能器包括动圈式换能器。The sound processing method according to any one of claims 1 to 3, wherein the acoustic-electric bidirectional transducer comprises a moving coil transducer.
  6. 一种声音处理装置,包括模式切换模块、第一处理模块、第二处理模块和声电双向换能器,其中:A sound processing device includes a mode switching module, a first processing module, a second processing module, and an acoustic-electric bidirectional transducer, wherein:
    所述模式切换模块,设置为在扬声器模式和传声器模式之间进行切换;The mode switching module is configured to switch between a speaker mode and a microphone mode;
    所述第一处理模块,设置为当进入所述扬声器模式时,控制所述声电双向换能器接收电信号,并将所述电信号转换为声音信号后予以输出;The first processing module is configured to, when entering the speaker mode, control the acoustic-electric bidirectional transducer to receive an electrical signal, and convert the electrical signal into a sound signal for output;
    所述第二处理模块,设置为当进入所述传声器模式时,控制所述声电双向换能器采集声音信号,并将所述声音信号转换为电信号后予以输出。The second processing module is configured to control the acoustic-electric bidirectional transducer to collect a sound signal when entering the microphone mode, and convert the sound signal into an electrical signal and output the sound signal.
  7. 根据权利要求6所述的声音处理装置,其中,所述模式切换模块是设置为:接收切换指令,根据所述切换指令在扬声器模式和传声器模式之间进 行切换。The sound processing device according to claim 6, wherein the mode switching module is configured to: receive a switching instruction, and between the speaker mode and the microphone mode according to the switching instruction Line switching.
  8. 根据权利要求6所述的声音处理装置,其中,所述模式切换模块是设置为:检测当前的工作状态,根据所述工作状态在扬声器模式和传声器模式之间进行切换。The sound processing device according to claim 6, wherein the mode switching module is configured to detect a current operating state and switch between a speaker mode and a microphone mode according to the operating state.
  9. 根据权利要求6-8任一项所述的声音处理装置,其中,所述第二处理模块包括信号放大单元,所述信号放大单元设置为:接收所述声电双向换能器输出的电信号,并对所述电信号进行放大处理。The sound processing device according to any one of claims 6-8, wherein the second processing module comprises a signal amplifying unit, the signal amplifying unit is configured to receive an electrical signal output by the acoustic-electric bidirectional transducer And amplifying the electrical signal.
  10. 根据权利要求6-8任一项所述的声音处理装置,其中,所述声电双向换能器包括动圈式换能器。 A sound processing device according to any of claims 6-8, wherein the acoustic-electric bidirectional transducer comprises a moving coil transducer.
PCT/CN2016/089183 2016-05-18 2016-07-07 Method and device for audio processing WO2017197742A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610329659.0A CN107404683A (en) 2016-05-18 2016-05-18 Sound processing method and device
CN201610329659.0 2016-05-18

Publications (1)

Publication Number Publication Date
WO2017197742A1 true WO2017197742A1 (en) 2017-11-23

Family

ID=60324652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089183 WO2017197742A1 (en) 2016-05-18 2016-07-07 Method and device for audio processing

Country Status (2)

Country Link
CN (1) CN107404683A (en)
WO (1) WO2017197742A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11785392B2 (en) 2019-09-27 2023-10-10 Apple Inc. Dual function transducer
US11070920B2 (en) * 2019-09-27 2021-07-20 Apple Inc. Dual function transducer
CN113099331B (en) * 2021-03-26 2023-05-16 深圳市锐尔觅移动通信有限公司 Microphone assembly, audio signal adjusting method thereof and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879393A (en) * 2003-11-11 2006-12-13 马帝克公司 Two-way communications device having a single transducer
US20070058831A1 (en) * 2005-09-13 2007-03-15 Jin Rie Ear ring type two way wireless mini-ear piece
CN101466062A (en) * 2008-12-31 2009-06-24 清华大学深圳研究生院 Calibration method and apparatus for ear plug type transducer for ear acoustic emission audition detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879393A (en) * 2003-11-11 2006-12-13 马帝克公司 Two-way communications device having a single transducer
US20070058831A1 (en) * 2005-09-13 2007-03-15 Jin Rie Ear ring type two way wireless mini-ear piece
CN101466062A (en) * 2008-12-31 2009-06-24 清华大学深圳研究生院 Calibration method and apparatus for ear plug type transducer for ear acoustic emission audition detection

Also Published As

Publication number Publication date
CN107404683A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN105704624B (en) The method for controlling the diaphragm offset of dynamic loudspeaker
US9628904B2 (en) Voltage control device for ear microphone
KR20160130832A (en) Systems and methods for enhancing performance of audio transducer based on detection of transducer status
CN106231088B (en) Voice call method, device and terminal
WO2013164999A1 (en) Electronic device, control method, and control program
KR101092958B1 (en) Earset
NL8501719A (en) BASREFLEX SPEAKER SYSTEM.
WO2017197742A1 (en) Method and device for audio processing
CN109996161A (en) A kind of mobile terminal and its control method of speaking, the device with store function
CN103428593B (en) The device of audio signal is gathered based on speaker
US20120197635A1 (en) Method for generating an audio signal
CN201015225Y (en) Audio vibrator device
CN108282725A (en) A kind of public address system and audio player of integrated back of the body cavity pressure perception
WO2020017518A1 (en) Audio signal processing device
CN106034272A (en) Loudspeaker compensation system and portable mobile terminal
CN113519170A (en) Speaker and electronic equipment
CN113596647A (en) Sound output device and method for regulating sound image
CN204392551U (en) A kind of Dual Drive Microspeaker
CN218041710U (en) Earphone speaker that space utilization is high
CN109348385A (en) A kind of microphone and electronic equipment with echo sound-attenuating system
CN205283527U (en) Words system that receives that send of quick -witted bluetooth of arranging that half -duplex is wireless
US20160351192A1 (en) Voice Recognition Device, Voice Control System And Voice Communication System
CN113596684B (en) Sound output device and method for adjusting volume
CN208299968U (en) A kind of moving-iron type active noise reduction earphone
CN209390369U (en) A kind of microphone and electronic equipment with echo sound-attenuating system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16902122

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902122

Country of ref document: EP

Kind code of ref document: A1