# Is it possible to calculate DRR (Direct Reverberant Ratio) from an Room Impulse Response? If not, how is this parameter calculated?

DRR (Direct-to-Reverberant Ratio) and Reverberation time (T60) are said to be two of the most important characteristics of sound in Reverberation. DRR is said to be ratio of the energies of the direct signal and its reverberations.

The question that I'm trying to figure out is if it is possible to calculate DRR from either the Room Impulse Response or from a reverberated signal itself.

The direct to reverberant ratio is simply (as the name implies) the energy of the direct sound divided by the energy of the reverberation. Given a room impulse response $$h[n]$$ this can simply be calculated as
$$DRR = 10 \cdot \log_{10} \frac{\sum_{n=n_0}^{n_0+M-1} h^2[n]}{\sum_{n=n_0+M}^{N} h^2[n]}$$
where $$n_0$$ is the onset of the impulse response, $$N$$ is the usable length of the impulse response and $$M$$ a suitable time window that depends a bit on the specific application and the frequency range of interest but is typically in the low millisecond range.
• I would add, Hilmar, that $M$ is the time that is immediately following the delayed impulse received at the microphone directly from the loudspeaker source. It is the time that divides what is the direct path from everything else, that should be following. RIRs, don't need to come from an actual impulse driving the loudspeaker. It can come from driving the loudspeaker with a good wideband known input, simultaneously measuring the output, FFTing both, dividing, and inverse FFTing. Jul 21 at 15:21