[solved] CMake + MIDI plugin + Logic = no processBlock called

Does anyone have any experience using CMake to create a MIDI plugin?

My VST3 is getting processBlock called, but in Logic it is never called.

Processor constructor and prepareToPlay are being called, but otherwise it’s dead in the water. :-1:

I suspect there is possibly something stupid I’ve done in the CMakeLists.txt, and unfortunately the JUCE example is just using the PIP, so there is no example CMake for a MIDI plugin to look at. :frowning:

acceptsMidi, producesMidi and isMidiEffect all return true.
and I set the following in the juce_add_plugin in CMake:

        IS_SYNTH TRUE
        IS_MIDI_EFFECT TRUE
        NEEDS_MIDI_INPUT TRUE
        NEEDS_MIDI_OUTPUT TRUE

Am at a bit of a loss as to why VST3 is fine, but the AU in Logic is dead, and unfortunately (afaik) Logic is the only DAW that can load AU Midi Effects.

D’oh!

If you don’t place a synth in the instrument slot on Logic then processBlock is never called on the MIDI effect slot.

:man_facepalming:

1 Like