How Do You Route MIDI To A Plugin?

You can set it up the using the same method the Pitch Correction plugin is set up in this tutorial: