I see and use this all the time; creating midi out/in ports by connecting to something.  But how can I create a midi port that's not connected to anything?


Just omit the ".open()".

I don't know why you'd want to do that though as those objects just abstract a port.

What are you after here?

Kas.