Sound Synthesis Using Physical Modeling on Heterogeneous Computing Platforms
M. Plutaa, B. Borkowskia, I. Czajkab and K. Suder-DÄ™bskab
aAGH University of Science and Technology, Department of Mechanics and Vibroacoustics, Al. Mickiewicza 30, 30-059, Krakow, Poland
bAGH University of Science and Technology, Department of Power Systems and Environmental Protection Facilities, Al. Mickiewicza 30, 30-059, Krakow, Poland
Full Text PDF
The paper presents a comparison of central processing unit (CPU) and graphics processing unit (GPU) performance in sound synthesis based on physical modeling. The goal was to achieve real-time performance with two- and three-dimensional finite difference (FD) instrument models. Two abstract instruments, a membrane and a block, were modeled and tested using a CPU and a GPU in the OpenCL framework to find a threshold of real-time model size. Two different algorithms were compared. With a parallelized algorithm, a middle-class GPU outperformed a top-class CPU by factor of 2.5 in 2D and by factor of 7.5 in 3D model. Synchronization issues in parallel GPU calculations were discussed and addressed. The results show that GPUs can significantly speed up real-time musical instrument simulations, allowing for developing more complex and realistic models.

DOI: 10.12693/APhysPolA.128.A-22
PACS numbers: 43.40.Dx, 43.58.Ta, 43.75.Zz