简体   繁体   English

AVAudioRecorder可用于录制来自iOS应用程序的音频吗?

[英]Can AVAudioRecorder be used to record audio coming from your iOS app?

I'd like to record the audio coming from my iPhone app. 我想录制来自我的iPhone应用程序的音频。 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 . 我一直在试验RemoteIO音频单元 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? 可以使用AVAudioRecorder (或其他“高级”对象)来捕获来自 iOS设备的音频吗?

As far as I can tell, there's no way to do this with AVAudioRecorder. 据我所知,AVAudioRecorder无法做到这一点。 You must use Audio Units. 您必须使用音频单元。

Record audio iOS 录制音频iOS

Is there a way to record device audio on the iPhone? 有没有办法在iPhone上录制设备音频?

Record samples being played with OpenAL 记录使用OpenAL播放的样本

Offline audio recording on iOS with OpenAL 使用OpenAL在iOS上进行离线录音

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM