Gin
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
AudioFunctionHost Class Reference

State managment for audio functions. More...

Inheritance diagram for AudioFunctionHost:

Public Member Functions

void setSampleRate (double sr)
 
void addConstants (gin::EquationParser &)
 
void addUtilities (gin::EquationParser &)
 
void addOscillatorFunctions (gin::EquationParser &)
 
void addSynthFilterFunctions (gin::EquationParser &)
 
void addEffectFilterFunctions (gin::EquationParser &)
 

Public Attributes

gin::BandLimitedLookupTables * lookupTables = nullptr
 

Protected Member Functions

template<class T >
T * getFuncParams (int i, double sr)
 

Protected Attributes

std::map< int, std::unique_ptr< FuncState > > funcStates
 
double sampleRate = 44100.0
 

Detailed Description

State managment for audio functions.

Member Function Documentation

◆ setSampleRate()

void AudioFunctionHost::setSampleRate ( double  sr)

◆ addConstants()

void AudioFunctionHost::addConstants ( gin::EquationParser &  )

◆ addUtilities()

void AudioFunctionHost::addUtilities ( gin::EquationParser &  )

◆ addOscillatorFunctions()

void AudioFunctionHost::addOscillatorFunctions ( gin::EquationParser &  )

◆ addSynthFilterFunctions()

void AudioFunctionHost::addSynthFilterFunctions ( gin::EquationParser &  )

◆ addEffectFilterFunctions()

void AudioFunctionHost::addEffectFilterFunctions ( gin::EquationParser &  )

◆ getFuncParams()

template<class T >
T* AudioFunctionHost::getFuncParams ( int  i,
double  sr 
)
protected

References funcStates.

Member Data Documentation

◆ lookupTables

gin::BandLimitedLookupTables* AudioFunctionHost::lookupTables = nullptr

◆ funcStates

std::map<int, std::unique_ptr<FuncState> > AudioFunctionHost::funcStates
protected

Referenced by getFuncParams().

◆ sampleRate

double AudioFunctionHost::sampleRate = 44100.0
protected

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