Game Programming and Development Tools

Audio Libraries – jestermax

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
does anyone have experience with FMOD and/or SDL_Mixer?
steveth45

Member

Posts: 536
From: Eugene, OR, USA
Registered: 08-10-2005
I've looked at the API's for both, and FMOD can't be beat for ease of use, but its super expensive to use in a commercial product. SDL_Mixer is a little more complex, but it is easy enough to use and it is decently powerful. I can also vouch for the cross-platform compatibility. I had trouble getting sound to work in VLC under Linux until I selected the SDL_mixer sound driver, then it worked fine. SDL_mixer has pretty neat features, too, like you can have it call certain functions (like a CALLBACK) when a sound clip is finished playing.

If you want something really, really easy to use but not as powerful as those others, try Audiere. I used that in Ninja Robot Attack. I think all the audio related code in that game is like 10 or 20 lines total.

------------------
+---------+
|steveth45|
+---------+

dartsman

Member

Posts: 484
From: Queensland, Australia
Registered: 03-16-2006
if its for what I think it's for, then I'd just say use FMOD, as it's free for non-commercial use, as in you can use it for your stuff, as long as you don't commercialise it.

otherwise, I haven't used it but theres also OpenAL, which is completely free I think. Also DirectSound, which I have used before.

I have used FMOD for several projects, so if you want a hand let me know on msn...

------------------
"But it is God who judges: He brings one down, he exalts another." - Psalm 75:7

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
thanks i might just do that. yesterday i ended up writing a wrapper class for SDL_Mixer anyways that manages sound channels and music. but i haven't really tested it much.
FMOD just sounds snazzy because its used in ps2, ps3, xbox, xbox 360 and game cube.... and also i sounds cool... "F-MOD: Booya"
dartsman

Member

Posts: 484
From: Queensland, Australia
Registered: 03-16-2006
how is SDL_Mixer? I've never used it, and only just heard about it in this thread, guessing it has something to do with the SDL library.

yes, FMOD does seem to have all the bells and whistles, but you won't really be needing it for consoles. I don't know if it's possible to code using the free version of FMOD for the different consoles.

looks like problem is solved anyway, since you have the wrapper round SDL_Mixer.

Isn't it funny how you need to (well on at least the basis of making the library more 'user-friendly') write a wrapper around most sound libraries?? lol. I've had to do it with both DirectSound and FMOD.

------------------
"But it is God who judges: He brings one down, he exalts another." - Psalm 75:7

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
you pretty much need to write wrappers for most libraries, lol. and generally its a good idea to.
SDL_Mixer is an addition to SDL (like SDL_ttf and SDL_image). i don't know much about it but i'd like to read up on audio stuff and actually know what all this speel is about . it has some fancy channels and stuff.... ummm, lol i don't really know what it has that makes it special. you can use audio channels for sound chunks and then theres a separate music system so you can play one track at a time.