I have the music in MOD format with 3 channels..... it's not easy to translate to asm
The module format is open and documented, I'm sure you can find it in the Web somewhere (I have in the past). You will need to create a script or program that will read the MOD file, extract the song and instrument information, and generate the necessary output.
It's not hard, but it is time consuming. However, you only need to do this once.
In an old conversation I had with Arnauld, he mentioned that he created his own tool to do this, so perhaps you can ask him for help. I don't know if he visits this forum regularly, though.
I haven't created such a tool because I've been able so far to get away with it by doing it manually. I use Logic Pro
on the Mac and it has a MIDI Events
display that includes a notation similar to how the MOD data is laid out: in columns for the channels and rows for the timing ticks; with the notes duration as the number of ticks until the next event. (After all, that's what MIDI and MOD files are: a sequence of musical and effect events occurring in time, per channel, with additional information regarding the instruments used. In the case of MOD files, it also includes sampled data for the instruments.)
For Christmas Carol, I just wrote the DECLEs by hand using the NOTES() macro provided with Arnauld's tracker, and reading off the MIDI events from the Logic Pro
display, one row at a time. Takes a while, but it was rather effective.
It would be nice to have a tool for this, but I don't really want to take the time right now to research the tracker module format and figure it out.
Edited by DZ-Jay, Thu Feb 23, 2012 4:42 AM.