Mesh2HRTF is an open-source software package for the numerical calculation of the head-related transfer functions (HRTFs). It targets researchers in the field of binaural audio. In a nutshell, Mesh2HRTF consists of three parts:
- Mesh2Input: preparation of the 3D head mesh and the acoustic parameters (source position, acoustic materials).
- NumCalc: wave-based numerical solver to calculate the sound pressure on the mesh and to project to the specified positions in the free field.
- Output2HRTFs: processing of the output from NumCalc to obtain HRTFs saved as SOFA files.
Mesh2HRTF is not an application - it is a toolbox aiming at researchers in the field of acoustics. Thus, before starting to use Mesh2HRTF, we assume the knowledge of the following background information:
- [1] and [2]: General introductions to Mesh2HRTF as a whole.
- [3] and [4]: Requirements on the mesh quality.
- [3]: Information about the potential source and microphone models.
- [5] and [6]: Introduction to mesh-grading strategies to reduce the RAM consumption and computation time.
- [7]: Further background information on the wave-based numerical solver NumCalc used to calculate the HRTFs.
We recommend to go through the installation steps and the tutorials to get familiar with Mesh2HRTF before using it for your own projects. This will help you to understand the workflow and verify your first results.
- Installation
- https://github.com/Any2HRTF/Mesh2HRTF/wiki/Installation
- General Tutorials
- https://github.com/Any2HRTF/Mesh2HRTF/wiki/Tutorials
- Complete Documentation
- https://github.com/Any2HRTF/Mesh2HRTF/wiki
Releases are available at https://github.com/Any2HRTF/Mesh2HRTF/releases.
The master
branch contains the latest stable code basis and is available for cloning, forking, or downloads.
The develop
branch contains the latest stable developer version. Other branches track the more recent development, which might be unstable. If you would like to contribute to Mesh2HRTF please check here.
[1] | F.Brinkmann, W. Kreuzer, J. Thomsen, S. Dombrovskis, K. PollackS. Weinzier, and P. Majdak, ''Recent Advances in an Open Software for Numerical HRTF Calculation,'' (In print), J. Audio Eng. Soc., 2023. |
[2] | H. Ziegelwanger, W. Kreuzer, and P. Majdak, ''Mesh2HRTF: An open-source software package for the numerical calculation of head-related transfer functions,'' Florence, Italy, Jul. 2015. |
[3] | (1, 2) H. Ziegelwanger, P. Majdak, and W. Kreuzer, ''Numerical calculation of listener-specific head-related transfer functions and sound localization: Microphone model and mesh discretization,'' J. Acoust. Soc. Am., vol. 138, no. 1, pp. 208–222, Jul. 2015, doi: 10.1121/1.4922518. |
[4] | M. Dinakaran, F. Brinkmann, S. Harder, R. Pelzer, P. Grosche, R. R. Paulsen, and S. Weinzierl, ''Perceptually motivated analysis of numerically simulated head-related transfer functions generated by various 3D surface scanning systems,'' in IEEE Int. Conf. Acoustics, Speech and Signal Processing (ICASSP), Calgary, Canada, Apr. 2018, pp. 551–555. doi: 10.1109/ICASSP.2018.8461789. |
[5] | T. Palm, S. Koch, F. Brinkmann, and M. Alexa, ''Curvature-adaptive mesh grading for numerical approximation of head-related transfer functions,'' in Fortschritte der Akustik – DAGA 2021, Vienna, Austria, Aug. 2021, pp. 1111–1114. |
[6] | H. Ziegelwanger, W. Kreuzer, and P. Majdak, ''A-priori mesh grading for the numerical calculation of the head-related transfer functions,'' Appl. Acoust., vol. 114, pp. 99–110, Dec. 2016, doi: 10.1016/j.apacoust.2016.07.005. |
[7] | W. Kreuzer, K. Pollack, P. Majdak, and F. Brinkmann, ''Mesh2HRTF / NumCalc: An Open-Source Project to Calculate HRTFs and wave scattering in 3D,'' in Euroregio BNAM 2022, Aalborg, Denmark, May 2022. |