在iphone SDK中读取原始音频
你好 我想阅读,然后想对原始音频执行一些操作。最好的方法是什么?
Hi
I want to read and then want to perform some operations on raw audio. What is the best way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这将取决于音频的用途。如果延迟是一个问题,请选择音频单元。但如果不是,您可能需要更高的层,例如 AudioQueues。
It will depend on the use for the audio. If latency is an issue, go for audio units. But if is not, a higher layer may be the one you require, such as AudioQueues.
音频文件服务、音频转换器服务和扩展音频文件服务,全部位于 Core Audio 中。 AV Foundation + Core Media(特别是 AVAssetReader)也可能是一种选择,但它确实是新的,因此目前比 Core Audio 的记录和理解更少。
Audio File Services, Audio Converter Services, and Extended Audio File Services, all in Core Audio. AV Foundation + Core Media (specifically AVAssetReader) may also be an option, but it's really new, and therefore even less documented and less well understood than Core Audio at this point.
如果您正在寻找示例代码,“音频图”是一个很好的起点。开发人员提供了一些他自己的文档,这将对您有很大帮助。
If you are looking for sample code, "Audio Graph" is a good starting point. The developer has provided a bit of his own documentation, that will help you quite a bit.