Signed-off-by: falkTX <falktx@falktx.com>master
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -26,6 +26,9 @@ | |||||
#define DISTRHO_PLUGIN_NUM_INPUTS 1 | #define DISTRHO_PLUGIN_NUM_INPUTS 1 | ||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | ||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:DistortionPlugin" | |||||
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Distortion" | |||||
#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Bitcrush example." | #define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Bitcrush example." | ||||
#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'b', 'c') | #define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'b', 'c') | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -39,6 +39,13 @@ DistrhoPluginMaxGen::~DistrhoPluginMaxGen() | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
// Init | // Init | ||||
void DistrhoPluginMaxGen::initAudioPort(bool input, uint32_t index, AudioPort& port) | |||||
{ | |||||
port.groupId = input ? kPortGroupMono : kPortGroupStereo; | |||||
Plugin::initAudioPort(input, index, port); | |||||
} | |||||
void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | ||||
{ | { | ||||
ParamInfo& info(fGenState->params[index]); | ParamInfo& info(fGenState->params[index]); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -44,6 +44,11 @@ protected: | |||||
return DISTRHO_PLUGIN_DESCRIPTION; | return DISTRHO_PLUGIN_DESCRIPTION; | ||||
} | } | ||||
int64_t getUniqueId() const noexcept override | |||||
{ | |||||
return DISTRHO_PLUGIN_VERSION; | |||||
} | |||||
const char* getMaker() const noexcept override | const char* getMaker() const noexcept override | ||||
{ | { | ||||
return "DISTRHO"; | return "DISTRHO"; | ||||
@@ -64,15 +69,10 @@ protected: | |||||
return d_version(0, 1, 0); | return d_version(0, 1, 0); | ||||
} | } | ||||
int64_t getUniqueId() const noexcept override | |||||
{ | |||||
// TODO | |||||
return d_cconst('D', 'M', 'a', 'G'); | |||||
} | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
// Init | // Init | ||||
void initAudioPort(bool input, uint32_t index, AudioPort& port) override; | |||||
void initParameter(uint32_t index, Parameter& parameter) override; | void initParameter(uint32_t index, Parameter& parameter) override; | ||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -27,6 +27,7 @@ | |||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS 1 | #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 | ||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" | #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" | ||||
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Reverb" | |||||
#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Freeverb example." | #define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Freeverb example." | ||||
#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'f', 'v') | #define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'f', 'v') | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -39,6 +39,13 @@ DistrhoPluginMaxGen::~DistrhoPluginMaxGen() | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
// Init | // Init | ||||
void DistrhoPluginMaxGen::initAudioPort(bool input, uint32_t index, AudioPort& port) | |||||
{ | |||||
port.groupId = kPortGroupMono; | |||||
Plugin::initAudioPort(input, index, port); | |||||
} | |||||
void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | ||||
{ | { | ||||
ParamInfo& info(fGenState->params[index]); | ParamInfo& info(fGenState->params[index]); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -27,6 +27,7 @@ | |||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | ||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" | #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" | ||||
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Reverb" | |||||
#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Gigaverb example." | #define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Gigaverb example." | ||||
#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'g', 'v') | #define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'g', 'v') | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -39,6 +39,13 @@ DistrhoPluginMaxGen::~DistrhoPluginMaxGen() | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
// Init | // Init | ||||
void DistrhoPluginMaxGen::initAudioPort(bool input, uint32_t index, AudioPort& port) | |||||
{ | |||||
port.groupId = kPortGroupStereo; | |||||
Plugin::initAudioPort(input, index, port); | |||||
} | |||||
void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | ||||
{ | { | ||||
ParamInfo& info(fGenState->params[index]); | ParamInfo& info(fGenState->params[index]); | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -27,6 +27,7 @@ | |||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 | ||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:PitchPlugin" | #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:PitchPlugin" | ||||
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Pitch Shift" | |||||
#define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Pitchshifter example." | #define DISTRHO_PLUGIN_DESCRIPTION "Max Gen Pitchshifter example." | ||||
#define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'p', 's') | #define DISTRHO_PLUGIN_VERSION d_cconst('D', 'M', 'p', 's') | ||||
@@ -1,6 +1,6 @@ | |||||
/* | /* | ||||
* DPF Max Gen | * DPF Max Gen | ||||
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com> | |||||
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com> | |||||
* | * | ||||
* Permission to use, copy, modify, and/or distribute this software for any purpose with | * Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
* or without fee is hereby granted, provided that the above copyright notice and this | * or without fee is hereby granted, provided that the above copyright notice and this | ||||
@@ -39,6 +39,13 @@ DistrhoPluginMaxGen::~DistrhoPluginMaxGen() | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
// Init | // Init | ||||
void DistrhoPluginMaxGen::initAudioPort(bool input, uint32_t index, AudioPort& port) | |||||
{ | |||||
port.groupId = input ? kPortGroupMono : kPortGroupStereo; | |||||
Plugin::initAudioPort(input, index, port); | |||||
} | |||||
void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | void DistrhoPluginMaxGen::initParameter(uint32_t index, Parameter& parameter) | ||||
{ | { | ||||
ParamInfo& info(fGenState->params[index]); | ParamInfo& info(fGenState->params[index]); | ||||