Abstract
This short paper presents an efficient, flexible implementation of the SRP-PHAT multichannel sound source localization method. The method is evaluated on the single-source tasks of the LOCATA 2018 development dataset, and an associated Matlab toolbox is made available online.
Introduction
Sound source localization in reverberant environments is a fundamental challenge in audio signal processing, typically relying on estimating the time-difference-of-arrival (TDOA) between microphones. While the Generalized Cross-Correlation with Phase Transform (GCC-PHAT) algorithm is a well-established standard for two-microphone configurations, its multichannel extension—Steered Response Power with Phase Transform (SRP-PHAT)—has historically lacked a standardized, open-source reference implementation.
This gap has often forced researchers to develop ad-hoc versions, leading to inconsistencies in parameter tuning, time-frequency pooling, and coordinate system management. This paper addresses these issues by introducing a robust, flexible open-source Matlab toolbox and benchmarking its performance against realistic, dynamic scenarios provided by the 2018 LOCATA challenge.
Methodology
The core of the proposed system is an SRP-PHAT implementation that estimates the direction of arrival (DOA) by computing an angular spectrum. The process involves several key stages:
- GCC-PHAT Computation: For every microphone pair, the algorithm computes the GCC-PHAT. By normalizing the cross-spectral density to unit amplitude, the method focuses on phase differences, enhancing robustness against room reverberation.
- Coordinate Mapping: A global search space is defined using a grid of azimuth and elevation angles. Local angular spectra for each microphone pair are interpolated into this global coordinate system.
- Pooling and Peak Picking: Local spectra are aggregated across all microphone pairs and frequencies. The global angular spectrum is formed by taking the maximum over time frames, and the highest peak is identified as the estimated source location.
To maintain computational efficiency, the implementation employs smart pruning. For dense arrays like the 32-channel Eigenmike, the number of microphone pairs is reduced by discarding those with a curvilinear distance of less than 90°. This reduces the pair count from 496 to 240 without sacrificing localization accuracy.
Experimental Setup
The implementation was evaluated using the 2018 LOCATA challenge development dataset, focusing on three single-source tasks:
- Task 1: Single static source with a static array.
- Task 3: Single moving source with a static array.
- Task 5: Single moving source with a moving array.
Two specific microphone arrays were utilized: a Robot head (12 microphones) and an Eigenmike (32 microphones). Other arrays from the challenge were excluded due to geometric constraints that prevented full elevation estimation or mismatched far-field assumptions.
Results
The SRP-PHAT implementation demonstrated significant performance gains over standard baselines. Mean azimuth errors were found to be 2 to 6 times smaller than the baseline Multiple Signal Classification (MUSIC) method provided by the LOCATA challenge.
As shown in the table above, the method achieved a high success rate (defined as an error < 20° in both azimuth and elevation) of at least 92% across all tasks. In Task 1, the success rate reached near-perfection at 99.9%. The Robot head array generally outperformed the Eigenmike, maintaining average localization errors below 10° even in dynamic scenarios involving moving sources or arrays.
Conclusion
The results confirm that relying strictly on phase differences via PHAT weighting provides high robustness in reverberant environments. The provided Matlab toolbox, "Multichannel BSS Locate," offers a standardized tool for researchers to apply SRP-PHAT to diverse array geometries.
Current limitations include a restriction to single-source localization, as the algorithm currently selects only the dominant peak in the angular spectrum. Future work will focus on extending the toolbox to support multiple simultaneous sources through the integration of source counting and tracking algorithms.
Summary updated