Some Python scripts to download and organize RIRs from various online sources. This repository does not provide RIRs. If you use the scripts to obtain RIRs make sure to follow the licenses for the individual collection and be nice by citing there papers ;)
Currently RIRs are collected from:
- Acoustic Characterisation of Environments (ACE) Corpus
- Aachen Impulse Response (AIR) Databas
- Multichannel Acoustic Reverberation Database at York (MARDY) Database
- Database of Omnidirectional and B-Format Impulse Responses
- RWCP Sound Scene Database
Usage example:
# This will download all the collections above and copy RIRs to the `wav.imported` folder while putting some infos into `db.json`
python3 scripts/createDb.py --sources=all
# Resample RIRs to 16 kHz, normalize the amplitude and cut silence at the beginning. Results are saved to `wav.normalized`
python3 scripts/normalize.py -fs 16000
# to save some disk space you can delete the downloaded archives
rm -rf download