What Sound Library?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
limey
Gnoblar
Posts: 2
Joined: Mon Sep 27, 2004 10:02 am

What Sound Library?

Post by limey »

Hi,
Can anyone recommend any decent sound libraries?

cheers 8)
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

limey
Gnoblar
Posts: 2
Joined: Mon Sep 27, 2004 10:02 am

Post by limey »

Thanks I'll check them out
User avatar
KeaponLaffin
Kobold
Posts: 28
Joined: Sat Jan 17, 2004 7:45 pm

Post by KeaponLaffin »

If you plan to make money with your project, go with OpenAL.
User avatar
scriptkid
Bronze Sponsor
Bronze Sponsor
Posts: 88
Joined: Fri Jun 25, 2004 8:16 pm
Location: The Hague, Netherlands
Contact:

Post by scriptkid »

If you don't need 3D capabilities, SDL_Mixer is also a good and easy lib:

http://www.libsdl.org/projects/SDL_mixer

Btw. FMOD has a "hobbyist" licence, which is $100 if you don't sell to much copies and such. Pretty fair i guess.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

KeaponLaffin wrote:If you plan to make money with your project, go with OpenAL.
That of course depends.. If you make enough money, you can just as well buy an FMod license. (Although I have no idea if that's worth it, I'm not that much into sound libraries)
User avatar
Goosey
Halfling
Posts: 88
Joined: Wed Sep 29, 2004 3:33 am
Location: Ohio, USA
Contact:

Post by Goosey »

Looking at the Titles list at OpenAL there are a few (Such as UnrealTournament 2003/2004) that jump out.. I would say that is quite a convincing argument for this library. :)
User avatar
scriptkid
Bronze Sponsor
Bronze Sponsor
Posts: 88
Joined: Fri Jun 25, 2004 8:16 pm
Location: The Hague, Netherlands
Contact:

Post by scriptkid »

Goosey wrote:Looking at the Titles list at OpenAL there are a few (Such as UnrealTournament 2003/2004) that jump out.. I would say that is quite a convincing argument for this library. :)
Indeed, it's been used by some famous engines / games. But so is FMOD. Companies like Blizzard and Bethesda use it.

Modern sound libraries aren't that hard to get into so i'd advice to try two or three and then decide. It depends on your needs (as always of course). For example SDL_Mixer can very easily fade music in and out, which isn't that easy in FMOD for example. And OpenAL looks like OpenGL (API wise), so it might feel comfortable. And so on...
stodge
Goblin
Posts: 217
Joined: Thu Oct 24, 2002 4:12 am
x 1
Contact:

Post by stodge »

I think they heavily modified OpenAL for Unreal Tournament though, as it was broken to some extent. I don't know what they released back to the community.
Mhiriacor
Gnoblar
Posts: 12
Joined: Thu Nov 06, 2003 12:48 pm

Post by Mhiriacor »

Hi guys, thank you for your explaining of differents sound libreries, but do you know of any of this that have free licence and what about video playing??, any librery to play them with free licence???

Thank you for your time.
User avatar
Banania
Gremlin
Posts: 150
Joined: Wed Oct 20, 2004 2:35 pm
Location: Paris, France
Contact:

Post by Banania »

For a free licence, it will have to be OpenAL or SDL_mixer.
FMOD is 100$ for non commercial use and 2000$ for commercial use(for one title)

There are also other libraries like Audiere, Bass(has a free non commercial version, I think) but IIRC, these are Windows only.

For video playing, have a look at the videoplugin in ogreaddons. I don't know of any other free video library worth looking at. But there might be...

EDIT:Audiere is not Windows only but it seems it has not been updated for a while.
Banania
Mhiriacor
Gnoblar
Posts: 12
Joined: Thu Nov 06, 2003 12:48 pm

Post by Mhiriacor »

You know what kind of files can play this video plugin, and SDL-mixer and OpenAL???. thank you for your help.
User avatar
epopov
Halfling
Posts: 85
Joined: Tue Jun 10, 2003 2:57 pm
Contact:

Post by epopov »

For sound / video, you can also use quicktime: it's free, it's supported on both windows and MAC, but I think not on linux though...
You can have a look here: http://developer.apple.com/quicktime/
User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2
Contact:

Post by pjcast »

There are actually two video plugins in ogreaddons: an ffmpeg version, and a Theora version. FFmpeg supports many formats, and that is the problem, patent infringement... So I would not release anything commercial with it.

Theora on the hand, is royalty free. It has decent quality. In the future, I think Dirac will be the next video plugin. The format of the video is Theora video with Vorbis audio. This post still roughly applies, at least when it comes to converting videos: http://www.ogre3d.org/phpBB2/viewtopic. ... 43&start=0

