gpuRIR: A Python Library for Room Impulse Response Simulation with GPU Acceleration
Preprint
Abstract
The Image Source Method (ISM) is one of the most employed techniques to calculate acoustic Room Impulse Responses (RIRs), however, its computational complexity grows fast with the reverberation time of the room and its computation time can be prohibitive for some applications where a huge number of RIRs are needed. In this paper, we present a new implementation that dramatically improves the computation speed of the ISM by using Graphic Processing Units (GPUs) to parallelize both the simulation of multiple RIRs and the computation of the images inside each RIR. Additional speedups were achieved by exploiting the mixed precision capabilities of the newer GPUs and by using lookup tables. We provide a Python library under GNU license that can be easily used without any knowledge about GPU programming and we show that it is about 100 times faster than other state of the art CPU libraries. It may become a powerful tool for many applications that need to perform a large number of acoustic simulations, such as training machine learning systems for audio signal processing, or for real-time room acoustics simulations for immersive multimedia systems, such as augmented or virtual reality.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Automatic Detection of Cry Sounds in Neonatal Intensive Care Units by Using Deep Learning and Acoustic Scene SimulationIEEE Access, 2019
- Time-Frequency Masking in the Complex Domain for Speech Dereverberation and DenoisingIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2017
- Multi-Task Wireless Sensor Network for Joint Distributed Node-Specific Signal Enhancement, LCMV Beamforming and DOA EstimationIEEE Journal of Selected Topics in Signal Processing, 2017
- GPU-based image method for room impulse response calculationMultimedia Tools and Applications, 2015
- Localizing multiple audio sources in a wireless acoustic sensor networkSignal Processing, 2015
- Diffuse Reverberation Model for Efficient Image-Source Simulation of Room Impulse ResponsesIEEE Transactions on Audio, Speech, and Language Processing, 2009
- Multichannel Eigenspace Beamforming in a Reverberant Noisy Environment With Multiple Interfering Speech SignalsIEEE Transactions on Audio, Speech, and Language Processing, 2009
- Prediction of energy decay in room impulse responses simulated with an image-source modelThe Journal of the Acoustical Society of America, 2008
- Equalization in an acoustic reverberant environment: robustness resultsIEEE Transactions on Speech and Audio Processing, 2000
- Simulating the response of multiple microphones to a single acoustic source in a reverberant roomThe Journal of the Acoustical Society of America, 1986