diff --git a/plugins/Makefile b/plugins/Makefile index 24cfe7c..f960f95 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -323,7 +323,7 @@ PLUGIN_FILES += $(filter-out AS/src/AS.cpp,$(wildcard AS/src/*.cpp)) PLUGIN_FILES += AS/freeverb/revmodel.cpp # modules/types which are present in other plugins -AS_CUSTOM = ADSR BpmDisplayWidget LabelDisplayWidget LedLight LowFrequencyOscillator SigDisplayWidget VCA YellowRedLight allpass comb revmodel +AS_CUSTOM = ADSR BpmDisplayWidget LabelDisplayWidget LedLight LowFrequencyOscillator SigDisplayWidget VCA WaveShaper YellowRedLight allpass comb revmodel AS_CUSTOM_PER_FILE = NumberDisplayWidget # -------------------------------------------------------------- diff --git a/plugins/plugins.cpp b/plugins/plugins.cpp index 9e27b00..8ed6b8f 100644 --- a/plugins/plugins.cpp +++ b/plugins/plugins.cpp @@ -80,11 +80,13 @@ extern Model* modelBlank; // AS #define modelADSR modelASADSR #define modelVCA modelASVCA +#define modelWaveShaper modelASWaveShaper #define LedLight ASLedLight #define YellowRedLight ASYellowRedLight #include "AS/src/AS.hpp" #undef modelADSR #undef modelVCA +#undef modelWaveShaper #undef LedLight #undef YellowRedLight @@ -1125,6 +1127,7 @@ static void initStatic__AS() { #define modelADSR modelASADSR #define modelVCA modelASVCA +#define modelWaveShaper modelASWaveShaper //OSCILLATORS p->addModel(modelSineOsc); p->addModel(modelSawOsc); @@ -1175,6 +1178,7 @@ static void initStatic__AS() p->addModel(modelBlankPanelSpecial); #undef modelADSR #undef modelVCA +#undef modelWaveShaper } }