I see in the boilerplate code for PluginProcessor.cpp a number of compile-time flags like JucePlugin_IsSynth and JucePlugin_IsMidiEffect and JucePlugin_WantsMidiInput being tested.
But where do these get set?
Is there some external config file somewhere? Or do I manually set these in the code? Or is it better / OK to just take these out altogether and hardwire the assumptions and return value of producesMidi() and isMidiEffect() etc?
I’m working with FL Studio. And, right now, my plugin is being accepted as an effect, but not as an instrument.
It’s basically a MIDI processor, which should sit like any other instrument reading from the time-line of MIDI events, but rather than producing sound, it fires off transformed MIDI output which can be picked up by another instrument.
Should I basically copy the Arpeggiator example as how to deal with these flags? (It seems to just hardwire the values.)