Browse Source

Add WhatTheRack

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.05
falkTX 3 years ago
parent
commit
19986c3023
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
7 changed files with 43 additions and 0 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      README.md
  3. +3
    -0
      docs/LICENSES.md
  4. +12
    -0
      plugins/Makefile
  5. +1
    -0
      plugins/WhatTheRack
  6. +19
    -0
      plugins/plugins.cpp
  7. +4
    -0
      src/custom/dep.cpp

+ 3
- 0
.gitmodules View File

@@ -197,3 +197,6 @@
path = plugins/Meander path = plugins/Meander
url = https://github.com/knchaffin/Meander.git url = https://github.com/knchaffin/Meander.git
branch = master-V2 branch = master-V2
[submodule "plugins/WhatTheRack"]
path = plugins/WhatTheRack
url = https://github.com/korfuri/WhatTheRack.git

+ 1
- 0
README.md View File

@@ -165,6 +165,7 @@ At the moment the following 3rd-party modules are provided:
- unless_modules - unless_modules
- Valley - Valley
- Voxglitch - Voxglitch
- WhatTheRack
- ZetaCarinae - ZetaCarinae
- ZZC - ZZC




+ 3
- 0
docs/LICENSES.md View File

@@ -71,6 +71,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| unless_modules | GPL-3.0-or-later | | | unless_modules | GPL-3.0-or-later | |
| Valley | GPL-3.0-or-later | | | Valley | GPL-3.0-or-later | |
| Voxglitch | GPL-3.0-or-later | | | Voxglitch | GPL-3.0-or-later | |
| WhatTheRack | WTFPL | |
| ZetaCarinae | GPL-3.0-or-later | | | ZetaCarinae | GPL-3.0-or-later | |
| ZZC | GPL-3.0-or-later | | | ZZC | GPL-3.0-or-later | |


