I would like to make a simple VST plugin that does this :
- analyze an audio stream (volume, beat, etc...)
- has triggers on the analyzer's output (e.g. do something when volume > threshold)
- generate MIDI events based on the triggers
This is to be able to chain plugins, even if they are not designed for it. For example I could control the gain of a compressor with the envelope of an audio stream, simply by connecting the MIDI OUT of my plugin to the MIDI IN of the compressor's gain button.
The problem is I don't know how to do this. Is there support for direct MIDI connections like this in VSTs ? Or maybe I need some sort of "virtual midi device" for interconnects ?