It’s pure logic as you look at the wiring of the midi calbe you can reverse engineer what the pins of the outside of the BB are. Looking at the outside of the BB the upper left is common ground, so ground for midi-in and midi-out. Upper right is unused. Middle pins (left and right) are midi-in. Bottom pins are midi-out.