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

#include <Reverb.h>

Inheritance diagram for zyncarla::Reverb:
zyncarla::Effect

Public Member Functions

 Reverb (EffectParams pars)
 ~Reverb ()
void out (const Stereo< float * > &smp)
void cleanup (void)
void setpreset (unsigned char npreset)
void changepar (int npar, unsigned char value)
unsigned char getpar (int npar) const
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 settime (unsigned char _Ptime)
void setlohidamp (unsigned char _Plohidamp)
void setidelay (unsigned char _Pidelay)
void setidelayfb (unsigned char _Pidelayfb)
void sethpf (unsigned char _Phpf)
void setlpf (unsigned char _Plpf)
void settype (unsigned char _Ptype)
void setroomsize (unsigned char _Proomsize)
void setbandwidth (unsigned char _Pbandwidth)
void processmono (int ch, float *output, float *inputbuf)

Private Attributes

unsigned char Pvolume
unsigned char Ptime
unsigned char Pidelay
unsigned char Pidelayfb
unsigned char Plpf
unsigned char Phpf
unsigned char Plohidamp
unsigned char Ptype
unsigned char Proomsize
unsigned char Pbandwidth
int lohidamptype
int idelaylen
int idelayk
float lohifb
float idelayfb
float roomsize
float rs
int comblen [REV_COMBS *2]
int aplen [REV_APS *2]
class Unisonbandwidth
float * comb [REV_COMBS *2]
int combk [REV_COMBS *2]
float combfb [REV_COMBS *2]
float lpcomb [REV_COMBS *2]
float * ap [REV_APS *2]
int apk [REV_APS *2]
float * idelay
class AnalogFilterlpf
class AnalogFilterhpf

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

Creates Reverberation Effects

Constructor & Destructor Documentation

◆ Reverb()

Reverb::Reverb ( EffectParams pars)

◆ ~Reverb()

Reverb::~Reverb ( )

Member Function Documentation

◆ changepar()

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

Change parameter npar to value

Parameters
nparchosen parameter
valuechosen new value

Implements zyncarla::Effect.

◆ cleanup()

void Reverb::cleanup ( void )
virtual

Reset the state of the effect

Reimplemented from zyncarla::Effect.

◆ getpar()

unsigned char Reverb::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 Reverb::out ( const Stereo< float * > & smp)
virtual

Implements zyncarla::Effect.

◆ processmono()

void Reverb::processmono ( int ch,
float * output,
float * inputbuf )
private

◆ setbandwidth()

void Reverb::setbandwidth ( unsigned char _Pbandwidth)
private

◆ sethpf()

void Reverb::sethpf ( unsigned char _Phpf)
private

◆ setidelay()

void Reverb::setidelay ( unsigned char _Pidelay)
private

◆ setidelayfb()

void Reverb::setidelayfb ( unsigned char _Pidelayfb)
private

◆ setlohidamp()

void Reverb::setlohidamp ( unsigned char _Plohidamp)
private

◆ setlpf()

void Reverb::setlpf ( unsigned char _Plpf)
private

◆ setpreset()

void Reverb::setpreset ( unsigned char npreset)
virtual

Choose a preset

Parameters
npresetnumber of chosen preset

Implements zyncarla::Effect.

◆ setroomsize()

void Reverb::setroomsize ( unsigned char _Proomsize)
private

◆ settime()

void Reverb::settime ( unsigned char _Ptime)
private

◆ settype()

void Reverb::settype ( unsigned char _Ptype)
private

◆ setvolume()

void Reverb::setvolume ( unsigned char _Pvolume)
private

Member Data Documentation

◆ ap

float* zyncarla::Reverb::ap[REV_APS *2]
private

◆ apk

int zyncarla::Reverb::apk[REV_APS *2]
private

◆ aplen

int zyncarla::Reverb::aplen[REV_APS *2]
private

◆ bandwidth

class Unison* zyncarla::Reverb::bandwidth
private

◆ comb

float* zyncarla::Reverb::comb[REV_COMBS *2]
private

◆ combfb

float zyncarla::Reverb::combfb[REV_COMBS *2]
private

◆ combk

int zyncarla::Reverb::combk[REV_COMBS *2]
private

◆ comblen

int zyncarla::Reverb::comblen[REV_COMBS *2]
private

◆ hpf

class AnalogFilter * zyncarla::Reverb::hpf
private

◆ idelay

float* zyncarla::Reverb::idelay
private

◆ idelayfb

float zyncarla::Reverb::idelayfb
private

◆ idelayk

int zyncarla::Reverb::idelayk
private

◆ idelaylen

int zyncarla::Reverb::idelaylen
private

◆ lohidamptype

int zyncarla::Reverb::lohidamptype
private

◆ lohifb

float zyncarla::Reverb::lohifb
private

◆ lpcomb

float zyncarla::Reverb::lpcomb[REV_COMBS *2]
private

◆ lpf

class AnalogFilter* zyncarla::Reverb::lpf
private

◆ Pbandwidth

unsigned char zyncarla::Reverb::Pbandwidth
private

◆ Phpf

unsigned char zyncarla::Reverb::Phpf
private

◆ Pidelay

unsigned char zyncarla::Reverb::Pidelay
private

◆ Pidelayfb

unsigned char zyncarla::Reverb::Pidelayfb
private

◆ Plohidamp

unsigned char zyncarla::Reverb::Plohidamp
private

◆ Plpf

unsigned char zyncarla::Reverb::Plpf
private

◆ ports

rtosc::Ports Reverb::ports
static

◆ Proomsize

unsigned char zyncarla::Reverb::Proomsize
private

◆ Ptime

unsigned char zyncarla::Reverb::Ptime
private

◆ Ptype

unsigned char zyncarla::Reverb::Ptype
private

◆ Pvolume

unsigned char zyncarla::Reverb::Pvolume
private

◆ roomsize

float zyncarla::Reverb::roomsize
private

◆ rs

float zyncarla::Reverb::rs
private

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