Start cleanup of vst3 code
This commit is contained in:
parent
0e9db8f96f
commit
a9b0cd3c72
2
dpf
2
dpf
|
@ -1 +1 @@
|
||||||
Subproject commit 493837049e773e45f842c0ee83b6b69c7c56adf9
|
Subproject commit 71b9ea044e29fc4f367e1cc4a26a57c61983bd99
|
|
@ -22,7 +22,7 @@
|
||||||
#define DISTRHO_PLUGIN_NAME "Nekobi"
|
#define DISTRHO_PLUGIN_NAME "Nekobi"
|
||||||
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Nekobi"
|
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Nekobi"
|
||||||
|
|
||||||
#define DISTRHO_PLUGIN_HAS_UI 1
|
#define DISTRHO_PLUGIN_HAS_UI 0
|
||||||
#define DISTRHO_PLUGIN_IS_RT_SAFE 1
|
#define DISTRHO_PLUGIN_IS_RT_SAFE 1
|
||||||
#define DISTRHO_PLUGIN_IS_SYNTH 1
|
#define DISTRHO_PLUGIN_IS_SYNTH 1
|
||||||
#define DISTRHO_PLUGIN_NUM_INPUTS 0
|
#define DISTRHO_PLUGIN_NUM_INPUTS 0
|
||||||
|
|
|
@ -163,7 +163,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
switch (index)
|
switch (index)
|
||||||
{
|
{
|
||||||
case paramWaveform:
|
case paramWaveform:
|
||||||
parameter.hints = kParameterIsAutomable|kParameterIsInteger;
|
parameter.hints = kParameterIsAutomatable|kParameterIsInteger;
|
||||||
parameter.name = "Waveform";
|
parameter.name = "Waveform";
|
||||||
parameter.symbol = "waveform";
|
parameter.symbol = "waveform";
|
||||||
parameter.ranges.def = 0.0f;
|
parameter.ranges.def = 0.0f;
|
||||||
|
@ -182,7 +182,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case paramTuning:
|
case paramTuning:
|
||||||
parameter.hints = kParameterIsAutomable; // was 0.5 <-> 2.0, log
|
parameter.hints = kParameterIsAutomatable; // was 0.5 <-> 2.0, log
|
||||||
parameter.name = "Tuning";
|
parameter.name = "Tuning";
|
||||||
parameter.symbol = "tuning";
|
parameter.symbol = "tuning";
|
||||||
parameter.ranges.def = 0.0f;
|
parameter.ranges.def = 0.0f;
|
||||||
|
@ -191,7 +191,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 75;
|
parameter.midiCC = 75;
|
||||||
break;
|
break;
|
||||||
case paramCutoff:
|
case paramCutoff:
|
||||||
parameter.hints = kParameterIsAutomable; // modified x2.5
|
parameter.hints = kParameterIsAutomatable; // modified x2.5
|
||||||
parameter.name = "Cutoff";
|
parameter.name = "Cutoff";
|
||||||
parameter.symbol = "cutoff";
|
parameter.symbol = "cutoff";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
@ -201,7 +201,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 74;
|
parameter.midiCC = 74;
|
||||||
break;
|
break;
|
||||||
case paramResonance:
|
case paramResonance:
|
||||||
parameter.hints = kParameterIsAutomable; // modified x100
|
parameter.hints = kParameterIsAutomatable; // modified x100
|
||||||
parameter.name = "VCF Resonance";
|
parameter.name = "VCF Resonance";
|
||||||
parameter.symbol = "resonance";
|
parameter.symbol = "resonance";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
@ -211,7 +211,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 71;
|
parameter.midiCC = 71;
|
||||||
break;
|
break;
|
||||||
case paramEnvMod:
|
case paramEnvMod:
|
||||||
parameter.hints = kParameterIsAutomable; // modified x100
|
parameter.hints = kParameterIsAutomatable; // modified x100
|
||||||
parameter.name = "Env Mod";
|
parameter.name = "Env Mod";
|
||||||
parameter.symbol = "env_mod";
|
parameter.symbol = "env_mod";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
@ -221,7 +221,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 1; //Mod Wheel
|
parameter.midiCC = 1; //Mod Wheel
|
||||||
break;
|
break;
|
||||||
case paramDecay:
|
case paramDecay:
|
||||||
parameter.hints = kParameterIsAutomable; // was 0.000009 <-> 0.0005, log
|
parameter.hints = kParameterIsAutomatable; // was 0.000009 <-> 0.0005, log
|
||||||
parameter.name = "Decay";
|
parameter.name = "Decay";
|
||||||
parameter.symbol = "decay";
|
parameter.symbol = "decay";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
@ -231,7 +231,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 72;
|
parameter.midiCC = 72;
|
||||||
break;
|
break;
|
||||||
case paramAccent:
|
case paramAccent:
|
||||||
parameter.hints = kParameterIsAutomable; // modified x100
|
parameter.hints = kParameterIsAutomatable; // modified x100
|
||||||
parameter.name = "Accent";
|
parameter.name = "Accent";
|
||||||
parameter.symbol = "accent";
|
parameter.symbol = "accent";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
@ -241,7 +241,7 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter)
|
||||||
parameter.midiCC = 76;
|
parameter.midiCC = 76;
|
||||||
break;
|
break;
|
||||||
case paramVolume:
|
case paramVolume:
|
||||||
parameter.hints = kParameterIsAutomable; // modified x100
|
parameter.hints = kParameterIsAutomatable; // modified x100
|
||||||
parameter.name = "Volume";
|
parameter.name = "Volume";
|
||||||
parameter.symbol = "volume";
|
parameter.symbol = "volume";
|
||||||
parameter.unit = "%";
|
parameter.unit = "%";
|
||||||
|
|
|
@ -15,7 +15,7 @@ NAME = Nekobi
|
||||||
FILES_DSP = \
|
FILES_DSP = \
|
||||||
DistrhoPluginNekobi.cpp
|
DistrhoPluginNekobi.cpp
|
||||||
|
|
||||||
FILES_UI = \
|
FILES_UIxx = \
|
||||||
DistrhoArtworkNekobi.cpp \
|
DistrhoArtworkNekobi.cpp \
|
||||||
DistrhoUINekobi.cpp
|
DistrhoUINekobi.cpp
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@ include ../../dpf/Makefile.plugins.mk
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Extra flags
|
# Extra flags
|
||||||
|
|
||||||
LINK_FLAGS += -lpthread
|
BASE_FLAGS += -pthread
|
||||||
|
LINK_FLAGS += -pthread
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Enable all possible plugin types
|
# Enable all possible plugin types
|
||||||
|
|
Loading…
Reference in New Issue