@@ -204,6 +205,8 @@ Below is a list of artwork licenses from plugins
| ValleyAudio/ShareTechMono-*.ttf | OFL-1.1-RFN | | | ValleyAudio/ShareTechMono-*.ttf | OFL-1.1-RFN | |
| voxglitch/* | GPL-3.0-or-later | No artwork specific license provided | | voxglitch/* | GPL-3.0-or-later | No artwork specific license provided |
| voxglitch/ShareTechMono-Regular.ttf | OFL-1.1-RFN | | | voxglitch/ShareTechMono-Regular.ttf | OFL-1.1-RFN | |
| WhatTheRack/* | WTFPL | |
| WhatTheRack/BoomButton/* | CC-BY-3.0 | |
| ZetaCarinaeModules/* | GPL-3.0-or-later | [Same license as source code](https://github.com/mhampton/ZetaCarinaeModules/issues/8) | | ZetaCarinaeModules/* | GPL-3.0-or-later | [Same license as source code](https://github.com/mhampton/ZetaCarinaeModules/issues/8) |
| ZZC/* | CC-BY-NC-SA-4.0 | | | ZZC/* | CC-BY-NC-SA-4.0 | |
| ZZC/panels/* | CC-BY-NC-SA-4.0 | NOTE: The ZZC Logo is Copyright (c) 2019 Sergey Ukolov and cannot be used in derivative works; Cardinal's use does not officially constitute derivative work. | | ZZC/panels/* | CC-BY-NC-SA-4.0 | NOTE: The ZZC Logo is Copyright (c) 2019 Sergey Ukolov and cannot be used in derivative works; Cardinal's use does not officially constitute derivative work. |


+ 12
- 0
plugins/Makefile View File

@@ -866,6 +866,11 @@ VALLEYAUDIO_CUSTOM_PER_FILE = TempoKnob


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


# --------------------------------------------------------------
# WhatTheRack

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

# modules/types which are present in other plugins # modules/types which are present in other plugins
VOXGLITCH_CUSTOM = $(DRWAV) AudioFile Looper Readout VOXGLITCH_CUSTOM = $(DRWAV) AudioFile Looper Readout
VOXGLITCH_CUSTOM_PER_FILE = AudioBuffer GateSequencer Grain Sequencer SequencerDisplay VoltageSequencer VOXGLITCH_CUSTOM_PER_FILE = AudioBuffer GateSequencer Grain Sequencer SequencerDisplay VoltageSequencer
@@ -1761,6 +1766,13 @@ $(BUILD_DIR)/voxglitch/%.cpp.o: voxglitch/%.cpp
-DpluginInstance=pluginInstance__Voxglitch \ -DpluginInstance=pluginInstance__Voxglitch \
-DSKIP_MINGW_FORMAT -DSKIP_MINGW_FORMAT


$(BUILD_DIR)/WhatTheRack/%.cpp.o: WhatTheRack/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(WHATTHERACK_CUSTOM),$(call custom_module_names,$(m),WhatTheRack)) \
-DpluginInstance=pluginInstance__WhatTheRack

$(BUILD_DIR)/ZetaCarinaeModules/%.cpp.o: ZetaCarinaeModules/%.cpp $(BUILD_DIR)/ZetaCarinaeModules/%.cpp.o: ZetaCarinaeModules/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<" @echo "Compiling $<"


+ 1
- 0
plugins/WhatTheRack

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

+ 19
- 0
plugins/plugins.cpp View File

@@ -665,6 +665,9 @@ extern Model* modelBlankPanel;
#include "voxglitch/src/plugin.hpp" #include "voxglitch/src/plugin.hpp"
#undef modelLooper #undef modelLooper


// WhatTheRack
#include "WhatTheRack/src/WhatTheRack.hpp"

// ZetaCarinaeModules // ZetaCarinaeModules
#include "ZetaCarinaeModules/src/plugin.hpp" #include "ZetaCarinaeModules/src/plugin.hpp"


@@ -750,6 +753,7 @@ Plugin* pluginInstance__stocaudio;
Plugin* pluginInstance__unless_modules; Plugin* pluginInstance__unless_modules;
Plugin* pluginInstance__ValleyAudio; Plugin* pluginInstance__ValleyAudio;
Plugin* pluginInstance__Voxglitch; Plugin* pluginInstance__Voxglitch;
Plugin* pluginInstance__WhatTheRack;
Plugin* pluginInstance__ZetaCarinaeModules; Plugin* pluginInstance__ZetaCarinaeModules;
Plugin* pluginInstance__ZZC; Plugin* pluginInstance__ZZC;
#endif // NOPLUGINS #endif // NOPLUGINS
@@ -2487,6 +2491,20 @@ static void initStatic__Voxglitch()
} }
} }


static void initStatic__WhatTheRack()
{
Plugin* p = new Plugin;
pluginInstance__WhatTheRack = p;

const StaticPluginLoader spl(p, "WhatTheRack");
if (spl.ok())
{
p->addModel(modelWhatTheRack);
p->addModel(modelWhatTheMod);
p->addModel(modelWhatTheJack);
}
}

static void initStatic__ZetaCarinaeModules() static void initStatic__ZetaCarinaeModules()
{ {
Plugin* p = new Plugin; Plugin* p = new Plugin;
@@ -2591,6 +2609,7 @@ void initStaticPlugins()
initStatic__unless_modules(); initStatic__unless_modules();
initStatic__ValleyAudio(); initStatic__ValleyAudio();
initStatic__Voxglitch(); initStatic__Voxglitch();
initStatic__WhatTheRack();
initStatic__ZetaCarinaeModules(); initStatic__ZetaCarinaeModules();
initStatic__ZZC(); initStatic__ZZC();
#endif // NOPLUGINS #endif // NOPLUGINS


+ 4
- 0
src/custom/dep.cpp View File

@@ -308,6 +308,10 @@ static const struct {
{ "/voxglitch/res/wav_bank_front_panel.svg", {}, -1 }, { "/voxglitch/res/wav_bank_front_panel.svg", {}, -1 },
{ "/voxglitch/res/wav_bank_mc_front_panel_v2.svg", {}, -1 }, { "/voxglitch/res/wav_bank_mc_front_panel_v2.svg", {}, -1 },
{ "/voxglitch/res/xy_front_panel.svg", {}, -1 }, { "/voxglitch/res/xy_front_panel.svg", {}, -1 },
// WTFPL
{ "/WhatTheRack/res/WhatTheJack.svg", {}, -1 },
{ "/WhatTheRack/res/WhatTheMod.svg", {}, -1 },
{ "/WhatTheRack/res/WhatTheRack.svg", {}, -1 },
}; };


static inline bool invertPaint(NSVGshape* const shape, NSVGpaint& paint, const char* const svgFileToInvert = nullptr) static inline bool invertPaint(NSVGshape* const shape, NSVGpaint& paint, const char* const svgFileToInvert = nullptr)


Loading…
Cancel
Save