Add MUS-X plugin (#707)
* add MUS-X plugin * fix dual inclusion --------- Co-authored-by: Johannes Rauch <johannes.rauch@actindo.com>
This commit is contained in:
parent
5f4a678660
commit
3c1f9dfb9a
6 changed files with 48 additions and 0 deletions
1
plugins/MUS-X
Submodule
1
plugins/MUS-X
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit f622217ec6b709b7707fb76f85026e0faa93b893
|
|
@ -930,6 +930,11 @@ PLUGIN_FILES += $(filter-out MSM/src/MSM.cpp,$(wildcard MSM/src/*.cpp))
|
|||
# modules/types which are present in other plugins
|
||||
MSM_CUSTOM = ADSR BlankPanel Delay LFO LowFrequencyOscillator Mult Noise OP VCA VCO sawTable triTable
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# MUS-X
|
||||
|
||||
PLUGIN_FILES += $(filter-out MUS-X/src/plugin.cpp,$(wildcard MUS-X/src/*.cpp))
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# myth-modules
|
||||
|
||||
|
@ -2621,6 +2626,13 @@ $(BUILD_DIR)/MSM/%.cpp.o: MSM/%.cpp
|
|||
$(foreach m,$(MSM_CUSTOM),$(call custom_module_names,$(m),MSM)) \
|
||||
-DpluginInstance=pluginInstance__MSM
|
||||
|
||||
$(BUILD_DIR)/MUS-X/%.cpp.o: MUS-X/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(MUS_X_CUSTOM),$(call custom_module_names,$(m),MUS_X)) \
|
||||
-DpluginInstance=pluginInstance__MUS_X
|
||||
|
||||
$(BUILD_DIR)/myth-modules/%.cpp.o: myth-modules/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
|
|
|
@ -759,6 +759,9 @@ extern Model* modelBlankPanel;
|
|||
#undef modelVCA
|
||||
#undef modelVCO
|
||||
|
||||
// MUS-X
|
||||
#include "MUS-X/src/plugin.hpp"
|
||||
|
||||
// myth-modules
|
||||
#include "myth-modules/src/plugin.hpp"
|
||||
|
||||
|
@ -955,6 +958,7 @@ Plugin* pluginInstance__MockbaModular;
|
|||
Plugin* pluginInstance__Mog;
|
||||
extern Plugin* pluginInstance__mscHack;
|
||||
Plugin* pluginInstance__MSM;
|
||||
Plugin* pluginInstance__MUS_X;
|
||||
Plugin* pluginInstance__myth_modules;
|
||||
Plugin* pluginInstance__nonlinearcircuits;
|
||||
Plugin* pluginInstance__Orbits;
|
||||
|
@ -2850,6 +2854,30 @@ static void initStatic__MSM()
|
|||
}
|
||||
}
|
||||
|
||||
static void initStatic__MUS_X()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
pluginInstance__MUS_X = p;
|
||||
|
||||
const StaticPluginLoader spl(p, "MUS-X");
|
||||
if (spl.ok())
|
||||
{
|
||||
p->addModel(musx::modelADSR);
|
||||
p->addModel(musx::modelDelay);
|
||||
p->addModel(musx::modelDrift);
|
||||
p->addModel(musx::modelFilter);
|
||||
p->addModel(musx::modelLast);
|
||||
p->addModel(musx::modelLFO);
|
||||
p->addModel(musx::modelModMatrix);
|
||||
p->addModel(musx::modelOnePole);
|
||||
p->addModel(musx::modelOnePoleLP);
|
||||
p->addModel(musx::modelOscillators);
|
||||
p->addModel(musx::modelSplitStack);
|
||||
p->addModel(musx::modelSynth);
|
||||
p->addModel(musx::modelTuner);
|
||||
}
|
||||
}
|
||||
|
||||
static void initStatic__myth_modules()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
|
@ -3495,6 +3523,7 @@ void initStaticPlugins()
|
|||
initStatic__Mog();
|
||||
initStatic__mscHack();
|
||||
initStatic__MSM();
|
||||
initStatic__MUS_X();
|
||||
initStatic__myth_modules();
|
||||
initStatic__nonlinearcircuits();
|
||||
initStatic__Orbits();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue