OpenWareLaboratory
BandPassWavetableOscillator Class Reference
Inheritance diagram for BandPassWavetableOscillator:
Collaboration diagram for BandPassWavetableOscillator:

Public Member Functions

 BandPassWavetableOscillator (float sr, const FloatArray wavetable)
 
virtual float getNextSample (float fm)
 
float getNextSample ()
 
float getSample (float phase)
 
virtual void getSamples (FloatArray output, FloatArray fm)
 
void getSamples (FloatArray samples)
 
virtual void reset ()
 
void setFrequency (float freq)
 
void setSampleRate (float value)
 

Detailed Description

Definition at line 24 of file WavetableOscillator.h.

Constructor & Destructor Documentation

BandPassWavetableOscillator::BandPassWavetableOscillator ( float  sr,
const FloatArray  wavetable 
)

Member Function Documentation

virtual float Oscillator::getNextSample ( float  fm)
inlinevirtualinherited

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 11 of file Oscillator.h.

float BandPassWavetableOscillator::getNextSample ( )
virtual

Reimplemented from Oscillator.

float BandPassWavetableOscillator::getSample ( float  phase)
virtual void Oscillator::getSamples ( FloatArray  output,
FloatArray  fm 
)
inlinevirtualinherited

Reimplemented in PolyBlepOscillator.

Definition at line 17 of file Oscillator.h.

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

void BandPassWavetableOscillator::getSamples ( FloatArray  samples)
virtual

Reimplemented from Oscillator.

virtual void Oscillator::reset ( )
inlinevirtualinherited

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 23 of file Oscillator.h.

void BandPassWavetableOscillator::setFrequency ( float  freq)
virtual

Reimplemented from Oscillator.

void BandPassWavetableOscillator::setSampleRate ( float  value)
virtual

Reimplemented from Oscillator.


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