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

#include <Resonance.h>

Inheritance diagram for Resonance:
Presets

Public Member Functions

 Resonance ()
 ~Resonance ()
void setpoint (int n, unsigned char p)
void applyres (int n, fft_t *fftdata, float freq)
void smooth ()
void interpolatepeaks (int type)
void randomize (int type)
void add2XML (XMLwrapper *xml)
void defaults ()
void getfromXML (XMLwrapper *xml)
float getfreqpos (float freq)
float getfreqx (float x)
float getfreqresponse (float freq)
float getcenterfreq ()
float getoctavesfreq ()
void sendcontroller (MidiControllers ctl, float par)
Public Member Functions inherited from Presets
 Presets ()
virtual ~Presets ()
virtual void copy (const char *name)
virtual void paste (int npreset)
virtual bool checkclipboardtype ()
void deletepreset (int npreset)
void rescanforpresets ()

Public Attributes

unsigned char Penabled
unsigned char Prespoints [N_RES_POINTS]
unsigned char PmaxdB
unsigned char Pcenterfreq
unsigned char Poctavesfreq
unsigned char Pprotectthefundamental
float ctlcenter
float ctlbw
Public Attributes inherited from Presets
char type [MAX_PRESETTYPE_SIZE]

Additional Inherited Members

Protected Member Functions inherited from Presets
void setpresettype (const char *type)

Constructor & Destructor Documentation

◆ Resonance()

Resonance::Resonance ( )

◆ ~Resonance()

Resonance::~Resonance ( )

Member Function Documentation

◆ add2XML()

void Resonance::add2XML ( XMLwrapper * xml)
virtual

Implements Presets.

◆ applyres()

void Resonance::applyres ( int n,
fft_t * fftdata,
float freq )

◆ defaults()

void Resonance::defaults ( void )
virtual

Implements Presets.

◆ getcenterfreq()

float Resonance::getcenterfreq ( )

◆ getfreqpos()

float Resonance::getfreqpos ( float freq)

◆ getfreqresponse()

float Resonance::getfreqresponse ( float freq)

◆ getfreqx()

float Resonance::getfreqx ( float x)

◆ getfromXML()

void Resonance::getfromXML ( XMLwrapper * xml)
virtual

Implements Presets.

◆ getoctavesfreq()

float Resonance::getoctavesfreq ( )

◆ interpolatepeaks()

void Resonance::interpolatepeaks ( int type)

◆ randomize()

void Resonance::randomize ( int type)

◆ sendcontroller()

void Resonance::sendcontroller ( MidiControllers ctl,
float par )

◆ setpoint()

void Resonance::setpoint ( int n,
unsigned char p )

◆ smooth()

void Resonance::smooth ( )

Member Data Documentation

◆ ctlbw

float Resonance::ctlbw

◆ ctlcenter

float Resonance::ctlcenter

◆ Pcenterfreq

unsigned char Resonance::Pcenterfreq

◆ Penabled

unsigned char Resonance::Penabled

◆ PmaxdB

unsigned char Resonance::PmaxdB

◆ Poctavesfreq

unsigned char Resonance::Poctavesfreq

◆ Pprotectthefundamental

unsigned char Resonance::Pprotectthefundamental

◆ Prespoints

unsigned char Resonance::Prespoints[N_RES_POINTS]

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