csl::Oscillator Class Reference

#include <Oscillator.h>

Inheritance diagram for csl::Oscillator:

csl::UnitGenerator csl::Phased csl::Scalable csl::Model csl::Controllable csl::Controllable csl::Impulse csl::Sawtooth csl::Sine csl::Square csl::WavetableOscillator csl::WaveShaper csl::Abst_SoundFile csl::CompOrCacheOscillator csl::CASoundFile csl::JSoundFile csl::LSoundFile csl::SumOfSines csl::SquareBL

List of all members.

Public Member Functions

 Oscillator (float frequency=220.0, float ampl=1.0, float offset=0.0, float phase=0.0)
 Constructor: parameters are optional.
 Oscillator (UnitGenerator &frequency, float ampl=1.0, float offset=0.0, float phase=0.0)
 Oscillator (UnitGenerator &frequency, UnitGenerator &ampl, float offset=0.0, float phase=0.0)
 ~Oscillator ()
 Destructor.
void dump ()
 print the receiver for debugging


Detailed Description

Oscillator -- Abstract oscillator class; inherits from UnitGenerator, Phased, and Scalable and provides convenience constructors (freq, ampl, offset, phase)

Constructor & Destructor Documentation

Oscillator::Oscillator ( float  frequency = 220.0,
float  ampl = 1.0,
float  offset = 0.0,
float  phase = 0.0 
)

Constructor: parameters are optional.

Oscillator::Oscillator ( UnitGenerator frequency,
float  ampl = 1.0,
float  offset = 0.0,
float  phase = 0.0 
)

Oscillator::Oscillator ( UnitGenerator frequency,
UnitGenerator ampl,
float  offset = 0.0,
float  phase = 0.0 
)

Oscillator::~Oscillator (  ) 

Destructor.


Member Function Documentation

void Oscillator::dump ( void   )  [virtual]

print the receiver for debugging

Reimplemented from csl::UnitGenerator.

Reimplemented in csl::Abst_SoundFile, csl::CASoundFile, and csl::SumOfSines.

References csl::logMsg().

Referenced by testADSR_FM().


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