How to specify the reverb object dimensions?

Hi,

I’m using FMOD to create a reverb environment.
This how I create a reverb environment using FMOD:

FMOD::Reverb3D *lReverb;
m_pSystem->createReverb3D(&lReverb);
FMOD_REVERB_PROPERTIES lProperties = FMOD_PRESET_CAVE;
lReverb->setProperties(&lProperties);

FMOD_VECTOR lPosition = {0.0f,0.0f,0.0f };
lReverb->set3DAttributes(&lPosition, 30.0f, 50.0f);
lReverb->setActive(true);

m_pSystem->set3DListenerAttributes(0, &m_listenerPos, &m_listenerVel, &m_listenerUp, &m_listenerForward);

I works as when I play the sound I can hear the effect of reverberation. What I figured out that it’s only possible to specify the position of the reverb object, but my question is, is there any way that I can specify the dimensions of it (how big or small it is)?
Any help would be appreciated.

Goli

This size of the reverb zone is set using to the second two arguments to Reverb3D::set3DAttributes(). Your example sets a sphere that extends 30m and then fades out until it stops at 50m.

1 Like

Thank you Nicholas,
Juts one more question. Is there any way to simulate the absorption of different materials using FMOD? And also does FMOD differentiate between the effects of reflection and diffraction?