如何在 Android 中同时录制 2 个麦克风? [英] How can I record 2 microphone in Android simultaneously?
问题描述
我正在尝试同时录制来自 2 个内置麦克风(底部、顶部)的音频信号.我可以使用
I'm trying to record audio signals from 2 in-built microphone(bottom, top) at the same time. I can pick up bottom microphone signal using
MediaRecorder.AudioSource.MIC
和顶部麦克风信号使用
MediaRecorder.AudioSource.CAMCORDER
我可以单独录音,但我想同时从 2 个麦克风录音.有谁知道如何同时录制?我试过 &或 |运营商,但我只能获得 1 个频道的信号.
I can record separately but I want to record at the same time from 2 microphones. Does anyone know how to record simultaneously? I tried & or | operator but I can get only 1 channel signal.
我使用 Galaxy S2 设备.
I use Galaxy S2 device.
我将不胜感激:)提前致谢.
I will appreciate any response :) Thanks in advance.
推荐答案
有一种误解,认为在带有 2 个麦克风的设备中,在立体声模式下录制时将同时使用两个麦克风.
There is a misconception that in devices with 2 microphones, both the microphones will be used when recording in the stereo mode.
在我 3 年对数十台设备进行测试的经验中,我发现情况并非如此.
In my 3 years experience of testing on tens of devices, I have found that this was never the case.
主麦克风单独用于单声道和立体声录音,适用于我使用过的各种 Android 设备 - 从低成本的大众型号到旗舰产品.
The primary mic alone is used both in mono and stereo recording in the wide range of Android devices that I have worked with - from low-cost mass models to flagships.
造成这种情况的一个原因是主麦克风的质量更好(更灵敏、噪音更小等)并且比辅助麦克风更昂贵.
One reason for this is that the primary mic is of a better quality (more sensitive, less noisy, etc.) and costlier than the secondary mic.
这篇关于如何在 Android 中同时录制 2 个麦克风?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!