Open joshkopecek opened 3 years ago
FYI, I'm going to try using SOFA instead with some data from York Uni's SADIE database
Just to let you know I've had success with SOFA.
It might be good to put some info into the readme detailing that:
libmysofa
is required to use the SOFA files (along with a .sofa file, although libmysofa
includes one).Happy to PR the readme, if needed.
@joshkopecek yes, more documentation and information would be nice.
Using the
CAmbisonicBinauralizer
, it works fine with 1st order. However, when I come to configure 2nd order, it fails because inAmbisonicLib.cpp
, the speakers are initialised like this - note the Elevation of Loudspeaker 1 as -69.1º.then when loading the MIT HRTF in
mit_hrtf_lib.c
:It fails because the Elevation of the speaker is below -40º, which seems like it is intended for MIT HRTF.
If I disable this check, it fails further down because the filters/taps are not available for below -40º.
The speaker arrangement is automatically configured as a
kAmblib_Dodecahedron
because of 2nd order in CAmbisonicBinauralizer.Any help here or pointers as to how to set up 2nd (or 3rd?) order would be greatly appreciated.