Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Custom Views

When a host opens your audio unit, it asks if there’s a custom view available. If so, it can use it as described in “View Instantiation and Initialization.”

Here’s the custom view for the same audio unit described in “The Generic View,” namely, the FilterDemo audio unit from the Core Audio SDK:


image: ../Art/custom_view.jpg

The primary feature of this custom view is a realtime frequency response curve. This makes the custom view (and, by association, the audio unit) more attractive and far more useful. Instead of seeing just a pair of numbers, a user can now see the frequency response, including how filter resonance and cutoff frequency influence the response. No matter what sort of audio unit you build, you can provide similar benefits to users when you include a custom view with your audio unit.

The advantages of custom views over generic views include:

The SDK’s FilterDemo audio unit project is a good example to follow when creating a custom view for your audio unit. See “Tutorial: Demonstrating Parameter Gestures and Audio Unit Events” later in this chapter for more on custom views.



< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice