Hello,
For the first time with many installs on various systems, I’m having a MIDI issue with Linux Mint 20.1, jack2 and Qjackctl. I’ve compiled from source with no errors. Have jack installed and it seems to be using a2jmidid properly, along with virtual midi devices set up through modprobe snd-virmidi. However, when I run MIDIClient.init; I get this as if nothing is found for midi devices. Wondering if anyone has encountered this and any fixes:
ERROR: A primitive was not bound. 0 854
Instance of Method { (0x55e6999f5dc0, gc=01, fmt=00, flg=11, set=04)
instance variables [15]
raw1 : Float 0.000000 00000000 0060000C
raw2 : Float 0.000000 00000100 01000001
code : instance of Int8Array (0x55e6999f5f40, size=4, set=2)
selectors : nil
constants : nil
prototypeFrame : instance of Array (0x55e697dbdc80, size=1, set=2)
context : nil
argNames : instance of SymbolArray (0x55e697dbdd40, size=1, set=2)
varNames : nil
sourceCode : nil
ownerClass : class Meta_MIDIClient (0x55e6999f2480)
name : Symbol 'prInitClient'
primitiveName : Symbol '_InitMIDIClient'
filenameSymbol : Symbol '/usr/local/share/SuperCollider/SCClassLibrary/Common/Control/MIDIOut.sc'
charPos : Integer 1973
}
ERROR: Primitive '__none' failed.
Failed.
RECEIVER:
nil
CALL STACK:
MethodError:reportError
arg this = <instance of PrimitiveFailedError>
Nil:handleError
arg this = nil
arg error = <instance of PrimitiveFailedError>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of PrimitiveFailedError>
Object:throw
arg this = <instance of PrimitiveFailedError>
Object:primitiveFailed
arg this = nil
Meta_MIDIClient:init
arg this = <instance of Meta_MIDIClient>
arg inports = nil
arg outports = nil
arg verbose = true
Interpreter:interpretPrintCmdLine
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "MIDIClient.init;"
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '__none' failed.
Failed.
RECEIVER: nil
aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'MPK Mini Mk II' [type=kernel,card=0]
0 'MPK Mini Mk II MIDI 1'
client 20: 'APC40 mkII' [type=kernel,card=1]
0 'APC40 mkII MIDI 1'
client 36: 'Virtual Raw MIDI 5-0' [type=kernel,card=5]
0 'VirMIDI 5-0 '
client 37: 'Virtual Raw MIDI 5-1' [type=kernel,card=5]
0 'VirMIDI 5-1 '
client 38: 'Virtual Raw MIDI 5-2' [type=kernel,card=5]
0 'VirMIDI 5-2 '
client 39: 'Virtual Raw MIDI 5-3' [type=kernel,card=5]
0 'VirMIDI 5-3 '
So, not entirely sure if this is some Linux Mint incompatibility, misconfig (though I’ve had zero issues with SC in the past), or a bug. I’m guessing I have something set up incorrectly, just not sure what to do.