• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sample-accurate parameter automation? Possibe at all with AUs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sample-accurate parameter automation? Possibe at all with AUs?


  • Subject: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • From: Brian Willoughby <email@hidden>
  • Date: Tue, 11 Mar 2008 15:15:54 -0700

On Mar 11, 2008, at 15:06, Kevin Dixon wrote:
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

I believe the answer is 'yes'

I also think you have phrased the question perfectly. i.e. it seems to be the responsibility of the AU to handle breaking down buffers for sample-accurate parameters. Unless I'm wrong, the AU Host is apparently only required to provide the information necessary, but not to actually break down the buffers or anything like that.

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


  • Follow-Ups:
    • Re: Sample-accurate parameter automation? Possibe at all with AUs?
      • From: William Stewart <email@hidden>
References: 
 >Sample-accurate parameter automation? Possibe at all with AUs? (From: Greg X <email@hidden>)
 >Re: Sample-accurate parameter automation? Possibe at all with AUs? (From: Brian Willoughby <email@hidden>)
 >Re: Sample-accurate parameter automation? Possibe at all with AUs? (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • Next by Date: Re: MIDI-controller plugin basic
  • Previous by thread: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • Next by thread: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • Index(es):
    • Date
    • Thread