Why MIDI effect has audio input?


#1

Hello.

I’m trying to complete “Crete a basic audio plugin tutorial” and i’m having some problems. I don’t understand why MIDI effect always have an audio input in DAW. So, it seems like “Plugin is a MIDI effect plugin” don’t help

I’s trying to manually override:

bool TestPluginAudioProcessor::acceptsMidi() const {return true;}
//{
// #if JucePlugin_WantsMidiInput
// return true;
// #else
// return false;
// #endif
//}

bool TestPluginAudioProcessor::producesMidi() const {return true;}
//{
// #if JucePlugin_ProducesMidiOutput
// return true;
// #else
// return false;
// #endif
//}

but it’s also hasn’t helped me.

What am i doing wrong??

I also try to compile Arpegiator example and have the same problem

Need help, pls.


#2

Is this a VST or AU?

Only AUs currently supports “real” midi effect plug-ins.

VST2 does not natively support midi effects. All the VST2 midi effect plug-ins out there are audio effects with midi in/outs which simply ignore the audio. This is also what JUCE does - it will add audio in/outs but not use them.

The VST3 module architecture technically supports “real” midi effects but I think the only host that supports this is Cubase - so currently JUCE does not support VST3 midi effects.