The following patch was emailed to me on 6/16/2001. It is by Bodo Thiesen and is against sox 12.17.1.
It adds amiga module support to SoX.
=== Original Email ===
Dear Chris Bagwell
I got the sources - the ninth attempt took it.
Here is the MOD decoder for SOX. You may include this to SOX. It seems to
work,
but some effects are not implemented or only partfully.
*** BUG ***
Because, I don't know, if our machine is little endian of big endian: The
Amiga is little endian, and the Intel 386, too. Because I wrote the sources
under DOS, where architecture independency doesn't interest anyone, I didn't
take any care about the endianness of the target. Now, by porting the
sources to Linux, I didn't implement testing for big endian, and
byteswapping the whole stuff on reading. So, under big endian platforms, MY
CODE WON'T WORK! (I'll fix that, but I thought, you should know it,
especially, if you had a big endian machine, and want to test it, and it
doesn't work :-)
*** BUG ***
I attached the patch uncompressed to this letter, because on my computer, I
tested to send it compressed to myself, AND LOST ONE BYTE!!! So, to be sure,
a useful file will arrive you, better send it uncompressed :-)
And remember, the PATCH is against the version 12.17.1!
If you want to test the MOD-decoder, visit 'www.modarchive.com', there are
10 Gigs in over 10k Files. (One MOD takes in average 250 KB)
Before I forget it: I changed the file Makefile.in, only. Do the changes of
Makefile.dos and Makefile.gcc by yourself. Because, I cannot test if that
works, I didn't any attempt to change this files.
Logged In: YES
user_id=71218
Originator: YES
File Added: sox-mod.diff
Logged In: YES
user_id=71218
Originator: YES
File Added: soxpatch.diff
big endian update