csl::Square Class Reference

#include <Oscillator.h>

Inheritance diagram for csl::Square:

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

List of all members.

Public Member Functions

 Square (float frequency=220, float ampl=1.0, float offset=0.0, float phase=0.0)
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)


Detailed Description

Square oscillator class (non-band-limited)

Constructor & Destructor Documentation

Square::Square ( float  frequency = 220,
float  ampl = 1.0,
float  offset = 0.0,
float  phase = 0.0 
)


Member Function Documentation

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

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

Reimplemented from csl::UnitGenerator.

References DECLARE_PHASED_CONTROLS, DECLARE_SCALABLE_CONTROLS, LOAD_PHASED_CONTROLS, LOAD_SCALABLE_CONTROLS, csl::logMsg(), mFrameRate, UPDATE_PHASED_CONTROLS, and UPDATE_SCALABLE_CONTROLS.


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