Frage

Ich suche nach einer cross-platre-Platform-C- oder C ++ - MIDI-Bibliothek.Nur um MIDI-Note-Events, Steuerungscodes und Timing zu senden / zu empfangen, um keinen Ton zu generieren.

Das Hauptziel ist iOS / iPad, also muss Coremidi auf iOS unterstützen, die ich kenne, ist ziemlich neu.Ich kann Coremidi direkt verwenden, aber wenn es etwas Leichtes gibt, wäre es schön, etwas Tragbares zu verwenden, sodass ich das Projekt leicht an PCs portieren könnte.

Das Versagen dessen, bitte, wenn es ein gutes, leichte, leichte Open-Source gibt, es ist möglicherweise einfacher für mich, CoreMidi-Support hinzuzufügen, als meine eigenen zu rollen.

Klarstellung: Ich suche etwas Ähnliches wie MidiO oder portmidi , der eine gute iOS-Unterstützung hat.

War es hilfreich?

Lösung

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.

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top