This project uses geometry mapping and image recognition techniques to create artificial reverberation. The implementation leverages the MATLAB fdnToolbox and Python.
- MATLAB: Ensure MATLAB is installed on your system.
- fdnToolbox: GitHub.
- No need to download as the code is included in this repo.
- MATLAB vs-code extension: Use the VS Code extension to add the required files to the MATLAB folder. To do this, right-click on the folder and select
MATLAB: Add Folder To Path
.
Install the following Python packages using pip3
:
pip3 install numpy scipy pyroomacoustics matlabengine matplotlib librosa sympy openai
- Add open API key to utils/api_key.py file.
- Configure config.py with paths for surface images and .obj format 3D model.
- Test geometry recognition via:
python3 model.py
- Test material extraction via:
python3 absorption.py
- Create RIRs with all models via:
python3 rirs.py
- Create processed samples with all models via:
python3 stimuli.py
- Run Parallel ISMFDN via:
python3 parallel_ism_fdn.py
- Run Serial ISMFDN via:
python3 serial_ism_fdn.py