Browse Source

Merge branch 'main' into add-loginstruments

pull/656/head
Shiera Kawa GitHub 1 year ago
parent
commit
e8a6731db5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
11 changed files with 73 additions and 11 deletions
  1. +3
    -0
      .gitmodules
  2. +3
    -0
      Makefile
  3. +1
    -0
      README.md
  4. +4
    -0
      docs/LICENSES.md
  5. +1
    -1
      plugins/CVfunk
  6. +18
    -2
      plugins/Makefile
  7. +1
    -0
      plugins/PdArray
  8. +1
    -1
      plugins/Sapphire
  9. +33
    -7
      plugins/plugins.cpp
  10. +3
    -0
      src/Makefile
  11. +5
    -0
      src/custom/dep.cpp

+ 3
- 0
.gitmodules View File

@@ -248,3 +248,6 @@
[submodule "plugins/LOGinstruments"]
path = plugins/LOGinstruments
url = https://github.com/LOGUNIVPM/LOGinstruments.git
[submodule "plugins/PdArray"]
path = plugins/PdArray
url = https://github.com/mgunyho/PdArray.git

+ 3
- 0
Makefile View File

@@ -223,6 +223,9 @@ lv2: carla deps dgl plugins resources
vst2: carla deps dgl plugins resources
$(MAKE) vst2 -C src $(CARLA_EXTRA_ARGS)

vst2fx: carla deps dgl plugins resources
$(MAKE) vst2fx -C src $(CARLA_EXTRA_ARGS)

vst3: carla deps dgl plugins resources
$(MAKE) vst3 -C src $(CARLA_EXTRA_ARGS)



+ 1
- 0
README.md View File

