sounds
-
Peter Müller
- Posts: 292
- Joined: Sun Mar 14, 2004 5:28 pm
- Location: Germany
- Contact:
@afecelis:
What exactly the problem, you had? You just wrote 'the code went nuts' or something.
What exactly the problem, you had? You just wrote 'the code went nuts' or something.
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
my testlevel is ready for download, it plays an mp3, with all your help:
http://www.theshower.nl/cgi-bin/genesis ... is/AFC.zip
http://www.theshower.nl/cgi-bin/genesis ... is/AFC.zip

-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
yep! I was thinking that the same way you attach a billboard to a light node, there should be a node to which you can attach an mp3. That way you can place the node somewhere in your map and get environmental effects and positional 3d audio.
If anyone has run into this node in the code, or knows how to do it please let us know!
If anyone has run into this node in the code, or knows how to do it please let us know!

Audiere doesn't support 3D sound, however I think a sound engine that does would be easy to intergrate. You would just use the sound position of the node and the listener position of the camera. I don't know of any sound engines that use 3D sound however or how easy they are to use but you would probably find one if you looked hard enough. Would be interesting, definatly.
-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
I was just playing around with fmod. It compiles ok but I gotta read some stuff on game application since they say in their site it's been used in Xbox,Gamecube,PS2 and WindowsCE games. The problem is that it's not opensource...and it's not cheap, either.
OpenAL is widely used in games. It would be cool to get some info on it and start working on implementing 3d audio for our apps!!!

OpenAL is widely used in games. It would be cool to get some info on it and start working on implementing 3d audio for our apps!!!

-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
i think openAL is the one for me
to attach a sound to a scene node
to attach a "listener" to the camera scene node
how to convert the irrlicht "look at" vector to the openAL "look at" vector (orientation)
once a time i have read that something is strange with the x,y,z coordinates in irrlicht?
a openAL tut http://www.devmaster.net/articles/openal/
to attach a sound to a scene node
Code: Select all
//set source position
alSource3f(alSource,AL_POSITION, xposition, yposition, zposition);
//set source velocity
alSource3f(alSource,AL_VELOCITY, xvelocity, yvelocity, zvelocity);
Code: Select all
//set current listener position
alListener3f(AL_POSITION, listenerx, listenery, listenerz);
//set current listener orientation
alListenerfv(AL_ORIENTATION, vec);
once a time i have read that something is strange with the x,y,z coordinates in irrlicht?
a openAL tut http://www.devmaster.net/articles/openal/
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
sys: 2500+Barton 512MB 6600GT WinXP
-
LordNaikon
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
interesting for 3d sound with audire !!
http://irrlicht.sourceforge.net/phpBB2/ ... ht=audiere
http://irrlicht.sourceforge.net/phpBB2/ ... e&start=15
http://irrlicht.sourceforge.net/phpBB2/ ... ht=audiere
http://irrlicht.sourceforge.net/phpBB2/ ... e&start=15
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
sys: 2500+Barton 512MB 6600GT WinXP