ext_sysmidi: Sending and receiving MIDI messages in C

    Nov 29 2012 | 5:42 am
    I am writing an external where it is important for me to be able to send and receive midi messages from the C code. It looks as if the "ext_sysmidi.h" public header provides the necessary functionality, but there are no comments or documentation that explain the behavior of the functions. I presume that standard objects such as midiinfo and midiin depend on this interface, but perhaps it was considered unlikely that third party externals would need to. I was successfully able to get the names of input and output ports using this API, but I would appreciate it if someone could provide me with information about how to receive input (either by polling or callback registration) and send messages. Thanks in advance.

    • Dec 06 2012 | 11:21 am
      FYI - I'm going to put together a little web-tutorial on how to access midi ports within a c external (for mac) after xmas - it's surprisingly simple to do. There is some information floating around on the internet, which helped get me started, but I don't remember exactly where. Regards, Leigh.
    • Jan 29 2013 | 12:29 am
      Please :) I'm finally getting around to making some C externals myself, this would be so useful!