replace midiout–>virtual_midi_cable–>midiin with internal connection

Jun 27, 2013 at 8:12am

replace midiout–>virtual_midi_cable–>midiin with internal connection

Hi all!

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.

#254270
Jun 27, 2013 at 9:46am

You can try using send/receive in combination with [midiparse]

<code>

– Pasted Max Patch, click to expand. –

</code>

#254281
Jul 3, 2013 at 7:28am

I will try this, thank you very much LSKA!

#254836

You must be logged in to reply to this topic.