Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Record from all 3 microphones in iOS

Tags:

ios

iphone

From what I understand the iPhone5 has 3 separate microphones (see here), is it possible to record audio from all 3 mics simultaneously? I've been digging through the documents, and I've started digging into RemoteIO and CoreAudio but I can't figure out if its even possible to specify which built-in microphone to record from? Does anyone have any experience with this, or know if its even possible?

Thanks in advance.

like image 392
Mike P Avatar asked Nov 07 '13 03:11

Mike P


1 Answers

EDIT: Pi's comment below is probably correct: You can select which mic to record from, but can't record from multiple mics at same time.

Apple documentation says it's possible since iOS 7:

Using APIs introduced in iOS 7, developers can perform tasks such as locating a port description that represents the built-in microphone, locating specific microphones like the "front", "back" or "bottom", setting your choice of microphone as the preferred data source, setting the built-in microphone port as the preferred input and even selecting a preferred microphone polar pattern if the hardware supports it. See AVAudioSession.h.

like image 60
Stan James Avatar answered Oct 02 '22 01:10

Stan James