Hi,


Is it possible to close a MIDI port?

I'm working on a MIDI class, and to print all the available ports, I open them one at the time and get the name. Then I end up with tons of open MIDI ports I'm not actually using.

Apart from this, another user case could be a live set where different scripts are launched and each of them wants to talk to a specific MIDI port. Doing so one ends up with a lot of leftovers.


Cheers,

Mario

-- 
electronic musician, sound artist, creative coder, QA engineer
https://vimeo.com/creativecodingsalerno
http://mbuoninfante.tumblr.com/
https://github.com/mariobuoninfante
https://bitbucket.org/mariobuoninfante/