Add RebelTech modules
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5025afcb50
commit
1dbc70d626
6 changed files with 57 additions and 3 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -221,3 +221,6 @@
|
||||||
[submodule "include/simde"]
|
[submodule "include/simde"]
|
||||||
path = include/simde
|
path = include/simde
|
||||||
url = https://github.com/simd-everywhere/simde.git
|
url = https://github.com/simd-everywhere/simde.git
|
||||||
|
[submodule "plugins/RebelTech"]
|
||||||
|
path = plugins/RebelTech
|
||||||
|
url = https://github.com/hemmer/rebel-tech-vcv.git
|
||||||
|
|
|
@ -164,6 +164,7 @@ At the moment the following 3rd-party modules are provided:
|
||||||
- PinkTrombone
|
- PinkTrombone
|
||||||
- Prism
|
- Prism
|
||||||
- rackwindows
|
- rackwindows
|
||||||
|
- RebelTech
|
||||||
- repelzen
|
- repelzen
|
||||||
- Sonus Modular
|
- Sonus Modular
|
||||||
- stocaudio
|
- stocaudio
|
||||||
|
|
|
@ -72,6 +72,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
|
||||||
| Prism | BSD-3-Clause | |
|
| Prism | BSD-3-Clause | |
|
||||||
| Rackwindows | MIT | |
|
| Rackwindows | MIT | |
|
||||||
| repelzen | GPL-3.0-or-later | |
|
| repelzen | GPL-3.0-or-later | |
|
||||||
|
| RebelTech | GPL-2.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 | |
|
||||||
| unless_modules | GPL-3.0-or-later | |
|
| unless_modules | GPL-3.0-or-later | |
|
||||||
|
@ -208,6 +209,7 @@ Below is a list of artwork licenses from plugins
|
||||||
| Prism/RobotoCondensed-Regular.ttf | Apache-2.0 | |
|
| Prism/RobotoCondensed-Regular.ttf | Apache-2.0 | |
|
||||||
| 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 | |
|
||||||
| 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 |
|
||||||
| unless_modules/* | CC-BY-NC-ND-4.0 | |
|
| unless_modules/* | CC-BY-NC-ND-4.0 | |
|
||||||
|
|
|
@ -875,6 +875,14 @@ PRISM_CUSTOM = bogaudio Scale
|
||||||
|
|
||||||
PLUGIN_FILES += $(filter-out rackwindows/src/plugin.cpp,$(wildcard rackwindows/src/*.cpp))
|
PLUGIN_FILES += $(filter-out rackwindows/src/plugin.cpp,$(wildcard rackwindows/src/*.cpp))
|
||||||
|
|
||||||
|
# --------------------------------------------------------------
|
||||||
|
# RebelTech
|
||||||
|
|
||||||
|
PLUGIN_FILES += $(filter-out RebelTech/src/plugin.cpp,$(wildcard RebelTech/src/*.cpp))
|
||||||
|
|
||||||
|
# modules/types which are present in other plugins
|
||||||
|
REBELTECH_CUSTOM = BefacoInputPort BefacoOutputPort
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# repelzen
|
# repelzen
|
||||||
|
|
||||||
|
@ -1176,8 +1184,8 @@ RESOURCE_FILES = \
|
||||||
$(wildcard Cardinal/res/*.svg) \
|
$(wildcard Cardinal/res/*.svg) \
|
||||||
$(wildcard Fundamental/res/*.svg) \
|
$(wildcard Fundamental/res/*.svg) \
|
||||||
$(wildcard Fundamental/res/components/*.svg) \
|
$(wildcard Fundamental/res/components/*.svg) \
|
||||||
$(wildcard ZamAudio/res/*.svg) \
|
|
||||||
Fundamental/presets
|
Fundamental/presets
|
||||||
|
# $(wildcard ZamAudio/res/*.svg)
|
||||||
else
|
else
|
||||||
PLUGIN_LIST = $(subst /plugin.json,,$(wildcard */plugin.json))
|
PLUGIN_LIST = $(subst /plugin.json,,$(wildcard */plugin.json))
|
||||||
|
|
||||||
|
@ -1982,6 +1990,13 @@ $(BUILD_DIR)/rackwindows/%.cpp.o: rackwindows/%.cpp
|
||||||
-Wno-implicit-fallthrough \
|
-Wno-implicit-fallthrough \
|
||||||
-Wno-sign-compare
|
-Wno-sign-compare
|
||||||
|
|
||||||
|
$(BUILD_DIR)/RebelTech/%.cpp.o: RebelTech/%.cpp
|
||||||
|
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||||
|
@echo "Compiling $<"
|
||||||
|
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||||
|
$(foreach m,$(REBELTECH_CUSTOM),$(call custom_module_names,$(m),RebelTech)) \
|
||||||
|
-DpluginInstance=pluginInstance__RebelTech
|
||||||
|
|
||||||
$(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
|
$(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
|
||||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||||
@echo "Compiling $<"
|
@echo "Compiling $<"
|
||||||
|
|
1
plugins/RebelTech
Submodule
1
plugins/RebelTech
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 6ac79f59c5b95433d82bcc759c4cd0642ec35098
|
|
@ -689,6 +689,15 @@ extern Model* modelBlankPanel;
|
||||||
// rackwindows
|
// rackwindows
|
||||||
#include "rackwindows/src/plugin.hpp"
|
#include "rackwindows/src/plugin.hpp"
|
||||||
|
|
||||||
|
// RebelTech
|
||||||
|
#define BefacoInputPort BefacoInputPortRebelTech
|
||||||
|
#define BefacoOutputPort BefacoOutputPortRebelTech
|
||||||
|
#include "RebelTech/src/plugin.hpp"
|
||||||
|
#undef BefacoInputPort
|
||||||
|
#undef BefacoOutputPort
|
||||||
|
ModuleTheme defaultPanelTheme = DARK_THEME;
|
||||||
|
void addThemeMenuItems(Menu*, ModuleTheme*) {}
|
||||||
|
|
||||||
// repelzen
|
// repelzen
|
||||||
#define modelBlank modelrepelzenBlank
|
#define modelBlank modelrepelzenBlank
|
||||||
#define modelMixer modelrepelzenMixer
|
#define modelMixer modelrepelzenMixer
|
||||||
|
@ -736,14 +745,18 @@ extern Model* modelBlankPanel;
|
||||||
// known terminal modules
|
// known terminal modules
|
||||||
std::vector<Model*> hostTerminalModels;
|
std::vector<Model*> hostTerminalModels;
|
||||||
|
|
||||||
// stuff that reads config files, we dont want that
|
// stuff that reads config files, we don't want that
|
||||||
int loadConsoleType() { return 0; }
|
int loadConsoleType() { return 0; }
|
||||||
bool loadDarkAsDefault() { return 1; }
|
bool loadDarkAsDefault() { return settings::darkMode; }
|
||||||
|
ModuleTheme loadDefaultTheme() { return settings::darkMode ? DARK_THEME : LIGHT_THEME; }
|
||||||
int loadDirectOutMode() { return 0; }
|
int loadDirectOutMode() { return 0; }
|
||||||
|
void readDefaultTheme() { defaultPanelTheme = loadDefaultTheme(); }
|
||||||
void saveConsoleType(int) {}
|
void saveConsoleType(int) {}
|
||||||
void saveDarkAsDefault(bool) {}
|
void saveDarkAsDefault(bool) {}
|
||||||
|
void saveDefaultTheme(ModuleTheme) {}
|
||||||
void saveDirectOutMode(bool) {}
|
void saveDirectOutMode(bool) {}
|
||||||
void saveHighQualityAsDefault(bool) {}
|
void saveHighQualityAsDefault(bool) {}
|
||||||
|
void writeDefaultTheme() {}
|
||||||
|
|
||||||
// plugin instances
|
// plugin instances
|
||||||
Plugin* pluginInstance__Cardinal;
|
Plugin* pluginInstance__Cardinal;
|
||||||
|
@ -807,6 +820,7 @@ Plugin* pluginInstance__PathSet;
|
||||||
Plugin* pluginInstance__PinkTrombone;
|
Plugin* pluginInstance__PinkTrombone;
|
||||||
Plugin* pluginInstance__Prism;
|
Plugin* pluginInstance__Prism;
|
||||||
Plugin* pluginInstance__rackwindows;
|
Plugin* pluginInstance__rackwindows;
|
||||||
|
Plugin* pluginInstance__RebelTech;
|
||||||
Plugin* pluginInstance__repelzen;
|
Plugin* pluginInstance__repelzen;
|
||||||
Plugin* pluginInstance__sonusmodular;
|
Plugin* pluginInstance__sonusmodular;
|
||||||
Plugin* pluginInstance__stocaudio;
|
Plugin* pluginInstance__stocaudio;
|
||||||
|
@ -2636,6 +2650,23 @@ static void initStatic__rackwindows()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void initStatic__RebelTech()
|
||||||
|
{
|
||||||
|
Plugin* const p = new Plugin;
|
||||||
|
pluginInstance__RebelTech = p;
|
||||||
|
|
||||||
|
const StaticPluginLoader spl(p, "RebelTech");
|
||||||
|
if (spl.ok())
|
||||||
|
{
|
||||||
|
p->addModel(modelStoicheia);
|
||||||
|
p->addModel(modelTonic);
|
||||||
|
p->addModel(modelKlasmata);
|
||||||
|
p->addModel(modelCLK);
|
||||||
|
p->addModel(modelLogoi);
|
||||||
|
p->addModel(modelPhoreo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void initStatic__repelzen()
|
static void initStatic__repelzen()
|
||||||
{
|
{
|
||||||
Plugin* const p = new Plugin;
|
Plugin* const p = new Plugin;
|
||||||
|
@ -2905,6 +2936,7 @@ void initStaticPlugins()
|
||||||
initStatic__PinkTrombone();
|
initStatic__PinkTrombone();
|
||||||
initStatic__Prism();
|
initStatic__Prism();
|
||||||
initStatic__rackwindows();
|
initStatic__rackwindows();
|
||||||
|
initStatic__RebelTech();
|
||||||
initStatic__repelzen();
|
initStatic__repelzen();
|
||||||
initStatic__sonusmodular();
|
initStatic__sonusmodular();
|
||||||
initStatic__stocaudio();
|
initStatic__stocaudio();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue