3d Audio

Member
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
Member
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
Member
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:

http://www.openal.org/oalspecs-annote/

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

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

Some main links:
http://www.openal.org/
http://developer.creative.com/landing.as...=31&top=38

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:
http://www.gamedev.net/reference/article...le2008.asp

More specific Mac OS X tutorial to get you started (hopefully):
http://www.edenwaith.com/products/pige/t...openal.php

And then to package the OpenAL lib with your application instead of making the user install it:
http://cocoadevcentral.com/articles/000042.php

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
GioFX
Unregistered
 
Post: #5
the FMOD library (http://www.fmod.org) is very powerful and easy to use (it's free for non commercial use)

Gio
Quote this message in a reply
Post Reply