"audio plugin host" MIDI Output

There are many posts on this here. Basically, you cannot send just MIDI unless you have an audio input. ProcessBlock() will not be called unless you do. At that point, the numberOfSamples will be correct and you can use processBlock to fill the midiBuffer. Check out the Arpeggiator Tutorial, but remember that it is wrong and to make it work you have to add an audio input.

Here’s a few recent posts I can think of: