Re: Audio Units and virtual device implementation
Re: Audio Units and virtual device implementation
- Subject: Re: Audio Units and virtual device implementation
- From: Brian Willoughby <email@hidden>
- Date: Mon, 15 Jun 2009 13:43:12 -0700
Seems like you have multiple problems, so it might be good to list
them, each with a short description.
I got the impression that one of your many problems is confirming the
order of the channels. If that is indeed one of your problems, you
might try creating a set of unique test tones. If your users can be
trusted to run a test phase, then the test tones could be generated
at the source and confirmed at the eight-or-more-channel output. If
you have a unique test tone for each channel, then it should be
fairly easy to detect a mismatch of channels. The matching could be
automated, but you'd want the generation to be manual.
I also did not follow your distinction between 'simulated' panning
and 'actual' panning. You'll have to define what you mean by those
terms.
I see that you listed your ideas for potential solutions one by one,
but I think it would be best to back up a step and use a clearer
format for describing the problems you're facing.
Brian Willoughby
Sound Consulting
On Jun 15, 2009, at 09:21, Colin Martel wrote:
I'm working on Zirkonium, a program that has a bit of a particular
setup. To put it briefly, it handles spatialization of multiple (>8)
channel audio for speakers placed in a dome setup. In order to
collaborate with host programs, many of which I'm told don't support
panning over a large number of speakers, it creates a virtual device
with an arbitrary number of channels which the host program can
select. Each channel in the device basically represents an entity
which can then panned by Zirkonium over the N amounts of speakers
present in the dome configuration.
In order to be able to change and automate that panning from within
the host program, an Audio Unit is used which sends the angles and
whatnot to Zirkonium. However, since the audio unit is a separate
piece of code from the virtual device, I'm running into some
difficulty finding an easy way to make sure the audio unit is panning
the channel it's attached to. The current setup is to select the
virtual device channel in the host program, then match that channel in
the audio unit. But since the channel becomes an actual AU parameter,
it becomes subject to automation, can be mismatched from the device
channel and the whole thing is rather confusing and error-prone.
_______________________________________________
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