• 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: multichannel, stateful AU; non-interleaved data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multichannel, stateful AU; non-interleaved data


  • Subject: Re: multichannel, stateful AU; non-interleaved data
  • From: William Stewart <email@hidden>
  • Date: Wed, 08 Dec 2004 11:15:20 -0800



On 7/12/04 7:42 PM, "Will Benton" <email@hidden> wrote:

> Hello list,
>
> I am interested in writing an AU effect that operates either in mono or
> on n channels.  I will need to allocate some per-channel state (i.e.
> that persists between process() calls), but my effect does not assume
> any relationship between the channels.  Am I correct in assuming that I
> can allocate my state buffers in the kernel constructor?  (That is,
> will an effect kernel's process() method always be called with the same
> number-of-channels parameter?)

Once an AU is initialized, it will have the same number of channels for in
and out - the base classes (AUEffectBase) explicitly dis-allows any change
to the formats once the AU is initialized..

> Also, it would be extremely convenient if I could operate on
> non-interleaved data.

It does

> SampleEffectUnit in the developer tools operates
> on interleaved data;

It has some capability to do that, but the data you get is de-interleaved
(there's some history here that is no longer relevant)

> is there any example code or documentation on how
> to write an effect that operates on non-interleaved data?  (Is this
> supported by all hosts?)  More generally, is the "Audio and MIDI on Mac
> OS X" from 2001 on Apple's web site the most recent available
> documentation?

No - the best documentation for an AU is in the SDK:
/Developer/Examples/CoreAudio/Documentation

(if you're on an older system its /Developer/Documentation/CoreAudio/)

Bill

> Thanks for your help!
>
>
>
>
>
> best,
> wb
>
> ---
> Will Benton <email@hidden>
> coordinates:  http://www.cs.wisc.edu/~willb/willb.vcf
>
>  _______________________________________________
> 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

__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________



 _______________________________________________
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: multichannel, stateful AU; non-interleaved data
      • From: Will Benton <email@hidden>
    • coreaudio source code repository
      • From: paul webb <email@hidden>
References: 
 >multichannel, stateful AU; non-interleaved data (From: Will Benton <email@hidden>)

  • Prev by Date: EXS24 and Garageband
  • Next by Date: coreaudio source code repository
  • Previous by thread: multichannel, stateful AU; non-interleaved data
  • Next by thread: coreaudio source code repository
  • Index(es):
    • Date
    • Thread