Can’t get a parameter to appear on the DAW. I’m following one tutorial, and I’ve created the parameter field in the class as follows:
In the constructor, I’ve added the AddParameter call as follows:
HardcoreLimiter_Processor::HardcoreLimiter_Processor()
#ifndef JucePlugin_PreferredChannelConfigurations
: AudioProcessor (BusesProperties()
#if ! JucePlugin_IsMidiEffect
#if ! JucePlugin_IsSynth
.withInput ("Input", AudioChannelSet::stereo(), true)
#endif
.withOutput ("Output", AudioChannelSet::stereo(), true)
#endif
)
#endif
{
addParameter(threshold = new AudioParameterFloat("threshold", "Threshold", 0.0f, 1.0f, 0.7f));
auto num = this->getNumParameters();
}
I’ve created the apropriate field in the class header as follows:
private:
AudioParameterFloat* threshold
I was expecting the parameter to be available for automation in my DAW, but it does not show, so I guess I’m missing something. Tried both Studio One and Samplitude. None of them show the Threshold parameter as available. It’s a VST3 on Windows, just in case it makes sense to tell.
Note: Notice that if I debug the value of “num” when the constructor is executed, it has the value of 1, so the parameter somehow was added, but there’s something in the plugin configuration (I’m using the default JUCE template) that prevents the parameter from showing in the 2 DAWs I’ve tested it against.
Any one can help?