Opens in a new tab

AES E-Library

← Back to search

Express Paper Open Access

Binamix - A Python Library for Generating Binaural Audio Datasets

Authors: Barry, Dan; Panah, Davoud Shariat; Ragano, Alessandro; Skoglund, Jan; Hines, Andrew

Express Paper · Paper 319 · May 2025

Abstract

The increasing demand for spatial audio in applications such as virtual reality, immersive media, and spatial audio research necessitates robust solutions for binaural audio dataset generation for testing and validation. Binamix is an open-source Python library designed to facilitate programmatic binaural mixing using the extensive SADIE II Database, which provides HRIR and BRIR data for 20 subjects. The Binamix library provides a flexible and repeatable framework for creating large-scale spatial audio datasets, making it an invaluable resource for codec evaluation, audio quality metric development, and machine learning model training. A range of pre-built example scripts, utility functions, and visualization plots further streamline the process of custom pipeline creation. This paper presents an overview of the library's capabilities, including binaural rendering, impulse response interpolation, and multi-track mixing for various speaker layouts. The tools utilize a modified Delaunay triangulation technique to achieve accurate HRIR/BRIR interpolation where desired angles are not present in the data. By supporting a wide range of parameters such as azimuth, elevation, subject IRs, speaker layouts, mixing controls, and more, the library enables researchers to create large binaural datasets for any downstream purpose. Binamix empowers researchers and developers to advance spatial audio applications with reproducible methodologies by offering an open-source solution for binaural rendering and dataset generation.

Details

AES Convention
158
Paper number
319
Publication date
May 12, 2025
Affiliation
University College Dublin; University College Dublin; University College Dublin; University College Dublin; Google LLC (See document for exact affiliation information.)
Type
Express Paper