my MIDI interface is nothing more than the 3 cables described in the diagram in the first post connecting the arduino to the MIDI socket in which the midi cable is connected (then it goes straight to the m5).
Yes but the point of that interface is that it will only work with a 5V signal, this is a Due and so you do not have a 5V signal. So you have to make it into one before that interface will work.