Converting your MOD files for easy CD listening.

[Note that I have removed my build of MikMod from my software page, as it is now mostly-maintainable from Raphael’s builds, however, if you still want it, here it is.]

I’ve been asked this a couple times, and each time it’s given me a smile. A user who previously downloaded my build of MikMod wants to take their favorite songs, and import them into iTunes, or burn to CD.

It’s pretty easy, actually. My libmikmod build includes the ‘AIFF’ and ‘RAW’ disk writers, so you can just tell mikmod to create a file which you can import into iTunes. The WAV writer is broken in all MikMod releases to date with big endian systems. I’ve only recently discovered this – but my old releases are unlikely to be patched.

I usually use something similar to this construction (for Bourne compatible shells) from the Terminal:

%for n in *.mod *.s3m *.it; do mikmod -d 4 -F -l -X $n; mv music.aiff $n.aiff; done

This will leave you with much less disk space, and several files, such as ‘panic.s3m.aiff’. You can use iTunes to create MP3s, and/or burn them to your CDs.