simplfy using Fmod.dll library

A forum to store posts deemed exceptionally wise and useful
Post Reply
Emil_halim
Posts: 518
Joined: Tue Mar 29, 2005 9:02 pm
Location: Alex,Egypt
Contact:

simplfy using Fmod.dll library

Post by Emil_halim »

Hi ALL

this time i have made a IFmod,TSample,TSong,TMusic classes to simplfy using Fmod.dll library.
Fmod.dll is really powefull library that allow you to play many sound files format like wav,mod,IT,S3M,Xm,Mp3 files.

so you must initialize the fomd by calling FmodInit() then you could use Fomd classes esaly.

here it is
http://www.irrforge.org/index.php/Simpl ... h_Irrlicht
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

wow, more interesting stuff from you, Emil!

Can I make a node a parent of your class, for positional 3d audio? i.e. can I attach your sound node to a moving particle system?
Emil_halim
Posts: 518
Joined: Tue Mar 29, 2005 9:02 pm
Location: Alex,Egypt
Contact:

Post by Emil_halim »

did you mean that, you want to play the sound when particle system moving.

yes you could.

look you could load the sound , play it ,and set the sound volume to zero,
and when your camera seeing the particle system you could now
reset the sound volume to 255 [max sound volume],and when the
camera did not see the particle system then set the volume again
to zero [no sound].

actually there are many effects that could apply with these classes,
i am working in FadeIn , FadeOut the sound ,and fading from sound
to another.
Post Reply