From 9dd0c46a425f8bd494d3c41c3ce7ca771b285c85 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 30 Nov 2015 10:43:06 +0100 Subject: [PATCH] Add meta-data --- dpf | 2 +- plugins/bitcrush/DistrhoPluginInfo.h | 8 +++++--- plugins/common/DistrhoPluginMaxGen.hpp | 17 ++++++++++++++--- plugins/freeverb/DistrhoPluginInfo.h | 10 +++++++--- plugins/gigaverb/DistrhoPluginInfo.h | 10 +++++++--- plugins/pitchotto/DistrhoPluginInfo.h | 11 ++++++++--- plugins/pitchshift/DistrhoPluginInfo.h | 10 +++++++--- plugins/pitchshift/gen_exported.cpp | 2 +- plugins/shiroverb/DistrhoPluginInfo.h | 10 +++++++--- 9 files changed, 57 insertions(+), 23 deletions(-) diff --git a/dpf b/dpf index 2ed2eab..c8f0fde 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit 2ed2eab14b11cdc20c5b83b526e347e96ab4e138 +Subproject commit c8f0fdec1fcd139ba51732ef99a7b57b3fd2d1d4 diff --git a/plugins/bitcrush/DistrhoPluginInfo.h b/plugins/bitcrush/DistrhoPluginInfo.h index 8f50a35..157b9ba 100644 --- a/plugins/bitcrush/DistrhoPluginInfo.h +++ b/plugins/bitcrush/DistrhoPluginInfo.h @@ -17,14 +17,16 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "MaBitcrush" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaBitcrush" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "MaBitcrush" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaBitcrush" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 1 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin" +#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Bitcrush example." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'b', 'c') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/common/DistrhoPluginMaxGen.hpp b/plugins/common/DistrhoPluginMaxGen.hpp index f1088e1..e2ee1da 100644 --- a/plugins/common/DistrhoPluginMaxGen.hpp +++ b/plugins/common/DistrhoPluginMaxGen.hpp @@ -39,24 +39,35 @@ protected: return DISTRHO_PLUGIN_NAME; } + const char* getDescription() const noexcept override + { + return DISTRHO_PLUGIN_DESCRIPTION; + } + const char* getMaker() const noexcept override { return "DISTRHO"; } + const char* getHomePage() const noexcept override + { + return "https://github.com/DISTRHO/DPF-Max-Gen"; + } + const char* getLicense() const noexcept override { - return "LGPL"; + return "ISC"; } uint32_t getVersion() const noexcept override { - return 0x1000; + return d_version(0, 1, 0); } int64_t getUniqueId() const noexcept override { - return d_cconst('D', '3', 'E', 'Q'); + // TODO + return d_cconst('D', 'M', 'a', 'G'); } // ------------------------------------------------------------------- diff --git a/plugins/freeverb/DistrhoPluginInfo.h b/plugins/freeverb/DistrhoPluginInfo.h index f8ac1a1..bce40c5 100644 --- a/plugins/freeverb/DistrhoPluginInfo.h +++ b/plugins/freeverb/DistrhoPluginInfo.h @@ -17,14 +17,18 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "MaFreeverb" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaFreeverb" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "MaFreeverb" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaFreeverb" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 1 #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" +#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" + +#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Freeverb example." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'f', 'v') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/gigaverb/DistrhoPluginInfo.h b/plugins/gigaverb/DistrhoPluginInfo.h index 9f91e96..f2de09c 100644 --- a/plugins/gigaverb/DistrhoPluginInfo.h +++ b/plugins/gigaverb/DistrhoPluginInfo.h @@ -17,14 +17,18 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "MaGigaverb" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaGigaverb" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "MaGigaverb" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaGigaverb" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 2 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" +#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" + +#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Gigaverb example." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'g', 'v') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/pitchotto/DistrhoPluginInfo.h b/plugins/pitchotto/DistrhoPluginInfo.h index 2abbe42..31edcd9 100644 --- a/plugins/pitchotto/DistrhoPluginInfo.h +++ b/plugins/pitchotto/DistrhoPluginInfo.h @@ -17,14 +17,19 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "Pitchotto" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Pitchotto" +#define DISTRHO_PLUGIN_BRAND "Shiro" +#define DISTRHO_PLUGIN_NAME "Pitchotto" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Pitchotto" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 1 #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" +#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:PitchPlugin" + +#define DISTRHO_PLUGIN_DESCRIPTION "Pitchotto is a pitch-shifter based on the \"Pitch-Shift\"-genpatch in Max, where Phase-shifting is used to achieve different intervals.\n\ +There are two shifted signals available, both with variable window-sizes for arpeggio-like sounds." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'p', 'c') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/pitchshift/DistrhoPluginInfo.h b/plugins/pitchshift/DistrhoPluginInfo.h index 4a2861c..7611c7e 100644 --- a/plugins/pitchshift/DistrhoPluginInfo.h +++ b/plugins/pitchshift/DistrhoPluginInfo.h @@ -17,14 +17,18 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "MaPitchshift" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaPitchshift" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "MaPitchshift" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MaPitchshift" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 1 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin" +#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:PitchPlugin" + +#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Pitchshifter example." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'p', 's') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/pitchshift/gen_exported.cpp b/plugins/pitchshift/gen_exported.cpp index 570ee69..a76fdc7 100644 --- a/plugins/pitchshift/gen_exported.cpp +++ b/plugins/pitchshift/gen_exported.cpp @@ -69,7 +69,7 @@ typedef struct State { m_delay_5.reset("m_delay_5", 88200); m_blur_6 = 0; m_window_7 = 100; - m_ratio_8 = 0; + m_ratio_8 = 1; m_xfade_9 = 1; samples_to_seconds = (1 / samplerate); m_phasor_10.reset(0); diff --git a/plugins/shiroverb/DistrhoPluginInfo.h b/plugins/shiroverb/DistrhoPluginInfo.h index e8c0341..291fc09 100644 --- a/plugins/shiroverb/DistrhoPluginInfo.h +++ b/plugins/shiroverb/DistrhoPluginInfo.h @@ -17,14 +17,18 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_NAME "Shiroverb" -#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Shiroverb" +#define DISTRHO_PLUGIN_BRAND "Shiro" +#define DISTRHO_PLUGIN_NAME "Shiroverb" +#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Shiroverb" #define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_IS_RT_SAFE 0 #define DISTRHO_PLUGIN_NUM_INPUTS 1 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 -//#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" +#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" + +#define DISTRHO_PLUGIN_DESCRIPTION "Shiroverb is a shimmer-reverb based on the \"Gigaverb\"-genpatch, ported from the implementation by Juhana Sadeharju, and the \"Pitch-Shift\"-genpatch, both in Max." +#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 's', 'v') #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED