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

3
.gitmodules vendored
View file

@ -130,3 +130,6 @@
[submodule "plugins/ExpertSleepers-Encoders"]
path = plugins/ExpertSleepers-Encoders
url = https://github.com/expertsleepersltd/vcvrack-encoders.git
[submodule "plugins/ihtsyn"]
path = plugins/ihtsyn
url = https://github.com/nysthi/ihtsyn.git

View file

@ -100,6 +100,7 @@ At the moment the following 3rd-party modules are provided:
- Grande
- HetrickCV
- Impromptu
- ihtsyn
- JW-Modules
- LifeFormModular
- Little Utils

View file

@ -36,6 +36,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Grande | GPL-3.0-or-later | |
| HetrickCV | CC0-1.0 | |
| Impromptu | GPL-3.0-or-later | |
| ihtsyn | GPL-3.0-or-later | |
| JW-Modules | BSD-3-Clause | |
| LifeFormModular | MIT | |
| Little Utils | MIT | |
@ -99,6 +100,8 @@ Below is a list of artwork licenses from plugins
| Cardinal/* | CC0-1.0 | |
| Cardinal/Miku/Miku.png | CC-BY-NC-3.0 | https://piapro.net/intl/en_for_creators.html |
| ExpertSleepers-Encoders/* | MIT | No artwork specific license provided |
| ihtsyn/* | GPL-3.0-or-later | No artwork specific license provided |
| ihtsyn/LEDCalculator.ttf | Custom | Free for personal use |
| LittleUtils/* | MIT | No artwork specific license provided |
| LyraeModules/* | CC-BY-NC-SA-4.0 | |
| ZetaCarinaeModules/* | GPL-3.0-or-later | No artwork specific license provided |

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