This repository contains MATLAB functions to obtain binaural rendering filters for the least squares (LS) method, the magnitude least squares (MagLS) method, and the newly proposed End-to-End MagLS methods using SH-domain processing (eMagLS) and using (raw) microphone signals (eMagLS2).
The repository has been extended to provide rendering filters for the signals from spherical microphone arrays (SMAs) and equatorial microphone arrays (EMAs).
For more information and if you want to reference the code please refer to the publication for SMAs or the publication for EMAs respectively.
T. Deppisch, H. Helmholz, and J. Ahrens,
“End-to-End Magnitude Least Squares Binaural Rendering of Spherical Microphone Array Signals,”
in 2021 Immersive and 3D Audio: from Architecture to Automotive (I3DA), 2021, pp. 1–7. doi: 10.1109/I3DA48870.2021.9610864.
H. Helmholz, T. Deppisch, and J. Ahrens,
“End-to-End Magnitude Least Squares Binaural Rendering for Equatorial Microphone Arrays,”
in Fortschritte der Akustik -- DAGA 2023, 2023, pp. 1679–1682.
The file testEMagLs.m contains an example on how to obtain the filters and apply them to an SMA recording. It also provides the opportunity to listen and compare the different renderers.
Make sure to clone the repository including submodules git clone --recurse-submodules
or add the Spherical Harmonic Transform Library and the Ambisonic Encoding Toolbox manually to the dependencies/
folder.
This repository depends on the Spherical Harmonic Transform Library, the Array Response Simulator, the Ambisonic Encoding Toolbox and uses a publicly accessible HRIR set for demonstration purposes. It further uses an excerpt of an em32 recording from the 3D-MARCo library. Files from external sources are subject to their corresponding licenses.
We thank Facebook Reality Labs Research for funding this project.
See CHANGELOG for full details.
This software is licensed under a Non-Commercial Software License (see LICENSE for full details).