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

Public Member Functions

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

Static Public Member Functions

static PinkNoiseOscillatorcreate ()
 
static void destroy (WhiteNoiseOscillator *osc)
 
static void destroy (PinkNoiseOscillator *osc)
 

Detailed Description

Definition at line 49 of file NoiseOscillator.h.

Constructor & Destructor Documentation

PinkNoiseOscillator::PinkNoiseOscillator ( )
inline

Definition at line 56 of file NoiseOscillator.h.

Referenced by create().

Member Function Documentation

static PinkNoiseOscillator* PinkNoiseOscillator::create ( )
inlinestatic

Definition at line 89 of file NoiseOscillator.h.

References PinkNoiseOscillator().

static void WhiteNoiseOscillator::destroy ( WhiteNoiseOscillator osc)
inlinestaticinherited

Definition at line 34 of file NoiseOscillator.h.

static void PinkNoiseOscillator::destroy ( PinkNoiseOscillator osc)
inlinestatic

Definition at line 92 of file NoiseOscillator.h.

virtual float Oscillator::getNextSample ( float  fm)
inlinevirtualinherited

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 11 of file Oscillator.h.

float PinkNoiseOscillator::getNextSample ( )
inlinevirtual

Reimplemented from WhiteNoiseOscillator.

Definition at line 66 of file NoiseOscillator.h.

References CTZ(), and WhiteNoiseOscillator::getNextSample().

virtual void Oscillator::getSamples ( FloatArray  output)
inlinevirtualinherited
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().

virtual void Oscillator::reset ( )
inlinevirtualinherited

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 23 of file Oscillator.h.

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

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