How to access the second mic android such as Galaxy 3
I'm not familiar with the Galaxy S3 specifically, but the following is true for the majority of devices I've worked with:
There's no reliable way of selecting whether to use the primary or secondary mic for a mono recording. The
MIC
AudioSource usually means the primary mic when doing a mono recording, and theCAMCORDER
source might mean the secondary mic. But there's no guarantee for this, because it depends e.g. on the physical placement of the mics.Recording in mono effectively turns the other mic off, and whatever noise reduction is done uses only the signal from one mic (so there's little to no reduction of dynamic noise).
One exception to this might be if you record during a voice call where both mics already have been enabled in order to do uplink noise suppression.
Another exception might be if you use theVOICE_RECOGNITION
AudioSource, because some vendors apply noise suppression on the signal using one or more extra mics in this use-case.Recording in stereo records from both mics on a 2-mic device. The left channel contains the input from one mic and the right channel contains the input from the other mic, but there's no guarantee as to which physical mic the channels correspond to (again, depends on the placement).
How can I access second microphone signal in android device?
I'm not familiar with the Galaxy S2, but on the devices I've worked with one could typically get the secondary mic by doing a mono recording from the CAMCORDER AudioSource. And a stereo recording would use both mics.
Most of those devices had a bottom/back mic placement rather than bottom/top, though.
Also, as Edison commented, the data that you get when you record will typically already have gone though a noise suppressor regardless of the AudioSource you use. I've never come across an Android device where you can get a raw, unfiltered stereo signal from the two built-in mics (that's not to say that no such devices exist).
Related Topics
How to Set Status Bar Background as Gradient Color or a Drawable in Android
How to Pass a Message from Flutter to Native
How to Hide The System/Navigation Bar in Android Ics
How to Hide "Navigation" and "Gps Pointer" Buttons When I Click The Marker on The Android Google Map
Sqlite Insert into Table Select * From
Music Player Control in Notification
Android Convert Px to Dp (Video Aspect Ratio)
Error "Package Android.Support.V7.App Does Not Exist"
Android Word-Wrap Edittext Text
Android Getting Exact Scroll Position in Listview
Sending Message to a Handler on a Dead Thread When Getting a Location from an Intentservice
Android Gcm Sender_Id, How to Get It
Build Flavors for Different Version of Same Class
Android Blurmaskfilter Has No Effect in Canvas.Drawoval While Text Is Blurred
Constraintlayout Chains and Text Ellipsis + Image on The Right