I have found the best approach is frequently to look for open source projects that have functions related to what you want. My notes are in an awful mess and will take a while to make presentable. You might want to look at some of the following web pages.
https://github.com/mixedinkey-opensource/MIKMIDI This had some Objective-C code for handling MIDI
https://github.com/DerekCook/CoreMidi4J This was part of an attempt to improve the Java interface with Apple MIDI using dynamically linked code. Look at the C code in the example.
I'll try to make some more stuff available when I organize it.
Topic:
Media Technologies
SubTopic:
General
Tags: