Skip to content

Commit

Permalink
Update dpf, sync metadata with plugin store side
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Oct 24, 2023
1 parent 115e8b5 commit 73c3e7b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dpf
Submodule dpf updated 39 files
+9 −0 Makefile.base.mk
+1 −1 Makefile.plugins.mk
+1 −1 cmake/DPF-plugin.cmake
+90 −53 dgl/Base.hpp
+5 −5 dgl/src/ApplicationPrivateData.cpp
+54 −41 dgl/src/Cairo.cpp
+9 −26 dgl/src/OpenGL.cpp
+2 −2 dgl/src/TopLevelWidgetPrivateData.cpp
+1 −1 dgl/src/TopLevelWidgetPrivateData.hpp
+14 −7 dgl/src/Window.cpp
+103 −62 dgl/src/WindowPrivateData.cpp
+59 −51 dgl/src/pugl-extra/wasm.c
+2 −0 dgl/src/pugl-extra/wasm.h
+1 −1 dgl/src/pugl-upstream
+70 −97 dgl/src/pugl.cpp
+23 −9 dgl/src/pugl.hpp
+18 −2 distrho/DistrhoDetails.hpp
+1 −1 distrho/DistrhoPlugin.hpp
+2 −2 distrho/extra/RingBuffer.hpp
+1 −1 distrho/extra/Runner.hpp
+33 −15 distrho/src/DistrhoPluginCLAP.cpp
+3 −3 distrho/src/DistrhoPluginLV2.cpp
+46 −43 distrho/src/DistrhoPluginLV2export.cpp
+4 −4 distrho/src/DistrhoPluginVST.hpp
+23 −13 distrho/src/DistrhoPluginVST2.cpp
+14 −5 distrho/src/DistrhoPluginVST3.cpp
+2 −2 distrho/src/DistrhoUI.cpp
+1 −1 distrho/src/DistrhoUILV2.cpp
+1 −1 examples/CVPort/Makefile
+1 −2 examples/CairoUI/CMakeLists.txt
+113 −22 examples/CairoUI/CairoExamplePlugin.cpp
+67 −25 examples/CairoUI/CairoExampleUI.cpp
+0 −99 examples/CairoUI/DemoWidgetBanner.cpp
+73 −6 examples/CairoUI/DemoWidgetBanner.hpp
+51 −21 examples/CairoUI/DemoWidgetClickable.hpp
+36 −4 examples/CairoUI/DistrhoPluginInfo.h
+1 −16 examples/CairoUI/Makefile
+1 −1 examples/Info/ResizeHandle.hpp
+3 −3 examples/Meters/ExamplePluginMeters.cpp
6 changes: 4 additions & 2 deletions src/DistrhoPluginInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
#ifdef CONVOLUTION_REVERB
#define DISTRHO_PLUGIN_NUM_INPUTS 2
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2
#define DISTRHO_PLUGIN_NAME "MOD Convolution Loader"
#define DISTRHO_PLUGIN_NAME "Convolution Loader"
#define DISTRHO_PLUGIN_LABEL "ConvolutionLoader"
#define DISTRHO_PLUGIN_URI "https://mod.audio/plugins/ConvolutionLoader"
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin"
#else
#define DISTRHO_PLUGIN_NUM_INPUTS 1
#define DISTRHO_PLUGIN_NUM_OUTPUTS 1
#define DISTRHO_PLUGIN_NAME "MOD Cabinet Loader"
#define DISTRHO_PLUGIN_NAME "Cabinet Loader"
#define DISTRHO_PLUGIN_LABEL "CabinetLoader"
#define DISTRHO_PLUGIN_URI "https://mod.audio/plugins/CabinetLoader"
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:SimulatorPlugin"
#endif
Expand Down
39 changes: 33 additions & 6 deletions src/OneKnobPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ConvolutionLoaderPlugin : public Plugin

const char* getLabel() const noexcept override
{
return DISTRHO_PLUGIN_NAME;
return DISTRHO_PLUGIN_LABEL;
}

const char* getMaker() const noexcept override
Expand All @@ -101,7 +101,7 @@ class ConvolutionLoaderPlugin : public Plugin

const char* getHomePage() const override
{
return DISTRHO_PLUGIN_URI;
return "https://mod.audio/";
}

uint32_t getVersion() const noexcept override
Expand All @@ -112,9 +112,36 @@ class ConvolutionLoaderPlugin : public Plugin
const char* getDescription() const override
{
#ifdef CONVOLUTION_REVERB
return "The MOD Convolution Loader enables you to easily create custom reverb and other effects using impulse responses (IRs)";
return R"(
The MOD Convolution Loader enables you to easily create custom reverb and other effects using impulse responses (IRs).
Using a very resource effective processing, it allows IRs with a length of up to 15s on the MOD Dwarf and MOD Duo X, less on the MOD Duo.
IRs can be uploaded using the file manager in either WAV and FLAC format.
Multi-channel files are supported but always processed in stereo mode.
For faster loading it is recommended to use WAV format files with 48kHz and 24 bit.
The plugin is very easy to use: Simply select the IR file, set the levels as desired, optionally filter out some low end with the built-in high pass filter, and off you go.
There is a Trails switch in the advanced settings;
when enabled the reverb tail peacefully decays when you bypass the plugin, disable it and the tail will immediately disappear when bypassed.
Features:
Plugin by MOD Audio & DISTRHO, based on HiFi-LoFi FFTConvolver engine.
)";
#else
return "The MOD Cabinet Loader enables you to easily create custom cabinet simulations and other effects using impulse responses (IRs)";
return R"(
The MOD Cabinet Loader enables you to play through your favorite cabinet impulse responses (IRs).
The plugin is very easy to use: Simply select the IR file, set the level as desired and off you go.
IRs can be uploaded using the file manager in either WAV and FLAC format.
Multi-channel files are supported but always processed in mono mode using the first channel.
For faster loading it is recommended to use WAV format files with 48kHz and 24 bit.
Features:
Plugin by MOD Audio & DISTRHO, based on HiFi-LoFi FFTConvolver engine.
)";
#endif
}

Expand Down Expand Up @@ -163,7 +190,7 @@ class ConvolutionLoaderPlugin : public Plugin
parameter.name = "Wet Level";
parameter.symbol = "wetlevel";
#else
parameter.name = "Level";
parameter.name = "Output";
parameter.symbol = "level";
#endif
parameter.unit = "dB";
Expand Down Expand Up @@ -220,7 +247,7 @@ class ConvolutionLoaderPlugin : public Plugin
}
}

void initState(uint32_t index, State &state) override
void initState(uint32_t index, State& state) override
{
switch (index)
{
Expand Down

0 comments on commit 73c3e7b

Please sign in to comment.