Add ihtsyn

This commit is contained in:
falkTX 2022-01-11 16:42:55 +00:00
parent 9d7bd1583b
commit 5ef7bf5a41
7 changed files with 84 additions and 34 deletions

View file

@ -484,6 +484,19 @@ PLUGIN_FILES += ImpromptuModularDark/PanelTheme.cpp
IMPROMPTUMODULAR_CUSTOM = RefreshCounter
IMPROMPTUMODULAR_CUSTOM_PER_FILE = Clock stepClock
# --------------------------------------------------------------
# ihtsyn
PLUGIN_FILES += $(filter-out ihtsyn/src/plugin.cpp,$(wildcard ihtsyn/src/*.cpp))
# modules/types which are present in other plugins
IHTSYN_CUSTOM_PER_FILE = mv_allpass
IHTSYN_CUSTOM_PER_FILE += mv_staticallpass4tap
IHTSYN_CUSTOM_PER_FILE += mv_staticdelayline
IHTSYN_CUSTOM_PER_FILE += mv_staticdelayline4tap
IHTSYN_CUSTOM_PER_FILE += mv_staticdelayline8tap
IHTSYN_CUSTOM_PER_FILE += mv_statevariable
# --------------------------------------------------------------
# JW-Modules
@ -1135,6 +1148,14 @@ $(BUILD_DIR)/ImpromptuModular%.cpp.o: ImpromptuModular%.cpp
-DpluginInstance=pluginInstance__ImpromptuModular \
-Wno-format-truncation
$(BUILD_DIR)/ihtsyn/%.cpp.o: ihtsyn/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(IHTSYN_CUSTOM),$(call custom_module_names,$(m),ihtsyn)) \
$(foreach m,$(IHTSYN_CUSTOM_PER_FILE),$(call custom_per_file_names,$(m),ihtsyn_$(shell basename $*))) \
-DpluginInstance=pluginInstance__ihtsyn
$(BUILD_DIR)/JW-Modules/src/WavHead.cpp.o: JW-Modules/src/WavHead.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

1
plugins/ihtsyn Submodule

@ -0,0 +1 @@
Subproject commit 69d0120212b3b0afdd608f2667f0959ad9aeffb4

View file

@ -279,40 +279,6 @@ void saveGtgPluginDefault(const char*, int) {}
// GrandeModular
#include "GrandeModular/src/plugin.hpp"
// ImpromptuModular
/* NOTE too much noise in original include, do this a different way
// #include "ImpromptuModular/src/ImpromptuModular.hpp"
*/
extern Model* modelAdaptiveQuantizer;
extern Model* modelBigButtonSeq;
extern Model* modelBigButtonSeq2;
extern Model* modelChordKey;
extern Model* modelChordKeyExpander;
extern Model* modelClocked;
extern Model* modelClockedExpander;
extern Model* modelClkd;
extern Model* modelCvPad;
extern Model* modelFoundry;
extern Model* modelFoundryExpander;
extern Model* modelFourView;
extern Model* modelGateSeq64;
extern Model* modelGateSeq64Expander;
extern Model* modelHotkey;
extern Model* modelPart;
extern Model* modelPhraseSeq16;
extern Model* modelPhraseSeq32;
extern Model* modelPhraseSeqExpander;
extern Model* modelProbKey;
// extern Model* modelProbKeyExpander;
extern Model* modelSemiModularSynth;
extern Model* modelTact;
extern Model* modelTact1;
extern Model* modelTactG;
extern Model* modelTwelveKey;
extern Model* modelWriteSeq32;
extern Model* modelWriteSeq64;
extern Model* modelBlankPanel;
// HetrickCV
#define modelASR modelHetrickCVASR
#define modelBlankPanel modelHetrickCVBlankPanel
@ -360,6 +326,43 @@ extern Model* modelXYToPolar;
#undef modelMidSide
#undef modelMinMax
// ImpromptuModular
/* NOTE too much noise in original include, do this a different way
// #include "ImpromptuModular/src/ImpromptuModular.hpp"
*/
extern Model* modelAdaptiveQuantizer;
extern Model* modelBigButtonSeq;
extern Model* modelBigButtonSeq2;
extern Model* modelChordKey;
extern Model* modelChordKeyExpander;
extern Model* modelClocked;
extern Model* modelClockedExpander;
extern Model* modelClkd;
extern Model* modelCvPad;
extern Model* modelFoundry;
extern Model* modelFoundryExpander;
extern Model* modelFourView;
extern Model* modelGateSeq64;
extern Model* modelGateSeq64Expander;
extern Model* modelHotkey;
extern Model* modelPart;
extern Model* modelPhraseSeq16;
extern Model* modelPhraseSeq32;
extern Model* modelPhraseSeqExpander;
extern Model* modelProbKey;
// extern Model* modelProbKeyExpander;
extern Model* modelSemiModularSynth;
extern Model* modelTact;
extern Model* modelTact1;
extern Model* modelTactG;
extern Model* modelTwelveKey;
extern Model* modelWriteSeq32;
extern Model* modelWriteSeq64;
extern Model* modelBlankPanel;
// ihtsyn
#include "ihtsyn/src/plugin.hpp"
// JW-Modules
#define modelQuantizer modelJWQuantizer
#include "JW-Modules/src/JWModules.hpp"
@ -520,6 +523,7 @@ Plugin* pluginInstance__GrandeModular;
Plugin* pluginInstance__GlueTheGiant;
Plugin* pluginInstance__HetrickCV;
extern Plugin* pluginInstance__ImpromptuModular;
Plugin* pluginInstance__ihtsyn;
Plugin* pluginInstance__JW;
Plugin* pluginInstance__LifeFormModular;
Plugin* pluginInstance__LittleUtils;
@ -1521,6 +1525,21 @@ static void initStatic__ImpromptuModular()
}
}
static void initStatic__ihtsyn()
{
Plugin* const p = new Plugin;
pluginInstance__ihtsyn = p;
const StaticPluginLoader spl(p, "ihtsyn");
if (spl.ok())
{
p->addModel(modelPitchMangler);
p->addModel(modelTwistedVerb);
p->addModel(modelHiVerb);
p->addModel(modelMVerb);
}
}
static void initStatic__JW()
{
Plugin* const p = new Plugin;
@ -1899,6 +1918,7 @@ void initStaticPlugins()
initStatic__GrandeModular();
initStatic__HetrickCV();
initStatic__ImpromptuModular();
initStatic__ihtsyn();
initStatic__JW();
initStatic__LifeFormModular();
initStatic__LittleUtils();

1
plugins/res/ihtsyn Symbolic link
View file

@ -0,0 +1 @@
../ihtsyn/res