<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p><br>
    </p>
    <p>Is it possible to close a MIDI port?</p>
    <p>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.</p>
    <p>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 <i>leftovers</i>.</p>
    <p><br>
    </p>
    <p>Cheers,</p>
    <p>Mario<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
electronic musician, sound artist, creative coder, QA engineer
<a class="moz-txt-link-freetext" href="https://vimeo.com/creativecodingsalerno">https://vimeo.com/creativecodingsalerno</a>
<a class="moz-txt-link-freetext" href="http://mbuoninfante.tumblr.com/">http://mbuoninfante.tumblr.com/</a>
<a class="moz-txt-link-freetext" href="https://github.com/mariobuoninfante">https://github.com/mariobuoninfante</a>
<a class="moz-txt-link-freetext" href="https://bitbucket.org/mariobuoninfante/">https://bitbucket.org/mariobuoninfante/</a></pre>
  </body>
</html>