In the 128K disassembly I noticed a small error in the part 'Send Byte to MIDI Device'.
The instruction OUT (C),A does not take 11, but 12 T-states. Where 113 T-states are mentioned, this should be 114 T-states. The effective baudrate is therefore 31113.