This video shows how to wire and make a MIDI to TRS cable which will work on both Type A and Type B wiring. Full details including links to schematics, parts list are included in the video. There is a Part 2 to this video which covers a more gig-worthy (robust) solution and is scheduled to be released very soon (I wanted to see if it worked before I hooked into more expensive cables).