如何在应用程序中使用音频单元
我一直在网上寻找教如何在应用程序中使用音频单元的东西,但没有成功。我正在尝试制作一个应用程序,允许用户即时将 AUTimePitch 应用于音频文件的播放。但我在网上找不到任何东西来教初学者如何使用音频单元。
另外,我是为 Mac 制作的,而不是 iOS
I've been looking for things online that teach how to use audio units in an application, with no luck. I'm trying to make an application that allows the user to apply AUTimePitch to the playback of audio files, on the fly. But i can't find anything online to teach a total beginner how to use audio units.
also, i'm making this for mac, not iOS
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
迄今为止关于该主题的最佳文档是 Apple 的 音频单元托管指南< /a> 对于 iOS,位于开发库中。有关更一般的介绍,您可以查看核心音频概述< /a>.
我还找到了 MixerHost 和 iPhoneMultichannelMixerTest 示例代码对于启动非常有帮助使用音频单元。
最后,我找到了类引用和服务引用,例如 音频单元处理图形服务参考 和 音频单元组件服务参考对于探索特定方法的功能很有用、常量、类等等。
编辑:我意识到您的问题并没有说明您是在 Mac OS 还是 iOS 中工作。这个答案显然主要以 iOS 为中心。您能否编辑您的问题以告诉我们您所处的环境?
The best document by far on the subject is Apple's Audio Unit Hosting Guide for iOS in the dev library. For a more general introduction, you can check out the Core Audio Overview.
I also found the MixerHost and iPhoneMultichannelMixerTest sample code incredibly helpful in starting to use audio units.
Finally, I find class references and service references like the Audio Unit Processing Graph Services Reference and the Audio Unit Component Services Reference useful for exploring the functionality of particular methods, constants, classes, and so on.
Edit: I realized that your question doesn't say whether you're working in Mac OS or iOS. This answer is obviously heavily iOS-centric. Could you edit your question to tell us what environment you're in?