Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Relevant replacement documents include:
StarterAUEffectWithCocoaUI
Last Revision: | |
Build Requirements: | Xcode 3.2.1 or later, Mac OS X 10.6 or Xcode 4 and later OS X 10.7 (Project Dependent) |
Runtime Requirements: | Mac OS X 10.6 or OS X 10.7 or later (Project Dependent) |
An audio unit (often abbreviated as AU in header files and elsewhere) is a Mac OS X plug-in that enhances digital audio applications such as Logic Pro and GarageBand. You can also use audio units to build audio features into your own application. Programmatically, an audio unit is packaged as a bundle and configured as a component.
This sample is a "Hello World" starter project demonstrating how to build a Core Audio Audio Unit Effect with a custom Cocoa View.
The project builds a final AU component called MyGreatAUEffectWithCocoaUI.component with the following Type, SubType and Manufacturer:
aufx Pass Demo - SAMPLE: MyGreatAUEffectWithCocoaUI
Individual projects are included for building the older Component Manager style components for Mac OS X 10.6 and the newer Audio Component AUPlugIn for Mac OS X 10.7.
MyGreatAUEffectWithCocoaUI(Lion) Folder & MyGreatAUEffectWithCocoaUI(SnowLeopard) Folder.
See the included project specific ReadMe files for more information.
Technical Note TN2276 discusses the important project differences.
Audio Unit AUPlugIn - Updating an existing Audio Unit for Mac OS X Lion -- http://developer.apple.com/library/mac/#technotes/tn2276/_index.html
NOTE: The included projects are built from the last working "AU Effect with Cocoa UI" template shipped with Xcode 3.2.1 for use with Xcode 4.0 and later where no such beginner templates exist. The Mac OS X Lion project incorporates all the required code changed outlined in TN2276 to build and run on Mac OS X Lion. The AUPlugIn 10.7 project only registers itself as an Audio Component and not a Component Manager Component. If you still need to register both styles of components for backwards compatibility follow the guidelines in TN2276.
Copyright © 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-10-23