• 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: "Kevin Dixon" <email@hidden>
  • Date: Tue, 11 Mar 2008 16:29:52 -0400 (EDT)
  • Importance: Normal

I agree with Greg, all the examples I've seen show calling
AUBase::GetParameter in your Kernel's Process or your AU's Render method
at the beginning of a call. AFAIK, there's no other way to get the value
of your parameters, other than some system of listeners that updates
private variables.

-Kevin

>
> On 11 Mar 2008, at 7:03 pm, Greg X <email@hidden> wrote:
>
>> What is your answer to my other questions?
>> For example:
>> Why are AU examples calling GetParameter only at the
>> beginning of the render process?
>> Why is it acceptable? ..why is it a widely used
>> approach?
>
>
> It's possible that your question is based on a misconception.
>
> GetParameter() and SetParameter() are methods in the AU which get
> called by the host.  They don't get called by the AU.  Or at least,
> they shouldn't get called by the AU:-).
>
>
> The normal sequence of events is that the host calls the AU's
> SetParameter() method for all parameter changes in the upcoming
> timeslice, just before calling the AU's Render() method.  You will
> notice that one of the parameters to SetParameter() is the extremely
> handy inOffsetSampleFrame, which tells you at exactly which sample in
> that timesclie to change the value of the parameter to which your
> rendering code refers when it is calculating stuff.
>
> Your AU is entirely free to honour or ignore inOffsetSampleFrame as
> you see fit. If you want sample-accurate parameter changes, you'll
> honour it.
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - -
> Ian Kemmish                     18 Durham Close, Biggleswade, Beds
> SG18 8HZ
> email@hidden        Tel: +44 1767 601361     Mob: +44 7952
> 854387
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - -
>
>
>  _______________________________________________
> 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
>

 _______________________________________________
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: Greg X <email@hidden>
References: 
 >Re: Sample-accurate parameter automation? Possibe at all with AUs? (From: Ian Kemmish <email@hidden>)

  • Prev by Date: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • Next by Date: Re: Sample-accurate parameter automation? Possibe at all with AUs?
  • 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