简体   繁体   English

音频单元开发(OS X)

[英]Audio Units Development (OS X)

I'm quite new to Core Audio development. 我是Core Audio开发的新手。 I did many google searches but so far I couldn't come up with something useful for bootstrapping the process.I looked through the Apple Audio Unit Guide but it is outdated and uses Core Audio SDK which I even cant find for downloading. 我做了很多谷歌搜索,但到目前为止我还无法提供一些有用的东西来引导程序。我浏览了《 Apple Audio Unit Guide》,但它已经过时并且使用了Core Audio SDK,我什至找不到下载。 Is there any useful resources with audio Unit development apart from the horrible Apple guide? 除了可怕的Apple指南之外,音频单元开发还有什么有用的资源吗?

I feel that this book has a good beginning overview of Audio Units (better than any Apple provides) and equips the reader with the tools to build more complicated programs. 我觉得这本书对音频单元有一个很好的入门概述(比Apple提供的要好),并且为读者提供了构建更复杂程序的工具。

http://www.amazon.com/Learning-Core-Audio-Hands-On-Programming/dp/0321636848 http://www.amazon.com/Learning-Core-Audio-Hands-On-Programming/dp/0321636848

Chapter 7 in the book has an example of adding a reverb effect. 本书的第7章提供了添加混响效果的示例。 So you can use that to guide you on whatever audio effects you want to add. 因此,您可以使用它来指导您选择要添加的音频效果。 As for the equalizer functions, there are audio units for it, also located in Chapter 7. If none of these accomplish what you want, you can always intercept the PCM audio data in the callback and manipulate the raw data. 至于均衡器功能,还有音频单元,也位于第7章中。如果这些均未达到您想要的效果,则始终可以在回调中截取PCM音频数据并处理原始数据。 Though that does require you to know some DSP, which is too advanced for me. 虽然这确实需要您了解一些DSP,但对我而言这太高级了。

Here are some useful posts I found: 这是我发现的一些有用的帖子:

http://www.deluge.co/?q=content/coreaudio-iphone-creating-graphic-equalizer http://www.deluge.co/?q=content/coreaudio-iphone-creating-graphic-equalizer

http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt

Getting started with programmatic audio 编程音频入门

Audio Unit tutorials and the Learning Core Audio book are mostly about using the Core Audio API. 音频单元教程和《学习核心音频》这本书主要是关于使用核心音频API的。 If you want to know more about how to actually process the audio data inside an Audio Unit for some effect, the subject in which you may really be interested is Digital Signal Processing (DSP). 如果您想更多地了解如何实际处理音频单元内的音频数据以获得某种效果,那么您可能真正感兴趣的主题是数字信号处理(DSP)。 It's a large non-trivial subject area. 这是一个很大的重要领域。 There are many entire university-level textbooks on the subject, as well as a specialty dsp.stackexchange site. 有许多关于该主题的整个大学级别的教科书,以及一个专业的dsp.stackexchange网站。 For starters, try this answer or this answer . 对于初学者,请尝试此答案此答案

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

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