Cross Platform MIDI 라이브러리 IOS Coremidi를 지원합니다
문제
나는 크로스 플랫폼 C 또는 C ++ MIDI 라이브러리를 찾고 있습니다.MIDI 참고 이벤트, 제어 코드 및 타이밍을 보내거나 사운드를 생성하지 않도록하십시오.
주 목표는 iOS / iPad이므로 IOS에서 Coremidi를 지원해야합니다.나는 coremidi를 직접 사용할 수 있지만 가벼운 무언가가 있다면 휴대용을 사용하는 것이 좋을 것이므로 PC에 프로젝트를 쉽게 포트 할 수 있습니다.
실패한 경우, 오픈 소스가 좋은 가볍고 가벼운 하나가 있는지 언급 해주십시오. 나 자신을 굴리는 것보다 coremidi 지원을 더 쉽게 추가 할 수 있습니다.
해결책
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.