midiinput: pitch language and chord mode

• The specified pitch language is now respected.
• Chord mode was added.

PS: Sorry for the commit mess. I’m still fighting with git. :)