@@ -179,6 +179,7 @@ At the moment the following 3rd-party modules are provided:
- [Orbits](https://github.com/RareBreeds/Orbits)
- [Parable Instruments](https://github.com/adbrant/ArableInstruments)
- [Path Set](https://github.com/patheros/PathSetModules)
- [PdArray](https://github.com/mgunyho/PdArray)
- [PinkTrombone](https://github.com/VegaDeftwing/PinkTromboneVCV)
- [Prism](https://github.com/SteveRussell33/Prism)
- [rackwindows](https://github.com/n0jo/rackwindows)


+ 4
- 0
docs/LICENSES.md View File

@@ -74,6 +74,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Orbits | GPL-3.0-or-later | |
| Parable Instruments | GPL-3.0-or-later | |
| Path Set | GPL-3.0-or-later | |
| PdArray | EUPL-1.2 | |
| PinkTrombone | GPL-3.0-or-later | |
| Prism | BSD-3-Clause | |
| Rackwindows | MIT | |
@@ -235,6 +236,9 @@ Below is a list of artwork licenses from plugins
| Orbits/fonts/ShareTechMono-Regular.ttf | OFL-1.1-RFN | |
| ParableInstruments/* | Custom | Copyright © Alex Brandt, [used and distributed with permission](https://github.com/adbrant/ArableInstruments/issues/21) |
| PathSet/* | GPL-3.0-or-later | No artwork specific license provided |
| PdArray/res/*svg | EUPL-1.2 | No artwork specific license provided |
| PdArray/res/fonts/Overpass-*.ttf | OFL-1.1-RFN | |
| PdArray/res/fonts/Roboto-*.ttf | Apache-2.0 | |
| PinkTrombone/* | GPL-3.0-or-later | No artwork specific license provided |
| Prism/* | CC-BY-SA-4.0 | |
| Prism/RobotoCondensed-Regular.ttf | Apache-2.0 | |


+ 1
- 1
plugins/CVfunk

@@ -1 +1 @@
Subproject commit 9b36e612109fef8eee8edfe25d6868e47d13b6f2
Subproject commit d0abf0ea9c7847f61cc280a18c3d01ad4e0b5100

+ 18
- 2
plugins/Makefile View File

@@ -977,6 +977,14 @@ PLUGIN_FILES += $(filter-out PathSet/src/plugin.cpp,$(wildcard PathSet/src/*.cpp
# modules/types which are present in other plugins
PATHSET_CUSTOM = PitchShifter

# --------------------------------------------------------------
# PdArray

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

# modules/types which are present in other plugins
PDARRAY_CUSTOM = $(DRWAV) CustomTrimpot MsDisplayWidget TextBox

# --------------------------------------------------------------
# PinkTrombone

@@ -1029,7 +1037,7 @@ PLUGIN_FILES += $(filter-out sonusmodular/src/sonusmodular.cpp,$(wildcard sonusm
# --------------------------------------------------------------
# Starling Via

PLUGIN_FILES += $(wildcard StarlingVia/src/*.cpp)
PLUGIN_FILES += $(filter-out StarlingVia/src/starling.cpp,$(wildcard StarlingVia/src/*.cpp))
PLUGIN_FILES += $(wildcard StarlingVia/Via/io/src/*.cpp)
PLUGIN_FILES += $(wildcard StarlingVia/Via/ui/src/*.cpp)
PLUGIN_FILES += $(wildcard StarlingVia/Via/modules/*/*.cpp)
@@ -1455,6 +1463,7 @@ RESOURCE_FILES += surgext/build/surge-data/configuration.xml
RESOURCE_FILES += surgext/build/surge-data/fx_presets
RESOURCE_FILES += surgext/build/surge-data/wavetables
RESOURCE_FILES += surgext/build/surge-data/windows.wt
RESOURCE_FILES += $(wildcard StarlingVia/res/original.*)
RESOURCE_FILES += $(wildcard surgext/res/xt/fonts/quicksand/*.ttf)
RESOURCE_FILES += $(wildcard unless_modules/art/*.art)
RESOURCE_FILES += $(wildcard unless_modules/art/svg/*/*.svg)
@@ -2640,6 +2649,13 @@ $(BUILD_DIR)/PathSet/%.cpp.o: PathSet/%.cpp
$(foreach m,$(PATHSET_CUSTOM),$(call custom_module_names,$(m),PathSet)) \
-DpluginInstance=pluginInstance__PathSet

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

$(BUILD_DIR)/PinkTrombone/%.cpp.o: PinkTrombone/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
@@ -2681,7 +2697,7 @@ $(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
$(BUILD_DIR)/Sapphire/%.cpp.o: Sapphire/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -std=gnu++17 -c -o $@ \
$(foreach m,$(SAPPHIRE_CUSTOM),$(call custom_module_names,$(m),Sapphire)) \
-DpluginInstance=pluginInstance__sapphire



+ 1
- 0
plugins/PdArray

@@ -0,0 +1 @@
Subproject commit 8e8e65490bf9d1708e586b1d759849bf2d76a4f0

+ 1
- 1
plugins/Sapphire

@@ -1 +1 @@
Subproject commit d26e157140ef6283906a33675733ea35e4dd26ac
Subproject commit 0bcc1f4a48a7a7d59013f5f4a12574f7453a5edf

+ 33
- 7
plugins/plugins.cpp View File

@@ -779,6 +779,17 @@ extern Model* modelBlankPanel;
// Path Set
#include "PathSet/src/plugin.hpp"

// PdArray
#define TextBox PdArrayTextBox
#define CustomTrimpot PdArrayCustomTrimpot
#define MsDisplayWidget PdArrayMsDisplayWidget
#define MAX_POLY_CHANNELS PDARRAY_MAX_POLY_CHANNELS
#include "PdArray/src/plugin.hpp"
#undef Textbox
#undef CustomTrimpot
#undef MsDisplayWidget
#undef MAX_POLY_CHANNELS

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

@@ -814,7 +825,6 @@ void addThemeMenuItems(Menu*, ModuleTheme*) {}
// sonusmodular
#include "sonusmodular/src/sonusmodular.hpp"


// Starling Via
#define modelScanner modelStarlingViaScanner
#define Scale starlingViaScale
@@ -951,6 +961,7 @@ Plugin* pluginInstance__nonlinearcircuits;
Plugin* pluginInstance__Orbits;
Plugin* pluginInstance__ParableInstruments;
Plugin* pluginInstance__PathSet;
Plugin* pluginInstance__PdArray;
Plugin* pluginInstance__PinkTrombone;
Plugin* pluginInstance__Prism;
Plugin* pluginInstance__rackwindows;
@@ -958,7 +969,7 @@ Plugin* pluginInstance__RebelTech;
Plugin* pluginInstance__repelzen;
Plugin* pluginInstance__sapphire;
Plugin* pluginInstance__sonusmodular;
extern Plugin* pluginInstance__StarlingVia;
Plugin* pluginInstance__StarlingVia;
Plugin* pluginInstance__stocaudio;
extern Plugin* pluginInstance__stoermelder_p1;
Plugin* pluginInstance__surgext;
@@ -1966,10 +1977,11 @@ static void initStatic__CVfunk()
p->addModel(modelSignals);
p->addModel(modelRanges);
p->addModel(modelHexMod);
p->addModel(modelCollatz);
p->addModel(modelStrings);
p->addModel(modelMagnets);
p->addModel(modelOuros);
p->addModel(modelCollatz);
p->addModel(modelStrings);
p->addModel(modelMagnets);
p->addModel(modelOuros);
p->addModel(modelPressedDuck);
#undef modelSteps
}
}
@@ -2932,6 +2944,20 @@ static void initStatic__PathSet()
}
}

static void initStatic__PdArray()
{
Plugin* const p = new Plugin;
pluginInstance__PdArray = p;

const StaticPluginLoader spl(p, "PdArray");
if (spl.ok())
{
p->addModel(modelArray);
p->addModel(modelMiniramp);
p->addModel(modelMinistep);
}
}

static void initStatic__PinkTrombone()
{
Plugin* const p = new Plugin;
@@ -3088,7 +3114,6 @@ static void initStatic__sonusmodular()
}
}


static void initStatic__StarlingVia()
{
Plugin* const p = new Plugin;
@@ -3448,6 +3473,7 @@ void initStaticPlugins()
initStatic__Orbits();
initStatic__ParableInstruments();
initStatic__PathSet();
initStatic__PdArray();
initStatic__PinkTrombone();
initStatic__Prism();
initStatic__rackwindows();


+ 3
- 0
src/Makefile View File

@@ -152,6 +152,9 @@ vst2: $(TARGETS)
$(MAKE) vst2 -C CardinalFX $(CARDINAL_FX_ARGS)
$(MAKE) vst2 -C CardinalSynth $(CARDINAL_SYNTH_ARGS)

vst2fx: $(TARGETS)
$(MAKE) vst2 -C CardinalFX $(CARDINAL_FX_ARGS)

vst3: $(TARGETS)
$(MAKE) vst3 -C Cardinal
$(MAKE) vst3 -C CardinalFX $(CARDINAL_FX_ARGS)


+ 5
- 0
src/custom/dep.cpp View File

@@ -74,6 +74,7 @@ enum DarkMode {
kModeMyth,
kModeNonlinearcircuits,
kModeParableInstruments,
kModePdArray,
kModePathSet,
kModeVoxglitch,
kModeWhatTheRack,
@@ -361,6 +362,10 @@ static const struct {
{ kModePathSet, "/PathSet/res/PlusPane.svg", {}, -1 },
{ kModePathSet, "/PathSet/res/ShiftyExpander.svg", {}, -1 },
{ kModePathSet, "/PathSet/res/ShiftyMod.svg", {}, -1 },
// EUPL-1.2
{ kModePdArray, "/PdArray/res/Array.svg", {}, -1 },
{ kModePdArray, "/PdArray/res/Miniramp.svg", {}, -1 },
{ kModePdArray, "/PdArray/res/Ministep.svg", {}, -1 },
// BSD-3-Clause
{ kModeVoxglitch, "/voxglitch/res/autobreak_front_panel.svg", {}, -1 },
{ kModeVoxglitch, "/voxglitch/res/bytebeat_front_panel.svg", {}, -1 },


Loading…
Cancel
Save