Core MIDI Overview

  • Originally published March 25, 2014.

Part 1 of a Series

A quick overview of Core MIDI, a C API from Apple.


Core MIDI is a framework that lets us use MIDI (Musical Instrument Digital Interface). We can use this to interact with external devices, such as keyboards, that can generate MIDI events. We can also have our iOS and OS X devices become a MIDI device and send events to other hardware. It also allows us to read and create MIDI files.

Core MIDI can work with Core Audio to play tones from live MIDI events or from a MIDI file. This series will be focussing on parsing MIDI files for playback and analysis. Some of the main API structures and functions that will be used are listed here. The linked documentation is sparse and all we will get for a long time. Careful study of them is unavoidable.


Here are some links to information about MIDI.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s