sound API

Discussion about everything. New games, 3d math, development tips...
Post Reply
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

sound API

Post by 3DModelerMan »

Does anyone know of better open source 3d sound librarys than openAL?.
I googled but could'nt find any thing.
Thanks :D .
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
rooly
Posts: 224
Joined: Tue Oct 25, 2005 4:32 pm
Location: Louisiana, USA, backwater country
Contact:

Post by rooly »

well, it depends on what you want.

there's fmod, openal, irrklang, directsound, etc.

and before you guys say "but directsound waa waa wa wa"

they're all still api's.

anyway, from an x-platform perspective, NO THERE IS NONE BETTER.

I hear there's an audio thing over at deathtouchstudios.com
When banks compete, you win.
When ISPs compete, you win.
When electronics retailers compete, you win.
When governments compete...you get drafted.
torleif
Posts: 188
Joined: Mon Jun 30, 2008 4:53 am

Post by torleif »

I personally recommend SDL_Mixer because of its free license and its example in the irrlicht demo folder.

But it's up to you to find a sound library you like
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

There's also audiere, but that's more or less abandonware and has an extant crash bug on Windows.

If you're not pure about open source, and just want to get on with it, then I'd recommend IrrKlang. It Just Works.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

irrklang

Post by 3DModelerMan »

Well the problem with Irrklang is that event though it's thebest choice for Irrlicht, the exchange rate between euro and USD is'nt that good.I need something open source or free.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

irrKlang is free for non-commercial projects.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Irrklang is free for non-commercial use. For commercial use, it's between Euro 65 and Euro 490, depending on your product price.

If you're working on a commercial product, then even 490 Euros is a bargain, considering how time Irrklang will save compared to some shoddy hippy API with random documentation.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

You could try cAudio. Uses openal and its constantly being worked on *you would know this if you hanged out in irc*
Small example of code.

irrKlang Code:

Code: Select all

#include <iostream>
#include <irrKlang.h>
using namespace irrklang;
int main(int argc, const char** argv)
{
   ISoundEngine* engine = createIrrKlangDevice();
   engine->play2D("../../media/getout.ogg", true);
   char i = 0;

   while(i != 'q')
   {
      std::cout << "Press any key to play some sound, press 'q' to quit.\n";
      engine->play2D("../../media/bell.wav");		

      std::cin >> i; // wait for user to press some key
   }
   engine->drop();
}
cAudio Code:

Code: Select all

#include <iostream>
#include "IAudioManager.h"
using namespace std;
using namespace cAudio;

int main(int argc, char* argv[])
{ 
  IAudioManager *audiomgr = cAudio::getAudioManager();
  audiomgr->init(argc,argv);
  audiomgr->create("awsomesound","/sounds/awsomesound.ogg",false);
  audiomgr->getSound("awsomesound")->play2d(false);

  while(){
    audiomgr->update();
  }

  audiomgr->release();
  audiomgr->shutDown();
}
http://wild.deathtouchstudios.com << My gamedev blog
<Programming is a way of life>
If at first you don't succeed press the delete key till you do :)
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

that looks like it the best

Post by 3DModelerMan »

That right there is probably the ticket, but the only thing I'm wondering is if it does 3D sound, does it?.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

Here is a feature list:
http://deathtouchstudios.com/xoops/modu ... p?itemid=3

I hope your using a gcc compiler....are visual studio build isnt done.
http://wild.deathtouchstudios.com << My gamedev blog
<Programming is a way of life>
If at first you don't succeed press the delete key till you do :)
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: that looks like it the best

Post by rogerborg »

3DModelerMan wrote:That right there is probably the ticket, but the only thing I'm wondering is if it does 3D sound, does it?.
Is there any chance that you will ever show the initiative to find things out yourself? I mean, any chance at all?

cAudio features.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

hey!!!

Post by 3DModelerMan »

I did look!!!... before I posted I googled cAudio cAudio.org was'nt working
and it was a broken link. I just after reading this searched the irrlicht forums... and...well found out it was death touch studios.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
Post Reply