Re: channel mapping a Varispeed audio unit
Re: channel mapping a Varispeed audio unit
- Subject: Re: channel mapping a Varispeed audio unit
- From: Dominic Feira <email@hidden>
- Date: Thu, 23 Sep 2004 22:57:03 -0400
I realized the error of my ways and switched to an AUConverter.
All is well now. I needed both rate conversion and the ability to channel map,
so AUConverter was the only way to go. I have to say, that I'm pretty impressed
with the efficiency. CPU use only went up about 1% by adding an AUGraph
that does rate conversion to my app.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
On Sep 23, 2004, at 9:00 PM, William Stewart wrote:
The varispeed’s channel capabilities don’t do this.
However, you can have the varispeed processing mono buffers, then set the channel map on the output unit to duplicate the mono channel into the stereo output of the device. If you want to do any mixing, you could also easily add a stereo mixer unit between the varispeed and the output unit (and then pan the mono input to your heart’s content)
Bill
On 23/9/04 3:58 PM, "Dominic Feira" <email@hidden> wrote:
Hello.
I have set up an AUGraph whose data path looks like this:
ring buffer --> varispeed --> output unit
How do I map mono input in the varispeed to stereo output?
I have tried kAudioOutputUnitProperty_ChannelMap but I get kAudioUnitErr_InvalidProperty.
I used kAudioConverterChannelMap to accomplish the same thing in an AudioConverter.
I was hoping that I could just use the varispeed to accomplish this.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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