SHroom: A Python Framework for Ambisonics Room Acoustics Simulation and Binaural Rendering

Abstract

Spherical Harmonics ROOM), an open-source Python library for room acoustics simulation using Ambisonics, available at https://github.com/Yhonatangayer/shroom and installable via pip install pyshroom. shroom projects image-source contributions onto a Spherical Harmonics (SH) basis, yielding a composable pipeline for binaural decoding, spherical array simulation, and real-time head rotation. Benchmarked against pyroomacoustics with an N=30 reference, shroom with Magnitude Least Squares (MagLS) achieves perceptual transparency (2.02~dB Log Spectral Distance (LSD) at N=5, within the 1--2~dB Just Noticeable Difference (JND)) while its fixed-once decode amortises over multiple sources (K=1-to-8: slowdown narrows from 7× to 3.1×). For dynamic head rotation, shroom applies a Wigner-D multiply at <1~ms/frame, making it the only architecturally viable real-time choice.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…