#include <CSL_Core.h>

Public Member Functions | |
| Phased () | |
| Constructors; this one is rearely used. | |
| Phased (float frequency, float phase=0) | |
| use the given dynamic frequency & phase | |
| Phased (UnitGenerator &frequency, float phase=0) | |
| use the given dynamic or static frequency | |
| ~Phased () | |
| Destructor. | |
| void | setFrequency (UnitGenerator &frequency) |
| Setter accessors. | |
| void | setFrequency (float frequency) |
| void | setPhase (float phase) |
Protected Attributes | |
| float | mPhase |
| the actual phase accumulator | |
| Phased::Phased | ( | ) |
Constructors; this one is rearely used.
References CSL_FREQUENCY, csl::logMsg(), and csl::Controllable::mInputs.
| Phased::Phased | ( | float | frequency, | |
| float | phase = 0 | |||
| ) |
use the given dynamic frequency & phase
References csl::Controllable::addInput(), CSL_FREQUENCY, and csl::logMsg().
| Phased::Phased | ( | UnitGenerator & | frequency, | |
| float | phase = 0 | |||
| ) |
use the given dynamic or static frequency
References csl::Controllable::addInput(), CSL_FREQUENCY, and csl::logMsg().
| Phased::~Phased | ( | ) |
Destructor.
| void Phased::setFrequency | ( | UnitGenerator & | frequency | ) |
Setter accessors.
References csl::Controllable::addInput(), and CSL_FREQUENCY.
Referenced by csl::BasicFMInstrument::BasicFMInstrument(), main(), make_instrument(), csl::BasicFMInstrument::parseArgs(), csl::BasicFMInstrument::playNote(), csl::AdditiveInstrument::playNote(), csl::FancyFMInstrument::playOSC(), csl::AdditiveInstrument::playOSC(), csl::BasicFMInstrument::setParameter(), csl::AdditiveInstrument::setParameter(), csl::SquareBL::SquareBL(), and testADSR_FM().
| void Phased::setFrequency | ( | float | frequency | ) |
References csl::Controllable::addInput(), and CSL_FREQUENCY.
| void csl::Phased::setPhase | ( | float | phase | ) | [inline] |
References mPhase.
float csl::Phased::mPhase [protected] |
1.5.8