iPhone XS stereo recording

Is there a way to get stereo audio on iPhone XS using RemoteIO unit, or any of the CoreAudio APIs? Need to record audio in stereo format.

Replies

do you have some idea about the problem? can you share with me? thank you.

There's a new feature in iOS 14 and iPadOS 14 where you can record stereo audio from the built-in microphones. 


You can see a video about the feature here:

https://developer.apple.com/videos/play/wwdc2020/10226/


And check out a sample project here:

https://developer.apple.com/documentation/avfoundation/avaudiosession/capturing_stereo_audio_from_built-in_microphones
  • This feature is completely broken in iOS 15 betas(including beta 5). I have filed a bug FB9393169 but there is no response so far.

Add a Comment
Thanks for the response. Will this API work with RemoteIO Audio Unit as well to get raw audio samples in stereo format from the builtin mic? Also, will it be possible to get raw samples from both the Airpods in one Audio session (or atleast dynamically switch from one Airpod to another using AVAudioSession API)?
If you configure your app session for stereo from the built-in mics with AVAudioSession, then you will get stereo from AURemoteIO.

Recording audio from both AirPods is not currently supported and neither is dynamically choosing which you want to record from. These are great ideas, so please do file feature requests for them if it would help in your app.
  • @Media Engineer, please look at FB9393169 I filed...AURemoteIO does not produce samples with builtin mic if stereo audio is configured. Please also suggest a workaround as this is a serious bug for my app and I doubt this will be fixed in iOS 15 main release.

Add a Comment

It does not work anymore on iOS 15 beta, all Audio samples delivered by RemoteIO are silent when stereo orientation is configured in AVAudioSession. I have filed a bug FB9393169 along with reproducible sample code.

Even the Stereo Audio Capture sample code by Apple fails on iOS 15 beta 3.

https://developer.apple.com/documentation/avfaudio/avaudiosession/capturing_stereo_audio_from_built-in_microphones

The issue is seen in iOS 15 beta 4 as well. Stereo Audio Capture sample code is completely broken.

Broken in iOS 15 beta 5 as well!

Broken in iOS 15 beta 6 as well!

is there any way or any voice recorder app that works in the background for IOS 15?