我正在寻找一个跨平台c或c ++ midi库。只是为了发送/接收MIDI注意事件,控制代码和时间,而不是生成声音。

主要目标是iOS / iPad,所以它必须支持iOS上的Coremidi,我知道的是最近的。我可以直接使用coremidi,但如果有一些轻量级的东西,请使用便携式的东西很好,所以我可以轻松地将项目移植到PC。

失败,请提及是否有一个很好的,轻量级的一个开源,我可能更容易添加Coremidi支持而不是自己滚动。

澄清:我正在寻找类似于 midiio portmidi ,它有很好的iOS支持。

有帮助吗?

解决方案

You might want to take a look at RtMidi.

It provides a cross-platform API for realtime MIDI input/output, and makes use of the native API's for each platform (winmm, ALSA, CoreMidi).

I haven't used it with CoreAudio/CoreMidi, but it's worked flawlessly for me on Windows and Linux.

其他提示

I don't know MIDI thing in iOS dev. To my understanding, sending/receiving MIDI note events to/from MIDI devices should be a pure OS API problem. And parsing/generating MIDI messages is about MIDI spec. I suppose neither leads to a need of a library.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top