开发者

CoreMIDI on the command line

开发者 https://www.devze.com 2023-02-18 02:21 出处:网络
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 m

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

精彩评论

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

关注公众号