1
Fork 0

Add 21kHz

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-12-12 14:15:59 +00:00
parent 9ca26fade7
commit 26f9484f66
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
8 changed files with 40 additions and 4 deletions

3
.gitmodules vendored
View File

@ -115,3 +115,6 @@
[submodule "plugins/LifeFormModular"]
path = plugins/LifeFormModular
url = https://github.com/SteveRussell33/LifeFormModular.git
[submodule "plugins/21kHz"]
path = plugins/21kHz
url = https://github.com/netboy3/21kHz-rack-plugins.git

View File

@ -78,6 +78,7 @@ An overview of the included code and linked submodules can be seen [here](doc/LI
At the moment the following 3rd-party modules are provided:
- 21kHz
- AS
- Amalgamated Harmonics
- Animated Circuits
@ -99,6 +100,7 @@ At the moment the following 3rd-party modules are provided:
- HetrickCV
- Impromptu
- JW-Modules
- LifeFormModular
- Little Utils
- LyraeModules
- MindMeld
@ -110,8 +112,6 @@ At the moment the following 3rd-party modules are provided:
- Valley
- ZetaCarinae
(*) Might be removed soon due to license conflicts
Additionally Cardinal provides its own modules for DAW/Host automation, time position and internal plugin hosting.
### Restrictions

View File

@ -13,6 +13,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| Carla | GPL-2.0-or-later | Used as plugin host within Cardinal|
| 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 | |
| AS | MIT | |
| Amalgamated Harmonics | BSD-3-Clause | |
| Animated Circuits | BSD-3-Clause | |
@ -35,6 +36,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| HetrickCV | CC0-1.0 | |
| Impromptu | GPL-3.0-or-later | |
| JW-Modules | BSD-3-Clause | |
| LifeFormModular | MIT | |
| Little Utils | MIT | |
| LyraeModules | GPL-3.0-or-later | |
| MindMeld | GPL-3.0-or-later | |
@ -45,7 +47,6 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| repelzen | GPL-3.0-or-later | |
| Sonus Modular | GPL-3.0-or-later | |
| Valley | GPL-3.0-or-later | |
| ZZC | GPL-3.0-only | GPLv3+ change request https://github.com/zezic/ZZC/issues/86 |
| ZetaCarinae | GPL-3.0-or-later | |
## ARTWORK / PANEL LICENSES

1
plugins/21kHz Submodule

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

View File

@ -193,6 +193,11 @@ PLUGIN_FILES += $(wildcard Cardinal/src/DearImGui/*.cpp)
endif
ifneq ($(NOPLUGINS),true)
# --------------------------------------------------------------
# 21kHz
PLUGIN_FILES += $(filter-out 21kHz/src/21kHz.cpp,$(wildcard 21kHz/src/*.cpp))
# --------------------------------------------------------------
# AmalgamatedHarmonics
@ -860,6 +865,13 @@ $(BUILD_DIR)/Cardinal/%.cpp.o: Cardinal/%.cpp
-I../carla/source/modules \
-I../carla/source/utils
$(BUILD_DIR)/21kHz/%.cpp.o: 21kHz/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(21KHZ_CUSTOM),$(call custom_module_names,$(m),21kHz)) \
-DpluginInstance=pluginInstance__21kHz
$(BUILD_DIR)/AmalgamatedHarmonics/%.cpp.o: AmalgamatedHarmonics/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

View File

@ -24,6 +24,9 @@
#include "Cardinal/src/plugin.hpp"
#ifndef NOPLUGINS
// 21kHz
#include "21kHz/src/21kHz.hpp"
// AmalgamatedHarmonics
#include "AmalgamatedHarmonics/src/AH.hpp"
@ -487,6 +490,7 @@ void saveHighQualityAsDefault(bool) {}
// plugin instances
Plugin* pluginInstance__Cardinal;
#ifndef NOPLUGINS
Plugin* pluginInstance__21kHz;
Plugin* pluginInstance__AmalgamatedHarmonics;
Plugin* pluginInstance__AnimatedCircuits;
Plugin* pluginInstance__Aria;
@ -670,6 +674,20 @@ static void initStatic__Cardinal()
}
#ifndef NOPLUGINS
static void initStatic__21kHz()
{
Plugin* const p = new Plugin;
pluginInstance__21kHz = p;
const StaticPluginLoader spl(p, "21kHz");
if (spl.ok())
{
p->addModel(modelPalmLoop);
p->addModel(modelD_Inf);
p->addModel(modelTachyonEntangler);
}
}
static void initStatic__AmalgamatedHarmonics()
{
Plugin* const p = new Plugin;
@ -1814,6 +1832,7 @@ void initStaticPlugins()
initStatic__Core();
initStatic__Cardinal();
#ifndef NOPLUGINS
initStatic__21kHz();
initStatic__AmalgamatedHarmonics();
initStatic__AnimatedCircuits();
initStatic__Aria();

1
plugins/res/21kHz Symbolic link
View File

@ -0,0 +1 @@
../21kHz/res

View File

@ -1 +0,0 @@
../ZZC/res