CN106303789A - A kind of way of recording, earphone and mobile terminal - Google Patents
A kind of way of recording, earphone and mobile terminal Download PDFInfo
- Publication number
- CN106303789A CN106303789A CN201610928713.3A CN201610928713A CN106303789A CN 106303789 A CN106303789 A CN 106303789A CN 201610928713 A CN201610928713 A CN 201610928713A CN 106303789 A CN106303789 A CN 106303789A
- Authority
- CN
- China
- Prior art keywords
- channel microphone
- signal
- earphone
- microphone signal
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 45
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 15
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 15
- 238000004891 communication Methods 0.000 claims description 62
- 230000002194 synthesizing effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 8
- 230000015654 memory Effects 0.000 description 28
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 8
- 210000005069 ears Anatomy 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000008054 signal transmission Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 2
- 230000005669 field effect Effects 0.000 description 2
- 210000003128 head Anatomy 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
- G11B2020/10592—Audio or video recording specifically adapted for recording or reproducing multichannel signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/03—Connection circuits to selectively connect loudspeakers or headphones to amplifiers
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种录音方法、耳机及移动终端。The invention relates to the field of electronic technology, in particular to a recording method, an earphone and a mobile terminal.
背景技术Background technique
目前市面上的移动终端在录音时,只有一个麦克风(本机的麦克风或者耳机的麦克风)用于录音,这样录入的音源都是单声道,通过耳机回放时,左右声道听到的声音都是一样的,无法还原出录音时的真实场景,使得用户无法判断声音是从哪个方位传过来的。At present, only one microphone (the local microphone or the earphone microphone) is used for recording when the mobile terminals on the market are recording, so the recorded audio sources are monophonic. It is the same, it is impossible to restore the real scene during the recording, so that the user cannot judge which direction the sound is coming from.
例如用户进行会议录音时,用户无法分辨出是讲话的人在用户的左边还是右边,而只能通过音色来分辨是谁在讲话;另外移动终端放置在用户身前进行录音时,位于用户后方的人讲话时,其声音会被用户身体阻挡住,从而导致录入的声音较小。For example, when a user is recording a conference, the user cannot tell whether the speaker is on the left or the right of the user, but can only distinguish who is speaking through the tone; in addition, when the mobile terminal is placed in front of the user for recording, the person behind the user When a person speaks, their voice will be blocked by the user's body, resulting in a smaller recorded voice.
发明内容Contents of the invention
本发明的实施例提供了一种录音方法、耳机及移动终端,以解决现有技术录制的声音文件无法还原出录音时的真实场景的问题。Embodiments of the present invention provide a recording method, an earphone and a mobile terminal to solve the problem that the recorded sound files in the prior art cannot restore the real scene during the recording.
为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:
依据本发明实施例的一个方面,提供了一种录音方法,应用于耳机,所述耳机上设置有左声道麦克风和右声道麦克风,所述方法包括:According to an aspect of an embodiment of the present invention, a recording method is provided, which is applied to an earphone, and the earphone is provided with a left channel microphone and a right channel microphone, and the method includes:
获取耳机的左声道麦克风采集的左声道麦克风信号;Obtain the left channel microphone signal collected by the left channel microphone of the earphone;
获取耳机的右声道麦克风采集的右声道麦克风信号;Obtain the right channel microphone signal collected by the right channel microphone of the earphone;
将所述左声道麦克风信号和所述右声道麦克风信号发送给与所述耳机通信连接的移动终端,使得所述移动终端将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。sending the left channel microphone signal and the right channel microphone signal to a mobile terminal communicatively connected to the earphone, so that the mobile terminal performs the left channel microphone signal and the right channel microphone signal Audio mixing and synthesis processing to obtain stereo recording files.
依据本发明实施例的另一个方面,还提供了一种录音方法,应用于移动终端,所述方法包括:According to another aspect of the embodiments of the present invention, there is also provided a recording method applied to a mobile terminal, the method comprising:
接收与移动终端通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号;Receive the left channel microphone signal and the right channel microphone signal sent by the earphone connected to the mobile terminal;
将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。The left channel microphone signal and the right channel microphone signal are mixed and synthesized to obtain a stereo recording file.
依据本发明实施例的另一个方面,还提供了一种耳机,所述耳机上设置有左声道麦克风和右声道麦克风,所述耳机还包括:According to another aspect of the embodiments of the present invention, there is also provided an earphone, the earphone is provided with a left-channel microphone and a right-channel microphone, and the earphone also includes:
第一信号获取模块,用于获取耳机的左声道麦克风采集的左声道麦克风信号;The first signal acquisition module is used to acquire the left channel microphone signal collected by the left channel microphone of the earphone;
第二信号获取模块,用于获取耳机的右声道麦克风采集的右声道麦克风信号;The second signal acquisition module is used to acquire the right channel microphone signal collected by the right channel microphone of the earphone;
信号发送模块,用于将所述第一信号获取模块获取的所述左声道麦克风信号和所述第二信号获取模块获取的所述右声道麦克风信号发送给与所述耳机通信连接的移动终端,使得所述移动终端将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。A signal sending module, configured to send the left channel microphone signal acquired by the first signal acquisition module and the right channel microphone signal acquired by the second signal acquisition module to a mobile phone connected to the earphone in communication terminal, so that the mobile terminal performs audio mixing and synthesis processing on the left-channel microphone signal and the right-channel microphone signal to obtain a stereo recording file.
依据本发明实施例的另一个方面,还提供了一种移动终端,包括:According to another aspect of the embodiments of the present invention, a mobile terminal is also provided, including:
信号接收模块,用于接收与移动终端通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号;The signal receiving module is used to receive the left channel microphone signal and the right channel microphone signal sent by the earphone connected to the mobile terminal;
信号混合模块,用于将所述信号接收模块接收的所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。The signal mixing module is configured to mix and synthesize the left channel microphone signal and the right channel microphone signal received by the signal receiving module to obtain a stereo recording file.
依据本发明实施例的另一个方面,还提供了一种耳机,包括:According to another aspect of the embodiments of the present invention, a headset is also provided, including:
左耳机,所述左耳机上设置有左声道麦克风;A left earphone, the left earphone is provided with a left channel microphone;
右耳机,所述右耳机上设置有右声道麦克风;A right earphone, the right earphone is provided with a right channel microphone;
将所述左声道麦克风采集的左声道麦克风信号和所述右声道麦克风采集的右声道麦克风信号发送给一移动终端的第一通信电路,所述第一通信电路与所述移动终端通信连接,且所述第一通信电路分别与所述左声道麦克风和所述右声道麦克风电连接。Sending the left channel microphone signal collected by the left channel microphone and the right channel microphone signal collected by the right channel microphone to a first communication circuit of a mobile terminal, the first communication circuit communicates with the mobile terminal communication connection, and the first communication circuit is electrically connected to the left channel microphone and the right channel microphone respectively.
依据本发明实施例的另一个方面,还提供了一种移动终端,包括:According to another aspect of the embodiments of the present invention, a mobile terminal is also provided, including:
接收一耳机发送的左声道麦克风信号和右声道麦克风信号的第二通信电路,所述第二通信电路与所述耳机通信连接;A second communication circuit that receives a left-channel microphone signal and a right-channel microphone signal sent by an earphone, and the second communication circuit is communicatively connected to the earphone;
将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件的信号混合电路,所述信号混合电路与所述第二通信电路电连接。Mixing and synthesizing the left channel microphone signal and the right channel microphone signal to obtain a signal mixing circuit of a stereo recording file, and the signal mixing circuit is electrically connected to the second communication circuit.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明的实施例,通过获取耳机的左声道麦克风采集的左声道麦克风信号,和右声道麦克风采集的右声道麦克风信号,并通过移动终端将左声道麦克风信号和右声道麦克风信号进行混音合成处理,生成立体声录音文件,从而使得该立体声录音文件在进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。因此,本发明的实施例,能够获得具有立体声效果的声音文件,使得用户能够感受身临其境的听觉体验,解决了现有技术录制的声音文件无法还原出录音时的真实场景的问题。In the embodiment of the present invention, the left channel microphone signal collected by the left channel microphone of the earphone and the right channel microphone signal collected by the right channel microphone are obtained, and the left channel microphone signal and the right channel microphone signal are collected by the mobile terminal. The signal is mixed and synthesized to generate a stereo recording file, so that when the stereo recording file is played back, the real scene at the time of recording can be restored and the user's listening experience can be improved. Therefore, the embodiments of the present invention can obtain sound files with stereo effects, so that users can experience an immersive auditory experience, and solve the problem that the sound files recorded in the prior art cannot restore the real scene during recording.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1表示本发明第一实施例的录音方法的流程图;Fig. 1 represents the flowchart of the recording method of the first embodiment of the present invention;
图2表示本发明第二实施例的录音方法的流程图;Fig. 2 represents the flowchart of the recording method of the second embodiment of the present invention;
图3表示本发明第三实施例的耳机的结构框图之一;Fig. 3 represents one of the structural block diagrams of the earphone of the third embodiment of the present invention;
图4表示本发明第三实施例的耳机的结构框图之二;Fig. 4 shows the second structural block diagram of the earphone of the third embodiment of the present invention;
图5表示本发明第四实施例的移动终端的结构框图;Fig. 5 shows the structural block diagram of the mobile terminal of the 4th embodiment of the present invention;
图6表示本发明第五实施例的耳机的电路连接示意图;Fig. 6 shows the circuit connection diagram of the earphone of the fifth embodiment of the present invention;
图7表示本发明第六实施例的移动终端的电路连接示意图;FIG. 7 shows a schematic diagram of a circuit connection of a mobile terminal according to a sixth embodiment of the present invention;
图8表示本发明第五实施例的耳机与第六实施例的移动终端配合使用时的电路连接示意图;Fig. 8 shows a schematic diagram of circuit connection when the earphone according to the fifth embodiment of the present invention is used in conjunction with the mobile terminal according to the sixth embodiment;
图9表示本发明第八实施例的移动终端的结构框图;FIG. 9 shows a structural block diagram of a mobile terminal according to an eighth embodiment of the present invention;
图10表示本发明第九实施例的移动终端的结构框图;FIG. 10 shows a structural block diagram of a mobile terminal according to a ninth embodiment of the present invention;
图11表示左声道麦克风信号的波形图;Fig. 11 represents the waveform diagram of the left channel microphone signal;
图12表示右声道麦克风信号的波形图;Fig. 12 represents the waveform diagram of the right channel microphone signal;
图13表示立体声录音文件的波形图。Fig. 13 shows a waveform diagram of a stereo recording file.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
第一实施例first embodiment
本发明的实施例提供了一种录音方法,应用于耳机,所述耳机上设置有左声道麦克风和右声道麦克风。An embodiment of the present invention provides a recording method, which is applied to an earphone, and the earphone is provided with a left-channel microphone and a right-channel microphone.
如图1所示,本发明实施例的录音方法包括:As shown in Figure 1, the recording method of the embodiment of the present invention includes:
步骤101:获取耳机的左声道麦克风采集的左声道麦克风信号。Step 101: Obtain a left-channel microphone signal collected by the left-channel microphone of the earphone.
本发明实施例的录音方法所应用的耳机与移动终端配合使用,其中,该移动终端具体可为手机、平板电脑等。当耳机与移动终端建立通信连接后,由移动终端控制耳机的左声道麦克风和右声道麦克风开始进行录音,即控制左声道麦克风采集左声道麦克风信号,控制右声道麦克风采集右声道麦克风信号。The earphone used in the recording method of the embodiment of the present invention is used in conjunction with a mobile terminal, wherein the mobile terminal may specifically be a mobile phone, a tablet computer, or the like. After the earphone establishes a communication connection with the mobile terminal, the mobile terminal controls the left channel microphone and the right channel microphone of the earphone to start recording, that is, the left channel microphone is controlled to collect the signal of the left channel microphone, and the right channel microphone is controlled to collect the right sound. channel microphone signal.
步骤102:获取耳机的右声道麦克风采集的右声道麦克风信号。Step 102: Obtain a right-channel microphone signal collected by the right-channel microphone of the earphone.
其中,人听到立体声是因为音源相对于两耳有响度差(距离更近一侧耳朵接收到的声音响度更大)和相位差(即时间差)。同一音源到达两耳的声波处于不同的振动状态,再加上头、肩部和耳廓的反射和衍射,人脑会从这些信息来判断音源的方向和距离的远近(主要是水平方向上的判断,人对音源在垂直方向上位置的差异相对不敏感)。而本发明的实施例中,通过耳机上的左声道麦克风和右声道麦克风来模拟人的左右耳朵,实现对同一个音源的响度差和相位差的录制。Among them, people hear stereo because the sound source has a loudness difference relative to the two ears (the sound received by the ear closer to the ear is louder) and a phase difference (that is, a time difference). The sound waves reaching the two ears from the same sound source are in different vibration states, coupled with the reflection and diffraction of the head, shoulders and auricles, the human brain will judge the direction and distance of the sound source from this information (mainly in the horizontal direction) , people are relatively insensitive to differences in the vertical position of the sound source). However, in the embodiment of the present invention, the left and right ears of a person are simulated through the left channel microphone and the right channel microphone on the earphone, so as to realize the recording of the loudness difference and phase difference of the same sound source.
步骤103:将所述左声道麦克风信号和所述右声道麦克风信号发送给与所述耳机通信连接的移动终端,使得所述移动终端将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。Step 103: Send the left-channel microphone signal and the right-channel microphone signal to a mobile terminal communicatively connected to the earphone, so that the mobile terminal transmits the left-channel microphone signal and the right-channel microphone signal The microphone signal is mixed and synthesized to obtain a stereo recording file.
其中,所述通信连接是指可以进行数据和信号传输的连接方式,包括无线连接和线束连接,则所述左声道麦克风信号和所述右声道麦克风信号可以通过无线发送方式或电路传输方式发送给移动终端。Wherein, the communication connection refers to the connection mode that can carry out data and signal transmission, including wireless connection and wire harness connection, then the microphone signal of the left channel and the microphone signal of the right channel can be transmitted by wireless transmission or circuit sent to the mobile terminal.
当耳机获取到左声道麦克风采集的左声道麦克风信号和右声道麦克风采集的右声道麦克风信号时,耳机需要将左声道麦克风信号和右声道麦克风信号传输给移动终端进行混音合成处理,才能获得具有立体声效果的录音文件。When the headset acquires the left-channel microphone signal collected by the left-channel microphone and the right-channel microphone signal collected by the right-channel microphone, the headset needs to transmit the left-channel microphone signal and the right-channel microphone signal to the mobile terminal for mixing Synthetic processing in order to obtain recording files with stereo effects.
其中,由于耳机分为模拟式耳机和数字式耳机,所以在模拟式耳机上设置的麦克风为模拟麦克风,在数字式耳机上设置的麦克风为数字麦克风。因此,当左声道麦克风和右声道麦克风均为模拟麦克风时,耳机获取到的左声道麦克风信号和右声道麦克风信号均为模拟信号;当左声道麦克风和右声道麦克风均为数字麦克风时,耳机获取到的左声道麦克风信号和右声道麦克风信号均为数字信号。Wherein, since earphones are divided into analog earphones and digital earphones, the microphones provided on the analog earphones are analog microphones, and the microphones provided on the digital earphones are digital microphones. Therefore, when the left channel microphone and the right channel microphone are both analog microphones, the left channel microphone signal and the right channel microphone signal obtained by the earphone are both analog signals; When using a digital microphone, the left channel microphone signal and the right channel microphone signal obtained by the earphone are both digital signals.
其中,当所述左声道麦克风和所述右声道麦克风均为模拟麦克风时,优选地,步骤103包括:将所述左声道麦克风信号转换为第一数字信号;将所述右声道麦克风信号转换为第二数字信号;将所述第一数字信号和所述第二数字信号发送给与所述耳机通信连接的移动终端。Wherein, when the left channel microphone and the right channel microphone are both analog microphones, preferably, step 103 includes: converting the left channel microphone signal into a first digital signal; converting the microphone signal into a second digital signal; sending the first digital signal and the second digital signal to a mobile terminal communicatively connected to the earphone.
当所述左声道麦克风和所述右声道麦克风均为数字麦克风时,所述左声道麦风信号为第一数字信号,所述右声道麦克风信号为第二数字信号;优选地,步骤103包括:直接将所述第一数字信号和所述第二数字信号发送给与所述耳机通信连接的移动终端。When both the left channel microphone and the right channel microphone are digital microphones, the left channel microphone signal is a first digital signal, and the right channel microphone signal is a second digital signal; preferably, Step 103 includes: directly sending the first digital signal and the second digital signal to a mobile terminal communicatively connected to the earphone.
即本发明的实施例中,耳机发送给移动终端的麦克风信号要求为数字信号时,则当耳机上的麦克风采集的麦克风信号为模拟信号时,还需要将模拟信号转换为数字信号,才能发送给移动终端;当耳机上的麦克风采集的麦克风信号为数字信号时,则可以直接将采集的数字麦克风信号发送给移动终端,使得移动终端可以直接对数字麦克风信号进行混音合成处理,生成立体声录音文件。That is, in the embodiment of the present invention, when the microphone signal sent by the earphone to the mobile terminal is required to be a digital signal, then when the microphone signal collected by the microphone on the earphone is an analog signal, the analog signal needs to be converted into a digital signal before it can be sent to the mobile terminal. Mobile terminal; when the microphone signal collected by the microphone on the headset is a digital signal, the collected digital microphone signal can be directly sent to the mobile terminal, so that the mobile terminal can directly perform mixing and synthesis processing on the digital microphone signal to generate a stereo recording file .
然而,若耳机直接将模拟麦克风信号发送给移动终端,则需要移动终端具有模数转换功能,才能进一步对模数转换后获得的数字信号进行混音合成处理,生成立体声录音文件。However, if the earphone directly sends the analog microphone signal to the mobile terminal, the mobile terminal needs to have an analog-to-digital conversion function, so that the digital signal obtained after the analog-to-digital conversion can be further mixed and synthesized to generate a stereo recording file.
由上述可知,当耳机上的左声道麦克风和右声道麦克风均为模拟麦克风时,耳机可以先将获取的模拟的左声道麦克风信号和右声道麦克风信号转换为数字信号后,再发送给移动终端;也可以直接将获取到的模拟的左声道麦克风信号和右声道麦克风信号发送给移动终端,由移动终端进行模数转换。As can be seen from the above, when the left and right channel microphones on the earphone are both analog microphones, the earphone can first convert the obtained analog left and right channel microphone signals into digital signals, and then send to the mobile terminal; or directly send the acquired analog left-channel microphone signal and right-channel microphone signal to the mobile terminal, and the mobile terminal performs analog-to-digital conversion.
其中,上述对左声道麦克风信号和右声道麦克风信号进行模数转换的过程具体由耳机和移动终端的哪一侧执行,根据耳机与移动终端的具体通信连接方式而定。例如,当耳机与移动终端通过蓝牙无线通信连接时,由于蓝牙模组之间传输的是数字信号,所以,对左声道麦克风信号和右声道麦克风信号进行模数转换的过程则由耳机侧执行。Wherein, which side of the earphone and the mobile terminal performs the analog-to-digital conversion process of the left-channel microphone signal and the right-channel microphone signal depends on the specific communication connection mode between the earphone and the mobile terminal. For example, when the earphone is connected to the mobile terminal through Bluetooth wireless communication, since the digital signals are transmitted between the Bluetooth modules, the analog-to-digital conversion process of the left channel microphone signal and the right channel microphone signal is performed by the earphone side. implement.
综上所述,本发明的实施例,通过耳机的左声道麦克风和右声道麦克风实现双声道录音,并将录制的左声道麦克风信号和右声道麦克风信号发送给移动终端,使得移动终端进行混音合成处理,生成立体声录音文件,进而能够在对生成的立体声录音文件进行回放时,能够还原出录音时的真实场景,可以让用户明显感知声音的方位,而不仅仅是响度的大小,提升了录音的多样性和丰富性,提升了用户的听觉体验。此外,随着虚拟现实(VR,Virtual Reality)技术的普及,本发明的实施例,还能够提升在VR录音录像方面的用户体验。In summary, in the embodiment of the present invention, two-channel recording is realized through the left-channel microphone and the right-channel microphone of the earphone, and the recorded left-channel microphone signal and right-channel microphone signal are sent to the mobile terminal, so that The mobile terminal performs mixing and synthesis processing to generate stereo recording files, and then when the generated stereo recording files are played back, the real scene during recording can be restored, allowing users to clearly perceive the direction of the sound, not just the loudness The size improves the diversity and richness of recordings, and enhances the user's listening experience. In addition, with the popularization of virtual reality (VR, Virtual Reality) technology, embodiments of the present invention can also improve user experience in VR recording and video recording.
第二实施例second embodiment
本发明的实施例提供了一种录音方法,应用于移动终端,该移动终端具体可以为手机、平板电脑等。Embodiments of the present invention provide a recording method, which is applied to a mobile terminal, and the mobile terminal may specifically be a mobile phone, a tablet computer, and the like.
如图2所示,本发明实施例的录音方法包括:As shown in Figure 2, the recording method of the embodiment of the present invention includes:
步骤201:接收与移动终端通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号。Step 201: Receive a left-channel microphone signal and a right-channel microphone signal sent by an earphone communicatively connected to the mobile terminal.
其中,所述通信连接是指可以进行数据和信号传输的连接方式,包括无线连接和线束连接,则所述左声道麦克风信号和所述右声道麦克风信号可以通过无线接收方式或电路传输方式从耳机侧接收。Wherein, the communication connection refers to the connection mode that can carry out data and signal transmission, including wireless connection and wire harness connection, then the left channel microphone signal and the right channel microphone signal can be received by wireless or circuit transmission Received from the earphone side.
本发明实施例所应用的移动终端需要与设置有左声道麦克风和右声道麦克风的耳机配合使用。其中,当用户操作移动终端,使得移动终端发出开始录音的指令时,与该移动终端通信连接的耳机则开始通过左声道麦克风采集左声道麦克风信号,通过右声道麦克风采集右声道麦克风信号,从而使得移动终端可以通过与耳机之间的通信连接接收耳机发送的左声道麦克风信号和右声道麦克风信号。The mobile terminal to which the embodiment of the present invention is applied needs to be used in cooperation with an earphone provided with a left-channel microphone and a right-channel microphone. Wherein, when the user operates the mobile terminal so that the mobile terminal issues an instruction to start recording, the earphone connected in communication with the mobile terminal starts to collect the signal of the left-channel microphone through the left-channel microphone, and collects the signal of the right-channel microphone through the right-channel microphone. signal, so that the mobile terminal can receive the left channel microphone signal and the right channel microphone signal sent by the earphone through the communication connection with the earphone.
步骤202:将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。Step 202: Mix and synthesize the left-channel microphone signal and the right-channel microphone signal to obtain a stereo recording file.
其中,若移动终端接收到的左声道麦克风信号为左音源SL,接收到的右声道麦克风信号为右音源SR,则移动终端进行混音合成处理即为将左音源SL和右音源SR分别放置在立体声音源的左右声道,从而得到立体声录音文件SL+R。其中,如图11所示为左音源SL的波形图,如图12为右音源SR的波形图,则由左音源SL和右音源SR合成的立体声文件SL+R的波形图,如图13所示。Wherein, if the left channel microphone signal received by the mobile terminal is the left sound source SL , and the right channel microphone signal received is the right sound source SR , then the mobile terminal performs mixing and synthesis processing to combine the left sound source SL and the right sound source The sound source S R is respectively placed on the left and right channels of the stereo sound source, thereby obtaining the stereo recording file S L+R . Wherein, as shown in Figure 11, it is the waveform diagram of the left sound source SL , and Figure 12 is the waveform diagram of the right sound source SR , then the waveform diagram of the stereo file SL+R synthesized by the left sound source SL and the right sound source S R , as shown in Figure 13.
此外,当生成的立体声录音文件在进行回放时,即使用户闭上眼睛也能判断出声音发出的方向和距离,因此,本发明实施例的录音方法能够完美地还原出360度的音场效果,尽可能真实地模拟人耳在听到声音时状态,可以让用户明显感知声音的方位,而不仅仅是响度的大小,提升了录音的多样性和丰富性,提升了用户的听觉体验。此外,随着虚拟现实(VR)技术的普及,本发明的实施例,还能够提升在VR录音录像方面的用户体验。In addition, when the generated stereo recording file is being played back, the direction and distance of the sound can be judged even if the user closes his eyes. Therefore, the recording method in the embodiment of the present invention can perfectly restore the 360-degree sound field effect, Simulate the state of the human ear when hearing the sound as realistically as possible, allowing users to clearly perceive the direction of the sound, not just the loudness, which improves the diversity and richness of recordings and enhances the user's listening experience. In addition, with the popularity of virtual reality (VR) technology, the embodiments of the present invention can also improve user experience in VR recording and video recording.
第三实施例third embodiment
本发明的实施例提供了一种耳机,所述耳机上设置有左声道麦克风和右声道麦克风,如图3所示,该耳机300还包括:An embodiment of the present invention provides an earphone, the earphone is provided with a left channel microphone and a right channel microphone, as shown in Figure 3, the earphone 300 also includes:
第一信号获取模块301,用于获取耳机的左声道麦克风采集的左声道麦克风信号;The first signal acquisition module 301 is configured to acquire the left channel microphone signal collected by the left channel microphone of the earphone;
第二信号获取模块302,用于获取耳机的右声道麦克风采集的右声道麦克风信号;The second signal acquisition module 302 is configured to acquire the right channel microphone signal collected by the right channel microphone of the earphone;
信号发送模块303,用于将所述第一信号获取模块301获取的所述左声道麦克风信号和所述第二信号获取模块302获取的所述右声道麦克风信号发送给与所述耳机通信连接的移动终端,使得所述移动终端将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。A signal sending module 303, configured to send the left channel microphone signal obtained by the first signal obtaining module 301 and the right channel microphone signal obtained by the second signal obtaining module 302 to communicate with the earphone connected to the mobile terminal, so that the mobile terminal performs mixing and synthesis processing on the left channel microphone signal and the right channel microphone signal to obtain a stereo recording file.
优选地,当所述左声道麦克风和所述右声道麦克风均为模拟麦克风时,如图4所示,所述信号发送模块303包括:Preferably, when the left channel microphone and the right channel microphone are both analog microphones, as shown in FIG. 4, the signal sending module 303 includes:
第一转换单元3031,用于将所述左声道麦克风信号转换为第一数字信号;A first conversion unit 3031, configured to convert the left channel microphone signal into a first digital signal;
第二转换单元3032,用于将所述右声道麦克风信号转换为第二数字信号;A second conversion unit 3032, configured to convert the right channel microphone signal into a second digital signal;
第一信号发送单元3033,用于将所述第一数字信号和所述第二数字信号发送给与所述耳机通信连接的移动终端。The first signal sending unit 3033 is configured to send the first digital signal and the second digital signal to a mobile terminal communicatively connected to the earphone.
本发明实施例的耳机,通过第一信号获取模块301获取耳机的左声道麦克风采集的左声道麦克风信号,通过第二信号获取模块302获取右声道麦克风采集的右声道麦克风信号,进而通过信号发送模块303将左声道麦克风信号和右声道麦克风信号发送给与该耳机通信连接的移动终端,使得该移动终端能够将左声道麦克风信号和右声道麦克风信号进行混音合成处理,从而生成立体声录音文件,进而在通过耳机对生成的立体声录音文件进行回放时,可以还原出录音时的真实场景,从而提升用户的听觉体验。The earphone of the embodiment of the present invention acquires the left channel microphone signal collected by the left channel microphone of the earphone through the first signal acquisition module 301, and acquires the right channel microphone signal collected by the right channel microphone through the second signal acquisition module 302, and then Send the left channel microphone signal and the right channel microphone signal to the mobile terminal communicatively connected to the headset through the signal sending module 303, so that the mobile terminal can perform mixing and synthesis processing on the left channel microphone signal and the right channel microphone signal , so as to generate a stereo recording file, and then when the generated stereo recording file is played back through the earphone, the real scene during the recording can be restored, thereby improving the user's listening experience.
第四实施例Fourth embodiment
本发明的实施例提供了一种移动终端,如图5所示,该移动终端500包括:An embodiment of the present invention provides a mobile terminal. As shown in FIG. 5, the mobile terminal 500 includes:
信号接收模块501,用于接收与移动终端通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号;The signal receiving module 501 is used to receive the left channel microphone signal and the right channel microphone signal sent by the earphone connected to the mobile terminal in communication;
信号混合模块502,用于将所述信号接收模块501接收的所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。The signal mixing module 502 is configured to mix and synthesize the left channel microphone signal and the right channel microphone signal received by the signal receiving module 501 to obtain a stereo recording file.
本发明实施例的移动终端,能够将耳机采集的左声道麦克风信号和右声道麦克风信号进行混音合成处理,从而生成立体声录音文件,从而使得该立体声录音文件在进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。因此,本发明实施例的移动终端,能够获得具有立体声效果的声音文件,使得能够感受到身临其境的听觉体验,解决了现有技术录制的声音文件无法还原出录音时的真实场景的问题。The mobile terminal in the embodiment of the present invention can mix and synthesize the left-channel microphone signal and the right-channel microphone signal collected by the earphone, thereby generating a stereo recording file, so that the stereo recording file can be restored when it is played back. The real scene during recording improves the user's listening experience. Therefore, the mobile terminal in the embodiment of the present invention can obtain sound files with stereo effects, so that people can experience an immersive auditory experience, and solve the problem that the sound files recorded in the prior art cannot restore the real scene during recording .
第五实施例fifth embodiment
本发明的实施例提供了一种耳机,如图6所示,该耳机600包括:An embodiment of the present invention provides an earphone. As shown in FIG. 6, the earphone 600 includes:
左耳机,所述左耳机上设置有左声道麦克风601;A left earphone, the left earphone is provided with a left channel microphone 601;
右耳机,所述右耳机上设置有右声道麦克风602;A right earphone, the right earphone is provided with a right channel microphone 602;
将所述左声道麦克风601采集的左声道麦克风信号和所述右声道麦克风602采集的右声道麦克风信号发送给一移动终端的第一通信电路,所述第一通信电路与所述移动终端通信连接,且所述第一通信电路分别与所述左声道麦克风601和所述右声道麦克风602电连接。Sending the left channel microphone signal collected by the left channel microphone 601 and the right channel microphone signal collected by the right channel microphone 602 to a first communication circuit of a mobile terminal, the first communication circuit communicates with the The mobile terminal is connected in communication, and the first communication circuit is electrically connected to the left channel microphone 601 and the right channel microphone 602 respectively.
其中,人听到立体声是因为音源相对于两耳有响度差(距离更近一侧耳朵接收到的声音响度更大)和相位差(即时间差)。同一音源到达两耳的声波处于不同的振动状态,再加上头、肩部和耳廓的反射和衍射,人脑会从这些信息来判断音源的方向和距离的远近(主要是水平方向上的判断,人对音源在垂直方向上位置的差异相对不敏感)。Among them, people hear stereo because the sound source has a loudness difference relative to the two ears (the sound received by the ear closer to the ear is louder) and a phase difference (that is, a time difference). The sound waves reaching the two ears from the same sound source are in different vibration states, coupled with the reflection and diffraction of the head, shoulders and auricles, the human brain will judge the direction and distance of the sound source from this information (mainly in the horizontal direction) , people are relatively insensitive to differences in the vertical position of the sound source).
而本发明的实施例中,在左耳机和右耳机上各增加一个麦克风,使得在进行录音时,可以利用两个麦克风模拟人的左右耳朵,从而录得同一个音源的响度差和相位差,实现双声道录音。In the embodiment of the present invention, a microphone is respectively added on the left earphone and the right earphone, so that when recording, two microphones can be utilized to simulate the left and right ears of a person, thereby recording the loudness difference and phase difference of the same sound source. Realize binaural recording.
另外,本发明实施例的耳机,与设置有用于将左声道麦克风信号和右声道麦克风信号混合为立体声录音文件的信号混合电路的移动终端配合使用。其中,在进行录音时,耳机的左声道麦克风和右声道麦克风进行双声道录音,从而通过与移动终端之间的通信连接,将采集的左声道麦克风信号和右声道麦克风信号发送给移动终端,使得移动终端将其混合为立体声录音文件,进而能够在对生成的立体声录音文件进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。In addition, the earphone of the embodiment of the present invention is used in conjunction with a mobile terminal provided with a signal mixing circuit for mixing the left channel microphone signal and the right channel microphone signal into a stereo recording file. Wherein, when recording, the left channel microphone and the right channel microphone of the earphone perform binaural recording, so that through the communication connection with the mobile terminal, the collected left channel microphone signal and right channel microphone signal are sent to For the mobile terminal, the mobile terminal can mix it into a stereo recording file, so that when the generated stereo recording file is played back, the real scene during the recording can be restored, and the user's listening experience can be improved.
其中,优选地,所述第一通信电路为与移动终端上的第二蓝牙模组建立有无线通信连接的第一蓝牙模组605。即本发明实施例的耳机和与其配合使用的移动终端之间采用蓝牙技术实现无线通信连接,避免了线束耳机给用户带来的烦恼,极大地方便了用户的使用。其中,进一步地,可采用蓝牙音频传输模型(A2DP)协议进行通信。Wherein, preferably, the first communication circuit is the first Bluetooth module 605 that establishes a wireless communication connection with the second Bluetooth module on the mobile terminal. That is, the Bluetooth technology is used to realize the wireless communication connection between the earphone of the embodiment of the present invention and the mobile terminal used with it, which avoids the troubles caused by the wire harness earphone to the user, and greatly facilitates the use of the user. Wherein, further, the Bluetooth Audio Distribution Profile (A2DP) protocol may be used for communication.
由此可知,本发明实施例的耳机具体可为蓝牙耳机,即在蓝牙耳机上也可设置左声道麦克风和右声道麦克风,来实现双声道录音。It can be seen that the earphone in the embodiment of the present invention may specifically be a bluetooth earphone, that is, a left-channel microphone and a right-channel microphone may also be provided on the bluetooth earphone to realize two-channel recording.
此外,耳机分为模拟式耳机和数字式耳机,则在模拟式耳机上设置的麦克风为模拟麦克风,在数字式耳机上设置的麦克风为数字麦克风。In addition, earphones are divided into analog earphones and digital earphones, and the microphone provided on the analog earphone is an analog microphone, and the microphone provided on the digital earphone is a digital microphone.
其中,当所述左声道麦克风和所述右声道麦克风均为模拟麦克风时,所述耳机还包括:将所述左声道麦克风信号转换为第一数字信号的第一模数转换器,所述第一模数转换器分别与所述左声道麦克风601和所述第一蓝牙模组605电连接;将所述右声道麦克风信号转换为第二数字信号的第二模数转换器,所述第二模数转换器分别与所述右声道麦克风602和所述第一蓝牙模组605电连接。Wherein, when the left channel microphone and the right channel microphone are both analog microphones, the earphone further includes: a first analog-to-digital converter for converting the left channel microphone signal into a first digital signal, The first analog-to-digital converter is electrically connected to the left channel microphone 601 and the first bluetooth module 605 respectively; the second analog-to-digital converter that converts the right channel microphone signal into a second digital signal , the second analog-to-digital converter is electrically connected to the right channel microphone 602 and the first Bluetooth module 605 respectively.
即本发明的实施例中,当左声道麦克风和右声道麦克风均为模拟麦克风时,耳机所采集到的左声道麦克风信号和右声道麦克风信号均为模拟信号,由于蓝牙模组之间传输的是数字信号,所以在通过第一蓝牙模组605与第二蓝牙模组之间的无线通信连接,将左声道麦克风信号和右声道麦克风信号发送给移动终端时,还需要进行模数转换,因此,在耳机上还需要设置对应的模数转换器。That is, in the embodiment of the present invention, when the left channel microphone and the right channel microphone are both analog microphones, the left channel microphone signal and the right channel microphone signal collected by the earphone are all analog signals. The digital signal is transmitted between the first bluetooth module 605 and the second bluetooth module through the wireless communication connection between the left channel microphone signal and the right channel microphone signal to the mobile terminal, it is also necessary to Analog-to-digital conversion, therefore, a corresponding analog-to-digital converter needs to be set on the headset.
其中,优选地,当耳机与移动终端通过蓝牙技术实现无线通信连接(即第一通信电路为第一蓝牙模组605)时,所述第一模数转换器和所述第二模数转换器即为耳机上的第一蓝牙模组605内部的模数转换器,从而不必再额外增加两个模数转换器,进而进一步简化耳机上的电路结构,节省成本。Wherein, preferably, when the headset and the mobile terminal realize a wireless communication connection through Bluetooth technology (that is, the first communication circuit is the first Bluetooth module 605), the first analog-to-digital converter and the second analog-to-digital converter It is the analog-to-digital converter inside the first bluetooth module 605 on the headset, so there is no need to add two additional analog-to-digital converters, further simplifying the circuit structure on the headset and saving costs.
此外,在耳机上还设置有用于播放声音文件的左声道喇叭603和右声道喇叭604,如图6所示。其中,左声道喇叭603设置于左耳机上,右声道喇叭604设置于右耳机上,且左声道喇叭603和右声道喇叭604均与第一蓝牙模组605电连接,从而使得移动终端能够将生成的立体声录音文件,通过第一蓝牙模组605与第二蓝牙模组之间的无线通信连接,回放到左声道喇叭603和右声道喇叭604中。In addition, a left channel speaker 603 and a right channel speaker 604 for playing sound files are also provided on the earphone, as shown in FIG. 6 . Wherein, the left channel speaker 603 is arranged on the left earphone, the right channel speaker 604 is arranged on the right earphone, and both the left channel speaker 603 and the right channel speaker 604 are electrically connected with the first Bluetooth module 605, so that the mobile The terminal can play back the generated stereo recording file to the left channel speaker 603 and the right channel speaker 604 through the wireless communication connection between the first Bluetooth module 605 and the second Bluetooth module.
优选地,所述左声道麦克风601位于所述左耳机上与耳塞相背离的一侧,所述右声道麦克风602位于所述右耳机上与耳塞相背离的一侧,从而使得左声道麦克风601和右声道麦克风602可以采集到更加清晰的声音信号,从而提升最终的录音效果,进一步提升用户的听觉体验。Preferably, the left channel microphone 601 is located on the side of the left earphone away from the earplug, and the right channel microphone 602 is located on the side of the right earphone away from the earplug, so that the left channel The microphone 601 and the right channel microphone 602 can collect clearer sound signals, thereby improving the final recording effect and further improving the user's listening experience.
综上所述,本发明实施例的耳机,与设置有用于将左声道麦克风信号和右声道麦克风信号混合为立体声录音文件的信号混合电路的移动终端配合使用,能够通过左声道麦克风和右声道麦克风实现双声道录音,并通过移动终端的信号处理电路将左声道麦克风信号和右声道麦克风信号混合为立体声录音文件,进而能够在对生成的立体声录音文件进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。To sum up, the earphone of the embodiment of the present invention is used in conjunction with a mobile terminal provided with a signal mixing circuit for mixing the left channel microphone signal and the right channel microphone signal into a stereo recording file, and can pass the left channel microphone and the right channel microphone signal. The right channel microphone realizes two-channel recording, and the left channel microphone signal and the right channel microphone signal are mixed into a stereo recording file through the signal processing circuit of the mobile terminal, and then when the generated stereo recording file is played back, it can Restore the real scene when recording and improve the user's listening experience.
第六实施例Sixth embodiment
本发明的实施例提供了一种移动终端,如图7所示,该移动终端700包括:An embodiment of the present invention provides a mobile terminal. As shown in FIG. 7, the mobile terminal 700 includes:
接收一耳机发送的左声道麦克风信号和右声道麦克风信号的第二通信电路,所述第二通信电路与所述耳机通信连接;A second communication circuit that receives a left-channel microphone signal and a right-channel microphone signal sent by an earphone, and the second communication circuit is communicatively connected to the earphone;
将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件的信号混合电路702,所述信号混合电路702与所述第二通信电路电连接。The left channel microphone signal and the right channel microphone signal are mixed and synthesized to obtain a signal mixing circuit 702 of a stereo recording file, and the signal mixing circuit 702 is electrically connected to the second communication circuit.
本发明实施例的移动终端与设置有左声道麦克风和右声道麦克风的耳机配合使用。具体地,当利用此类耳机与本发明实施例的移动终端进行录音时,将耳机与移动终端通信连接后,在录音开始时,通过左声道麦克风采集左声道麦克风信号,通过右声道麦克风采集右声道麦克风信号,并使得移动终端通过与耳机之间的通信连接接收耳机发送的左声道麦克风信号和右声道麦克风信号,进而通过信号混合电路702将左声道麦克风信号和右声道麦克风信号混合处理为立体声录音文件,进而能够在对生成的立体声录音文件进行回放时,能够还原出录音时的真实场景,提升了用户的听觉体验。The mobile terminal in the embodiment of the present invention is used in conjunction with an earphone provided with a left-channel microphone and a right-channel microphone. Specifically, when using this type of earphone to record with the mobile terminal of the embodiment of the present invention, after the earphone is connected to the mobile terminal for communication, when the recording starts, the microphone signal of the left channel is collected through the microphone of the left channel, and the microphone signal of the right channel is collected through the microphone of the right channel. The microphone collects the microphone signal of the right channel, and makes the mobile terminal receive the microphone signal of the left channel and the microphone signal of the right channel sent by the earphone through the communication connection with the earphone, and then through the signal mixing circuit 702, the signal of the left channel microphone and the right channel The channel microphone signal is mixed and processed into a stereo recording file, and then when the generated stereo recording file is played back, the real scene during recording can be restored, which improves the user's listening experience.
优选地,所述第二通信电路为与所述耳机上的第一蓝牙模组建立有无线通信连接的第二蓝牙模组701。即本发明实施例的移动终端和与其配合使用的耳机之间采用蓝牙技术实现无线通信连接,避免了线束耳机给用户带来的烦恼,极大地方便了用户的使用。其中,进一步地,可采用蓝牙音频传输模型(A2DP)协议进行通信。Preferably, the second communication circuit is a second Bluetooth module 701 that establishes a wireless communication connection with the first Bluetooth module on the earphone. That is, the Bluetooth technology is used to realize the wireless communication connection between the mobile terminal in the embodiment of the present invention and the headset used in conjunction with it, which avoids the troubles caused by the wire harness headset to the user, and greatly facilitates the use of the user. Wherein, further, the Bluetooth Audio Distribution Profile (A2DP) protocol may be used for communication.
此外,由于蓝牙模组之间传输的信号为数字信号,所以,当本发明实施例的移动终端与耳机之间采用蓝牙技术建立无线通信连接时,移动终端上需要设置可以接收数字信号的器件。其中,由于移动终端上的中央处理器CPU可以直接对数字信号进行处理,所以可以直接利用移动终端的中央处理器CPU接收通过第一蓝牙模组和第二蓝牙模组701之间的无线通信连接传输过来的左声道麦克风信号和右声道麦克风信号。In addition, since the signals transmitted between the Bluetooth modules are digital signals, when the Bluetooth technology is used to establish a wireless communication connection between the mobile terminal and the headset in the embodiment of the present invention, a device capable of receiving digital signals needs to be installed on the mobile terminal. Wherein, since the central processing unit CPU on the mobile terminal can directly process the digital signal, the central processing unit CPU of the mobile terminal can be directly used to receive the wireless communication connection between the first Bluetooth module and the second Bluetooth module 701. The transmitted left channel microphone signal and the right channel microphone signal.
因此,优选地,所述信号混合电路702包括:获取所述左声道麦克风信号和所述右声道麦克风信号的中央处理器CPU,所述中央处理器CPU与所述第二蓝牙模组701电连接;将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件的音频编解码器7021,所述音频编解码器7021与所述中央处理器CPU电连接。Therefore, preferably, the signal mixing circuit 702 includes: a central processing unit CPU for obtaining the left channel microphone signal and the right channel microphone signal, and the central processing unit CPU and the second bluetooth module 701 Electrical connection; the left channel microphone signal and the right channel microphone signal are mixed and synthesized to obtain the audio codec 7021 of the stereo recording file, and the audio codec 7021 is connected with the central processing unit CPU electrical connection.
即本发明实施例的移动终端,通过中央处理器CPU接收耳机发送的左声道麦克风信号和右声道麦克风信号(具体地,可通过中央处理器CPU的用输入输出数据接口(GPIO)接收左声道麦克风信号和右声道麦克风信号),然后交由音频编解码器7021进行混音合成处理,从而生成立体声录音文件。其中,音频编解码器7021还可通过与中央处理器CPU之间的连接,将生成的立体声录音文件返回给中央处理器CPU,使得中央处理器CPU可以对立体声录音文件进行存储或其它处理。That is, the mobile terminal in the embodiment of the present invention receives the left channel microphone signal and the right channel microphone signal sent by the earphone through the central processing unit CPU (specifically, the left channel microphone signal can be received through the input and output data interface (GPIO) of the central processing unit CPU). channel microphone signal and right channel microphone signal), and then handed over to the audio codec 7021 for mixing and synthesis processing, thereby generating a stereo recording file. Wherein, the audio codec 7021 can also return the generated stereo recording file to the central processing unit CPU through the connection with the central processing unit CPU, so that the central processing unit CPU can store or otherwise process the stereo recording file.
其中,在移动终端上还设置有声音文件的回放电路,如图7所示,该回放电路包括与中央处理器CPU电连接的数模转换器DAC,所述数模转换器DAC与第二蓝牙模组701电连接。当用户操作移动终端,使得中央处理器CPU发出一录音文件回放指令时,可使得中央处理器CPU将立体声录音文件传输给数模转换器DAC,使得数模转换器DAC将转换而成的模拟信号通过第二蓝牙模组701与耳机上的第一蓝牙模组之间的无线通信连接发送给耳机,进而传输到耳机的左声道喇叭和右声道喇叭,从而使得用户可以从耳机的左声道喇叭和右声道喇叭中听到具有立体声效果的声音。Wherein, the playback circuit of the sound file is also provided on the mobile terminal. As shown in FIG. The module 701 is electrically connected. When the user operates the mobile terminal to make the central processing unit CPU issue a recording file playback command, the central processing unit CPU can transmit the stereo recording file to the digital-to-analog converter DAC, so that the digital-to-analog converter DAC converts the converted analog signal Through the wireless communication connection between the second bluetooth module 701 and the first bluetooth module on the earphone, it is sent to the earphone, and then transmitted to the left channel speaker and the right channel speaker of the earphone, so that the user can listen to the Stereo sound is heard from the channel speaker and the right channel speaker.
综上所述,本发明实施例的移动终端,与设置有左声道麦克风和右声道麦克风的耳机配合使用,能够接收到耳机采集的左声道麦克风信号和右声道麦克风信号,并能够将其混合为立体声录音文件,进而能够在对生成的立体声录音文件进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。In summary, the mobile terminal according to the embodiment of the present invention is used in conjunction with an earphone provided with a left-channel microphone and a right-channel microphone, and can receive the left-channel microphone signal and the right-channel microphone signal collected by the earphone, and can It is mixed into a stereo recording file, and then when the generated stereo recording file is played back, the real scene at the time of recording can be restored, and the user's listening experience can be improved.
第七实施例Seventh embodiment
上述第五实施例的耳机与第六实施例的移动终端配合使用时的电路连接示意图如图8所示。其中,耳机和移动终端通过第一蓝牙模组805和第二蓝牙模组806之间的无线通信连接进行信号的传输。其中,当录音开始时,耳机上的左声道麦克风801采集左声道麦克风信号,右声道麦克风802采集右声道麦克风信号,从而通过第一蓝牙模组805与第二蓝牙模组806之间的无线通信连接,将左声道麦克风信号和右声道麦克风信号传输给移动终端。FIG. 8 is a schematic diagram of a circuit connection when the earphone of the fifth embodiment is used in conjunction with the mobile terminal of the sixth embodiment. Wherein, the headset and the mobile terminal perform signal transmission through the wireless communication connection between the first Bluetooth module 805 and the second Bluetooth module 806 . Wherein, when the recording starts, the left channel microphone 801 on the earphone collects the signal of the left channel microphone, and the right channel microphone 802 collects the signal of the right channel microphone, thereby passing through the first Bluetooth module 805 and the second Bluetooth module 806 The wireless communication connection between them transmits the left channel microphone signal and the right channel microphone signal to the mobile terminal.
移动终端通过中央处理器CPU接收耳机发送的左声道麦克风信号和右声道麦克风信号,进而传输给音频编解码器807进行混音合成处理,生成立体声录音文件,然后将生成的立体声录音文件返回给中央处理器CPU进行存储或其它处理。The mobile terminal receives the left channel microphone signal and the right channel microphone signal sent by the earphone through the central processing unit CPU, and then transmits them to the audio codec 807 for mixing and synthesis processing to generate a stereo recording file, and then returns the generated stereo recording file To the central processing unit CPU for storage or other processing.
当进行录音回放时,中央处理器CPU将生成的立体声录音文件传输给数模转换器DAC,将其转换为模拟信号,然后通过第二蓝牙模组806与第一蓝牙模组805之间的无线通信连接,将转换而成的模拟信号发送给耳机,进而回放到耳机的左声道喇叭803和右声道喇叭804。When recording and playing back, the central processing unit CPU transmits the generated stereo recording file to the digital-to-analog converter DAC, converts it into an analog signal, and then passes through the wireless connection between the second bluetooth module 806 and the first bluetooth module 805. Communication connection, the converted analog signal is sent to the earphone, and then played back to the left channel speaker 803 and the right channel speaker 804 of the earphone.
综上所述,通过在左耳机和右耳机上各增加一个麦克风,从而实现双声道录音,再通过移动终端上设置的信号混合电路把左右声道的麦克风信号合成为立体声录音文件,即可实现立体声录音。其中,在录音时利用两个麦克风模拟人的左右耳朵,就可以录得同一个音源的响度差和相位差,从而完美地还原出360度的音场效果,尽可能真实地模拟人耳在听到声音时状态,而且录入的音源用耳机回放时,用户即使闭上眼睛也能判断声音发出的方向和距离。To sum up, by adding a microphone to the left earphone and the right earphone respectively, two-channel recording can be realized, and then the signal mixing circuit of the mobile terminal can synthesize the microphone signals of the left and right channels into a stereo recording file. Realize stereo recording. Among them, two microphones are used to simulate the left and right ears of a human being during recording, and the loudness difference and phase difference of the same sound source can be recorded, thereby perfectly restoring the 360-degree sound field effect and simulating the human ear listening as realistically as possible. When it is in the state of sound, and when the recorded sound source is played back with headphones, the user can judge the direction and distance of the sound even if they close their eyes.
第八实施例Eighth embodiment
图9是本发明另一个实施例的移动终端的结构框图。具体地,图9中的移动终端900可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 9 is a structural block diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 900 in FIG. 9 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图9中的移动终端900包括射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、处理器960、音频电路970、WiFi(Wireless Fidelity)模块980和电源990。Mobile terminal 900 in FIG.
其中,输入单元930可用于接收用户输入的数字或字符信息,以及产生与移动终端900的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元930可以包括触控面板931。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上的操作),并根据预先设定的程式驱动相应的连接装置。Wherein, the input unit 930 can be used to receive number or character information input by the user, and generate signal input related to the user setting and function control of the mobile terminal 900 . Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931 . The touch panel 931, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 931 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device.
可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器960,并能接收处理器960发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 960, and can receive and execute commands sent by the processor 960. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元940可用于显示由用户输入的信息或提供给用户的信息以及移动终端900的各种菜单界面。显示单元940可包括显示面板941,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。Wherein, the display unit 940 can be used to display information input by the user or provided to the user and various menu interfaces of the mobile terminal 900 . The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板931可以覆盖显示面板941,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器960以确定触摸事件的类型,随后处理器960根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 931 can cover the display panel 941 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 960 to determine the type of the touch event, and then the processor The 960 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器960是移动终端900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器921内的软件程序和/或模块,以及调用存储在第二存储器922内的数据,执行移动终端900的各种功能和处理数据,从而对移动终端900进行整体监控。可选的,处理器960可包括一个或多个处理单元。Wherein the processor 960 is the control center of the mobile terminal 900, utilizes various interfaces and lines to connect various parts of the whole mobile phone, and runs or executes the software programs and/or modules stored in the first memory 921, and calls the software programs and/or modules stored in the second memory 921. The data in the memory 922 executes various functions of the mobile terminal 900 and processes data, so as to monitor the mobile terminal 900 as a whole. Optionally, the processor 960 may include one or more processing units.
在本发明实施例中,处理器960接收与移动终端900通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号,并将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。In the embodiment of the present invention, the processor 960 receives the left channel microphone signal and the right channel microphone signal sent by the earphone connected to the mobile terminal 900 in communication, and converts the left channel microphone signal and the right channel microphone signal Perform audio mixing and synthesis processing to obtain stereo recording files.
移动终端900能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 900 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端900,能够获取耳机发送的左声道麦克风信号和右声道麦克风信号,并将其进行混音合成处理,生成立体声录音文件,从而使得该立体声录音文件在进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。因此,本发明的实施例,能够获得具有立体声效果的声音文件,使得用户即使闭着眼睛也能判断出声音发出的方向和距离,解决了现有技术录制的声音文件无法还原出录音时的真实场景的问题。The mobile terminal 900 of the embodiment of the present invention can obtain the left channel microphone signal and the right channel microphone signal sent by the earphone, and perform mixing and synthesis processing on them to generate a stereo recording file, so that the stereo recording file can be played back , can restore the real scene when recording, and improve the user's listening experience. Therefore, the embodiment of the present invention can obtain a sound file with a stereo effect, so that the user can judge the direction and distance of the sound even with his eyes closed, which solves the problem that the sound file recorded in the prior art cannot restore the real sound of the recording. scene problem.
第九实施例Ninth embodiment
图10是本发明另一个实施例的移动终端的框图。具体地,图10中的移动终端1000可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。FIG. 10 is a block diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 1000 in FIG. 10 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图10所示的移动终端1000包括:至少一个处理器1001、存储器1002、至少一个网络接口1004、其他用户接口1003。移动终端1000中的各个组件通过总线系统1005耦合在一起。可理解,总线系统1005用于实现这些组件之间的连接通信。总线系统1005除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统1005。The mobile terminal 1000 shown in FIG. 10 includes: at least one processor 1001 , a memory 1002 , at least one network interface 1004 , and other user interfaces 1003 . Various components in the mobile terminal 1000 are coupled together through the bus system 1005 . It can be understood that the bus system 1005 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1005 in FIG. 10 for clarity of illustration.
其中,用户接口1003可以包括显示器、键盘或者点击设备。例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 1003 may include a display, a keyboard or a pointing device. For example, mouse, trackball (trackball), touch pad or touch screen, etc.
可以理解,本发明实施例中的存储器1002可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器1002旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1002 in this embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 1002 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器1002存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统10021和应用程序10022。In some implementations, the memory 1002 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 10021 and an application program 10022 .
其中,操作系统10021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序10022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序10022中。Among them, the operating system 10021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 10022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 10022 .
在本发明实施例中,通过调用存储器1002存储的程序或指令,使得处理器1001接收与移动终端通信连接的耳机发送的左声道麦克风信号和右声道麦克风信号,并将所述左声道麦克风信号和所述右声道麦克风信号进行混音合成处理,得到立体声录音文件。In the embodiment of the present invention, by calling the program or instructions stored in the memory 1002, the processor 1001 receives the left channel microphone signal and the right channel microphone signal sent by the earphone connected to the mobile terminal in communication, and transmits the left channel microphone signal The microphone signal and the right channel microphone signal are mixed and synthesized to obtain a stereo recording file.
上述本发明实施例揭示的方法可以应用于处理器1001中,或者由处理器1001实现。处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1002,处理器1001读取存储器1002中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1001 or implemented by the processor 1001 . The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1001 or instructions in the form of software. The aforementioned processor 1001 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002, and completes the steps of the above method in combination with its hardware.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
移动终端1000能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1000 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端1000,能够获取耳机发送的左声道麦克风信号和右声道麦克风信号,并将其进行混音合成处理,生成立体声录音文件,从而使得该立体声录音文件在进行回放时,能够还原出录音时的真实场景,提升用户的听觉体验。因此,本发明的实施例,能够获得具有立体声效果的声音文件,使得用户即使闭着眼睛也能判断出声音发出的方向和距离,解决了现有技术录制的声音文件无法还原出录音时的真实场景的问题。The mobile terminal 1000 of the embodiment of the present invention can obtain the left channel microphone signal and the right channel microphone signal sent by the earphone, and perform mixing and synthesis processing on them to generate a stereo recording file, so that the stereo recording file can be played back , can restore the real scene when recording, and improve the user's listening experience. Therefore, the embodiment of the present invention can obtain a sound file with a stereo effect, so that the user can judge the direction and distance of the sound even with his eyes closed, which solves the problem that the sound file recorded in the prior art cannot restore the real sound of the recording. scene problem.
本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的效果。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to realize the effect of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928713.3A CN106303789A (en) | 2016-10-31 | 2016-10-31 | A kind of way of recording, earphone and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928713.3A CN106303789A (en) | 2016-10-31 | 2016-10-31 | A kind of way of recording, earphone and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303789A true CN106303789A (en) | 2017-01-04 |
Family
ID=57718997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610928713.3A Pending CN106303789A (en) | 2016-10-31 | 2016-10-31 | A kind of way of recording, earphone and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303789A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106875953A (en) * | 2017-01-11 | 2017-06-20 | 深圳市创成微电子有限公司 | Simulation remixed audio processing method and system |
CN106921915A (en) * | 2017-04-03 | 2017-07-04 | 张德明 | A kind of full Wireless Bluetooth stereo sound pick up equipment |
CN106992025A (en) * | 2017-05-22 | 2017-07-28 | 四川音创伟业科技有限公司 | Two-way binaural recording device |
CN108831488A (en) * | 2018-07-27 | 2018-11-16 | 北京小米移动软件有限公司 | Terminal and auth method |
CN109327766A (en) * | 2018-09-25 | 2019-02-12 | Oppo广东移动通信有限公司 | 3D sound effect processing method and related product |
CN112954548A (en) * | 2021-02-22 | 2021-06-11 | 惠州Tcl移动通信有限公司 | Method and device for combining sound collected by terminal microphone and headset |
CN113395623A (en) * | 2020-03-13 | 2021-09-14 | 华为技术有限公司 | Recording method and recording system of true wireless earphone |
CN113709654A (en) * | 2021-08-27 | 2021-11-26 | 维沃移动通信(杭州)有限公司 | Recording method, recording apparatus, recording device and readable storage medium |
CN113889154A (en) * | 2021-09-30 | 2022-01-04 | 广州维梦科技有限公司 | Sound recording method, terminal and storage medium |
CN114866908A (en) * | 2022-03-29 | 2022-08-05 | 王丰硕 | Immersive recording method and device |
CN115883711A (en) * | 2021-09-29 | 2023-03-31 | 瑞昱半导体股份有限公司 | Bluetooth voice communication system and storage circuit |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000092589A (en) * | 1998-09-16 | 2000-03-31 | Oki Electric Ind Co Ltd | Earphone and overhead sound image localizing device |
CN103517186A (en) * | 2012-06-21 | 2014-01-15 | 徐丙川 | Audio acquiring device and audio recording device |
CN104661158A (en) * | 2013-11-25 | 2015-05-27 | 华为技术有限公司 | Stereophone, terminal and audio signal processing method of stereophone and terminal |
-
2016
- 2016-10-31 CN CN201610928713.3A patent/CN106303789A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000092589A (en) * | 1998-09-16 | 2000-03-31 | Oki Electric Ind Co Ltd | Earphone and overhead sound image localizing device |
CN103517186A (en) * | 2012-06-21 | 2014-01-15 | 徐丙川 | Audio acquiring device and audio recording device |
CN104661158A (en) * | 2013-11-25 | 2015-05-27 | 华为技术有限公司 | Stereophone, terminal and audio signal processing method of stereophone and terminal |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106875953A (en) * | 2017-01-11 | 2017-06-20 | 深圳市创成微电子有限公司 | Simulation remixed audio processing method and system |
CN106875953B (en) * | 2017-01-11 | 2020-10-13 | 深圳市创成微电子有限公司 | Method and system for processing analog mixed sound audio |
CN106921915A (en) * | 2017-04-03 | 2017-07-04 | 张德明 | A kind of full Wireless Bluetooth stereo sound pick up equipment |
CN106992025A (en) * | 2017-05-22 | 2017-07-28 | 四川音创伟业科技有限公司 | Two-way binaural recording device |
CN108831488A (en) * | 2018-07-27 | 2018-11-16 | 北京小米移动软件有限公司 | Terminal and auth method |
CN109327766A (en) * | 2018-09-25 | 2019-02-12 | Oppo广东移动通信有限公司 | 3D sound effect processing method and related product |
CN109327766B (en) * | 2018-09-25 | 2021-04-30 | Oppo广东移动通信有限公司 | 3D sound effect processing method and related product |
CN113395623A (en) * | 2020-03-13 | 2021-09-14 | 华为技术有限公司 | Recording method and recording system of true wireless earphone |
WO2021180115A1 (en) * | 2020-03-13 | 2021-09-16 | 华为技术有限公司 | Recording method and recording system using true wireless earbuds |
CN113395623B (en) * | 2020-03-13 | 2022-10-04 | 华为技术有限公司 | A recording method and recording system of a true wireless earphone |
CN112954548A (en) * | 2021-02-22 | 2021-06-11 | 惠州Tcl移动通信有限公司 | Method and device for combining sound collected by terminal microphone and headset |
CN112954548B (en) * | 2021-02-22 | 2022-09-02 | 惠州Tcl移动通信有限公司 | Method and device for combining sound collected by terminal microphone and headset |
CN113709654A (en) * | 2021-08-27 | 2021-11-26 | 维沃移动通信(杭州)有限公司 | Recording method, recording apparatus, recording device and readable storage medium |
CN113709654B (en) * | 2021-08-27 | 2024-08-06 | 维沃移动通信(杭州)有限公司 | Recording method, recording device, recording apparatus, and readable storage medium |
CN115883711A (en) * | 2021-09-29 | 2023-03-31 | 瑞昱半导体股份有限公司 | Bluetooth voice communication system and storage circuit |
CN113889154A (en) * | 2021-09-30 | 2022-01-04 | 广州维梦科技有限公司 | Sound recording method, terminal and storage medium |
CN113889154B (en) * | 2021-09-30 | 2024-03-19 | 广州维梦科技有限公司 | Sound recording method, terminal and storage medium |
CN114866908A (en) * | 2022-03-29 | 2022-08-05 | 王丰硕 | Immersive recording method and device |
WO2023184660A1 (en) * | 2022-03-29 | 2023-10-05 | 王丰硕 | Immersive recording method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303789A (en) | A kind of way of recording, earphone and mobile terminal | |
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
CN107105367B (en) | Audio signal processing method and terminal | |
CN107580113B (en) | Prompting method, prompting device, storage medium and terminal | |
CN108966067B (en) | Play control method and related product | |
EP3629145B1 (en) | Method for processing 3d audio effect and related products | |
CN106790940B (en) | Recording method, recording playing method, device and terminal | |
CN108111952B (en) | Recording method, device, terminal and computer readable storage medium | |
CN106357871A (en) | Voice amplifying method and mobile terminal | |
CN202948437U (en) | System and apparatus for generating user interface, and user interface used for system, device or application | |
CN106358127A (en) | Left and right sound channel switching method and mobile terminal | |
CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
US20170195817A1 (en) | Simultaneous Binaural Presentation of Multiple Audio Streams | |
CN107450883A (en) | A kind of audio data processing method, device and mobile terminal | |
CN106303841B (en) | Audio playing mode switching method and mobile terminal | |
JP2022083445A (en) | Computer systems and methods for creating audio content to achieve user-customized immersiveness | |
CN202565455U (en) | Audio signal processing apparatus | |
CN106886388B (en) | Method and terminal for playing audio data | |
WO2025118959A1 (en) | Audio transmission method and apparatus, terminal and readable storage medium | |
CN206413138U (en) | A kind of mobile terminal and earphone | |
CN108924705A (en) | 3D sound effect treatment method and Related product | |
CN102576300A (en) | Portable computer having multiple embedded audio controllers | |
CN106686491A (en) | A sound processing method and mobile terminal | |
WO2020063027A1 (en) | 3d sound effect processing method and related product | |
CN114520950B (en) | Audio output method, device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |