How to play MIDI on the iPhone?

后端 未结 5 1824
广开言路
广开言路 2020-12-28 22:37

As far as I know, there is not native or third party library available to play MIDI on the iPhone. But there seem to be quite a few apps that do exactly that. What are they

5条回答
  •  既然无缘
    2020-12-28 23:35

    Check out the MusicPlayer class. Combined with the AUSampler audio unit available since iOS 5.0 you can build a MIDI player quite easily. (The link is OS X, but it applies for iOS as well)

    https://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/CoreAudioOverview/ARoadmaptoCommonTasks/ARoadmaptoCommonTasks.html#//apple_ref/doc/uid/TP40003577-CH6-SW13

    About the sampler audio unit see: Simple embeddable MidiSynth for iOS?

提交回复
热议问题