This PR adds a call to .asAudioRateInput to the input array of HOABinaural.ar().
This helps avoid NaNs produced by Convolution2.ar() when it receives a number instead of an audio rate signal as input. This fix is particularly important when using HOASphericalHarmonics.coefN3D to multiply a multichannel signal and pass it to HOABinaural.
I've also fixed indentation issue in the code for HOABinaural.ar.
This PR adds a call to
.asAudioRateInput
to the input array ofHOABinaural.ar()
.This helps avoid NaNs produced by
Convolution2.ar()
when it receives a number instead of an audio rate signal as input. This fix is particularly important when usingHOASphericalHarmonics.coefN3D
to multiply a multichannel signal and pass it toHOABinaural
.I've also fixed indentation issue in the code for
HOABinaural.ar
.