Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books

Ads

Chapters

Chapter Contents:

Search Physical Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Simple Plucked String

This first simple example is a simple plucked string along the lines described in §4.6. As introduced in Appendix A, the programming language is C++, and we make use of the Synthesis Tool Kit (STK) [86,91]. While we typically use the matlab language for sound analysis work [454], the C++ language and the STK library are better suited for developing real-time prototypes of virtual musical instruments and audio effects. Another advantage of C++ implementations is that they are readily ported over to standard plugin architectures such as VST and LADSPA/DSSI.

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

Order a Hardcopy of Physical Audio Signal Processing

Previous: STK Programming Examples
Next: Listing of test main program: main.cpp

written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.


Comments


No comments yet for this page


Add a Comment
You need to login before you can post a comment (best way to prevent spam). ( Not a member? )