This is in the pdf description of the private part of the class:
// State variables
// Ramp generator phase. Initialized to 0.0.
double m_phase{0.0};
// Ramp generator frequency. Uninitialized — remember to initialize in the const
float m_frequency;
And this is in the hpp file:
// Calc function
void next_a(int nSamples);
void next_k(int nSamples);
// Helper functions
inline float progressPhasor(double phase, float frequency);
// Parameter names corresponding to our argument indices
enum Inputs { Frequency };
// State variables
double m_phase{0.0};
float m_frequency; // will be initialized in the constructor
I assume that this was an update made to the code at some point but not to the pdf?
This is in the pdf description of the private part of the class:
And this is in the hpp file:
I assume that this was an update made to the code at some point but not to the pdf?