csl::CompOrCacheOscillator Class Reference

#include <Oscillator.h>

Inheritance diagram for csl::CompOrCacheOscillator:

csl::WavetableOscillator csl::Cacheable csl::Oscillator csl::UnitGenerator csl::Phased csl::Scalable csl::Model csl::Controllable csl::Controllable csl::SumOfSines csl::SquareBL

List of all members.

Public Member Functions

 CompOrCacheOscillator (bool whether=false, float frequency=220, float phase=0.0)
void createCache ()

Protected Member Functions

virtual void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
virtual void nextWaveInto (SampleBuffer dest, unsigned count, bool oneHz)=0

Detailed Description

CompOrCacheOscillator -- Abstract oscillator class for those who can compute of cache their wavetables

Constructor & Destructor Documentation

CompOrCacheOscillator::CompOrCacheOscillator ( bool  whether = false,
float  frequency = 220,
float  phase = 0.0 

Member Function Documentation

void CompOrCacheOscillator::createCache ( void   ) 

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

really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times

Reimplemented from csl::WavetableOscillator.

References csl::WavetableOscillator::nextBuffer().

virtual void csl::CompOrCacheOscillator::nextWaveInto ( SampleBuffer  dest,
unsigned  count,
bool  oneHz 
) [protected, pure virtual]

Implemented in csl::SumOfSines.

Referenced by createCache().

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