diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-04-03 15:07:02 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-04-03 15:30:28 +0200 |
commit | 7881b2698cee2b0187adbe8a2c0a66a90cc371c1 (patch) | |
tree | 97634f663c6f24ae7d03a9400be2320671a494f1 /plugins/LV2/src/Console5DarkCh/Console5DarkCh.h | |
parent | 44faf659b6dd2de36d086e1cb5dfa5a978d89d37 (diff) | |
download | airwindows-lv2-port-7881b2698cee2b0187adbe8a2c0a66a90cc371c1.tar.gz airwindows-lv2-port-7881b2698cee2b0187adbe8a2c0a66a90cc371c1.tar.bz2 airwindows-lv2-port-7881b2698cee2b0187adbe8a2c0a66a90cc371c1.zip |
Add more plugins, Console5Buss to curve
Diffstat (limited to 'plugins/LV2/src/Console5DarkCh/Console5DarkCh.h')
-rw-r--r-- | plugins/LV2/src/Console5DarkCh/Console5DarkCh.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/LV2/src/Console5DarkCh/Console5DarkCh.h b/plugins/LV2/src/Console5DarkCh/Console5DarkCh.h new file mode 100644 index 0000000..45504e8 --- /dev/null +++ b/plugins/LV2/src/Console5DarkCh/Console5DarkCh.h @@ -0,0 +1,43 @@ +#ifndef __Console5DarkCh_H +#define __Console5DarkCh_H + +#include <lv2plugin.h> + +class Console5DarkCh : public LV2Plugin<1> { +public: + Console5DarkCh(double rate); + + void activate(); + void run(uint32_t num_samples); + + static constexpr const char * URI = "https://www.airwindows.com/console5darkch"; + +private: + /* + * These are the original DSP functions from the VST plugin. + * They need to be called from the LV2 plugins `run` function. + */ + void processReplacing(float **in, float **out, VstInt32 samples); + void processDoubleReplacing(double **in, double **out, VstInt32 samples); + + /* + * Members needed by the processing functions. + */ + + double lastSampleChannelL; + double lastSampleChannelR; + double lastFXChannelL; + double lastFXChannelR; + double iirCorrectL; + double iirCorrectR; + double gainchase; + double settingchase; + double chasespeed; + long double fpNShapeL; + long double fpNShapeR; + //default stuff + + float A; +}; + +#endif |