ehabets / SMIR-Generator

Spherical Microphone array Impulse Response generator (SMIRgen)
GNU General Public License v3.0
44 stars 24 forks source link

What if I want to get an anechoic RIR? #1

Open cjf1699 opened 4 years ago

cjf1699 commented 4 years ago

Hi, I need to get anechoic impulse response from sound source to microphones, but when I try to set beta(T60) = 0, the code raises an error:

Error: The reflection coefficients cannot be calculated using the room parameters(room dimensions ans reverberation time) supplied. Please supply the reflection coeffcients or change the reverberation time/room dimension.

I went into the debug process, finding that the cause of the error is "alpha > 1" which is not allowed. But how should I fix that to get an anechoic RIR? Thank you very much!

ngoessling commented 4 years ago

Hi, as a workaround you can just set the reflection order to zero, i.e., "order = 0", and keep beta > 0.

Hope this already does the trick for you :)

cjf1699 commented 4 years ago

Hi, as a workaround you can just set the reflection order to zero, i.e., "order = 0", and keep beta > 0.

Hope this already does the trick for you :)

OK I'll try that later on and let you know how it goes, thank you very much!