Visual-based spatial audio generation system for multi-speaker environments

Xiaojing Liu, Ogulcan Gurelli, Yan Wang, Joshua ReissarXiv 2025 · DOI

Abstract

Traditional spatial audio production is a labor-intensive manual process requiring expert sound engineering. This research introduces an automated pipeline that generates immersive 3D audio from monaural sound and standard video. By integrating real-time face detection and monocular depth estimation, the system maps audio sources to precise 3D coordinates. This geometric approach eliminates the need for specialized binaural training data and demonstrates superior scalability in complex, multi-speaker environments compared to existing end-to-end deep learning models.

Introduction

In professional media production, "spatializing" audio—aligning a character's voice with their visual position—is a meticulous task. While automated "Mono2Binaural" AI models exist, they often suffer from data scarcity, poor generalization, and an inability to scale beyond two speakers. These models typically rely on "black-box" deep learning to guess spatial properties from pixels. This paper proposes a "pseudo-binaural" alternative that uses geometric computer vision to guide traditional digital signal processing (DSP), making the process both automatic and scalable.

Modular Pipeline Architecture

The proposed system treats spatialization as a geometric mapping problem. The architecture is modular, allowing for independent optimization of visual and audio components.

Overview of the modular spatial audio generation pipeline.

1. Visual Processing

The system first identifies speakers using YOLOv8-n, extracting horizontal ($X$) and vertical ($Y$) coordinates. To achieve the third dimension, it employs Depth Anything (ViT-S), a monocular depth estimation model that calculates the distance ($Z$) of each speaker from the camera.

2. Audio Processing and Spatialization

Mixed audio is separated into individual tracks using Conv-TasNet (for speech) or Demucs (for music). These tracks are then mapped to the $(X, Y, Z)$ coordinates using two primary methods:

  • HRTF Convolution: Utilizing the SADIE II database to simulate human auditory perception from specific angles.
  • 3D Algorithmic Approach: A custom DSP algorithm that adjusts gain for panning, frequency filtering for elevation, and delay/reverberation for distance.

Key Insights: Geometry over Black Boxes

A core finding of this research is that explicit geometric mapping is significantly more robust than end-to-end learning. By anchoring audio sources to detected faces, the system maintains stability even as the number of speakers increases.

Geometric mapping of speakers to a 3D coordinate system.

The researchers identified YOLOv8-n as the optimal model for this task, providing near-instant inference (0.6ms) without sacrificing the precision required for accurate audio anchoring.

Evaluation and Results

The system was benchmarked against state-of-the-art models like Mono2Binaural using datasets such as WIDER FACE and FAIR-Play.

  • Audio Quality: In a challenging 5-speaker scenario, the HRTF-based system achieved a PESQ score of 2.558, outperforming Mono2Binaural’s 2.089.
  • Spatial Accuracy: The algorithmic approach showed the tightest synchronization between visual movement and perceived sound, achieving the lowest STFT Distance (0.220) and Envelope Distance (0.094) on speech datasets.
  • Scalability: Unlike previous models that degrade with complexity, this system's performance remains consistent across 2, 3, and 5-speaker setups.

Limitations and Future Directions

Currently, the system's reliance on face detection limits its application in scenarios where the sound source is an object, such as a musical instrument. Future work will focus on expanding object detection to include instruments and environmental elements, enabling the spatialization of full cinematic soundscapes.

Summary updated

BibTeX
@misc{liu2025visual,
  author = {Xiaojing Liu and Ogulcan Gurelli and Yan Wang and Joshua Reiss},
  title = {{Visual-based spatial audio generation system for multi-speaker environments}},
  year = {2025},
  eprint = {2502.07538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.07538},
}
Figure