Gin
Public Member Functions | Public Attributes | List of all members
NoiseState Struct Reference

State for noise. More...

Inheritance diagram for NoiseState:

Public Member Functions

 NoiseState (double sr)
 
double process ()
 
- Public Member Functions inherited from FuncState
 FuncState (double sr)
 
virtual ~FuncState ()=default
 
virtual void setSampleRate (double sr)
 
virtual void reset ()
 

Public Attributes

WhiteNoise noise
 
- Public Attributes inherited from FuncState
double sampleRate = 44100.0
 

Detailed Description

State for noise.

Constructor & Destructor Documentation

◆ NoiseState()

NoiseState::NoiseState ( double  sr)

Member Function Documentation

◆ process()

double NoiseState::process ( )

References WhiteNoise::nextSample(), and noise.

Member Data Documentation

◆ noise

WhiteNoise NoiseState::noise

Referenced by process().


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