I'm trying to figure out what modifications to make to the MIDI input section of this circuit to use 6N137 IC instead of the 6N138 shown.

Click image for larger version. 

Name:	td_libs_MIDI_sch_t3.png 
Views:	36 
Size:	4.9 KB 
ID:	25568

In my searches I'm finding incomplete and conflicting info. Any solid answer? (I'm using Teensy 4.0 and 4.1 if that makes a difference)