About playing sounds....
About playing sounds....
Does irrlicht handle sounds playing in a game or do i have to use native C++ functions for that?
thanX
thanX
Rienp
irrlicht is a graphics library only, you'll need an audio library.
audiere is a popular choice.
audiere is a popular choice.
Audiere doesn't support MIDI which is most important to me 'cause i make old console style rpg's which must have midi. FMOD has a better documentation, forums, much more platforms are supported. And i'm not planing to make a commercial game.
CRPG, FRPG, Oblivion Fan
Hater of Counter Strike (i hate it so much damn it)
Hater of Counter Strike (i hate it so much damn it)
They don't get any easier than Audiere.
Code: Select all
using namespace audiere;
#pragma comment(lib, "audiere.lib")
//initialize audio in main
AudioDevicePtr audiereDevice;
OutputStreamPtr stream;
audiereDevice = OpenDevice();
if (!audiereDevice)
return 1;
stream = OpenSound(audiereDevice.get(), "sound.wav", true);
if (!stream)
return 2;
stream->setRepeat(false);
stream->setVolume(0.5f); // 25% volume
stream->play();
If it exists in the real world, it can be created in 3d
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Yes, Audiere is preatty helpfull for playing backgound music and menu sound, etc.
For in game sounds you should use a 3D-audio lib, like FMod or OpenAL (my prefered lib) !!!
Audiere is that simple structured, taht there is only a little text file as dokumentation includet...
For in game sounds you should use a 3D-audio lib, like FMod or OpenAL (my prefered lib) !!!
Audiere is that simple structured, taht there is only a little text file as dokumentation includet...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Fmod is only one DLL while Audiere seems to need about 4 or so... =/
Also I can get Fmod working easily with Dev-CPP however Audiere doesn't like DEVCPP
I am curious though, getting FMOD to load an mp3 from a .zip is really convoluted and complicated enough I haven't figured it out or found support here on the forums for it.
... Can Audiere easily read zipped sound files? (ie: utilize the file structure of Irrlicht?)
Also I can get Fmod working easily with Dev-CPP however Audiere doesn't like DEVCPP
I am curious though, getting FMOD to load an mp3 from a .zip is really convoluted and complicated enough I haven't figured it out or found support here on the forums for it.
... Can Audiere easily read zipped sound files? (ie: utilize the file structure of Irrlicht?)
Reiyn
Creating "Chimera", an Online RPG
DAoC - Guinevere - Druid rr11
WoW - Gorgonnash - Druid 55
Creating "Chimera", an Online RPG
DAoC - Guinevere - Druid rr11
WoW - Gorgonnash - Druid 55
If you can get fmod working easily, use it.
Audiere uses 1 dll. Don't know where you get 4 from, and it compiles with dev-cpp without a problem.
Personally, I will be using openal tho. It's a better and more complete library.
Audiere uses 1 dll. Don't know where you get 4 from, and it compiles with dev-cpp without a problem.
Personally, I will be using openal tho. It's a better and more complete library.
If it exists in the real world, it can be created in 3d
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram