A real-time HRTF-based binaural audio simulator. This project was made for the ECS7012P course at Queen Mary University of London.
demo.mp4
- Grab a Bela board.
- Run the preprocessing notebook. In the notebook, you can specify the HRTF
*.sofa
you want to download from sofaconvention and the directory name for putting the processed files. - Specify the directory name at L27 in
render.cpp
to the directory you just created. - Upload the whole repository to your Bela board then you're done!
For details on the application design and ablation studies, please refer to this report.
To use the minimum-phase and ITDs representation stated in the report, please replace render.cpp
with the one at the branch minimum-phase-itd
.
The KD Tree is adapted from crvs's implementation.