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

Public Member Functions

virtual float generate ()
 Produce the next consecutive sample. More...
 
virtual float generate ()
 Produce the next consecutive sample. More...
 
virtual void generate (FloatArray output)
 Produce a block of samples. More...
 
virtual void generate (FloatArray output)
 Produce a block of samples. More...
 

Static Public Member Functions

static WhiteNoiseGeneratorcreate ()
 
static void destroy (WhiteNoiseGenerator *osc)
 

Detailed Description

Definition at line 8 of file NoiseGenerator.h.

Member Function Documentation

◆ create()

static WhiteNoiseGenerator* WhiteNoiseGenerator::create ( )
inlinestatic

Definition at line 31 of file NoiseGenerator.h.

◆ destroy()

static void WhiteNoiseGenerator::destroy ( WhiteNoiseGenerator osc)
inlinestatic

Definition at line 34 of file NoiseGenerator.h.

◆ generate() [1/4]

virtual float WhiteNoiseGenerator::generate ( )
inlinevirtual

Produce the next consecutive sample.

Reimplemented from SignalGenerator.

Reimplemented in BrownNoiseGenerator, PinkNoiseGenerator, BrownNoiseGenerator, BrownNoiseGenerator, PinkNoiseGenerator, and PinkNoiseGenerator.

Definition at line 11 of file NoiseGenerator.h.

References arm_rand32(), and randf().

Referenced by PinkNoiseGenerator::generate(), and BrownNoiseGenerator::generate().

◆ generate() [2/4]

virtual float SignalGenerator::generate
inlinevirtual

Produce the next consecutive sample.

Reimplemented from SignalGenerator.

Reimplemented in BrownNoiseGenerator, PinkNoiseGenerator, BrownNoiseGenerator, and PinkNoiseGenerator.

Definition at line 19 of file SignalGenerator.h.

◆ generate() [3/4]

virtual void SignalGenerator::generate
inlinevirtual

Produce a block of samples.

Reimplemented from SignalGenerator.

Reimplemented in BrownNoiseGenerator, PinkNoiseGenerator, BrownNoiseGenerator, and PinkNoiseGenerator.

Definition at line 25 of file SignalGenerator.h.

◆ generate() [4/4]


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