# How to specify the reverb object dimensions?

**URL:** <https://qa.fmod.com/t/how-to-specify-the-reverb-object-dimensions/12697>\
**Category:** FMOD Studio\
**Created:** [September 15, 2016, 4:55pm UTC](https://qa.fmod.com/t/how-to-specify-the-reverb-object-dimensions/12697 "2016-09-15T16:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![golghp](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@golghp](https://qa.fmod.com/u/golghp)\
**Post date:** [September 15, 2016, 4:55pm UTC](https://qa.fmod.com/t/how-to-specify-the-reverb-object-dimensions/12697/1 "2016-09-15T16:55:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://qa.fmod.com/u/nick1)\
**Post date:** [September 16, 2016, 12:25am UTC](https://qa.fmod.com/t/how-to-specify-the-reverb-object-dimensions/12697/2 "2016-09-16T00:25:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![golghp](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@golghp](https://qa.fmod.com/u/golghp)\
**Post date:** [September 16, 2016, 7:10pm UTC](https://qa.fmod.com/t/how-to-specify-the-reverb-object-dimensions/12697/3 "2016-09-16T19:10:40Z")

</div>

> [@](#):
>
> 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.

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?
