I have written a music module compiler but it currently exports Protracker code to C and it isn't bug-free or complete either. I may put some time into fixing it later on this summer, though, if there's sufficient interest. It uses AHI sound drivers and that may be why it messes up. I mainly did the AHI thing for AmigaOS 4 and MorphOS compatibility.