Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search


Simple Plucked String

This first simple example is intended to acquaint the reader with the main computational elements which are used over and over again in digital waveguide modeling. The example is a simple plucked string along the lines described in §4.6.

The programming language chosen is C++, and we make use of the free (for noncommercial use), open-source framework called the Synthesis Tool Kit (STK) [86]. In general, we tend to use Matlab for sound analysis work, and the STK for developing sound synthesis prototypes.

The first listing below is a simple main program, main.cpp, followed by discussion of how it works. The second listing gives the plucked-string object itself, SimpString, followed by some discussion. The component STK modules are described in the STK Class Documentation.



Subsections
Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[How to cite and copy this work] 
``Physical Audio Signal Processing for Virtual Musical Instruments and Digital Audio Effects'', by Julius O. Smith III, (December 2005 Edition).
Copyright © 2006-07-01 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]