• 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: MyVolumeUnit example.. does not 'pan'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MyVolumeUnit example.. does not 'pan'


  • Subject: Re: MyVolumeUnit example.. does not 'pan'
  • From: William Stewart <email@hidden>
  • Date: Thu, 10 Mar 2005 12:33:03 -0800


On 07/03/2005, at 10:26 PM, christian wrote:

Marc Poirier wrote:

If you want to make a stereo panner, then:
1) you need to declare your SupportedNumChannels() as only stereo, and
2) you will need to override ProcessBufferLists() to do your DSP and
ditch the kernels.

And also (3) if you want to pan mono->stereo or any other M->N then you need to make sure that you are not processing in place. Based on some info I dug up in previous posts (probably also from Marc!) I decided to do it this way for my panner, which is a subclass of AUEffectBase:


virtual ComponentResult Initialize ()
{
    // do some of my own init stuff

    ComponentResult result = AUEffectBase::Initialize();

    // do some more of my own init stuff

// here is the key to getting Mono->Stereo to work with AUEffectBase!
SetProcessesInPlace(
GetOutput(0)->NumberChannels()
== GetInput(0)->NumberChannels()
);


    return result;
}

(I hope someone else on the list can point out if this is not right! But it was the solution so that my effect so far seems to work OK with M->N channels in Logic, at least...)

Separately, I was looking again at the "AUPannerUnits.text" document which is sitting in the AudioUnits doc collection.
Is there code in existence anywhere for AUPanner? Is it possible that it will arrive with the next update of the SDK?

Yes, I think we need to do more on this example than we have...

Bill


Regards, christian

_______________________________________________
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: MyVolumeUnit example.. does not 'pan' (From: christian <email@hidden>)

  • Prev by Date: Compile errors when installing Xcode 1.5 on a fresh system.
  • Next by Date: Re: CoreMIDI device name cached?
  • Previous by thread: Re: MyVolumeUnit example.. does not 'pan'
  • Next by thread: Newb: MultitapAU UI does not appear
  • Index(es):
    • Date
    • Thread