MIDI Player / Synthesizer Library for iPhone

Does anyone know if there is a free / cheap MIDI / synthesizer library that I can include in an iPhone app?

As I understand it, the iPhone does not have native MIDI playback support.

To get around this limitation, I created a bank of .caf samples that I reproduce myself, but I really would like to improve the implementation and use MIDI, if possible.

Any advice is appreciated.

+3
source share
4 answers

Since October 10, 2011, that is, with iOS5, Apple began to supply a basic API for playing MIDI files. The API is called MusicPlayer along with MusicSequence. Check this:

https://developer.apple.com/library/ios/#documentation/AudioToolbox/Reference/MusicPlayerServices_Reference/Reference/reference.html#//apple_ref/doc/uid/TP40009301-CH1-SW1

.

+3

TiMidity ++; , iPhone.

TiMidity ++ - . MIDI ; MIDI- , . , . TiMidity ++ - , GNU.

TiMidity ++ ; FreeBSD, NetBSD, Linux, Windows (/ Cygwin), Mac OS, , .

+2

, Crimson Technology

Crimson Technology Library

, .

0
source

This is the library that I used to synthesize MIDI in Android: https://code.google.com/p/android-midi-lib/

Although it cannot be used for iOS, I think that you (and anyone who is interested) can still look at the implementation of the MIDI file format (that is, how bytes are written to the .mid file) and, possibly, implement the MIDI library by yourself.

0
source

All Articles