PieterP
22
Can you confirm that the control surface actually properly enumerates when plugged into the Teensy host port? You can add some Serial1.print() statements in Control-Surface/src/MIDI_Interfaces/USBMIDI/Teensy-host/TeensyHostMIDI-claim.ipp at main · tttapa/Control-Surface · GitHub.
It's been a while since I looked into this, but you may also need to add usb.Task();
in your loop function.
I added this, don't know if it changed or benefits. Behavior seems the same.
I added Serial1, to all of TeensyHostMIDI-calim.ipp, and this is the output:
(Dev) System Exclusive [7] F0 00 00 66 14 00 F7
(Dev) System Exclusive [7] F0 00 00 66 15 00 F7
MIDIDevice claim this=20003260
len = 156
bInterfaceClass=1
bInterfaceSubClass=1
Interface is unknown (might be Yahama)
type: 36, len: 9
subtype: 1
MIDI Header (ignored)
type: 4, len: 9
MIDIDevice claim this=20003260
len = 138
bInterfaceClass=1
bInterfaceSubClass=3
Interface is MIDI
type: 36, len: 7
subtype: 1
MIDI Header (ignored)
type: 36, len: 6
subtype: 2
MIDI IN Jack (ignored)
type: 36, len: 6
subtype: 2
MIDI IN Jack (ignored)
type: 36, len: 6
subtype: 2
MIDI IN Jack (ignored)
type: 36, len: 6
subtype: 2
MIDI IN Jack (ignored)
type: 36, len: 9
subtype: 3
MIDI OUT Jack (ignored)
type: 36, len: 9
subtype: 3
MIDI OUT Jack (ignored)
type: 36, len: 9
subtype: 3
MIDI OUT Jack (ignored)
type: 36, len: 9
subtype: 3
MIDI OUT Jack (ignored)
type: 5, len: 9
type: 37, len: 6
MIDI Endpoint Jack Association (ignored)
type: 5, len: 9
type: 37, len: 6
MIDI Endpoint Jack Association (ignored)
type: 4, len: 9
(Dev) System Exclusive [7] F0 00 00 66 14 00 F7
(Dev) System Exclusive [7] F0 00 00 66 15 00 F7
(Dev) System Exclusive [7] F0 00 00 66 14 00 F7
(Dev) System Exclusive [7] F0 00 00 66 15 00 F7
(Dev) System Exclusive [7] F0 00 00 66 14 00 F7
(Dev) System Exclusive [7] F0 00 00 66 15 00 F7
(Dev) System Exclusive [120] F0 00 00 66 14 12 00 53 6F 75 6E 64 20 44 65 76 69 63 65 73 20 53 63 6F 72 70 69 6F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6F 6E 6E 65 63 74 69 6E 67 2E 2E 2E 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 F7
(Dev) System Exclusive [120] F0 00 00 66 14 12 00 43 6F 6E 6E 65 63 74 20 46 61 69 6C 65 64 20 50 6C 65 61 73 65 20 50 6F 77 65 72 20 20 43 79 63 6C 65 20 43 6F 6E 74 72 6F 6C 20 53 75 72 66 61 63 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 F7
Does any of that extra output from TeensyHostMidi-claim.ipp mean anything? I don’t know what to make of it. I am just stuck.
PieterP
25
It looks like it correctly claims the MIDI interface, so that's a start. Unfortunately, I don't have much time to look into it right now.