From 8b394385ac536c110b56a82ad87b9e8861b952b9 Mon Sep 17 00:00:00 2001 From: dreamer Date: Sun, 31 Mar 2024 11:15:12 +0200 Subject: [PATCH] update Befaco --- plugins/Befaco | 2 +- plugins/Makefile | 2 +- plugins/plugins.cpp | 6 ++++++ src/custom/dep.cpp | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/Befaco b/plugins/Befaco index 4c55f117..d3ad6c67 160000 --- a/plugins/Befaco +++ b/plugins/Befaco @@ -1 +1 @@ -Subproject commit 4c55f117212e758324412efe73f2f573a18f75d3 +Subproject commit d3ad6c6732cee8a80197aa351dd9efef9c278d4c diff --git a/plugins/Makefile b/plugins/Makefile index 582d77b6..78d16113 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -555,7 +555,7 @@ PLUGIN_FILES += $(filter-out Befaco/src/plugin.cpp,$(wildcard Befaco/src/*.cpp)) PLUGIN_FILES += $(wildcard Befaco/src/noise-plethora/*/*.cpp) # modules/types which are present in other plugins -BEFACO_CUSTOM = ADSR Mixer chowdsp +BEFACO_CUSTOM = ADSR Mixer chowdsp Burst # -------------------------------------------------------------- # Bidoo diff --git a/plugins/plugins.cpp b/plugins/plugins.cpp index d607de5a..c8771138 100644 --- a/plugins/plugins.cpp +++ b/plugins/plugins.cpp @@ -137,9 +137,11 @@ extern Model* modelChord; // Befaco #define modelADSR modelBefacoADSR #define modelMixer modelBefacoMixer +#define modelBurst modelBefacoBurst #include "Befaco/src/plugin.hpp" #undef modelADSR #undef modelMixer +#undef modelBurst // Bidoo #include "Bidoo/src/plugin.hpp" @@ -1504,6 +1506,7 @@ static void initStatic__Befaco() { #define modelADSR modelBefacoADSR #define modelMixer modelBefacoMixer +#define modelBurst modelBefacoBurst p->addModel(modelEvenVCO); p->addModel(modelRampage); p->addModel(modelABC); @@ -1525,8 +1528,11 @@ static void initStatic__Befaco() p->addModel(modelChannelStrip); p->addModel(modelPonyVCO); p->addModel(modelMotionMTR); + p->addModel(modelBurst); + p->addModel(modelVoltio); #undef modelADSR #undef modelMixer +#undef modelBurst } } diff --git a/src/custom/dep.cpp b/src/custom/dep.cpp index abbb0d99..6551dfb9 100644 --- a/src/custom/dep.cpp +++ b/src/custom/dep.cpp @@ -413,6 +413,7 @@ static const struct { { kModeBefaco, "/Befaco/res/components/Knurlie.svg" }, { kModeBefaco, "/Befaco/res/panels/ABC.svg" }, { kModeBefaco, "/Befaco/res/panels/ADSR.svg" }, + { kModeBefaco, "/Befaco/res/panels/Burst.svg" }, { kModeBefaco, "/Befaco/res/panels/ChoppingKinky.svg" }, { kModeBefaco, "/Befaco/res/panels/DualAtenuverter.svg" }, { kModeBefaco, "/Befaco/res/panels/EvenVCO.svg" }, @@ -432,6 +433,7 @@ static const struct { { kModeBefaco, "/Befaco/res/panels/SlewLimiter.svg" }, { kModeBefaco, "/Befaco/res/panels/SpringReverb.svg" }, { kModeBefaco, "/Befaco/res/panels/StereoStrip.svg" }, + { kModeBefaco, "/Befaco/res/panels/Voltio.svg" }, // GPLv3+ { kModeCardinal, "/Cardinal/res/AudioFile.svg" }, { kModeCardinal, "/Cardinal/res/AudioToCVPitch.svg" },