OpenWareLaboratory
BrownNoiseOscillator Class Reference

Oscillator that produces Brownian noise (aka red noise) More...

Inheritance diagram for BrownNoiseOscillator:
Collaboration diagram for BrownNoiseOscillator:

Public Member Functions

 BrownNoiseOscillator ()
 
virtual float getNextSample (float fm)
 
float getNextSample ()
 
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 BrownNoiseOscillatorcreate ()
 
static void destroy (WhiteNoiseOscillator *osc)
 
static void destroy (BrownNoiseOscillator *osc)
 

Detailed Description

Oscillator that produces Brownian noise (aka red noise)

Definition at line 104 of file NoiseOscillator.h.

Constructor & Destructor Documentation

BrownNoiseOscillator::BrownNoiseOscillator ( )
inline

Definition at line 108 of file NoiseOscillator.h.

Referenced by create().

Member Function Documentation

static BrownNoiseOscillator* BrownNoiseOscillator::create ( )
inlinestatic

Definition at line 125 of file NoiseOscillator.h.

References BrownNoiseOscillator().

static void WhiteNoiseOscillator::destroy ( WhiteNoiseOscillator osc)
inlinestaticinherited

Definition at line 34 of file NoiseOscillator.h.

static void BrownNoiseOscillator::destroy ( BrownNoiseOscillator osc)
inlinestatic

Definition at line 128 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 BrownNoiseOscillator::getNextSample ( )
inlinevirtual

Reimplemented from WhiteNoiseOscillator.

Definition at line 113 of file NoiseOscillator.h.

References 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: