1
Fork 0

adding 8Mode (#164)

* adding 8Mode

* no specific artwork license
This commit is contained in:
dreamer 2022-02-24 16:28:42 +01:00 committed by GitHub
parent 023cc75aef
commit e8b0a7a49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 0 deletions

3
.gitmodules vendored
View File

@ -136,3 +136,6 @@
[submodule "plugins/MockbaModular"]
path = plugins/MockbaModular
url = https://github.com/MockbaTheBorg/MockbaModular.git
[submodule "plugins/8Mode"]
path = plugins/8Mode
url = https://github.com/8Mode/8Mode-VCV_Modules.git

View File

@ -103,6 +103,7 @@ An overview of the included code and linked submodules can be seen [here](docs/L
At the moment the following 3rd-party modules are provided:
- 21kHz
- 8Mode
- Amalgamated Harmonics
- Animated Circuits
- Aria Salvatrice

View File

@ -14,6 +14,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| DPF | ISC, GPL-2.0-or-later | Used as the plugin framework, VST2 binary GPLv2+ licensed |
| Rack | GPL-3.0-or-later | The actual Rack code, internal dependencies are compatible with GPLv3+ |
| 21kHz | MIT | |
| 8Mode | BSD-3-Clause | |
| Amalgamated Harmonics | BSD-3-Clause | |
| Animated Circuits | GPL-3.0-or-later | |
| Aria Salvatrice | GPL-3.0-or-later | |
@ -70,6 +71,7 @@ Below is a list of artwork licenses from plugins
| Name | License(s) | Additional notes |
|-----------------------------------------|------------------|------------------|
| 21kHz | MIT | No artwork specific license provided |
| 8Mode | BSD-3-Clause | No artwork specific license provided |
| AmalgamatedHarmonics/* | BSD-3-Clause | No artwork specific license provided |
| AmalgamatedHarmonics/DSEG*.ttf | OFL-1.1-RFN | |
| AmalgamatedHarmonics/Roboto*.ttf | Apache-2.0 | |

1
plugins/8Mode Submodule

@ -0,0 +1 @@
Subproject commit fe5a642ee0a455e882e105f422cf85f7e83fd31f

View File

@ -228,6 +228,11 @@ ifneq ($(NOPLUGINS),true)
PLUGIN_FILES += $(filter-out 21kHz/src/21kHz.cpp,$(wildcard 21kHz/src/*.cpp))
# --------------------------------------------------------------
# 8Mode
PLUGIN_FILES += $(wildcard 8Mode/src/*.cpp)
# --------------------------------------------------------------
# AmalgamatedHarmonics
@ -1060,6 +1065,13 @@ $(BUILD_DIR)/21kHz/%.cpp.o: 21kHz/%.cpp
$(foreach m,$(21KHZ_CUSTOM),$(call custom_module_names,$(m),21kHz)) \
-DpluginInstance=pluginInstance__21kHz
$(BUILD_DIR)/8Mode/%.cpp.o: 8Mode/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(8MODE_CUSTOM),$(call custom_module_names,$(m),8Mode)) \
-DpluginInstance=pluginInstance__8Mode
$(BUILD_DIR)/AmalgamatedHarmonics/%.cpp.o: AmalgamatedHarmonics/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

View File

@ -27,6 +27,9 @@
// 21kHz
#include "21kHz/src/21kHz.hpp"
// 8Mode
#include "8Mode/src/8mode.hpp"
// AmalgamatedHarmonics
#include "AmalgamatedHarmonics/src/AH.hpp"
@ -563,6 +566,7 @@ void saveHighQualityAsDefault(bool) {}
Plugin* pluginInstance__Cardinal;
#ifndef NOPLUGINS
Plugin* pluginInstance__21kHz;
Plugin* pluginInstance__8Mode;
Plugin* pluginInstance__AmalgamatedHarmonics;
Plugin* pluginInstance__AnimatedCircuits;
Plugin* pluginInstance__Aria;
@ -760,6 +764,18 @@ static void initStatic__21kHz()
}
}
static void initStatic__8Mode()
{
Plugin* const p = new Plugin;
pluginInstance__8Mode = p;
const StaticPluginLoader spl(p, "8Mode");
if (spl.ok())
{
p->addModel(modelsoftSN);
}
}
static void initStatic__AmalgamatedHarmonics()
{
Plugin* const p = new Plugin;
@ -2006,6 +2022,7 @@ void initStaticPlugins()
initStatic__Cardinal();
#ifndef NOPLUGINS
initStatic__21kHz();
initStatic__8Mode();
initStatic__AmalgamatedHarmonics();
initStatic__AnimatedCircuits();
initStatic__Aria();