Hello,
I've been trying to hide some MIDI controller parameters in my VST3 project (e.g. MIDI Pitch bend, mod wheel) from being visible to the user for control or automation. Here is an example:
Code:
Parameter * param;
param = new RangeParameter(USTRING("MIDI Mod Wheel"), kModWheelParam, USTRING(""), 0.0, 1.0, 0.5, 0, ParameterInfo::kNoFlags);
param->setPrecision(1);
parameters.addParameter(param);
Note that I set the flags to kNoFlags, indicating that the user should NOT be able to automate this parameter.
Nevertheless, I end up with this:
When I try a similar approach to the HelloWorld example in the VST3 SDK, I can hide the parameter:
Code:
parameters.addParameter (STR16 ("Bypass"), 0, 1, 0,
Vst::ParameterInfo::kCanAutomate | Vst::ParameterInfo::kIsBypass,
HelloWorldParams::kBypassId);
parameters.addParameter (STR16 ("Parameter 1"), STR16 ("dB"), 0, .5,
Vst::ParameterInfo::kNoFlags, HelloWorldParams::kParamVolId, 0,
STR16 ("Param1"));
parameters.addParameter (STR16 ("Parameter 2"), STR16 ("On/Off"), 1, 1.,
Vst::ParameterInfo::kCanAutomate, HelloWorldParams::kParamOnId, 0,
STR16 ("Param2"));
Note that Parameter 1 is not visible.
Any ideas for why the same approach works when using the VST3 SDK directly but not when using IPlug? I recently updated the VST3 SDK that my IPlug project uses.
Thanks!