开发者

CoreMIDI on the command line

I've started working on a command-line app based on RtMidi that can send arbitrary MIDI data. I've found that, while I can talk to MIDI devices when I run the tool from the console, if I ssh in to my machine from another, I can't get any MIDI functionality t开发者_运维技巧o work at all. To be specific, RtMidi makes a call to MIDIClientCreate() which returns error code -10839, which is not documented anywhere that I could find. I've tried duplicating the environment variables of working process, but that didn't work either.


Error code -10839 corresponds to the symbol named kMIDIServerStartErr. I suspect that the CoreMIDI server requires a connection to SystemUIServer (ie, a graphical login).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