Hello,
For the 3D iPad app I am writing I want audio to increase/decrease in volume as a single virtual listener turns towards/away-from sound sources. The listener is always stationary. The listener can only rotate. The sounds are always stationary. The sounds fill a sphere of directions around the user. The sounds are all of equal distance from the listener.
I think of the sounds as analogous to light sources in 3D graphics. For each sound there is a vector pointing from the listener to that sound source. The listener has an outgoing directional vector. I want to weight the contribution of each audio source by the dotProduct of the listener vector and each of the audio source vectors. So as the listener's "head" rotates around sound contributions change directionally.
How much of what I describe can be handled by OpenAL and how much do I need to write myself?
Thanks,
Doug