| @@ -49,9 +49,9 @@ | |||
| [submodule "plugins/ValleyAudio"] | |||
| path = plugins/ValleyAudio | |||
| url = https://github.com/ValleyAudio/ValleyRackFree.git | |||
| [submodule "plugins/DrumKit"] | |||
| path = plugins/DrumKit | |||
| url = https://github.com/SVModular/DrumKit.git | |||
| [submodule "plugins/WSTD-Drums"] | |||
| path = plugins/WSTD-Drums | |||
| url = https://github.com/Wasted-Audio/WSTD-Drums.git | |||
| [submodule "carla"] | |||
| path = carla | |||
| url = https://github.com/falkTX/Carla.git | |||
| @@ -263,4 +263,3 @@ | |||
| [submodule "plugins/eightfold"] | |||
| path = plugins/eightfold | |||
| url = https://github.com/scanner-darkly/eightfold.git | |||
| @@ -145,7 +145,7 @@ At the moment the following 3rd-party modules are provided: | |||
| - [CVfunk](https://github.com/codygeary/CVfunk-Modules) | |||
| - [dBiz](https://github.com/dBiz/dBiz) | |||
| - [DHE Modules](https://github.com/dhemery/DHE-Modules) | |||
| - [DrumKit](https://svmodular.com/plugin/vcv/drumkit.html) | |||
| - [WSTD-Drums](https://github.com/Wasted-Audio/WSTD-Drums) | |||
| - [eightfold](https://github.com/scanner-darkly/eightfold) | |||
| - [EnigmaCurry](https://github.com/EnigmaCurry/EnigmaCurry-vcv-pack) | |||
| - [E-Series](https://github.com/VCVRack/ESeries) | |||
| @@ -39,7 +39,6 @@ Below follows a list of all code licenses used in Cardinal and linked submodules | |||
| | CVfunk | MIT | | | |||
| | dBiz | GPL-3.0-or-later | | | |||
| | DHE-Modules | MIT | | | |||
| | DrumKit | CC0-1.0 | | | |||
| | eightfold | GPL-3.0-or-later | | | |||
| | EnigmaCurry | GPL-3.0-or-later | | | |||
| | E-Series | GPL-3.0-or-later | | | |||
| @@ -92,6 +91,7 @@ Below follows a list of all code licenses used in Cardinal and linked submodules | |||
| | unless_modules | GPL-3.0-or-later | | | |||
| | Valley | GPL-3.0-or-later | | | |||
| | Voxglitch | GPL-3.0-or-later | | | |||
| | WSTD-Drums | CC0-1.0 | | | |||
| | WhatTheRack | WTFPL | | | |||
| | ZetaCarinae | GPL-3.0-or-later | | | |||
| | ZZC | GPL-3.0-or-later | | | |||
| @@ -1 +0,0 @@ | |||
| Subproject commit b94c5deb9b93d810f582221f03db8a6feaee6679 | |||
| @@ -695,17 +695,17 @@ DBIZ_CUSTOM_PER_FILE = LERP MultiFilter Oscillator calcOutput sineOsc subBank | |||
| PLUGIN_FILES += $(filter-out DHE-Modules/src/plugin.cpp,$(wildcard DHE-Modules/src/modules/*/init.cpp)) | |||
| # -------------------------------------------------------------- | |||
| # DrumKit | |||
| # WSTD-Drums | |||
| PLUGIN_FILES += $(wildcard DrumKit/src/*.cpp) | |||
| PLUGIN_FILES += $(wildcard DrumKit/src/controller/*.cpp) | |||
| PLUGIN_FILES += $(wildcard DrumKit/src/view/*.cpp) | |||
| PLUGIN_FILES += $(wildcard DrumKit/src/model/*.cpp) | |||
| PLUGIN_FILES += $(wildcard DrumKit/deps/*.cpp) | |||
| PLUGIN_FILES += $(wildcard DrumKit/deps/SynthDevKit/src/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/src/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/src/controller/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/src/view/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/src/model/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/deps/*.cpp) | |||
| PLUGIN_FILES += $(wildcard WSTD-Drums/deps/SynthDevKit/src/*.cpp) | |||
| # modules/types which are present in other plugins | |||
| DRUMKIT_CUSTOM = ADSR Envelope LowFrequencyOscillator | |||
| WSTD_DRUMS_CUSTOM = ADSR Envelope LowFrequencyOscillator | |||
| # -------------------------------------------------------------- | |||
| # eightfold | |||
| @@ -1487,7 +1487,7 @@ RESOURCE_FILES += BaconPlugs/res/midi/goldberg | |||
| RESOURCE_FILES += Befaco/res/SpringReverbIR.f32 | |||
| RESOURCE_FILES += cf/playeroscs | |||
| RESOURCE_FILES += DHE-Modules/svg | |||
| RESOURCE_FILES += DrumKit/res/samples | |||
| RESOURCE_FILES += WSTD-Drums/res/samples | |||
| RESOURCE_FILES += Meander/res | |||
| RESOURCE_FILES += MindMeldModular/res/ShapeMaster/CommunityPresets | |||
| RESOURCE_FILES += MindMeldModular/res/ShapeMaster/CommunityShapes | |||
| @@ -2350,13 +2350,13 @@ $(BUILD_DIR)/DHE-Modules/src/%.cpp.o: DHE-Modules/src/%.cpp | |||
| -DpluginInstance=pluginInstance__DHE \ | |||
| -IDHE-Modules/src | |||
| $(BUILD_DIR)/DrumKit/%.cpp.o: DrumKit/%.cpp | |||
| $(BUILD_DIR)/WSTD-Drums/%.cpp.o: WSTD-Drums/%.cpp | |||
| -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" | |||
| @echo "Compiling $<" | |||
| $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \ | |||
| $(foreach m,$(DRUMKIT_CUSTOM),$(call custom_module_names,$(m),DrumKit)) \ | |||
| -DpluginInstance=pluginInstance__DrumKit \ | |||
| -Dinit=init__DrumKit \ | |||
| $(foreach m,$(WSTD_DRUMS_CUSTOM),$(call custom_module_names,$(m),WSTD_Drums)) \ | |||
| -DpluginInstance=pluginInstance__WSTD_Drums \ | |||
| -Dinit=init__WSTD_Drums \ | |||
| -Wno-sign-compare | |||
| $(BUILD_DIR)/eightfold/src/%.cpp.o: eightfold/src/%.cpp | |||
| @@ -0,0 +1 @@ | |||
| Subproject commit 275f6fbb2be31c4ae850a6e4c5a2210322753d67 | |||
| @@ -395,8 +395,8 @@ namespace truth { void init(Plugin*); } | |||
| namespace xycloid { void init(Plugin*); } | |||
| } | |||
| // DrumKit | |||
| #include "DrumKit/src/DrumKit.hpp" | |||
| // WSTD-Drums | |||
| #include "WSTD-Drums/src/WSTD_Drums.hpp" | |||
| void setupSamples(); | |||
| // eightfold | |||
| @@ -957,7 +957,7 @@ Plugin* pluginInstance__Computerscare; | |||
| Plugin* pluginInstance__CVfunk; | |||
| Plugin* pluginInstance__dBiz; | |||
| Plugin* pluginInstance__DHE; | |||
| extern Plugin* pluginInstance__DrumKit; | |||
| extern Plugin* pluginInstance__WSTD_Drums; | |||
| Plugin* pluginInstance__eightfold; | |||
| Plugin* pluginInstance__EnigmaCurry; | |||
| Plugin* pluginInstance__ESeries; | |||
| @@ -2147,12 +2147,12 @@ static void initStatic__DHE() | |||
| } | |||
| } | |||
| static void initStatic__DrumKit() | |||
| static void initStatic__WSTD_Drums() | |||
| { | |||
| Plugin* const p = new Plugin; | |||
| pluginInstance__DrumKit = p; | |||
| pluginInstance__WSTD_Drums = p; | |||
| const StaticPluginLoader spl(p, "DrumKit"); | |||
| const StaticPluginLoader spl(p, "WSTD-Drums"); | |||
| if (spl.ok()) | |||
| { | |||
| setupSamples(); | |||
| @@ -3609,7 +3609,7 @@ void initStaticPlugins() | |||
| initStatic__CVfunk(); | |||
| initStatic__dBiz(); | |||
| initStatic__DHE(); | |||
| initStatic__DrumKit(); | |||
| initStatic__WSTD_Drums(); | |||
| initStatic__eightfold(); | |||
| initStatic__EnigmaCurry(); | |||
| initStatic__ESeries(); | |||
| @@ -229,7 +229,7 @@ SYMLINKED_DIRS_RESOURCES += BaconPlugs/res/midi/chopin | |||
| SYMLINKED_DIRS_RESOURCES += BaconPlugs/res/midi/debussy | |||
| SYMLINKED_DIRS_RESOURCES += BaconPlugs/res/midi/goldberg | |||
| SYMLINKED_DIRS_RESOURCES += cf/playeroscs | |||
| SYMLINKED_DIRS_RESOURCES += DrumKit/res/samples | |||
| SYMLINKED_DIRS_RESOURCES += WSTD-Drums/res/samples | |||
| SYMLINKED_DIRS_RESOURCES += Fundamental/presets | |||
| SYMLINKED_DIRS_RESOURCES += GrandeModular/presets | |||
| SYMLINKED_DIRS_RESOURCES += LyraeModules/presets | |||
| @@ -317,7 +317,7 @@ SYMLINKED_DIRS_RESOURCES += BaconPlugs/res/midi/debussy | |||
| SYMLINKED_DIRS_RESOURCES += BaconPlugs/res/midi/goldberg | |||
| SYMLINKED_DIRS_RESOURCES += cf/playeroscs | |||
| SYMLINKED_DIRS_RESOURCES += DHE-Modules/svg | |||
| SYMLINKED_DIRS_RESOURCES += DrumKit/res/samples | |||
| SYMLINKED_DIRS_RESOURCES += WSTD-Drums/res/samples | |||
| SYMLINKED_DIRS_RESOURCES += GrandeModular/presets | |||
| SYMLINKED_DIRS_RESOURCES += LyraeModules/presets | |||
| SYMLINKED_DIRS_RESOURCES += Meander/res | |||
| @@ -54,7 +54,6 @@ enum DarkMode { | |||
| kModeCf, | |||
| kModeComputerscare, | |||
| kModeDHE, | |||
| kModeDrumKit, | |||
| kModeESeries, | |||
| kModeLilacLoop, | |||
| kModeLittleUtils, | |||
| @@ -258,19 +257,6 @@ static const struct { | |||
| { kModeDHE, "/DHE-Modules/svg/truth-4.svg", {}, -1 }, | |||
| { kModeDHE, "/DHE-Modules/svg/upstage.svg", {}, -1 }, | |||
| { kModeDHE, "/DHE-Modules/svg/xycloid.svg", {}, -1 }, | |||
| // CC0-1.0 | |||
| { kModeDrumKit, "/DrumKit/res/Baronial.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/BD9.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/ClosedHH.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/CR78.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/DMX.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/Gnome.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/Marionette.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/OpenHH.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/SBD.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/Sequencer.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/Snare.svg", {}, -1 }, | |||
| { kModeDrumKit, "/DrumKit/res/Tomi.svg", {}, -1 }, | |||
| // Custom, runtime dark mode used with permission | |||
| { kModeESeries,"/ESeries/res/E340.svg", {}, -1 }, | |||
| // GPL3.0-or-later | |||
| @@ -360,6 +346,7 @@ enum LightMode { | |||
| kModeBefaco, | |||
| kModeCardinal, | |||
| kModeComputerscareLight, | |||
| kModeWSTDDrums, | |||
| kModeExtratone, | |||
| kModeFehlerFabrik, | |||
| kModeForsitan, | |||
| @@ -456,6 +443,21 @@ static const struct { | |||
| { kModeCardinal, "/Cardinal/res/HostParamsMap.svg" }, | |||
| { kModeCardinal, "/Cardinal/res/HostTime.svg" }, | |||
| { kModeCardinal, "/Cardinal/res/Ildaeil.svg" }, | |||
| // CC0-1.0 | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Baronial.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/BD9.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/ClosedHH.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/CR78.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/DMX.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Gnome.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Marionette.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/OpenHH.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/SBD.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Sequencer.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Snare.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/Tomi.svg" }, | |||
| { kModeWSTDDrums, "/WSTD-Drums/res/component/Knob.svg" }, | |||
| // BSD-3 Clause | |||
| { kModeComputerscareLight, "/Computerscare/res/ComputerscareStolyFickPigurePanel.svg" }, | |||
| // GPLv3+ | |||
| @@ -629,12 +631,6 @@ bool invertPaintForDarkMode(const DarkMode mode, NSVGshape* const shape, NSVGpai | |||
| { | |||
| switch (mode) | |||
| { | |||
| // Special case for DrumKit background gradient | |||
| case kModeDrumKit: | |||
| std::free(paint.gradient); | |||
| paint.type = NSVG_PAINT_COLOR; | |||
| paint.color = 0xff191919; | |||
| return true; | |||
| // Special case for PathSet shifty gradient | |||
| case kModePathSet: | |||
| paint.gradient->stops[0].color = 0xff7c4919; // 50% darker than main blue | |||