Browse Source

Add 21kHz

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
26f9484f66
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
8 changed files with 40 additions and 4 deletions
  1. +3
    -0
      .gitmodules
  2. +2
    -2
      README.md
  3. +2
    -1
      doc/LICENSES.md
  4. +1
    -0
      plugins/21kHz
  5. +12
    -0
      plugins/Makefile
  6. +19
    -0
      plugins/plugins.cpp
  7. +1
    -0
      plugins/res/21kHz
  8. +0
    -1
      plugins/res/ZZC

+ 3
- 0
.gitmodules View File

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

+ 2
- 2
README.md 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: At the moment the following 3rd-party modules are provided:


- 21kHz
- AS - AS
- Amalgamated Harmonics - Amalgamated Harmonics
- Animated Circuits - Animated Circuits
@@ -99,6 +100,7 @@ At the moment the following 3rd-party modules are provided:
- HetrickCV - HetrickCV
- Impromptu - Impromptu
- JW-Modules - JW-Modules
- LifeFormModular
- Little Utils - Little Utils
- LyraeModules - LyraeModules
- MindMeld - MindMeld
@@ -110,8 +112,6 @@ At the moment the following 3rd-party modules are provided:
- Valley - Valley
- ZetaCarinae - 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. Additionally Cardinal provides its own modules for DAW/Host automation, time position and internal plugin hosting.


### Restrictions ### Restrictions


+ 2
- 1
doc/LICENSES.md 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| | 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 | | 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+ | | Rack | GPL-3.0-or-later | The actual Rack code, internal dependencies are compatible with GPLv3+ |
| 21kHz | MIT | |
| AS | MIT | | | AS | MIT | |
| Amalgamated Harmonics | BSD-3-Clause | | | Amalgamated Harmonics | BSD-3-Clause | |
| Animated Circuits | 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 | | | HetrickCV | CC0-1.0 | |
| Impromptu | GPL-3.0-or-later | | | Impromptu | GPL-3.0-or-later | |
| JW-Modules | BSD-3-Clause | | | JW-Modules | BSD-3-Clause | |
| LifeFormModular | MIT | |
| Little Utils | MIT | | | Little Utils | MIT | |
| LyraeModules | GPL-3.0-or-later | | | LyraeModules | GPL-3.0-or-later | |
| MindMeld | 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 | | | repelzen | GPL-3.0-or-later | |
| Sonus Modular | GPL-3.0-or-later | | | Sonus Modular | GPL-3.0-or-later | |
| Valley | 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 | | | ZetaCarinae | GPL-3.0-or-later | |


## ARTWORK / PANEL LICENSES ## ARTWORK / PANEL LICENSES


+ 1
- 0
plugins/21kHz

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

+ 12
- 0
plugins/Makefile View File

@@ -193,6 +193,11 @@ PLUGIN_FILES += $(wildcard Cardinal/src/DearImGui/*.cpp)
endif endif


ifneq ($(NOPLUGINS),true) ifneq ($(NOPLUGINS),true)
# --------------------------------------------------------------
# 21kHz

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

# -------------------------------------------------------------- # --------------------------------------------------------------
# AmalgamatedHarmonics # AmalgamatedHarmonics


@@ -860,6 +865,13 @@ $(BUILD_DIR)/Cardinal/%.cpp.o: Cardinal/%.cpp
-I../carla/source/modules \ -I../carla/source/modules \
-I../carla/source/utils -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 $(BUILD_DIR)/AmalgamatedHarmonics/%.cpp.o: AmalgamatedHarmonics/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<" @echo "Compiling $<"


+ 19
- 0
plugins/plugins.cpp View File

@@ -24,6 +24,9 @@
#include "Cardinal/src/plugin.hpp" #include "Cardinal/src/plugin.hpp"


#ifndef NOPLUGINS #ifndef NOPLUGINS
// 21kHz
#include "21kHz/src/21kHz.hpp"

// AmalgamatedHarmonics // AmalgamatedHarmonics
#include "AmalgamatedHarmonics/src/AH.hpp" #include "AmalgamatedHarmonics/src/AH.hpp"


@@ -487,6 +490,7 @@ void saveHighQualityAsDefault(bool) {}
// plugin instances // plugin instances
Plugin* pluginInstance__Cardinal; Plugin* pluginInstance__Cardinal;
#ifndef NOPLUGINS #ifndef NOPLUGINS
Plugin* pluginInstance__21kHz;
Plugin* pluginInstance__AmalgamatedHarmonics; Plugin* pluginInstance__AmalgamatedHarmonics;
Plugin* pluginInstance__AnimatedCircuits; Plugin* pluginInstance__AnimatedCircuits;
Plugin* pluginInstance__Aria; Plugin* pluginInstance__Aria;
@@ -670,6 +674,20 @@ static void initStatic__Cardinal()
} }


#ifndef NOPLUGINS #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() static void initStatic__AmalgamatedHarmonics()
{ {
Plugin* const p = new Plugin; Plugin* const p = new Plugin;
@@ -1814,6 +1832,7 @@ void initStaticPlugins()
initStatic__Core(); initStatic__Core();
initStatic__Cardinal(); initStatic__Cardinal();
#ifndef NOPLUGINS #ifndef NOPLUGINS
initStatic__21kHz();
initStatic__AmalgamatedHarmonics(); initStatic__AmalgamatedHarmonics();
initStatic__AnimatedCircuits(); initStatic__AnimatedCircuits();
initStatic__Aria(); initStatic__Aria();


+ 1
- 0
plugins/res/21kHz View File

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

+ 0
- 1
plugins/res/ZZC View File

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

Loading…
Cancel
Save