LMMS
Loading...
Searching...
No Matches
zyncarla::Alienwah Class Reference

#include <Alienwah.h>

Inheritance diagram for zyncarla::Alienwah:
zyncarla::Effect

Public Member Functions

 Alienwah (EffectParams pars)
 ~Alienwah ()
void out (const Stereo< float * > &smp)
void setpreset (unsigned char npreset)
void changepar (int npar, unsigned char value)
unsigned char getpar (int npar) const
void cleanup (void)
Public Member Functions inherited from zyncarla::Effect
 Effect (EffectParams pars)
virtual ~Effect ()
void out (float *const smpsl, float *const smpsr)
virtual float getfreqresponse (float freq)

Static Public Attributes

static rtosc::Ports ports

Private Member Functions

void setvolume (unsigned char _Pvolume)
void setdepth (unsigned char _Pdepth)
void setfb (unsigned char _Pfb)
void setdelay (unsigned char _Pdelay)
void setphase (unsigned char _Pphase)

Private Attributes

EffectLFO lfo
unsigned char Pvolume
unsigned char Pdepth
unsigned char Pfb
unsigned char Pdelay
unsigned char Pphase
float fb
float depth
float phase
std::complex< float > * oldl
std::complex< float > * oldr
std::complex< float > oldclfol
std::complex< float > oldclfor
int oldk

Additional Inherited Members

Static Public Member Functions inherited from zyncarla::Effect
static void crossover (float &a, float &b, float crossover)
Public Attributes inherited from zyncarla::Effect
unsigned char Ppreset
float *const efxoutl
float *const efxoutr
float outvolume
float volume
FilterParamsfilterpars
Protected Member Functions inherited from zyncarla::Effect
void setpanning (char Ppanning_)
void setlrcross (char Plrcross_)
void alias ()
Protected Attributes inherited from zyncarla::Effect
const bool insertion
char Ppanning
float pangainL
float pangainR
char Plrcross
float lrcross
Allocatormemory
unsigned int samplerate
int buffersize
float samplerate_f
float halfsamplerate_f
float buffersize_f
int bufferbytes

Detailed Description

"AlienWah" Effect

Constructor & Destructor Documentation

◆ Alienwah()

Alienwah::Alienwah ( EffectParams pars)

◆ ~Alienwah()

Alienwah::~Alienwah ( )

Member Function Documentation

◆ changepar()

void Alienwah::changepar ( int npar,
unsigned char value )
virtual

Change parameter npar to value

Parameters
nparchosen parameter
valuechosen new value

Implements zyncarla::Effect.

◆ cleanup()

void Alienwah::cleanup ( void )
virtual

Reset the state of the effect

Reimplemented from zyncarla::Effect.

◆ getpar()

unsigned char Alienwah::getpar ( int npar) const
virtual

Get the value of parameter npar

Parameters
nparchosen parameter
Returns
the value of the parameter in an unsigned char or 0 if it does not exist

Implements zyncarla::Effect.

◆ out()

void Alienwah::out ( const Stereo< float * > & smp)
virtual
Todo
Rework, as optimization can be used when the new complex type is utilized. Before all calculations needed to be done with individual float, but now they can be done together

Implements zyncarla::Effect.

◆ setdelay()

void Alienwah::setdelay ( unsigned char _Pdelay)
private

◆ setdepth()

void Alienwah::setdepth ( unsigned char _Pdepth)
private

◆ setfb()

void Alienwah::setfb ( unsigned char _Pfb)
private

◆ setphase()

void Alienwah::setphase ( unsigned char _Pphase)
private

◆ setpreset()

void Alienwah::setpreset ( unsigned char npreset)
virtual

Choose a preset

Parameters
npresetnumber of chosen preset

Implements zyncarla::Effect.

◆ setvolume()

void Alienwah::setvolume ( unsigned char _Pvolume)
private

Member Data Documentation

◆ depth

float zyncarla::Alienwah::depth
private

◆ fb

float zyncarla::Alienwah::fb
private

◆ lfo

EffectLFO zyncarla::Alienwah::lfo
private

◆ oldclfol

std::complex<float> zyncarla::Alienwah::oldclfol
private

◆ oldclfor

std::complex<float> zyncarla::Alienwah::oldclfor
private

◆ oldk

int zyncarla::Alienwah::oldk
private

◆ oldl

std::complex<float>* zyncarla::Alienwah::oldl
private

◆ oldr

std::complex<float> * zyncarla::Alienwah::oldr
private

◆ Pdelay

unsigned char zyncarla::Alienwah::Pdelay
private

◆ Pdepth

unsigned char zyncarla::Alienwah::Pdepth
private

◆ Pfb

unsigned char zyncarla::Alienwah::Pfb
private

◆ phase

float zyncarla::Alienwah::phase
private

◆ ports

rtosc::Ports Alienwah::ports
static

◆ Pphase

unsigned char zyncarla::Alienwah::Pphase
private

◆ Pvolume

unsigned char zyncarla::Alienwah::Pvolume
private

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