Re: Sample-accurate parameter automation? Possibe at all with AUs?
Re: Sample-accurate parameter automation? Possibe at all with AUs?
- Subject: Re: Sample-accurate parameter automation? Possibe at all with AUs?
- From: "Kevin Dixon" <email@hidden>
- Date: Tue, 11 Mar 2008 18:06:10 -0400 (EDT)
- Importance: Normal
>
> The answer lies in the source code for AUBase and AUEffectBase, or
> perhaps some of the others. I believe it is AUEffectBase which has
> optional code to split the render process into chunks. Without
> sample-accurate parameters, you always get a full buffer and process
> it at once. But with sample-accurate parameter scheduling,
> AUEffectBase will calculate the points within the buffer where the
> parameter value changes to a new value. Then, your normal render
> will be called with a small chunk of the buffer, just the part where
> the parameter remains constant. In this case, you still just call
> GetParameter once at the beginning of your render, but you'll be
> called again to render the next parameter value.
>
So given this information, if an AU inherits from AUEffectBase, then as a
host, you could schedule parameter changes and then by calling render, it
would take care of itself by splitting the render up at the scheduled
points?
-Kevin
_______________________________________________
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