#include <EQ.h>
Inherits Effect.
Public Member Functions | |
void | setpreset (unsigned char npreset) |
void | changepar (const int &npar, const unsigned char &value) |
unsigned char | getpar (const int &npar) const |
void | cleanup () |
REALTYPE | getfreqresponse (REALTYPE freq) |
Public Attributes | |
REALTYPE *const | efxoutl |
REALTYPE *const | efxoutr |
REALTYPE | outvolume |
FilterParams * | filterpars |
Protected Attributes | |
const int | insertion |
void EQ::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 EQ::cleanup | ( | ) | [virtual] |
Reset the state of the effect
Reimplemented from Effect.
REALTYPE EQ::getfreqresponse | ( | REALTYPE | freq | ) | [virtual] |
unsigned char EQ::getpar | ( | const int & | npar | ) | const [virtual] |
Get the value of parameter npar
npar | chosen parameter |
Reimplemented from Effect.
void EQ::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.