LMMS
Loading...
Searching...
No Matches
LFO Class Reference

#include <LFO.h>

Public Member Functions

 LFO (LFOParams *lfopars, float basefreq)
 ~LFO ()
float lfoout ()
float amplfoout ()

Private Member Functions

void computenextincrnd ()

Private Attributes

float x
float incx
float incrnd
float nextincrnd
float amp1
float amp2
float lfointensity
float lfornd
float lfofreqrnd
float lfodelay
char lfotype
int freqrndenabled

Detailed Description

Class for creating Low Frequency Ocillators

Constructor & Destructor Documentation

◆ LFO()

LFO::LFO ( LFOParams * lfopars,
float basefreq )

Constructor

Parameters
lfoparspointer to a LFOParams object
basefreqbase frequency of LFO

◆ ~LFO()

LFO::~LFO ( )

Deconstructor

Member Function Documentation

◆ amplfoout()

float LFO::amplfoout ( )

◆ computenextincrnd()

void LFO::computenextincrnd ( )
private

◆ lfoout()

float LFO::lfoout ( )

Member Data Documentation

◆ amp1

float LFO::amp1
private

◆ amp2

float LFO::amp2
private

◆ freqrndenabled

int LFO::freqrndenabled
private

◆ incrnd

float LFO::incrnd
private

◆ incx

float LFO::incx
private

◆ lfodelay

float LFO::lfodelay
private

◆ lfofreqrnd

float LFO::lfofreqrnd
private

◆ lfointensity

float LFO::lfointensity
private

◆ lfornd

float LFO::lfornd
private

◆ lfotype

char LFO::lfotype
private
Todo
see if an enum would be better here

◆ nextincrnd

float LFO::nextincrnd
private

◆ x

float LFO::x
private

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