csl::SineAsPhased Class Reference

#include <SimpleSines.h>

Inheritance diagram for csl::SineAsPhased:

csl::UnitGenerator csl::Phased csl::Model csl::Controllable

List of all members.

Public Member Functions

 SineAsPhased ()
 Constructors.
 SineAsPhased (float frequency)
 SineAsPhased (float frequency, float phase)
 ~SineAsPhased ()
 Destructor.
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 the monoNextBuffer method is where the DSP takes place
void dump ()
 pretty-print the receiver


Detailed Description

SineAsPhased -- A sine oscillator that uses the Phased mix-in class, meaning that we inherit mFrequency and mPhase and macros for dynamic control

Constructor & Destructor Documentation

SineAsPhased::SineAsPhased (  ) 

Constructors.

Constructors call UnitGenerator and Phased constructors.

SineAsPhased::SineAsPhased ( float  frequency  ) 

SineAsPhased::SineAsPhased ( float  frequency,
float  phase 
)

SineAsPhased::~SineAsPhased (  ) 

Destructor.

Destructor is a no-op.


Member Function Documentation

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

the monoNextBuffer method is where the DSP takes place

Reimplemented from csl::UnitGenerator.

References CSL_TWOPI, DECLARE_PHASED_CONTROLS, LOAD_PHASED_CONTROLS, csl::logMsg(), mFrameRate, and UPDATE_PHASED_CONTROLS.

void SineAsPhased::dump ( void   )  [virtual]

pretty-print the receiver

Reimplemented from csl::UnitGenerator.

References csl::logMsg().


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