I swear someone managed to make a MIDI to notes converter in java. It's possible that it's been deleted with the old forums. I would send you a download for it but I wiped my computer a few weeks ago and probably didn't back it up. Good luck trying to find it, I know one exists or existed somewhere.
EDIT: I found a python convertor on github that seems to do exactly what the Java one did,
Here's the github page: https://github.com/Stereo101/python-MidiToVirtualPianoMacro
It can only convert MIDI files and the notes output are formatted a little strange so you might have to clean it up yourself. As an added bonus it also autoplays stuff on http://www.virtualpiano.net (not the best sounding thing imo).
Lastly, here's an album with what's included in the download zip and instructions as well http://imgur.com/a/ilauM