#include <SimpleSines.h>

Public Member Functions | |
| SineAsScaled () | |
| Constructors. | |
| SineAsScaled (float frequency) | |
| SineAsScaled (float frequency, float phase) | |
| SineAsScaled (float frequency, float phase, float ampl, float offset) | |
| ~SineAsScaled () | |
| Destructor. | |
| void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| the monoNextBuffer method is where the DSP takes place | |
| void | dump () |
| pretty-print the receiver | |
| SineAsScaled::SineAsScaled | ( | ) |
Constructors.
Constructors call UnitGenerator, Phased, and Scalable constructors.
SineAsScaled -- A sine oscillator with scale and offset
| SineAsScaled::SineAsScaled | ( | float | frequency | ) |
| SineAsScaled::SineAsScaled | ( | float | frequency, | |
| float | phase | |||
| ) |
| SineAsScaled::SineAsScaled | ( | float | frequency, | |
| float | phase, | |||
| float | ampl, | |||
| float | offset | |||
| ) |
| SineAsScaled::~SineAsScaled | ( | ) |
Destructor.
Destructor is a no-op.
| void SineAsScaled::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, DECLARE_SCALABLE_CONTROLS, LOAD_PHASED_CONTROLS, LOAD_SCALABLE_CONTROLS, csl::logMsg(), mFrameRate, UPDATE_PHASED_CONTROLS, and UPDATE_SCALABLE_CONTROLS.
| void SineAsScaled::dump | ( | void | ) | [virtual] |
1.5.8