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

Public Member Functions

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

Static Public Member Functions

static WhiteNoiseOscillatorcreate ()
 
static void destroy (WhiteNoiseOscillator *osc)
 

Detailed Description

Definition at line 8 of file NoiseOscillator.h.

Member Function Documentation

static WhiteNoiseOscillator* WhiteNoiseOscillator::create ( )
inlinestatic

Definition at line 31 of file NoiseOscillator.h.

static void WhiteNoiseOscillator::destroy ( WhiteNoiseOscillator osc)
inlinestatic

Definition at line 34 of file NoiseOscillator.h.

virtual float WhiteNoiseOscillator::getNextSample ( )
inlinevirtual

Reimplemented from Oscillator.

Reimplemented in BrownNoiseOscillator, and PinkNoiseOscillator.

Definition at line 11 of file NoiseOscillator.h.

References arm_rand32().

Referenced by PinkNoiseOscillator::getNextSample(), and BrownNoiseOscillator::getNextSample().

virtual float Oscillator::getNextSample ( float  fm)
inlinevirtualinherited

Reimplemented in RampOscillator, and SineOscillator.

Definition at line 11 of file Oscillator.h.

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: