Any2HRTF / Mesh2HRTF

Open software for the numerical calculation of head-related transfer functions
European Union Public License 1.2
103 stars 11 forks source link

Spectral output of radiation from a vibrating element on a rigid sphere #131

Open mayuravaani opened 3 months ago

mayuravaani commented 3 months ago

I'm working on tutorial, and I've noticed a difference in the spectral output between the results obtained from mesh2hrtf.output2hrtf() and those derived from an analytical solution. The magnitude of high-frequency components appears to be higher than that of low frequencies, which contradicts the expectations based on the analytical solution. Please provide an explanation for this disparity and suggest possible ways to address it. I've attached the output from Mesh2HRTF. Screenshot_20240527_143222

f-brinkmann commented 3 months ago

My guess is that you are using a volume velocity source ('Left ear', 'Right ear', or 'Both ears' in the Blender export plug-in) without referencing, hence the rise of the magnitude with frequency. If this is the case, this shows what needs to be done.

mayuravaani commented 3 months ago

Thank you for your prompt response. Here, we get HRTF_Default.sofa and HRIR_Default_2D.sofa files as output from output2hrtf. Do they represent the pressure at the evaluation grids? And when we use inspect_sofa_files we get spectrum results as (front, back, left and right). Do they represent the pressure at the evaluation grid or on the mesh of the object? Can you please clarify this? Thank you.

f-brinkmann commented 3 months ago

I checked the documentation and see that it's might do a better job to explain whats going on - so I gave it a little do-over. Does this clarify things:

Screenshot 2024-06-03 at 08 50 39

If you find more places that good give more information, feel free to comment here: https://github.com/Any2HRTF/Mesh2HRTF/pull/133

Apart from that, it might also help to go over our free paper: