Spatial Scaper: A Library to Simulate and Augment Soundscapes for Sound Event Localization and Detection in Realistic Rooms

Iran R. Roman, Christopher Ick, Sivan Ding, Adrian S. Roman, Brian McFee +1 more
1/19/2024
eess.AScs.LGcs.SD

No official code found. Best implementation: marl/SpatialScaper (75 stars, CC-BY-4.0, last commit 2025-08-07).

Abstract

Sound event localization and detection (SELD) is an important task in machine listening. Major advancements rely on simulated data with sound events in specific rooms and strong spatio-temporal labels. SELD data is simulated by convolving spatialy-localized room impulse responses (RIRs) with sound waveforms to place sound events in a soundscape. However, RIRs require manual collection in specific rooms. We present SpatialScaper, a library for SELD data simulation and augmentation. Compared to existing tools, SpatialScaper emulates virtual rooms via parameters such as size and wall absorption. This allows for parameterized placement (including movement) of foreground and background sound sources. SpatialScaper also includes data augmentation pipelines that can be applied to existing SELD data. As a case study, we use SpatialScaper to add rooms to the DCASE SELD data. Training a model with our data led to progressive performance improves as a direct function of acoustic diversity. These results show that SpatialScaper is valuable to train robust SELD models.

View on arXivView PDF

Code Implementations(1)

marl/SpatialScaperCommunity100%
CC-BY-4.0
758Python, Jupyter NotebookMay 10, 20231 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{roman2024spatial,
  title  = {Spatial Scaper: A Library to Simulate and Augment Soundscapes for Sound Event Localization and Detection in Realistic Rooms},
  author = {Iran R. Roman and Christopher Ick and Sivan Ding and Adrian S. Roman and Brian McFee and Juan P. Bello},
  year   = {2024},
  eprint = {2401.12238},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12238v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.12238.svg)](https://codeofpaper.com/paper/2401.12238)

Discussion