Skip to content

Commit

Permalink
adding Dintree
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Feb 24, 2022
1 parent 494f6e7 commit 889da81
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 @@ -142,3 +142,6 @@
[submodule "plugins/Axioma"]
path = plugins/Axioma
url = https://github.com/kauewerner/Axioma.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 @@ -116,6 +116,7 @@ At the moment the following 3rd-party modules are provided:
- Bogaudio
- 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 @@ -27,6 +27,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Bogaudio | GPL-3.0-or-later | |
| 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 @@ -106,6 +107,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 @@ -434,6 +434,13 @@ PLUGIN_FILES += $(wildcard ChowDSP/lib/r8lib/*.cpp)

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 @@ -1202,6 +1209,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 @@ -276,6 +276,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 @@ -582,6 +585,7 @@ Plugin* pluginInstance__Bidoo;
Plugin* pluginInstance__BogaudioModules;
Plugin* pluginInstance__cf;
Plugin* pluginInstance__ChowDSP;
Plugin* pluginInstance__Dintree;
extern Plugin* pluginInstance__DrumKit;
Plugin* pluginInstance__ESeries;
Plugin* pluginInstance__ExpertSleepersEncoders;
Expand Down Expand Up @@ -1287,6 +1291,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 @@ -2054,6 +2078,7 @@ void initStaticPlugins()
initStatic__BogaudioModules();
initStatic__cf();
initStatic__ChowDSP();
initStatic__Dintree();
initStatic__DrumKit();
initStatic__ESeries();
initStatic__ExpertSleepersEncoders();
Expand Down

0 comments on commit 889da81

Please sign in to comment.