0
0

I’m currently investigating using FMod for our next game but i’m having some problems. I’m trying to combine the lovely 3d positional audio stuff in FMOD with the FX stuff like distortion, echo etc.

I’ve successfully played a sample using FSOUND_HW3D. I’m updating the position of the sample and the camera fine, and 3d audio works fine on my laptop (no 3d sound card support) and my desktop (nice Audigy 3d sound card). My desktop definately sounds better, muting the sound when its behind the camera. My laptop just seems to do left/right/volume panning.

My problem comes if I try to load the sample using FSOUND_ENABLEFX as well. I can get FX working fine on their own, but if I try to run FX on a channel that’s already positioning itself in 3d then the FX still works, but setting the sound position makes no difference.

I’ve only been able to try this on my laptop, which has no hardware support. Will this work on sound cards with proper 3d sound support? Or is it just not possible to mix fmod 3d positional audio with the FX stuff?

Ultimately I need to be able to run FX on individual channels, but I also need the results of that to sound correct in 3d space. I’ve noticed I can still set the pan and volume of a channel that’s using FX – so I could (in theory) write my own code to set the pan and volume of the channel, and thus fake the 3d effect. But FMod does this already, so it seems like a waste. I know my laptop has no hardware support, so the FX must be done in fmod software, so I don’t understand why the positional stuff can’t be done as well.

Thanks for any help you can give
Chris
Introversion Software

  • You must to post comments
0
0

So is it just a case of some incorrect flag setting inside fmod? Is there a quick solution that I can use to enable me to use fmod’s positional audio with the FX stuff in software mode?

  • You must to post comments
0
0

I still don’t fully understand. My laptop doesn’t have any hardware 3d channels – GetNumHardwareChannels returns 0 for me, and the CapBits function tells me my card doesn’t support 3d, eax2 or eax3. And yet I can still do all the effects – echo, garble, distortion etc.

Ultimately I need to be able to mix the FX with the 3d positioning, on cards with hardware AND cards without hardware. Am I going to have to write my own 3d positioning code for software mode? ie change the left/right pan and volume based on the 3d position of the object relative to the camera? I can certainly do this, but as I understand it Fmod’s software engine does this already. I just don’t understand why you can’t mix the two.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.