title: Cross Platform MIDI library supporting iOS CoreMIDI
body: <p>I'm looking for a cross-platform C or C++ MIDI library. Just to send/receive MIDI note events, control codes and timing, not to generate sound. </p>
  
  <p>The main target is iOS/iPad so it has to support CoreMIDI on iOS, which I know is fairly recent. I can use CoreMidi directly but if there's something lightweight out there it would be nice to use something portable so I could easily port the project to PC's.</p>
  
  <p>Failing that, please mention if there's a good, lightweight one that's open source it might be easier for me to add CoreMIDI support than to roll my own. </p>
  
  <p>Clarification: I'm looking for something similar to <a href="http://midiio.sapp.org/" rel="noreferrer">MidiIO</a> or <a href="http://sourceforge.net/apps/trac/portmedia/wiki/portmidi" rel="noreferrer">PortMIDI</a> that has good iOS support. </p>