Skip to content

Commit 46dcb39

Browse files
dromerfalkTX
authored andcommitted
Add dBiz
1 parent 801a2cf commit 46dcb39

File tree

6 files changed

+95
-0
lines changed

6 files changed

+95
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,6 @@
215215
[submodule "plugins/h4n4-modules"]
216216
path = plugins/h4n4-modules
217217
url = https://github.com/hannakoppelaar/h4n4-modules.git
218+
[submodule "plugins/dBiz"]
219+
path = plugins/dBiz
220+
url = https://github.com/dBiz/dBiz.git

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ At the moment the following 3rd-party modules are provided:
125125
- Catro/Modulo
126126
- cf
127127
- ChowDSP
128+
- dBiz
128129
- DrumKit
129130
- E-Series
130131
- ExpertSleepers Encoders

docs/LICENSES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
3333
| Catro/Modulo | BSD-3-Clause | |
3434
| cf | BSD-3-Clause | |
3535
| ChowDSP | GPL-3.0-or-later | |
36+
| dBiz | GPL-3.0-or-later | |
3637
| DrumKit | CC0-1.0 | |
3738
| E-Series | GPL-3.0-or-later | |
3839
| ExpertSleepers Encoders | MIT | |
@@ -143,6 +144,9 @@ Below is a list of artwork licenses from plugins
143144
| cf/VT323-Regular.ttf | OFL-1.1-no-RFN | |
144145
| ChowDSP/* | GPL-3.0-or-later | Same license as source code |
145146
| ChowDSP/fonts/RobotoCondensed-*.ttf | Apache-2.0 | |
147+
| dBiz/* | CC-BY-NC-ND-4.0 | |
148+
| dBiz/DejaVuSansMono.ttf | Bitstream-Vera | |
149+
| dBiz/ShareTechMono-Regular.ttf | OFL-1.1 | |
146150
| DrumKit/* | CC0-1.0 | |
147151
| DrumKit/component/NovaMono.ttf | OFL-1.1-RFN | |
148152
| E-Series/* | Custom | Copyright © Synthesis Technology, [used and distributed with permission](LICENSE-PERMISSIONS.md#eseries-paul-schreiber--synthtech) |

plugins/Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,14 @@ PLUGIN_FILES += AS/freeverb/revmodel.cpp
393393
AS_CUSTOM = ADSR BpmDisplayWidget LabelDisplayWidget LedLight LowFrequencyOscillator SigDisplayWidget VCA WaveShaper YellowRedLight allpass comb revmodel
394394
AS_CUSTOM_PER_FILE = NumberDisplayWidget
395395

396+
# --------------------------------------------------------------
397+
# dBiz
398+
399+
PLUGIN_FILES += $(filter-out dBiz/src/plugin.cpp,$(wildcard dBiz/src/*.cpp))
400+
401+
# modules/types which are present in other plugins
402+
DBIZ_CUSTOM = Chord DarkDefaultItem Divider OrangeLight VCA4 darkPanelID lightPanelID
403+
396404
# --------------------------------------------------------------
397405
# AudibleInstruments
398406

@@ -1595,6 +1603,14 @@ $(BUILD_DIR)/ChowDSP/%.cpp.o: ChowDSP/%.cpp
15951603
-IChowDSP/lib/chowdsp_utils/modules/chowdsp_dsp/WDF \
15961604
-Wno-deprecated-copy
15971605

1606+
1607+
$(BUILD_DIR)/dBiz/src/%.cpp.o: dBiz/src/%.cpp
1608+
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
1609+
@echo "Compiling $<"
1610+
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
1611+
$(foreach m,$(DBIZ_CUSTOM),$(call custom_module_names,$(m),dBiz)) \
1612+
-DpluginInstance=pluginInstance__dBiz
1613+
15981614
$(BUILD_DIR)/DrumKit/%.cpp.o: DrumKit/%.cpp
15991615
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
16001616
@echo "Compiling $<"

plugins/dBiz

Submodule dBiz added at 88f1bd6

plugins/plugins.cpp

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,23 @@ extern Model* modelTestVCF;
320320
#include "DrumKit/src/DrumKit.hpp"
321321
void setupSamples();
322322

323+
// dBiz
324+
#define darkPanelID dBizdarkPanelID
325+
#define DarkDefaultItem dBizDarkDefaultItem
326+
#define lightPanelID dBizlightPanelID
327+
#define OrangeLight dBizOrangeLight
328+
#define modelChord modeldBizChord
329+
#define modelVCA4 modeldBizVCA4
330+
#define modelDivider modeldBizDivider
331+
#include "dBiz/src/plugin.hpp"
332+
#undef darkPanelID
333+
#undef DarkDefaultItem
334+
#undef lightPanelID
335+
#undef OrangeLight
336+
#undef modelChord
337+
#undef modelVCA4
338+
#undef modelDivider
339+
323340
// ESeries
324341
#include "ESeries/src/plugin.hpp"
325342

@@ -719,6 +736,7 @@ std::vector<Model*> hostTerminalModels;
719736

720737
// stuff that reads config files, we dont want that
721738
int loadConsoleType() { return 0; }
739+
bool loadDarkAsDefault() { return 1; }
722740
int loadDirectOutMode() { return 0; }
723741
void saveConsoleType(int) {}
724742
void saveDarkAsDefault(bool) {}
@@ -750,6 +768,7 @@ Plugin* pluginInstance__BogaudioModules;
750768
Plugin* pluginInstance__CatroModulo;
751769
Plugin* pluginInstance__cf;
752770
Plugin* pluginInstance__ChowDSP;
771+
Plugin* pluginInstance__dBiz;
753772
extern Plugin* pluginInstance__DrumKit;
754773
Plugin* pluginInstance__ESeries;
755774
Plugin* pluginInstance__ExpertSleepersEncoders;
@@ -1709,6 +1728,56 @@ static void initStatic__ChowDSP()
17091728
}
17101729
}
17111730

1731+
static void initStatic__dBiz()
1732+
{
1733+
Plugin* const p = new Plugin;
1734+
pluginInstance__dBiz = p;
1735+
1736+
const StaticPluginLoader spl(p, "dBiz");
1737+
if (spl.ok())
1738+
{
1739+
#define modelChord modeldBizChord
1740+
#define modelVCA4 modeldBizVCA4
1741+
#define modelDivider modeldBizDivider
1742+
p->addModel(modelNavControl);
1743+
p->addModel(modelBench);
1744+
p->addModel(modelContorno);
1745+
//p->addModel(modelContornoMK2);
1746+
p->addModel(modelTranspose);
1747+
p->addModel(modelUtility);
1748+
p->addModel(modelChord);
1749+
p->addModel(modelBene);
1750+
p->addModel(modelBenePads);
1751+
p->addModel(modelPerfMixer);
1752+
p->addModel(modelDrMix);
1753+
p->addModel(modelPerfMixer4);
1754+
p->addModel(modelVCA4);
1755+
p->addModel(modelVCA530);
1756+
p->addModel(modelRemix);
1757+
p->addModel(modelSmixer);
1758+
p->addModel(modelVerbo);
1759+
p->addModel(modelDVCO);
1760+
p->addModel(modelDAOSC);
1761+
p->addModel(modelTROSC);
1762+
p->addModel(modelTROSCMK2);
1763+
p->addModel(modelSuHa);
1764+
p->addModel(modelSuHaMK2);
1765+
p->addModel(modelFourSeq);
1766+
p->addModel(modelDivider);
1767+
p->addModel(modelUtil2);
1768+
p->addModel(modelSmorph);
1769+
p->addModel(modelBigSmorph);
1770+
p->addModel(modelSPan);
1771+
p->addModel(modelQuePasa);
1772+
p->addModel(modelDualFilter);
1773+
p->addModel(modelOrder);
1774+
p->addModel(modelDualMatrix);
1775+
#undef modelChord
1776+
#undef modelVCA4
1777+
#undef modelDivider
1778+
}
1779+
}
1780+
17121781
static void initStatic__DrumKit()
17131782
{
17141783
Plugin* const p = new Plugin;
@@ -2793,6 +2862,7 @@ void initStaticPlugins()
27932862
initStatic__CatroModulo();
27942863
initStatic__cf();
27952864
initStatic__ChowDSP();
2865+
initStatic__dBiz();
27962866
initStatic__DrumKit();
27972867
initStatic__ESeries();
27982868
initStatic__ExpertSleepersEncoders();

0 commit comments

Comments
 (0)