I’m making a VST plugin that needs to send MIDI messages to i) external midi gear via elk dev board din 5 midi out; and ii) push2 hardware device connected via USB. It also need to receive MIDI from i) elk dev board midi in port; and ii) push2 midi usb port.
For case i) I guess I have to configure sushi to have a midi out/in and connect to the elk board midi out/in using aconnect (is that right?)
For case ii) I don’t know how to do it. Ideally I’d connect directly from my plugin to the push usb MIDI ports (that is what I do in my laptop and it works like charm). However in elk board I can’t access directly the MIDI devices because this makes the plugin crash (and I’ve been told not to open the device directly from the plugin).
What is therefore the proposed way to do it? For ii) I don’t need super precise timing, I could live for example with an intermediary app outside the plugin (connected vis osc/grpc) which does the actual sending (and receiving) from push if that is the recommended way.
As an additional note, say that I can connect to the push display via usb without problems.