For a demo: http://www.wreckedgames.com/download.php
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
User avatar
Kolobrod
Gnoblar
Posts: 10
Joined: Wed Jul 21, 2004 1:39 pm
Location: Krasnodar, Russia
Contact:

Post by Kolobrod »

Try this http://www.ogre3d.org/phpBB2/viewtopic.php?t=7234
It just alpha version, but it plays wav and ogg files. Prety simple and totaly free =)
User avatar
johnnyfeego
Gnoblar
Posts: 16
Joined: Thu Sep 30, 2004 6:21 am
Location: Rome, Italy...
Contact:

Post by johnnyfeego »

Anyway keep in mind that with openal you cannot do audio manipulation such as a nice reverb or an equalizer, with fmod you can, but personally I don't like fmod too much (since uses soundmanager on mac , that is and old thing...). So we are without good 3d audio libraries... :wink:
(...do I really have to write all the cross-platform audio code from scratch?? :? )
Johnny Petrantoni.
Rome, Italy.
http://www.meskalina.it
OSX & WinXP user.
User avatar
Banania
Gremlin
Posts: 150
Joined: Wed Oct 20, 2004 2:35 pm
Location: Paris, France
Contact:

Post by Banania »

personally I don't like fmod too much
I like Fmod. It is far from perfect (some nice features missing) but it does what you want it to do.

I trust you on the Mac implementation though as I don't know anything about it.
Banania
User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2
Contact:

Post by pjcast »

johnnyfeego wrote:Anyway keep in mind that with openal you cannot do audio manipulation such as a nice reverb or an equalizer,
...
You can do audio manipulation with OpenAL, you just have to write the code to manipulate the audio stream yourself, which is not too hard :wink:
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
User avatar
Xinc
Halfling
Posts: 52
Joined: Sat May 08, 2004 12:55 pm
Location: Toronto, Canada

Post by Xinc »

lets not forget bass :) http://www.un4seen.com/ it's free for non-profit projects, and one of the cheapest for commercial. And with all the goodies of FMOD. However, it's Window's only.

But if you want to get fancy, go Miles ;) http://www.radgametools.com/miles.htm "The most professional sound system in the world". No free trails, no binary, no source... till you purchase a license, for quite a few bucks :roll:
- Xinc
User avatar
zarthrag
Greenskin
Posts: 128
Joined: Sat Jul 24, 2004 9:07 am
Location: Tulsa, Oklahoma

Post by zarthrag »

If you're an indie, plan on wrapping OpenAL (it isn't so bad, and most soundcards have built-in equalizers that the players will prefer anyway). The experience is invaluable also. I can literally just attach a "SFXSource" object to my entities and call "SFXSource->play()". great stuff.

I recently built an object oriented OpenAL wrapper for my engine that allows for rather transparent 3d sound support, ogg vorbis music, and sound-queueing/priority. (I plan to GPL it after my first title is completely done, we're ~drowning~ in art right now.) The alternatives:

Fmod: is cool, but a bit pricey - not a pick for a 1st commercial project.

Miles: Even if we did make $200,000 off of our 1st title, they aren't getting 20k.

Bass: But we love Macs...

And don't worry so much about openAL's EAX extensions, it's a pain in the butt that isn't worth it unless you're using some dramatic audio effects (underwater, cockpits, etc).

If you *need* reverb and stuff, spend the money. You'll spend your life trying to build an opensourced fmod.
User avatar
temas
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 390
Joined: Sun Oct 06, 2002 11:19 pm
Location: The Woodlands, TX
Contact:

Post by temas »

I've been using http://alpp.sourceforge.net/ with a simple Manager class that I pulled together. Pretty fun to just do

Code: Select all

SoundManager::getSingleton().play("Ranged/Attack");
User avatar
johnnyfeego
Gnoblar
Posts: 16
Joined: Thu Sep 30, 2004 6:21 am
Location: Rome, Italy...
Contact:

Post by johnnyfeego »

pjcast wrote:You can do audio manipulation with OpenAL, you just have to write the code to manipulate the audio stream yourself, which is not too hard :wink:
AFAIK...(for what I know of OpenAL)
Yes but you can manibulate only sound buffers not the master buffers, I mean the audio output buffers. You can do this only with a modification of the AL source code (of each platform, of course :-) ).
...uh I'm a sound applications developer I'm on JackOSX team!! I can do this!! :-)
Johnny Petrantoni.
Rome, Italy.
http://www.meskalina.it
OSX & WinXP user.
Post Reply