Teensy 4.0 MIDI Breakout board
Hardware
Deftaudio's MIDI Breakout board for teensy 4.0, 5 in, 5 out, usb.
https://www.tindie.com/products/deftaudio/teensy-40-midi-breakout-board-5in-5out-usb/
https://github.com/Deftaudio/Midi-boards/tree/master/MIDITeensy4.0
I bought and assembled as a kit.
The teensy's serial ports on pins 0,1,7,8,14,15,16,17,20,21 are used for the MIDI interfaces. This leaves a fair bit of IO, and even a couple serial ports if you want to break out the pads on the bottom of the board.
Software
TODO
Two sketches are included. They do things.
The board has 5 MIDI in/out ports. Then there is the USB MIDI interface. The arduino software implements "virtual cables". There seem to be 16 of these. I don't understand how they interface with the various inputs.