|
LMMS
|
#include <Effect.h>
Public Member Functions | |
| Effect (EffectParams pars) | |
| virtual | ~Effect () |
| virtual void | setpreset (unsigned char npreset)=0 |
| virtual void | changepar (int npar, unsigned char value)=0 |
| virtual unsigned char | getpar (int npar) const =0 |
| void | out (float *const smpsl, float *const smpsr) |
| virtual void | out (const Stereo< float * > &smp)=0 |
| virtual void | cleanup (void) |
| virtual float | getfreqresponse (float freq) |
Static Public Member Functions | |
| static void | crossover (float &a, float &b, float crossover) |
Public Attributes | |
| unsigned char | Ppreset |
| float *const | efxoutl |
| float *const | efxoutr |
| float | outvolume |
| float | volume |
| FilterParams * | filterpars |
Protected Member Functions | |
| void | setpanning (char Ppanning_) |
| void | setlrcross (char Plrcross_) |
| void | alias () |
Protected Attributes | |
| const bool | insertion |
| char | Ppanning |
| float | pangainL |
| float | pangainR |
| char | Plrcross |
| float | lrcross |
| Allocator & | memory |
| unsigned int | samplerate |
| int | buffersize |
| float | samplerate_f |
| float | halfsamplerate_f |
| float | buffersize_f |
| int | bufferbytes |
| Effect::Effect | ( | EffectParams | pars | ) |
|
inlinevirtual |
|
inlineprotected |
Change parameter npar to value
| npar | chosen parameter |
| value | chosen new value |
Implemented in zyncarla::Alienwah, zyncarla::Chorus, zyncarla::Distorsion, zyncarla::DynamicFilter, zyncarla::Echo, zyncarla::EQ, zyncarla::Phaser, and zyncarla::Reverb.
Reset the state of the effect
Reimplemented in zyncarla::Alienwah, zyncarla::Chorus, zyncarla::Distorsion, zyncarla::DynamicFilter, zyncarla::Echo, zyncarla::EQ, zyncarla::Phaser, and zyncarla::Reverb.
|
static |
|
inlinevirtual |
Reimplemented in zyncarla::EQ.
|
pure virtual |
Get the value of parameter npar
| npar | chosen parameter |
Implemented in zyncarla::Alienwah, zyncarla::Chorus, zyncarla::Distorsion, zyncarla::DynamicFilter, zyncarla::Echo, zyncarla::EQ, zyncarla::Phaser, and zyncarla::Reverb.
Implemented in zyncarla::Alienwah, zyncarla::Chorus, zyncarla::Distorsion, zyncarla::DynamicFilter, zyncarla::Echo, zyncarla::EQ, zyncarla::Phaser, and zyncarla::Reverb.
Output result of effect based on the given buffers
This method should result in the effect generating its results and placing them into the efxoutl and efxoutr buffers. Every Effect should overide this method.
| smpsl | Input buffer for the Left channel |
| smpsr | Input buffer for the Right channel |
|
protected |
|
protected |
|
pure virtual |
Choose a preset
| npreset | number of chosen preset |
Implemented in zyncarla::Alienwah, zyncarla::Chorus, zyncarla::Distorsion, zyncarla::DynamicFilter, zyncarla::Echo, zyncarla::EQ, zyncarla::Phaser, and zyncarla::Reverb.
|
protected |
|
protected |
|
protected |
| FilterParams* zyncarla::Effect::filterpars |
Parameters for filters used by Effect
|
protected |
|
protected |
|
protected |
|
protected |
| float zyncarla::Effect::outvolume |
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.0f, so this setting tells me how is the volume to the Master Output only.
|
protected |
|
protected |
|
protected |
|
protected |
| unsigned char zyncarla::Effect::Ppreset |
Currently used preset
|
protected |
|
protected |
| float zyncarla::Effect::volume |