You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the CAmbisonicBinauralizer, it works fine with 1st order. However, when I come to configure 2nd order, it fails because in AmbisonicLib.cpp, the speakers are initialised like this - note the Elevation of Loudspeaker 1 as -69.1º.
casekAmblib_Dodecahedron:
// This arrangement is used for second and third orders
m_nSpeakers = 20;
m_pAmbSpeakers = new CAmbisonicSpeaker[m_nSpeakers];
// Loudspeaker 1
polPosition.fElevation = DegreesToRadians(-69.1f);
polPosition.fAzimuth = DegreesToRadians(90.f);
m_pAmbSpeakers[0].Configure(m_nOrder, m_b3D, 0);
m_pAmbSpeakers[0].SetPosition(polPosition);
// Loudspeaker 2
polPosition.fAzimuth = DegreesToRadians(-90.f);
m_pAmbSpeakers[1].Configure(m_nOrder, m_b3D, 0);
m_pAmbSpeakers[1].SetPosition(polPosition);
…
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.
The text was updated successfully, but these errors were encountered: