DOI QR코드

DOI QR Code

An Effective Parallel Implementation of Sound Synthesis of Guitar using GPU

GPU를 이용한 기타의 음 합성을 위한 효과적인 병렬 구현

  • Kang, Sung-Mo (School of Electrical Engineering, University of Ulsan) ;
  • Kim, Jong-Myon (School of Electrical Engineering, University of Ulsan)
  • Received : 2013.02.27
  • Accepted : 2013.03.29
  • Published : 2013.08.30

Abstract

This paper proposes an effective parallel implementation of a physical modeling synthesis of guitar on the GPU environment. We used appropriate filter coefficients and adjusted the length of delay line for each open string to generate 44,100 six-polyphonic guitar sounds (E2, A2, D3, G4, B3, E4) by using physical modeling synthesis. In addition, we analyzed the physical modeling synthesis algorithm and observed that we can exploit parallelism inherent in the length of delay line. Thus, we assigned CUDA cores as many as the length of delay line and effectively implemented the physical modeling synthesis using GPU to achieve the highest performance. Experimental results indicated that synthetic guitar sounds using GPU were very similar to the original sounds when we compared their spectra. In addition, GPU achieved 68x and 3x better performance than high-performance TI DSP and CPU, respectively. Furthermore, this paper implemented and evaluated the performance of multi-GPU systems for the physical modeling algorithm.

본 논문에서는GPU 환경에서 기타의 음합성을 위한 물리적 모델링의 효율적인 병렬구현 방법을 제안한다. 물리적 모델링을 이용하여 기타의 개방현(E2, A2, D3, G4, B3, E4)들의 기본음을 합성하기 위해 각 개방현 음 합성을 위한 적절한 필터 계수를 사용하였고, 지연 라인의 길이를 조절하였다. 또한 물리적 모델링 알고리즘을 분석한 결과 지연 라인의 길이만큼 병렬성을 갖는 것을 확인하였다. 따라서 각 개방현의 기타 음을 합성하기 위해 지연 라인의 길이만큼CUDA 코어를 할당한 후 최적의 성능을 보이도록 알고리즘을 병렬 구현하였다. 모의실험결과, GPU를 이용하여 합성한 기타 음과 원음과의 스펙트럼이 매우 유사하였고, GPU는 기존 고성능 TI DSP보다 68배, CPU보다 3배의 성능 향상을 보였다. 또한, 본 논문에서는 물리적 모델링 알고리즘을 멀티 GPU시스템에서도 구현하고 성능을 분석하였다.

Keywords

References

  1. M. karjalainen, T.Maki-Patola, A. Kanerva, A. Huovilainen, and P. janis, "Virtual air guitar," in Proc. of AES Convention, pp. 2-19, Oct. 2004.
  2. L. Kessous, J. Castet, and D. Arfib, "GXtar, an interface using guitar techniques," in Proc. of International Conference on New Interfaces for Musical Expression, pp. 192-195, June 2006.
  3. J. Kanebako, J. Gibson, and L. Mignonneau, "Mountain guitar : a musical instrument for everyone," in Proc. of International Conference on New Interfaces for Musical Expression, pp. 396-397, June 2007.
  4. M. Kang, S. Cho, and U. Chong, "Implementation of Non-Stringed Guitar Based on Physical Modeling Synthesis," Journal of the Acoustical Society of Korea, Vol. 28, No. 8, pp.119-126, Feb. 2009.
  5. J. E .Stone, D. Gohara, G. Shi, "OpenCL : A parallel programming standard for heterogeneous computing systems", Computing in Science and Eng, Vol. 12, No. 3, pp. 66-73, May 2010.
  6. H.-G. Jeon, J.-W. Ahn, J.-M. Kim, and C.-H. Kim, "Memory Delay Comparison between 2D GPU and 3D GPU," Journal of The Korea Society of Computer and Information, Vol. 17, No. 7, pp. 1-11, July 2012. https://doi.org/10.9708/jksci.2012.17.7.001
  7. H.-J. Choi, S.-G. Kang, J.-M. Kim, and C.-H. Kim, "Analysis of the CPU/GPU Temperature and Energy Efficiency depending on Executed Applications," Journal of The Korea Society of Computer and Information, Vol. 17, No. 5, pp. 9-19. May 2012. https://doi.org/10.9708/jksci.2012.17.5.009
  8. O. E. Albayrak, I. Akturk, O. Ozturk, "Effective Kernel Mapping for OpenCL Applications in Heterogeneous Platforms," Proc. of International Conference on Parallel Processing Workshop, pp. 81-88, Sept. 2012.
  9. NVIDIA Fermi Compute Architecture Whitepaper, http://www.nvidia.com/content/PDF/fermi_white_papers/NVIDIA_Fermi_Compute_Architec ture_Whitepaper.pdf
  10. V. Valimaki, J. Juopaniemi, M. Karjalainen, and Z. Janosy, "Physical Modeling of Plucked String Instruments with Application to Real-time Sound Synthesis," J. Audio Eng. Soc., Vol. 44, No. 5, pp. 331-353, May 1996.
  11. NVIDIA Visual Profiler, https://developer .nvidia .com/nvidia-visual-profiler