csl::KarplusString Class Reference

#include <KarplusString.h>

Inheritance diagram for csl::KarplusString:

csl::UnitGenerator csl::Scalable csl::Phased List of all members.

Public Member Functions

 KarplusString (float frequency)
void trigger ()
 reset internal buffers to re-pluck the string.
void dump ()
 print debugging info.

Public Attributes

Buffer mDelayLine
 the delay line (just a buffer, not a RingBuffer)

Protected Member Functions

void initDelayLine ()
 function to initialize the delay line
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 The mono_next_buffer method does all the work.

Protected Attributes

unsigned mIndex
 current index in the delay line
unsigned mDelayLength
 allocated size of the delay line

Constructor & Destructor Documentation

KarplusString::KarplusString float  frequency  ) 
 


Member Function Documentation

void KarplusString::trigger void   ) 
 

reset internal buffers to re-pluck the string.

CALLING THE MONO VERSION. IT SHOULD MAYBE JUST CALL THE SUPERCLASS' NEXT BUFFER TO TAKE ADVANTAGE OF THE COPY POLICIES . . . ? JORGE

void KarplusString::dump  ) 
 

print debugging info.

void KarplusString::initDelayLine  )  [protected]
 

function to initialize the delay line

void KarplusString::nextBuffer Buffer outputBuffer,
unsigned  outBufNum
throw (CException) [protected]
 

The mono_next_buffer method does all the work.


Member Data Documentation

Buffer csl::KarplusString::mDelayLine
 

the delay line (just a buffer, not a RingBuffer)

unsigned csl::KarplusString::mIndex [protected]
 

current index in the delay line

unsigned csl::KarplusString::mDelayLength [protected]
 

allocated size of the delay line


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:20 2007 for CSL by  doxygen 1.4.5-20051010