#include <Echo.h>
Inherits Effect.
Public Member Functions | |
Echo (const int &insertion_, REALTYPE *const efxoutl_, REALTYPE *const efxoutr_) | |
~Echo () | |
void | out (REALTYPE *const smpsl, REALTYPE *const smpr) |
void | setpreset (unsigned char npreset) |
void | changepar (const int &npar, const unsigned char &value) |
unsigned char | getpar (const int &npar) const |
void | cleanup () |
void | setdryonly () |
virtual REALTYPE | getfreqresponse (REALTYPE freq) |
Public Attributes | |
REALTYPE *const | efxoutl |
REALTYPE *const | efxoutr |
REALTYPE | outvolume |
FilterParams * | filterpars |
Protected Attributes | |
const int | insertion |
Echo::Echo | ( | const int & | insertion_, | |
REALTYPE *const | efxoutl_, | |||
REALTYPE *const | efxoutr_ | |||
) |
Echo::~Echo | ( | ) |
The destructor
void Echo::changepar | ( | const int & | npar, | |
const unsigned char & | value | |||
) | [virtual] |
virtual REALTYPE Effect::getfreqresponse | ( | REALTYPE | freq | ) | [inline, virtual, inherited] |
unsigned char Echo::getpar | ( | const int & | npar | ) | const [virtual] |
Gets the specified parameter
The possible parameters are
npar | number of chosen parameter |
Reimplemented from Effect.
void Echo::out | ( | REALTYPE *const | smpsl, | |
REALTYPE *const | smpr | |||
) | [virtual] |
Outputs the echo to efxoutl and efxoutr
smpsl | Sample from Left channel | |
smpsr | Sample from Right channel |
Reimplemented from Effect.
void Echo::setdryonly | ( | ) |
void Echo::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.