resonance-audio / resonance-audio-unity-sdk

Resonance Audio SDK for Unity
https://resonance-audio.github.io/resonance-audio/develop/unity/getting-started
Other
297 stars 38 forks source link

Early reflection measurement on Unity #78

Open Cristiano-g-nunes opened 3 years ago

Cristiano-g-nunes commented 3 years ago

I've been doing some tests regarding early reflection measurements on the ReverbBakingDemo on Unity, namely where the bathroom center reverb probe is located. To carry out this test, I created a .wav file with a pulse of amplitude 1 and a sampling rate of 44.1kHz. For this test i also set the project sampling for 44.1kHz, disabled the HRTF features and set the reverb time parameter to 0. I was expecting a single pulse for each reflection, however when observing the results on Matlab it's observed a peak value with a decay afterwards as observed on the figure below(blue is left channel and red is right channel). Is this how it is supposed to happen or is this not the correct way of measurement? And if so, what is the way to obtain the early reflection measurements?

Issue to github
constantinpopp commented 1 year ago

Hi, I am not sure that you can just disable the reverb with setting the reverb time to 0. There may be a minimum reverb time set internally. You can find details of their implementation here: https://www.tdcommons.org/dpubs_series/421/ and here: https://www.aes.org/e-lib/browse.cfm?elib=20446.