I'd like to record the audio coming from my iPhone app. So after the background music and sound effects are mixed I'd like to sample the audio before it's played from the device's speakers (or headphones).
I've been experimenting with RemoteIO Audio Units. These seem promising. However they're pretty low level. Can AVAudioRecorder
(or other "high-level" object) be used to capture audio coming from an iOS device?
As far as I can tell, there's no way to do this with AVAudioRecorder. You must use Audio Units.
Record audio iOS
Is there a way to record device audio on the iPhone?
Record samples being played with OpenAL
Offline audio recording on iOS with OpenAL