VBAP doesn't work for a specific direction ("azimuth = -90°, elevation = 0°")
Summary
VBAP doesn't work for a specific direction ("azimuth = -90, elevation = 0")
Steps to reproduce
// Booting
(
~satieConfiguration=SatieConfiguration.new(s,[\dodecahedronVBAP]);
~satieConfiguration.hoaEncoderType = \harmonic;
~satie=Satie.new(~satieConfiguration);
~satie.waitForBoot(
s.meter;
s.plotTree;
s.scope;
s.makeGui;
)
)
// Routine
(~azimuthtest = [-120, -90];
~elevationtest = [0, 0];
~r = Routine({
2.do({|i2|
("Azimuth :"+~azimuthtest[i2]).postln;
("Elevation :"+~elevationtest[i2]).postln;
~satie.makeSourceInstance(\test, \default, \default);
~satie.groupInstances[\default][\test].set(\gainDB,0, \aziDeg, ~azimuthtest[i2],\eleDeg, ~elevationtest[i2]);
7.wait;
});
})
)
~r.play;
What is the current bug behavior?
I am testing the sound directivity of an AudioDice by generating a sinesweep for all directions with a 30° increment (the source doesn't matter, I have the same issue with a white noise). It is working as expected except for the direction "azimuth = -90, elevation = 0". For this direction, a loud impulse sound is generated in all channels.
What is the expected correct behavior?
The problem disappears when I shift the azimuth and/or the elevation by 0.1°.
In addition, the problem is not due to the incrementation because the problem disappears when I keep the same step but change the direction (e.g. from "azimuth = -121, elevation = 0" to "azimuth = -91, elevation = 0").