LMMS
Loading...
Searching...
No Matches
lmms::Lfo Class Reference

#include <Lfo.h>

Public Member Functions

 Lfo (int samplerate)
 ~Lfo ()=default
void setFrequency (double frequency)
void setSampleRate (int samplerate)
float tick ()

Private Attributes

double m_frequency
double m_phase
double m_increment
double m_twoPiOverSr
int m_samplerate

Constructor & Destructor Documentation

◆ Lfo()

lmms::Lfo::Lfo ( int samplerate)

◆ ~Lfo()

lmms::Lfo::~Lfo ( )
default

Member Function Documentation

◆ setFrequency()

void lmms::Lfo::setFrequency ( double frequency)
inline

◆ setSampleRate()

void lmms::Lfo::setSampleRate ( int samplerate)
inline

◆ tick()

float lmms::Lfo::tick ( )

Member Data Documentation

◆ m_frequency

double lmms::Lfo::m_frequency
private

◆ m_increment

double lmms::Lfo::m_increment
private

◆ m_phase

double lmms::Lfo::m_phase
private

◆ m_samplerate

int lmms::Lfo::m_samplerate
private

◆ m_twoPiOverSr

double lmms::Lfo::m_twoPiOverSr
private

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