#include <Oscillator.h>

Public Member Functions | |
| Sine (float frequency=220, float ampl=1.0, float offset=0.0, float phase=0.0) | |
| void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| Sine::Sine | ( | float | frequency = 220, |
|
| float | ampl = 1.0, |
|||
| float | offset = 0.0, |
|||
| float | phase = 0.0 | |||
| ) |
| void Sine::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 CSL_TWOPI, DECLARE_PHASED_CONTROLS, DECLARE_SCALABLE_CONTROLS, LOAD_PHASED_CONTROLS, LOAD_SCALABLE_CONTROLS, csl::logMsg(), mFrameRate, UPDATE_PHASED_CONTROLS, and UPDATE_SCALABLE_CONTROLS.
1.5.8