• 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: can I do this (multiple update rates) with the apple audio environment?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can I do this (multiple update rates) with the apple audio environment?


  • Subject: Re: can I do this (multiple update rates) with the apple audio environment?
  • From: Urs Heckmann <email@hidden>
  • Date: Thu, 18 Mar 2004 22:52:03 +0100

Hiya Cor,

I see no reason why it shouldn't be possible.

All that AU synth stuff asks for, is that you deliver a certain amount of samples every now and then. How these samples are generated is totally up to you.

You could set up your own threads with different priorities, or runloop timers, or you could calculate envelopes upon Render() call in advance of additive synthesis, with different time resolution.

However, I think the envelopes won't be the point. The point will be the sheer processing of additive synthesis. Dunno if you want to just stack sines that are calculated independently, or if you want to use an approach based on Fast Fourier Transform. If you use latter, you'd have a constant update rate anyway, say 64 samples or something, so you can just update your envelopes accordingly...

btw. there's a neat example for an additive synthesis AU MusicDevice (Synth PlugIn) including source code here:

http://www.collective.co.uk/expertsleepers/

Cheers,

;) Urs



Am 18.03.2004 um 21:17 schrieb Cor Jansen:

Hello all,

I'm new to this group. I subscribed because I want to try to find out if the Apple audio environment is
suitable for my project.
I want to write a additive sysnthesis module (audio unit?).
As far as I understand, audio is processed by doing calculations on an array of
samples (or more arrays if more inputs are used), producing arrays of output samples.
The problem is that for the additive synthesis project I want to build a need some other kind of processing.

<snip>
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >can I do this (multiple update rates) with the apple audio environment? (From: Cor Jansen <email@hidden>)

  • Prev by Date: AUVarispeed Question
  • Next by Date: Re: carbon or cocoa?
  • Previous by thread: can I do this (multiple update rates) with the apple audio environment?
  • Next by thread: AUVarispeed Question
  • Index(es):
    • Date
    • Thread