Skip to content

Legacy_structure

Fabian Brinkmann edited this page Jul 16, 2022 · 2 revisions

Mesh2HRTF was developed at the Acoustics Research Institute. Mesh2HRTF is an open-source project aiming at providing an easy-to-use software package for the numerical calculation of HRTFs. It targets researchers in the field of binaural audio. In a nutshell, Mesh2HRTF simply reads geometrical data, calculates the corresponding sound field and outputs HRTFs. The package consists of the following sripts, which will be used in this particular order when calculating the HRTF of a given mesh:

0.) PreProcessing This folder contains an OpenFlipper Plugin for reducing the number of elements in the meshes, and holds tools for centering the meshes, assigning mesh properties, and to generate custom sampling grids for exporting HRTFs.

1.) Mesh2Input This part of the package includes the python scripts export_mesh2hrtf.py and export_evaluationgrid.py. These are both add-ons to the free, open source 3D computer graphics program Blender. export_mesh2hrtf.py takes the given mesh and exports the for the calculation necessary data. There are several export settings which will be described here. export_evaluationgrid.py exports the evalutation grid of the virtual speakers or microphones (depending on the type of calculation) if needed.

2.) NumCalc NumCalc takes the previously exported data and uses it to numerically calculate the HRTF. It the package it consists of the (INSERT LANGUAGE) script NumCalc and the shell script startNumCalc for the use at ARI. You'll find further information here.

3.) Output2HRTF With Outout2HRTF you can convert the output of NumCalc in a .mat and a .sofa file. After this procedure you have your HRTF in a suitable format. It includes three Matlab scripts that easly convert the previously calculated data. All you have to do is start the Output2HRTF.m file (which is generated by Mesh2Input) in your working directory. You'll again find further information here.

4.) EvalTools EvalTools is the final step in the working process. It helps you visualize your calculation by generating .vtk files which can be used to start an animation in Paraview.