| @@ -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,6 @@ 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) | |||
| - [eightfold](https://github.com/scanner-darkly/eightfold) | |||
| - [EnigmaCurry](https://github.com/EnigmaCurry/EnigmaCurry-vcv-pack) | |||
| - [E-Series](https://github.com/VCVRack/ESeries) | |||
| @@ -199,6 +198,7 @@ At the moment the following 3rd-party modules are provided: | |||
| - [Valley](https://github.com/ValleyAudio/ValleyRackFree) | |||
| - [Voxglitch](https://github.com/clone45/voxglitch) | |||
| - [WhatTheRack](https://github.com/korfuri/WhatTheRack) | |||
| - [WSTD-Drums](https://github.com/Wasted-Audio/WSTD-Drums) | |||
| - [ZetaCarinae](https://github.com/mhampton/ZetaCarinaeModules) | |||
| - [ZZC](https://github.com/zezic/ZZC) | |||
| @@ -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 | |||
| @@ -694,19 +694,6 @@ 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 | |||
| 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) | |||
| # modules/types which are present in other plugins | |||
| DRUMKIT_CUSTOM = ADSR Envelope LowFrequencyOscillator | |||
| # -------------------------------------------------------------- | |||
| # eightfold | |||
| @@ -1338,6 +1325,19 @@ VOXGLITCH_CUSTOM_PER_FILE = AudioBuffer GateSequencer Grain SamplePlayer Sequenc | |||
| PLUGIN_FILES += $(filter-out WhatTheRack/src/WhatTheRack.cpp,$(wildcard WhatTheRack/src/*.cpp)) | |||
| # -------------------------------------------------------------- | |||
| # WSTD-Drums | |||
| 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 | |||
| WSTD_DRUMS_CUSTOM = ADSR Envelope LowFrequencyOscillator | |||
| # -------------------------------------------------------------- | |||
| # ZetaCarinaeModules | |||
| @@ -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,15 +2350,6 @@ $(BUILD_DIR)/DHE-Modules/src/%.cpp.o: DHE-Modules/src/%.cpp | |||
| -DpluginInstance=pluginInstance__DHE \ | |||
| -IDHE-Modules/src | |||
| $(BUILD_DIR)/DrumKit/%.cpp.o: DrumKit/%.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 \ | |||
| -Wno-sign-compare | |||
| $(BUILD_DIR)/eightfold/src/%.cpp.o: eightfold/src/%.cpp | |||
| -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" | |||
| @echo "Compiling $<" | |||
| @@ -2846,6 +2837,15 @@ $(BUILD_DIR)/WhatTheRack/%.cpp.o: WhatTheRack/%.cpp | |||
| $(foreach m,$(WHATTHERACK_CUSTOM),$(call custom_module_names,$(m),WhatTheRack)) \ | |||
| -DpluginInstance=pluginInstance__WhatTheRack | |||
| $(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,$(WSTD_DRUMS_CUSTOM),$(call custom_module_names,$(m),WSTD_Drums)) \ | |||
| -DpluginInstance=pluginInstance__WSTD_Drums \ | |||
| -Dinit=init__WSTD_Drums \ | |||
| -Wno-sign-compare | |||
| $(BUILD_DIR)/ZamAudio/%.cpp.o: ZamAudio/%.cpp | |||
| -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" | |||
| @echo "Compiling $<" | |||
| @@ -0,0 +1 @@ | |||
| Subproject commit 05330ce99f4ec742f906c77ab5d8758a15decb4c | |||
| @@ -395,10 +395,6 @@ namespace truth { void init(Plugin*); } | |||
| namespace xycloid { void init(Plugin*); } | |||
| } | |||
| // DrumKit | |||
| #include "DrumKit/src/DrumKit.hpp" | |||
| void setupSamples(); | |||
| // eightfold | |||
| #include "eightfold/src/plugin.hpp" | |||
| @@ -900,6 +896,10 @@ void surgext_rack_update_theme(); | |||
| // WhatTheRack | |||
| #include "WhatTheRack/src/WhatTheRack.hpp" | |||
| // WSTD-Drums | |||
| #include "WSTD-Drums/src/WSTD_Drums.hpp" | |||
| void setupSamples(); | |||
| // ZetaCarinaeModules | |||
| #include "ZetaCarinaeModules/src/plugin.hpp" | |||
| @@ -957,7 +957,6 @@ Plugin* pluginInstance__Computerscare; | |||
| Plugin* pluginInstance__CVfunk; | |||
| Plugin* pluginInstance__dBiz; | |||
| Plugin* pluginInstance__DHE; | |||
| extern Plugin* pluginInstance__DrumKit; | |||
| Plugin* pluginInstance__eightfold; | |||
| Plugin* pluginInstance__EnigmaCurry; | |||
| Plugin* pluginInstance__ESeries; | |||
| @@ -1010,6 +1009,7 @@ Plugin* pluginInstance__unless_modules; | |||
| Plugin* pluginInstance__ValleyAudio; | |||
| Plugin* pluginInstance__Voxglitch; | |||
| Plugin* pluginInstance__WhatTheRack; | |||
| extern Plugin* pluginInstance__WSTD_Drums; | |||
| Plugin* pluginInstance__ZetaCarinaeModules; | |||
| Plugin* pluginInstance__ZZC; | |||
| @@ -2147,30 +2147,6 @@ static void initStatic__DHE() | |||
| } | |||
| } | |||
| static void initStatic__DrumKit() | |||
| { | |||
| Plugin* const p = new Plugin; | |||
| pluginInstance__DrumKit = p; | |||
| const StaticPluginLoader spl(p, "DrumKit"); | |||
| if (spl.ok()) | |||
| { | |||
| setupSamples(); | |||
| p->addModel(modelBD9); | |||
| p->addModel(modelSnare); | |||
| p->addModel(modelClosedHH); | |||
| p->addModel(modelOpenHH); | |||
| p->addModel(modelDMX); | |||
| p->addModel(modelCR78); | |||
| p->addModel(modelSBD); | |||
| p->addModel(modelGnome); | |||
| p->addModel(modelSequencer); | |||
| p->addModel(modelTomi); | |||
| p->addModel(modelBaronial); | |||
| p->addModel(modelMarionette); | |||
| } | |||
| } | |||
| static void initStatic__eightfold() | |||
| { | |||
| Plugin* const p = new Plugin; | |||
| @@ -3538,6 +3514,30 @@ static void initStatic__WhatTheRack() | |||
| } | |||
| } | |||
| static void initStatic__WSTD_Drums() | |||
| { | |||
| Plugin* const p = new Plugin; | |||
| pluginInstance__WSTD_Drums = p; | |||
| const StaticPluginLoader spl(p, "WSTD-Drums"); | |||
| if (spl.ok()) | |||
| { | |||
| setupSamples(); | |||
| p->addModel(modelBD9); | |||
| p->addModel(modelSnare); | |||
| p->addModel(modelClosedHH); | |||
| p->addModel(modelOpenHH); | |||
| p->addModel(modelDMX); | |||
| p->addModel(modelCR78); | |||
| p->addModel(modelSBD); | |||
| p->addModel(modelGnome); | |||
| p->addModel(modelSequencer); | |||
| p->addModel(modelTomi); | |||
| p->addModel(modelBaronial); | |||
| p->addModel(modelMarionette); | |||
| } | |||
| } | |||
| static void initStatic__ZetaCarinaeModules() | |||
| { | |||
| Plugin* p = new Plugin; | |||
| @@ -3610,7 +3610,6 @@ void initStaticPlugins() | |||
| initStatic__CVfunk(); | |||
| initStatic__dBiz(); | |||
| initStatic__DHE(); | |||
| initStatic__DrumKit(); | |||
| initStatic__eightfold(); | |||
| initStatic__EnigmaCurry(); | |||
| initStatic__ESeries(); | |||
| @@ -3663,6 +3662,7 @@ void initStaticPlugins() | |||
| initStatic__ValleyAudio(); | |||
| initStatic__Voxglitch(); | |||
| initStatic__WhatTheRack(); | |||
| initStatic__WSTD_Drums(); | |||
| initStatic__ZetaCarinaeModules(); | |||
| initStatic__ZZC(); | |||
| @@ -229,7 +229,6 @@ 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 += Fundamental/presets | |||
| SYMLINKED_DIRS_RESOURCES += GrandeModular/presets | |||
| SYMLINKED_DIRS_RESOURCES += LyraeModules/presets | |||
| @@ -247,6 +246,7 @@ SYMLINKED_DIRS_RESOURCES += surgext/build/surge-data/fx_presets | |||
| SYMLINKED_DIRS_RESOURCES += surgext/build/surge-data/wavetables | |||
| SYMLINKED_DIRS_RESOURCES += surgext/patches | |||
| SYMLINKED_DIRS_RESOURCES += surgext/presets | |||
| SYMLINKED_DIRS_RESOURCES += WSTD-Drums/res/samples | |||
| LINK_FLAGS += $(foreach d,$(SYMLINKED_DIRS_RESOURCES),--preload-file=../../bin/CardinalNative.lv2/resources/$(d)@/resources/$(d)) | |||
| endif | |||
| LINK_FLAGS += -sALLOW_MEMORY_GROWTH | |||
| @@ -317,7 +317,6 @@ 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 += GrandeModular/presets | |||
| SYMLINKED_DIRS_RESOURCES += LyraeModules/presets | |||
| SYMLINKED_DIRS_RESOURCES += Meander/res | |||
| @@ -332,6 +331,7 @@ SYMLINKED_DIRS_RESOURCES += Orbits/presets | |||
| SYMLINKED_DIRS_RESOURCES += stoermelder-packone/presets | |||
| SYMLINKED_DIRS_RESOURCES += surgext/build/surge-data/fx_presets | |||
| SYMLINKED_DIRS_RESOURCES += surgext/build/surge-data/wavetables | |||
| SYMLINKED_DIRS_RESOURCES += WSTD-Drums/res/samples | |||
| endif | |||
| LINK_FLAGS += $(foreach d,$(SYMLINKED_DIRS_RESOURCES),--preload-file=../../bin/CardinalNative.lv2/resources/$(d)@/resources/$(d)) | |||
| @@ -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 | |||
| @@ -374,6 +360,7 @@ enum LightMode { | |||
| kModePrism, | |||
| kModeRepelzen, | |||
| kModeSonusmodular, | |||
| kModeWSTDDrums, | |||
| }; | |||
| static const struct { | |||
| @@ -594,6 +581,20 @@ static const struct { | |||
| { kModeSonusmodular, "/sonusmodular/res/tropicana.svg" }, | |||
| { kModeSonusmodular, "/sonusmodular/res/twoff.svg" }, | |||
| { kModeSonusmodular, "/sonusmodular/res/yabp.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" }, | |||
| }; | |||
| static inline | |||
| @@ -630,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 | |||
| @@ -48,6 +48,7 @@ static const std::map<std::string, std::string> pluginSlugFallbacks = { | |||
| {"AudibleInstrumentsPreview", "AudibleInstruments"}, | |||
| {"SequelSequencers", "DanielDavies"}, | |||
| {"DelexanderVol1", "DelexandraVol1"}, | |||
| {"DrumKit", "WSTD-Drums"} | |||
| // {"", ""}, | |||
| }; | |||
| @@ -102,6 +103,18 @@ static const std::map<PluginModuleSlug, PluginModuleSlug> moduleSlugFallbacks = | |||
| {{"Core", "Notes"}, {"Cardinal", "TextEditor"}}, | |||
| {{"Core", "Blank"}, {"Cardinal", "Blank"}}, | |||
| {{"MindMeld-ShapeMasterPro", "ShapeMasterPro"}, {"MindMeldModular", "ShapeMaster"}}, | |||
| {{"DrumKit", "BassDrum9"}, {"WSTD-Drums", "BassDrum9"}}, | |||
| {{"DrumKit", "ClosedHiHat"}, {"WSTD-Drums", "ClosedHiHat"}}, | |||
| {{"DrumKit", "CR78"}, {"WSTD-Drums", "CR78"}}, | |||
| {{"DrumKit", "DMX"}, {"WSTD-Drums", "DMX"}}, | |||
| {{"DrumKit", "OpenHiHat"}, {"WSTD-Drums", "OpenHiHat"}}, | |||
| {{"DrumKit", "SyntheticBassDrum"}, {"WSTD-Drums", "SyntheticBassDrum"}}, | |||
| {{"DrumKit", "SnareDrumN"}, {"WSTD-Drums", "SnareDrumN"}}, | |||
| {{"DrumKit", "Tomi"}, {"WSTD-Drums", "Tomi"}}, | |||
| {{"DrumKit", "Gnome"}, {"WSTD-Drums", "Gnome"}}, | |||
| {{"DrumKit", "Sequencer"}, {"WSTD-Drums", "Sequencer"}}, | |||
| {{"DrumKit", "Baronial"}, {"WSTD-Drums", "Baronial"}}, | |||
| {{"DrumKit", "MarionetteBass"}, {"WSTD-Drums", "MarionetteBass"}}, | |||
| // {{"", ""}, {"", ""}}, | |||
| }; | |||