Play midi files on iphone

broken image
broken image

Nowadays many apps use recorded sound, but you will find that MIDI is a much more flexible way to make music than using recorded audio files. No more cheesy old-school computer music from the days of Pac-Man (which was pretty good back in 1980). MIDI is a standard music protocol that lets you generate very realistic music in a very simple way. This version of AudioKit has been updated for Swift 3.2.

broken image

If you want to build an app using MIDI, you will want a sound font, and you’ll probably want AudioKit. The open-source code for the app is here. It’s called Jamulator, like a calculator but for jamming. This post describes how to build the simplest possible MIDI app (which you can download already built for free from the iOS app store).