MIDI Input on Arduino Due

It should work but do not connect the 3K3 resistor to 5V connect it to 3V3.

However do not use TX & RX 0, as this is connected to the USB converter. use one of the other TX & RX pairs.