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.
翻译:图像源法(ISM)是计算声室免疫响应(RIR)的最常用技术之一,然而,其计算复杂性随着房间的反动时间而迅速增长,其计算时间对于一些需要大量RIR的应用程序来说可能令人望而却步。在本文中,我们提出了一个新的实施方法,通过使用图形处理器(GPUs)来显著提高ISM的计算速度,将多个RIR的模拟和每个RIR内图像的计算同时进行。通过利用新GPU的混合精密能力,并通过使用外观表,实现了更多的加速。我们根据GNU的许可证,我们提供了一个Python图书馆,这个图书馆可以在对GPUPL程序没有任何了解的情况下很容易地使用。我们表明,它比艺术CPU图书馆的其他状态要快100倍左右。对于许多需要进行大量声学模拟的应用程序,例如用于音频信号处理的培训机器学习系统,或者用于用于对隐性多媒体系统进行实时声学模拟,例如增强或虚拟现实等。