IMF tools (as if we didn't have enough of them)

Here is where to post about the latest Commander Keen fangame or modification you've finished, a new website you've made, or another Keen-related creation.
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 781
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Re: IMF tools (as if we didn't have enough of them)

Post by K1n9_Duk3 »

Update:

K1n9_Duk3's MIDI to IMF Converter v1.1

I have improved the code that picks the "best" AdLib voice for the next MIDI note to be played. The code now handles rhythm notes correctly and generally tries to use the AdLib voice that has the same (or at least similar) instrument settings as the new note, so that there will be less instructions to change the instrument settings in the IMF file.

The results may vary depending on the complexity of the MIDI file, but I've seen a few situations where the new code created MIDI files that were several kilobytes smaller than what version 1.0 had created. This doesn't have any negative impact on the audio quality (the notes are the same, they're just played using different AdLib voices/channels), so give it a try if the IMF files created by v1.0 were too big to be useful for a Keen mod.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
Post Reply