STK Programming Examples
Simple Plucked String
Description of the SimpString objectSearch Physical Audio Signal Processing
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
The SimpString object is a subclass of STK Instrmnt class, which is documented in the STK Class Documentation. Instrmnt is in turn a subclass of Stk--the base class for nearly all STK classes having to do with creating or processing sound samples.
The line ``using namespace std;'' in SimpString declares entities in the C++ standard library such as iostream definitions (cin, cout, cerr, etc.).
The SimpString object uses the following additional STK classes:
The second-order FIR digital filter simulates one period's worth of losses in the string due to yielding terminations and other sources. It is typically computed from recorded plucked-string data using analysis software written in matlab (see §4.11).
In addition to the FIR ``loop filter'', there is an additi