Rocket of the SSRG has found such a program (thanks for the correction Rlan). It is aptly named “MIDI Ripper”, and is made by Aust X. Apparently, it does the job, even though there are some bugs. You can get the program here (link no longer active).
In other SSRG news, it looks like Rlan (SFGHQ) will have a new newsboard soon to post his updates, plus add fan game news. This could be a godsend for those who