OpenCL vs: Accelerated Finite-Difference Digital Synthesis
Computer Science Research Centre, University of West of England, Bristol, UK
7th International Workshop on OpenCL (IWOCL), 2019
@article{renney2019opencl,
title={OpenCL vs: Accelerated finite-difference digital synthesis},
author={Renney, Harri and Gaster, Benedict R and Mitchell, Tom},
year={2019},
publisher={ACM}
}
Digital audio synthesis has become an important component of modern music production with techniques that can produce realistic simulations of real instruments. Physical modelling sound synthesis is a category of audio synthesis that uses mathematical models to emulate the physical phenomena of acoustic musical instruments including drum membranes, air columns and strings. The synthesis of physical phenomena can be expressed as discrete variants of Newton’s laws of motion, using, for example, the Finite-Difference Time-Domain method or FDTD. FDTD is notoriously computationally expensive and the real time demands of sound synthesis in a live setting has led implementers to consider offloading to GPUs. In this paper we present multiple OpenCL implementations of FDTD for real time simulation of a drum membrane. Additionally, we compare against an AVX optimized CPU implementation and an OpenGL version that utilizes a careful mapping to the GPU texture cache. We find using a discrete, laptop class, AMD GPU that for all but the smallest mesh sizes, the OpenCL implementation out performs the others. Although, to our surprise we found that optimizing for workgroup local memory provided only a small performance benefit.
April 14, 2019 by hgpu