MIDI播放器/合成器库为iPhone [英] MIDI player/synthesizer library for the iPhone

查看:186
本文介绍了MIDI播放器/合成器库为iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道是否有一个自由/廉价MIDI播放器/合成器,我可以融入我的iPhone应用程序库?

Does anyone know if there is a free/cheap MIDI player/synthesizer library that I can incorporate into my iPhone application?

据我了解,iPhone不具有MIDI回放的本地支持。

As I understand it the iPhone doesn't have native support for MIDI playback.

要解决此限制我创建.caf声音样本的一个银行,我自己播放,但我真的很想提高执行,如果可能,使用MIDI。

To work around this limitation I've created a bank of .caf sound samples that I playback myself but I'd really like to improve the implementation and use MIDI if possible.

任何意见将是极大的AP preciated。

Any advice would be greatly appreciated.

推荐答案

由于二零一一年十月十日,就是因为iOS5中,苹果公司已经开始提供基本的API,用于播放MIDI文件。该API被称为MusicPlayer与MusicSequence一起检查了这一点:

Since 10 october of 2011, that is since iOS5, Apple has started delivering basic API for midi files playback. The API is called MusicPlayer along with MusicSequence Check this out :

<一个href=\"https://developer.apple.com/library/ios/#documentation/AudioToolbox/Reference/MusicPlayerServices_Reference/Reference/reference.html#//apple_ref/doc/uid/TP40009301-CH1-SW1\" rel=\"nofollow\">https://developer.apple.com/library/ios/#documentation/AudioToolbox/Reference/MusicPlayerServices_Reference/Reference/reference.html#//apple_ref/doc/uid/TP40009301-CH1-SW1

通过设置适当的音频单元处理图可以输出你喜欢的声音。

By setting up an appropriate Audio Unit Processing Graph you can output the sound you like.

这篇关于MIDI播放器/合成器库为iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