csl::WaveShaper Class Reference

#include <WaveShaper.h>

Inheritance diagram for csl::WaveShaper:

csl::Sine csl::Oscillator csl::UnitGenerator csl::Phased csl::Scalable csl::Model csl::Controllable csl::Controllable

List of all members.

Public Member Functions

 WaveShaper ()
 WaveShaper (float frequency, unsigned size=8192)
void setTableLenght (unsigned length)
 set the size in bytes of the table.
unsigned tableLength ()

Public Attributes

Buffer mTransferFunction

Protected Member Functions

status mono_next_buffer (Buffer &inputBuffer, Buffer &outputBuffer, unsigned inBufNum, unsigned outBufNum)
void initWaveTable ()

Private Attributes

unsigned mTableSize
 Table size in bytes.

Detailed Description

WaveShaper -- Wave-shaping oscillator class

Constructor & Destructor Documentation

WaveShaper::WaveShaper (  ) 

References initWaveTable().

WaveShaper::WaveShaper ( float  frequency,
unsigned  size = 8192 

References initWaveTable().

Member Function Documentation

void csl::WaveShaper::setTableLenght ( unsigned  length  ) 

set the size in bytes of the table.

unsigned csl::WaveShaper::tableLength (  )  [inline]

References mTableSize.

status WaveShaper::mono_next_buffer ( Buffer inputBuffer,
Buffer outputBuffer,
unsigned  inBufNum,
unsigned  outBufNum 
) [protected]

void WaveShaper::initWaveTable (  )  [protected]

Member Data Documentation

Referenced by initWaveTable(), and mono_next_buffer().

unsigned csl::WaveShaper::mTableSize [private]

Table size in bytes.

Referenced by initWaveTable(), and tableLength().

The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8