Alienwah Class Reference

#include <Alienwah.h>

Inherits Effect.

List of all members.

Public Member Functions

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

Public Attributes

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

Protected Attributes

const int insertion


Detailed Description

"AlienWah" Effect

Constructor & Destructor Documentation

Alienwah::Alienwah ( int  insetion_,
REALTYPE *const  efxoutl_,
REALTYPE *const  efxoutr_ 
)

Constructor

Parameters:
insetion_ 1 for insertion Effect, 0 for others
efxoutl_ Pointer to Alienwah's left channel output buffer
efxoutr_ Pointer to Alienwah's left channel output buffer
Returns:
Initialized Alienwah


Member Function Documentation

void Alienwah::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 Alienwah::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 Alienwah::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 Alienwah::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