Adding plugin Sapphire, modules Elastika, Moots.

This commit is contained in:
Don Cross 2022-12-06 18:54:17 -05:00 committed by Filipe Coelho
parent 283ae3d6af
commit 1876ad99f9
6 changed files with 37 additions and 0 deletions

3
.gitmodules vendored
View file

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

View file

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

View file

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

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 # modules/types which are present in other plugins
REPELZEN_CUSTOM = Blank Mixer Werner tanh_pade REPELZEN_CUSTOM = Blank Mixer Werner tanh_pade
# --------------------------------------------------------------
# Sapphire
PLUGIN_FILES += $(filter-out Sapphire/src/plugin.cpp,$(wildcard Sapphire/src/*.cpp))
# -------------------------------------------------------------- # --------------------------------------------------------------
# sonusmodular # sonusmodular
@ -2113,6 +2118,13 @@ $(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
$(foreach m,$(REPELZEN_CUSTOM),$(call custom_module_names,$(m),repelzen)) \ $(foreach m,$(REPELZEN_CUSTOM),$(call custom_module_names,$(m),repelzen)) \
-DpluginInstance=pluginInstance__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 $(BUILD_DIR)/sonusmodular/%.cpp.o: sonusmodular/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<" @echo "Compiling $<"

1
plugins/Sapphire Submodule

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

View file

@ -716,6 +716,9 @@ void addThemeMenuItems(Menu*, ModuleTheme*) {}
#undef modelWerner #undef modelWerner
#undef tanh_pade #undef tanh_pade
// Sapphire
#include "Sapphire/src/plugin.hpp"
// sonusmodular // sonusmodular
#include "sonusmodular/src/sonusmodular.hpp" #include "sonusmodular/src/sonusmodular.hpp"
@ -850,6 +853,7 @@ Plugin* pluginInstance__Prism;
Plugin* pluginInstance__rackwindows; Plugin* pluginInstance__rackwindows;
Plugin* pluginInstance__RebelTech; Plugin* pluginInstance__RebelTech;
Plugin* pluginInstance__repelzen; Plugin* pluginInstance__repelzen;
Plugin* pluginInstance__sapphire;
Plugin* pluginInstance__sonusmodular; Plugin* pluginInstance__sonusmodular;
Plugin* pluginInstance__stocaudio; Plugin* pluginInstance__stocaudio;
extern Plugin* pluginInstance__stoermelder_p1; 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() static void initStatic__sonusmodular()
{ {
Plugin* const p = new Plugin; Plugin* const p = new Plugin;
@ -3100,6 +3117,7 @@ void initStaticPlugins()
initStatic__rackwindows(); initStatic__rackwindows();
initStatic__RebelTech(); initStatic__RebelTech();
initStatic__repelzen(); initStatic__repelzen();
initStatic__Sapphire();
initStatic__sonusmodular(); initStatic__sonusmodular();
initStatic__stocaudio(); initStatic__stocaudio();
initStatic__stoermelder_p1(); initStatic__stoermelder_p1();