10 #ifndef CSL_SIMPLESINE_H
11 #define CSL_SIMPLESINE_H
66 SineAsScaled(
float frequency,
float phase,
float ampl,
float offset);
SimpleSine – The simplest CSL sine oscillator class.
SineAsPhased – A sine oscillator that uses the Phased mix-in class, meaning that we inherit mFrequen...
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
Phased – a mix-in for objects with phase accumulators (local float) and frequency controls (an input...
float mPhase
my instantaneous phase in Radians
SineAsPhased()
Constructors.
void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
the monoNextBuffer method is where the DSP takes place
void dump()
pretty-print the receiver
void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
the monoNextBuffer method is where the DSP takes place
~SineAsScaled()
Destructor.
SineAsScaled – A sine oscillator that also has scale and offset as dynamic controls (from Scalable) ...
Scalable – mix-in class with scale and offset control inputs (may be constants or generators)...
float mFrequency
my frequency value in Hz
SimpleSine()
Constructors.
void dump()
pretty-print the receiver
SineAsScaled()
Constructors.
~SineAsPhased()
Destructor.
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
Base class of CSL exceptions (written upper-case). Has a string message.
void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
the monoNextBuffer method is where the DSP takes place