Reverb Class Reference

#include <Reverb.h>

Inherits Effect.

List of all members.

Public Member Functions

 Reverb (const int &insertion_, REALTYPE *efxoutl_, REALTYPE *efxoutr_)
void cleanup ()
void setpreset (unsigned char npreset)
void changepar (const int &npar, const unsigned char &value)
unsigned char getpar (const int &npar) const
virtual REALTYPE getfreqresponse (REALTYPE freq)

Public Attributes

REALTYPE *const efxoutl
REALTYPE *const efxoutr
REALTYPE outvolume
FilterParams * filterpars

Protected Attributes

const int insertion


Detailed Description

Creates Reverberation Effects

Constructor & Destructor Documentation

Reverb::Reverb ( const int &  insertion_,
REALTYPE *  efxoutl_,
REALTYPE *  efxoutr_ 
)

Todo:
: EarlyReflections,Prdelay,Perbalance


Member Function Documentation

void Reverb::changepar ( const int &  npar,
const unsigned char &  value 
) [virtual]

Change parameter npar to value

Parameters:
npar chosen parameter
value chosen new value

Reimplemented from Effect.

void Reverb::cleanup (  )  [virtual]

Reset the state of the effect

Reimplemented from Effect.

virtual REALTYPE Effect::getfreqresponse ( REALTYPE  freq  )  [inline, virtual, inherited]

This is only used for EQ (for user interface)

Reimplemented in EQ.

unsigned char Reverb::getpar ( const int &  npar  )  const [virtual]

Get the value of parameter npar

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

Reimplemented from Effect.

void Reverb::setpreset ( unsigned char  npreset  )  [virtual]

Choose a preset

Parameters:
npreset number of chosen preset

Reimplemented from Effect.


Member Data Documentation

REALTYPE* const Effect::efxoutl [inherited]

Effect out Left Channel

REALTYPE* const Effect::efxoutr [inherited]

Effect out Right Channel

FilterParams* Effect::filterpars [inherited]

Parameters for filters used by Effect

const int Effect::insertion [protected, inherited]

If Effect is an insertion effect, insertion=1 otherwise, it should be insertion=0

REALTYPE Effect::outvolume [inherited]

This is the volume of effect and is public because it is needed in system effects. The out volume of such effects are always 1.0, so this setting tells me how is the volume to the Master Output only.


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

Generated on Sun Mar 29 13:44:49 2009 for ZynAddSubFX by  doxygen 1.5.7