Skip to content

Commit

Permalink
Merge branch 'feature/add-dinntree' of https://github.com/Wasted-Audi…
Browse files Browse the repository at this point in the history
…o/Cardinal into main

Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Feb 25, 2022
2 parents a5deb9a + 889da81 commit 59b9693
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@
[submodule "plugins/PathSet"]
path = plugins/PathSet
url = https://github.com/patheros/PathSetModules.git
[submodule "plugins/Dintree"]
path = plugins/Dintree
url = https://github.com/hires/Dintree-Virtual.git
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ At the moment the following 3rd-party modules are provided:
- Catro/Modulo
- cf
- ChowDSP
- Dintree Virtual
- DrumKit
- E-Series
- ExpertSleepers Encoders
Expand Down
3 changes: 3 additions & 0 deletions docs/LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Catro/Modulo | BSD-3-Clause | |
| cf | BSD-3-Clause | |
| ChowDSP | GPL-3.0-or-later | |
| Dintree | GPL-3.0-or-later | |
| DrumKit | CC0-1.0 | |
| E-Series | GPL-3.0-or-later | |
| ExpertSleepers Encoders | MIT | |
Expand Down Expand Up @@ -117,6 +118,8 @@ Below is a list of artwork licenses from plugins
| cf/VT323-Regular.ttf | OFL-1.1-no-RFN | |
| ChowDSP/* | GPL-3.0-or-later | Same license as source code |
| ChowDSP/fonts/RobotoCondensed-*.ttf | Apache-2.0 | |
| Dintree/* | GPL-3.0-or-later | No artwork specific license provided |
| Dintree/components/fixedsys.ttf | unknown | needs research |
| DrumKit/* | CC0-1.0 | |
| DrumKit/component/NovaMono.ttf | OFL-1.1-RFN | |
| E-Series/* | Custom | Copyright © Synthesis Technology, [used and distributed with permission](LICENSE-PERMISSIONS.md#eseries-paul-schreiber--synthtech) |
Expand Down
1 change: 1 addition & 0 deletions plugins/Dintree
Submodule Dintree added at 0fd807
14 changes: 14 additions & 0 deletions plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,13 @@ CATROMODULO_CUSTOM = LowFrequencyOscillator NumDisplayWidget

PLUGIN_FILES += $(filter-out cf/src/plugin.cpp,$(wildcard cf/src/*.cpp))

# --------------------------------------------------------------
# Dintree

PLUGIN_FILES += $(wildcard Dintree/src/*.cpp)
PLUGIN_FILES += $(wildcard Dintree/src/components/*.cpp)
PLUGIN_FILES += $(wildcard Dintree/src/utils/*.cpp)

# --------------------------------------------------------------
# DrumKit

Expand Down Expand Up @@ -1271,6 +1278,13 @@ $(BUILD_DIR)/ChowDSP/%.cpp.o: ChowDSP/%.cpp
-IChowDSP/lib/chowdsp_utils/DSP/WDF \
-Wno-deprecated-copy

$(BUILD_DIR)/Dintree/%.cpp.o: Dintree/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(DINTREE_CUSTOM),$(call custom_module_names,$(m),Dintree)) \
-DpluginInstance=pluginInstance__Dintree

$(BUILD_DIR)/DrumKit/%.cpp.o: DrumKit/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
Expand Down
25 changes: 25 additions & 0 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ extern Model* modelTestVCF;
#include "ChowDSP/src/plugin.cpp"
#undef init

// Dintree
#include "Dintree/src/plugin.hpp"

// DrumKit
#include "DrumKit/src/DrumKit.hpp"
void setupSamples();
Expand Down Expand Up @@ -653,6 +656,7 @@ Plugin* pluginInstance__BogaudioModules;
Plugin* pluginInstance__CatroModulo;
Plugin* pluginInstance__cf;
Plugin* pluginInstance__ChowDSP;
Plugin* pluginInstance__Dintree;
extern Plugin* pluginInstance__DrumKit;
Plugin* pluginInstance__ESeries;
Plugin* pluginInstance__ExpertSleepersEncoders;
Expand Down Expand Up @@ -1387,6 +1391,26 @@ static void initStatic__ChowDSP()
}
}

static void initStatic__Dintree()
{
Plugin* const p = new Plugin;
pluginInstance__Dintree = p;

const StaticPluginLoader spl(p, "Dintree");
if (spl.ok())
{
p->addModel(modelV100_Scanner);
p->addModel(modelV101_Dual_Envelope);
p->addModel(modelV102_Output_Mixer);
p->addModel(modelV103_Reverb_Delay);
p->addModel(modelV104_Four_Vs);
p->addModel(modelV105_Quad_CV_Proc);
p->addModel(modelV107_Dual_Slew);
p->addModel(modelV201_Tri_Comparator);
p->addModel(modelV218_SH_Clock_Noise);
}
}

static void initStatic__DrumKit()
{
Plugin* const p = new Plugin;
Expand Down Expand Up @@ -2307,6 +2331,7 @@ void initStaticPlugins()
initStatic__CatroModulo();
initStatic__cf();
initStatic__ChowDSP();
initStatic__Dintree();
initStatic__DrumKit();
initStatic__ESeries();
initStatic__ExpertSleepersEncoders();
Expand Down

0 comments on commit 59b9693

Please sign in to comment.