#include <SimpleSines.h>

Public Member Functions | |
| SimpleSine () | |
| Constructors. | |
| SimpleSine (float frequency) | |
| SimpleSine (float frequency, float phase) | |
| ~SimpleSine () | |
| Destructor. | |
| void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| the monoNextBuffer method is where the DSP takes place | |
Protected Attributes | |
| float | mFrequency |
| my frequency value in Hz | |
| float | mPhase |
| my instantaneous phase in Radians | |
| SimpleSine::SimpleSine | ( | ) |
Constructors.
| SimpleSine::SimpleSine | ( | float | frequency | ) |
| SimpleSine::SimpleSine | ( | float | frequency, | |
| float | phase | |||
| ) |
| SimpleSine::~SimpleSine | ( | ) |
Destructor.
Destructor is a no-op.
| void SimpleSine::nextBuffer | ( | Buffer & | outputBuffer, | |
| unsigned | outBufNum | |||
| ) | throw (CException) [virtual] |
the monoNextBuffer method is where the DSP takes place
Reimplemented from csl::UnitGenerator.
References CSL_TWOPI, csl::logMsg(), and mFrameRate.
float csl::SimpleSine::mFrequency [protected] |
my frequency value in Hz
float csl::SimpleSine::mPhase [protected] |
my instantaneous phase in Radians
1.5.8