Home

Awesome

RIR-Generator

The image method, proposed by Allen and Berkley in 1979 [1], is probably one of the most frequently used methods in the acoustic signal processing community to create synthetic room impulse responses. A mex-function, which can be used in MATLAB, was developed to generate multi-channel room impulse responses using the image method. This function enables the user to control the reflection order, room dimension, and microphone directivity.

This repository includes a tutorial, MATLAB examples, and the source code of the mex-function. A similar interface is available as a Python module and a C++ shared library.

More information can be found here.

Credits

Install

You can use pip to install it from github

pip install git+https://github.com/boeddeker/rirgen

or clone it and use pip to install from a local folder

git clone https://github.com/boeddeker/rirgen
cd rirgen
pip install .

References

  1. J.B. Allen and D.A. Berkley, "Image method for efficiently simulating small-room acoustics," Journal Acoustic Society of America, 65(4), April 1979, p 943.