#include <Alienwah.h>
Inherits Effect.
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 |
Alienwah::Alienwah | ( | int | insetion_, | |
REALTYPE *const | efxoutl_, | |||
REALTYPE *const | efxoutr_ | |||
) |
void Alienwah::changepar | ( | const int & | npar, | |
const unsigned char & | value | |||
) | [virtual] |
Change parameter npar to value
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] |
unsigned char Alienwah::getpar | ( | const int & | npar | ) | const [virtual] |
Get the value of parameter npar
npar | chosen parameter |
Reimplemented from Effect.
void Alienwah::setpreset | ( | unsigned char | npreset | ) | [virtual] |
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.