Re: Getting the spacial position of speakers?
Re: Getting the spacial position of speakers?
- Subject: Re: Getting the spacial position of speakers?
- From: Bill Cooney <email@hidden>
- Date: Wed, 12 May 2004 07:29:03 +1000
Unless you have GPS in each speaker, I doubt it. The best way would be
to map your sounds to the standard 5.1 sound field. There's diagrams
available, but basically the center is in front, the L + R channels are
30 degrees either side of that and I think the rears are 55 degrees
from center (i could be wrong about the rears). Ideally all consumers
would map their surround setups to the same standard, but this is the
one we use when setting up portable 5.1 for performances.
To gain access to the 'y' space for surround, you need either a
different standard of surround that uses extra speakers for height (i
think sony have one) or there's some interesting psychoacoustic stuff
you can do to sound to make it appear higher.
I should think that you could map the speaker layout to a grid (with
the listener at ground zero) and then place your sound within there and
then send the results to all 5 speakers.
Bill
On 12/05/2004, at 6:12 AM, Jean-Francois Roy wrote:
Greetings,
I am currently trying to write a very simple sound engine using Apple's
new OpenAL implementation, and I was wondering something about speaker
position (in a multi-channel environment).
As you all know, one can configure the position of speakers in
"listener space" (only x and z axis from what I can tell) in Audio MIDI
Setup. I was wondering if there was a way to get the actual coordinates
of each speaker (given its channel number possibly) with respect to the
listener (or the coordinate system, but theoretically the listener is
at {0, 0, 0}) in order to place, for instance, a source directly "on"
or "at" a speaker or channel.
There doesn't seem to be any mention of that in the OAL specs, from
what I understood of them in any case.
Regards,
Jeff Roy
--
Co-Founder of MacStorm
Programmer at MacStorm
http://www.macstorm.org
email@hidden
http://www.macstorm.org/bahamut/Jean-Francois.gpgkey
[demime 0.98b removed an attachment of type application/pgp-signature
which had a name of PGP.sig]
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
--
Bill Cooney, B.Mus (Music Technology)
Original Music for Film, Television, Theatre and Multimedia
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.