Swift is supposed to have been designed for compatibility with existing Apple APIs, including C APIs such as CoreMIDI. N.B. Apple has improved Core MIDI support for Swift since this was written. Introduction Core MIDI is Apple’s C API for (surprise) MIDI. Apple provides no higher level bindings besides a player in AVFoundation. If you want to develop an app with MIDI capabilities, you need to use