OpenWareLaboratory
Oscillator Class Reference
Inheritance diagram for Oscillator:

Public Member Functions

virtual float getNextSample ()
 
virtual float getNextSample (float fm)
 
virtual void getSamples (FloatArray output)
 
virtual void getSamples (FloatArray output, FloatArray fm)
 
 Oscillator ()
 
virtual void reset ()
 
virtual void setFrequency (float value)
 
virtual void setSampleRate (float value)
 
virtual ~Oscillator ()
 

Detailed Description

Definition at line 6 of file Oscillator.h.

Constructor & Destructor Documentation

Oscillator::Oscillator ( )
inline

Definition at line 8 of file Oscillator.h.

virtual Oscillator::~Oscillator ( )
inlinevirtual

Definition at line 9 of file Oscillator.h.

Member Function Documentation

virtual float Oscillator::getNextSample ( )
inlinevirtual
virtual float Oscillator::getNextSample ( float  fm)
inlinevirtual

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 11 of file Oscillator.h.

virtual void Oscillator::getSamples ( FloatArray  output)
inlinevirtual

Reimplemented in BandPassWavetableOscillator, PolyBlepOscillator, and WavetableOscillator.

Definition at line 13 of file Oscillator.h.

References getNextSample(), and FloatArray::getSize().

virtual void Oscillator::getSamples ( FloatArray  output,
FloatArray  fm 
)
inlinevirtual

Reimplemented in PolyBlepOscillator.

Definition at line 17 of file Oscillator.h.

References getNextSample(), and FloatArray::getSize().

virtual void Oscillator::reset ( )
inlinevirtual

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 23 of file Oscillator.h.

virtual void Oscillator::setFrequency ( float  value)
inlinevirtual
virtual void Oscillator::setSampleRate ( float  value)
inlinevirtual

The documentation for this class was generated from the following file: