Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: Brian Willoughby <email@hidden>
- Date: Fri, 4 Nov 2005 04:55:28 -0800
[ Great, so kernels are an undocumented way to make processing more
[ complicated, and it doesn't always work. I think I'll stay away
[ from those.
No. Kernels never make processing more complicated. They're designed to make
a subset of possible plugins much easier to write. However, if your plugin
doesn't belong to that subset, then kernels shouldn't be used at all, or else
things *will* get more complicated. And there is some documentation in the
form of comments in the source code.
To reiterate these comments in the code, kernels are designed to simplify
AudioUnits where there are exactly the same number of inputs channels as output
channels, and there are no interdependencies between the channels. If you
have a mono->stereo plugin, then kernels are flat wrong. You should be using a
different class to derive for your plugin. There are a few types of
interdependencies where you can still benefit from kernels, but only when the
channel counts match. It might be possible to work with sidechains and
kernels, but I doubt it would be a good beginner project. You really need to
understand how to write AudioUnits both with and without kernels, and then pick
the appropriate class based upon what your plugin wants to support in terms of
channel configurations.
Brian Willoughby
Sound Consulting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden