Feature/re add befaco (#162)

* 1st revert

* 2nd revert

* add panel license permission
This commit is contained in:
dreamer 2022-02-22 20:45:39 +01:00 committed by GitHub
parent 60af9ac43b
commit 0040434178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 83 additions and 0 deletions

1
plugins/Befaco Submodule

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

View file

@ -377,6 +377,15 @@ PLUGIN_FILES += $(filter-out BaconPlugs/src/BaconPlugs.cpp,$(wildcard BaconPlugs
PLUGIN_FILES += $(wildcard BaconPlugs/libs/midifile/src/*.cpp)
PLUGIN_FILES += $(wildcard BaconPlugs/libs/open303-code/Source/DSPCode/*.cpp)
# --------------------------------------------------------------
# Befaco
PLUGIN_FILES += $(filter-out Befaco/src/plugin.cpp,$(wildcard Befaco/src/*.cpp))
PLUGIN_BINARIES += Befaco/src/SpringReverbIR.pcm
# modules/types which are present in other plugins
BEFACO_CUSTOM = ADSR Mixer
# --------------------------------------------------------------
# Bidoo
@ -1088,6 +1097,13 @@ $(BUILD_DIR)/BaconPlugs/%.cpp.o: BaconPlugs/%.cpp
-Wno-array-bounds \
-Wno-strict-aliasing
$(BUILD_DIR)/Befaco/%.cpp.o: Befaco/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(BEFACO_CUSTOM),$(call custom_module_names,$(m),Befaco)) \
-DpluginInstance=pluginInstance__Befaco
$(BUILD_DIR)/Bidoo/%.cpp.o: Bidoo/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

View file

@ -103,6 +103,13 @@ extern Model* modelChord;
#undef SCREW_WIDTH
#undef RACK_HEIGHT
// Befaco
#define modelADSR modelBefacoADSR
#define modelMixer modelBefacoMixer
#include "Befaco/src/plugin.hpp"
#undef modelADSR
#undef modelMixer
// Bidoo
#include "Bidoo/src/plugin.hpp"
@ -527,6 +534,7 @@ Plugin* pluginInstance__Aria;
Plugin* pluginInstance__AudibleInstruments;
extern Plugin* pluginInstance__Autinn;
Plugin* pluginInstance__Bacon;
Plugin* pluginInstance__Befaco;
Plugin* pluginInstance__Bidoo;
Plugin* pluginInstance__BogaudioModules;
Plugin* pluginInstance__cf;
@ -899,6 +907,38 @@ static void initStatic__Bacon()
}
}
static void initStatic__Befaco()
{
Plugin* const p = new Plugin;
pluginInstance__Befaco = p;
const StaticPluginLoader spl(p, "Befaco");
if (spl.ok())
{
#define modelADSR modelBefacoADSR
#define modelMixer modelBefacoMixer
p->addModel(modelEvenVCO);
p->addModel(modelRampage);
p->addModel(modelABC);
p->addModel(modelSpringReverb);
p->addModel(modelMixer);
p->addModel(modelSlewLimiter);
p->addModel(modelDualAtenuverter);
p->addModel(modelPercall);
p->addModel(modelHexmixVCA);
p->addModel(modelChoppingKinky);
p->addModel(modelKickall);
p->addModel(modelSamplingModulator);
p->addModel(modelMorphader);
p->addModel(modelADSR);
p->addModel(modelSTMix);
p->addModel(modelMuxlicer);
p->addModel(modelMex);
#undef modelADSR
#undef modelMixer
}
}
static void initStatic__Bidoo()
{
Plugin* const p = new Plugin;
@ -1854,6 +1894,7 @@ void initStaticPlugins()
initStatic__AudibleInstruments();
initStatic__Autinn();
initStatic__Bacon();
initStatic__Befaco();
initStatic__Bidoo();
initStatic__BogaudioModules();
initStatic__cf();