I have two max patches working together through a virtual midi cabel in this way:
(Patch1) midiout -> virtual_midi_cable -> midiin (Patch2)
Now I want to join the two patches together to a single patch so the virtual midi cable should no longer be necessary. But I want to change as less as possible in the code.
Patch1 uses "seq" object to send midi, Patch2 "ctlin" and "xnotein" to receive the midi data.
Is there a simple way to realize an internal connection in the new single patch to replace the virtual loopback midi cable?
The problem is the "ctlin" and "xnotein" don't work directly with the output from "seq".
Thank you for every hint.