문제

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.

도움이 되었습니까?

해결책

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.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top