Home Information Classes Download Usage Mail List Requirements Links Tutorial
#include <BowTable.h>
Inheritance diagram for BowTable:
This class implements a simple bowed string non-linear function, as described by Smith (1986).
by Perry R. Cook and Gary P. Scavone, 1995 - 2004.
Definition at line 17 of file BowTable.h.
Public Member Functions | |
BowTable () | |
Default constructor. | |
~BowTable () | |
Class destructor. | |
void | setOffset (StkFloat offset) |
Set the table offset value. | |
void | setSlope (StkFloat slope) |
Set the table slope value. | |
StkFloat | tick (StkFloat input) |
Return the function value for input. | |
StkFloat * | tick (StkFloat *vector, unsigned int vectorSize) |
Take vectorSize inputs from vector and replace them with corresponding outputs. | |
StkFrames & | tick (StkFrames &frames, unsigned int channel=1) |
Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs. |
|
Set the table offset value. The table offset is a bias which controls the symmetry of the friction. If you want the friction to vary with direction, use a non-zero value for the offset. The default value is zero. |
|
Set the table slope value. The table slope controls the width of the friction pulse, which is related to bow force. |
|
Return the function value for input. The function input represents differential string-to-bow velocity. Implements Function. |
|
Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.
The Reimplemented from Function. |
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |