• 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: Audio Unit synth how-to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Unit synth how-to


  • Subject: Re: Audio Unit synth how-to
  • From: William Stewart <email@hidden>
  • Date: Tue, 10 May 2005 11:00:06 -0700


On 10/05/2005, at 2:12 AM, h wrote:

Wow, thanks to everyone for your replies.
One more question - what happens during automation (e.g. in logic)? Is the automated parameter updated continuously during Render()?
For example, if a 'delay time' parameter is automated, and the parameter is updated only between Render() calls, you will get different (smoother) sounding results on a 64-frame buffer than a 1024-frame buffer. I think.

Well, yes.. but there is also the ability to Schedule Parameter changes - this can include both scheduling a ramp between two values over some number of samples - then the AU implements this (it has to flag parameters as being rampable).


You can also schedule individual parameters (that's what the buffer offset argument is for). In this case, it is then irrelevant what the render size of the buffer is of course. However, in typical usage we see the practise as you describe above

Bill


James McCartney <email@hidden> wrote:

On May 8, 2005, at 2:59 PM, h wrote:

> I just want to check - given that I have to call GetParameter() during
> Render() - I take it that if the parameter cannot change partway
> through my Render() call? (Or else some kind of mutex would be
> needed)?
>



Since setting a 32 bit word (e.g. a 32 bit float) is atomic, no mutex is needed. The value of GetParameter could change midway. It isn't likely to change on a single processor because of the priority of the render thread, but it may happen on a dual processor.

--- james mccartney --- apple coreaudio



Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
 _______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >Re: Audio Unit synth how-to (From: h <email@hidden>)

  • Prev by Date: dyld error: undefined references
  • Next by Date: Re: Audio Unit synth how-to
  • Previous by thread: Re: Audio Unit synth how-to
  • Next by thread: Re: Audio Unit synth how-to
  • Index(es):
    • Date
    • Thread