0
0

Hi,

Probably a stupid question but I don’t see how to do what I want.. I’m using fmodEx on windows. I’m using software reverb, like this:

FMOD_System_SetReverbProperties(blah blahb alh);

In the docs, it says "With FMOD_HARDWARE on Windows using EAX, the reverb will only work on FMOD_3D based sounds. FMOD_SOFTWARE does not have this problem and works on FMOD_2D and FMOD_3D based sounds."

Is it possible to disable reverb on 2d sounds? Or on a specific channel?

In my game, I only want the 3d sounds in the world to have reverb. I don’t want stuff like user-interface "click" sounds, music tracks, or ambient environment tracks to have reverb applied to them.

So is there a way to disable reverb on a channel or sound? I’ve tried to search through the docs and I just can’t see how to do this.. I’ve browsed a few examples but I nothing is jumping out at me..

thanks,
sam

  • You must to post comments
0
0

Yes, if you set the FMOD_REVERB_CHANNELPROPERTIES with Channel::setReverbProperties().

To turn off reverb on a sound, set the Room value to -10000.

  • Guy
  • You must to post comments
0
0

[quote="Adiss":1amngiz7]Yes, if you set the FMOD_REVERB_CHANNELPROPERTIES with Channel::setReverbProperties().

To turn off reverb on a sound, set the Room value to -10000.

  • Guy[/quote:1amngiz7]

Thanks!

Just to make sure I’m understanding you 100%, if I do this:

[code:1amngiz7]
FMOD_REVERB_CHANNELPROPERTIES tfmodReverbChannelProps;
tfmodReverbChannelProps.Room = -10000;
FMOD_Channel_SetReverbProperties( ptFModChannel, &tfmodReverbChannelProps);
[/code:1amngiz7]

It will disable reverb on the channel? I don’t have to set any other properties, just the "Room" to -10000?

-sam

  • You must to post comments
0
0

That’ll probably work, but the more "proper" way of doing it would be:
[code:3j9uwr7x]
FMOD_REVERB_CHANNELPROPERTIES tfmodReverbChannelProps;
FMOD_Channel_GetReverbProperties( ptFModChannel, &tfmodReverbChannelProps);
tfmodReverbChannelProps.Room = -10000;
FMOD_Channel_SetReverbProperties( ptFModChannel, &tfmodReverbChannelProps);
[/code:3j9uwr7x]

That way you don’t accidentally stomp on any other settings.

  • G
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.