Question

I'm having a devil of a time finding out whether I can make a simple midi output layer using Coremidi without using Objective-C. The app is a QT desktop app in C++, and I want to keep OS specific things to a minimum and localized to just some output modules. Timing and latency is crucial so I'd like the midi output layer to be as close to the metal as possible. I'm getting bad sync latency when using PortMidi, and though I'd find out if it improves with CoreMIDI directly. If someone can tell me whether this is possible, and if so point me at an example, that would be luverly.

Was it helpful?

Solution

CoreMIDI's API is plain old C. You don't need Objective-C or C++.

(It can of course be used directly from Objective-C or C++ code, if you want to, though.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top