I’m using code exported from gen~ (Max / MSP) for the DSP part of my Plugin, which is a synth. So I had to create some parameters for Midi to get it over, but these parameters now appear in the paramterlist for Automation in the DAW. Is there a way to hide them in the DAW?
I used a ValuTreeState to create the Parameters :
juce::AudioProcessorValueTreeState::ParameterLayout C74GenAudioProcessor::createParameterLayout()
{
std::vector<std::unique_ptr<juce::RangedAudioParameter>> params;
using normal = juce::NormalisableRange<float>;
using af = juce::AudioParameterFloat;
auto mMidia = std::make_unique<af> ("MIDIA", "MidiA", normal (0.0f, 127.0f, 1.0f), 0.0f);
auto mMidib = std::make_unique<af> ("MIDIB", "MidiB", normal (0.0f, 127.0f, 1.0f), 0.0f);
auto mMidic = std::make_unique<af> ("MIDIC", "MidiC", normal (0.0f, 127.0f, 1.0f), 0.0f);
params.push_back(std::move(mMidia));
params.push_back(std::move(mMidib));
params.push_back(std::move(mMidic));
return { params.begin(), params.end() };
}
I tried to just delete the params.pushback, however this does not work and caused a lot of problems ^^.