carlthome / python-audio-effects

Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.
MIT License
386 stars 53 forks source link

Quantify the amount of reverb added #24

Closed pranaymanocha closed 4 years ago

pranaymanocha commented 5 years ago

Hi! I am working on adding reverb to audio clips and am looking for a way to quantify the reverb I add (in T60, DRR or any other measure?). In reverb, I there are 7 parameters - hf_damping=0, wet_gain=0, reverberance=0, room_scale=50, stereo_depth=0, pre_delay=100,
wet_only=False, As given, I am setting these values to 0 except the room scale and pre-delay(which I vary). These values of room scale are in % so how can I roughly convert this room scale % value to the length of the room (say in meters or feet.) to see how reverb varies as I increase the size of the room. Also, is there a way to quantify the delay in terms of RT60 time?

Thanks!

jkzhang7 commented 4 years ago

@pranaymanocha Same questions here... I wonder how did you quantify the delay in terms of RT60 time here Thanks a lot!

pranaymanocha commented 4 years ago

The easiest way I found was to use some sort of an RT60 and DRR estimator given the revered clips. You can find a few examples online like the matlab one I found here [https://www.mathworks.com/matlabcentral/fileexchange/42566-impulse-response-acoustic-information-calculator]. Hope this helps!