Browse Source

Adding plugin Sapphire, modules Elastika, Moots.

tags/22.12
Don Cross Filipe Coelho <falktx@falktx.com> 2 years ago
parent
commit
1876ad99f9
6 changed files with 37 additions and 0 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      README.md
  3. +2
    -0
      docs/LICENSES.md
  4. +12
    -0
      plugins/Makefile
  5. +1
    -0
      plugins/Sapphire
  6. +18
    -0
      plugins/plugins.cpp

+ 3
- 0
.gitmodules View File

@@ -227,3 +227,6 @@
[submodule "plugins/surgext"]
path = plugins/surgext
url = https://github.com/surge-synthesizer/surge-rack.git
[submodule "plugins/Sapphire"]
path = plugins/Sapphire
url = https://github.com/cosinekitty/sapphire.git

+ 1
- 0
README.md View File

@@ -166,6 +166,7 @@ At the moment the following 3rd-party modules are provided:
- rackwindows
- RebelTech
- repelzen
- Sapphire
- Sonus Modular
- stocaudio
- Stoermelder Pack-One


+ 2
- 0
docs/LICENSES.md View File

@@ -73,6 +73,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Rackwindows | MIT | |
| repelzen | GPL-3.0-or-later | |
| RebelTech | GPL-2.0-or-later | |
| Sapphire | GPL-3.0-or-later | |
| Sonus Modular | GPL-3.0-or-later | |
| stocaudio | GPL-3.0-or-later | |
| Stoermelder Pack-One | GPL-3.0-or-later | |
@@ -212,6 +213,7 @@ Below is a list of artwork licenses from plugins
| Rackwindows/* | MIT | [Same license as source code](https://github.com/n0jo/rackwindows/issues/15) |
| repelzen/* | CC-BY-SA-4.0 | |
| RebelTech/* | CC-BY-NC-4.0 | |
| Sapphire/* | GPL-3.0-or-later | No artwork specific license provided |
| sonusmodular/* | GPL-3.0-or-later | [Same license as source code](https://gitlab.com/sonusdept/sonusmodular/-/issues/14) |
| stocaudio/* | GPL-3.0-or-later | No artwork specific license provided |
| stoermelder-packone/* | GPL-3.0-or-later | No artwork specific license provided |


+ 12
- 0
plugins/Makefile View File

@@ -892,6 +892,11 @@ PLUGIN_FILES += $(filter-out repelzen/src/repelzen.cpp,$(wildcard repelzen/src/*
# modules/types which are present in other plugins
REPELZEN_CUSTOM = Blank Mixer Werner tanh_pade

# --------------------------------------------------------------
# Sapphire

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

# --------------------------------------------------------------
# sonusmodular

@@ -2113,6 +2118,13 @@ $(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
$(foreach m,$(REPELZEN_CUSTOM),$(call custom_module_names,$(m),repelzen)) \
-DpluginInstance=pluginInstance__repelzen

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

$(BUILD_DIR)/sonusmodular/%.cpp.o: sonusmodular/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"


+ 1
- 0
plugins/Sapphire

@@ -0,0 +1 @@
Subproject commit 07a07e1d599495bb1c4b17575a7d19a1bfa51c0f

+ 18
- 0
plugins/plugins.cpp View File

@@ -716,6 +716,9 @@ void addThemeMenuItems(Menu*, ModuleTheme*) {}
#undef modelWerner
#undef tanh_pade

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

// sonusmodular
#include "sonusmodular/src/sonusmodular.hpp"

@@ -850,6 +853,7 @@ Plugin* pluginInstance__Prism;
Plugin* pluginInstance__rackwindows;
Plugin* pluginInstance__RebelTech;
Plugin* pluginInstance__repelzen;
Plugin* pluginInstance__sapphire;
Plugin* pluginInstance__sonusmodular;
Plugin* pluginInstance__stocaudio;
extern Plugin* pluginInstance__stoermelder_p1;
@@ -2729,6 +2733,19 @@ static void initStatic__repelzen()
}
}

static void initStatic__Sapphire()
{
Plugin* const p = new Plugin;
pluginInstance__sapphire = p;

const StaticPluginLoader spl(p, "Sapphire");
if (spl.ok())
{
p->addModel(modelElastika);
p->addModel(modelMoots);
}
}

static void initStatic__sonusmodular()
{
Plugin* const p = new Plugin;
@@ -3100,6 +3117,7 @@ void initStaticPlugins()
initStatic__rackwindows();
initStatic__RebelTech();
initStatic__repelzen();
initStatic__Sapphire();
initStatic__sonusmodular();
initStatic__stocaudio();
initStatic__stoermelder_p1();


Loading…
Cancel
Save