I reckon Firefox recognizes the official IANA mime-types and then looks at the ones here.
So it will recognise audio/x-midi but not audio/midi. That's probably why you had to tell Firefox what to do with it - and it added it to mimeTypes.rdf.
Maybe.