Re: Hexaphonic AudioUnits in AUGraph that mixes to stereo
Re: Hexaphonic AudioUnits in AUGraph that mixes to stereo
- Subject: Re: Hexaphonic AudioUnits in AUGraph that mixes to stereo
- From: Brian Willoughby <email@hidden>
- Date: Fri, 13 Jun 2008 12:54:50 -0700
Good point. If AUSplitter doesn't do what I want, then I could
create an AU which does what I want. If all I want is panning, that
should be easy enough, but beyond that it would be a waste to re-
implement the AU{Matrix,3D}Mixer features.
I'm still not quite sure whether AUMatrixMixer would accept 6 mono
busses from one unit and allow panning of each as if they came from
separate subgraphs. Same with AU3DMixer.
Brian
On Jun 13, 2008, at 04:15, tahome izwah wrote:
I'm afraid I don't know enough CoreAudio to offer a real suggestion
(especially when it comes to creating an AUGraph INSIDE an AudioUnit
plug in) but couldn't you just create an AudioUnit that has 6 inputs
and whatever number of outputs that you need and do the channel
mapping yourself? Since this is only one multiply-accumulate per
sample per channel doing this in an AU graph seems like overkill to
me...
--th
2008/6/13 Brian Willoughby <email@hidden>:
I've created an AudioUnit which supports hexaphonic processing.
In other
words, it allows six channels of audio to be processed
independently, but
all on one bus. The distinction is that this is not a 5.1 surround
arrangement, but a six-channel guitar effect. The output could be
to a
stereo or surround device, but there would be no direct mapping of
input
channel to speaker. In other words, the multichannel bus has
different
meanings in the beginning of the graph versus the final output.
How do I build an AUGraph to do this? I'm pretty sure I
understand how to
set up a 6-channel source bus, instantiate my AU with 6 channels
on one bus,
and put that into a graph. However, I need to take the output bus
of my AU
and then mix each of the 6 channels into its own pan position with an
AUMatrixMixer, probably stereo, but potentially surround. How do
I get from
a 6-channel hexaphonic bus to a matrix mixer input where I can pan
each
channel independently?
Would it be possible to use an AUSplitter to take a 6-channel bus
on input
and deliver 6 mono bus outputs? If so, I could then attach each
output bus
to its own matrix mixer input, and then I would have control over
mapping
the channels to the output device. The 3D Mixer might also work,
but I
assume that the real challenge is splitting the channals onto
their own
busses.
Brian Willoughby
Sound Consulting
_______________________________________________
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