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: 892
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
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 892
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 »

Here is another (prototype of a) new IMF tool that might be useful for modders:

IMF Processor (Alpha version 0.001)

In its current form, the program is basically just a way to reduce the size of an IMF file. I have also used the underlying code to change the volume of a song and to remove an instrument from an IMF song, but there is no user interface for these tasks yet. Let me know if there is any interest in a tool like this, that might motivate me to add more features and a real user interface.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
User avatar
Nisaba
Janitress
Posts: 1680
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

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

Post by Nisaba »

splendid.
A tool that allows for fine-grained volume control would indeed be an asset. I approve.
Image
pystnhed
Meep
Posts: 1
Joined: Tue Sep 09, 2025 19:51

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

Post by pystnhed »

K1n9_Duk3 wrote: Sat Jan 04, 2025 13:51 Let me know if there is any interest in a tool like this, that might motivate me to add more features and a real user interface.
Yes. I have need of something like this! Making some adlib music for an old game project and it would be nice to have something visual. An all around imf tool + command line.
Post Reply