3d Audio

Posts: 64
Joined: 2005.06
Post: #1
I'm entering the CMG "Blind" Contest, and I need to use 3d audio (like what Diordna's entry does), but I've yet to find a way to do it. I would think that OpenAL would be promising, but I can't even find an API reference, let alone any samples of it in work. I've also been looking at using Quicktime, but I've yet to find anything that would help me accomplish this.

At least I have NSSpeechRecognition working, and it works great (I want to thank Kelvin for the help he provided on that one).
Quote this message in a reply
Posts: 64
Joined: 2005.06
Post: #2
I just realized that I can probably fake it, by writing my own system. Make a location based system, that adjusts the speaker balance and volume based on the location of the sound relative to the player. Quicktime should allow both volume and speaker balance to be changed, and everything else I can do myself.
Quote this message in a reply
Posts: 116
Joined: 2002.04
Post: #3
OpenAL will certainly work.

How hard have you been looking? I went to Google and typed "OpenAL reference" and this was the first link returned:


When you download OpenAL from CVS, there are examples included in the distribution.

Quote this message in a reply
Posts: 3,571
Joined: 2003.06
Post: #4
For OpenAL:

Some main links:

I thought I got my latest OS X SDK distribution from creative just a few weeks ago but it does not appear to be there anymore. I'm sure it's available on the CVS though.

General overview of OpenAL:

More specific Mac OS X tutorial to get you started (hopefully):

And then to package the OpenAL lib with your application instead of making the user install it:

You'll wind up with a solid OpenAL base in your arsenal. It might seem a little twisted at first but it's very simple and straight-forward after you pick it up.

Good luck!
Quote this message in a reply
Post: #5
the FMOD library (http://www.fmod.org) is very powerful and easy to use (it's free for non commercial use)

Quote this message in a reply
Post Reply