Replace remaining MIDI interface numbers with enums.

This concludes the interface numbers to enums refactoring.