Mod Archive Forums
Music Production => MilkyTracker => Tracking => MilkyTracker Community => Topic started by: ralphbluecoat on August 22, 2011, 02:47:27
-
I want to build a script utility which will automatically read multiple audio files and then generate an xi instrument, automatically mapped.
Does anybody here have intimate knowledge the XI file structure? I've been opening them up in hex editors, and I'm a little confused as to how sample the data is stored/compressed.
Thank you!
-
The instrument structure is identical to the structure in XM files (see f.e. http://aluigi.altervista.org/mymusic/xm.txt (http://aluigi.altervista.org/mymusic/xm.txt), section "Instruments"), with a very simple leading file header:
struct XIFILEHEADER
{
CHAR extxi[21]; // "Extended Instrument: "
CHAR name[23]; // Name, 0x1A
CHAR trkname[20]; // Tracker name, f.e. "FastTracker v2.00" in FT2's case
};
-
Thanks for the reference page! This is very helpful to read.
-
This version contains important corrections and clarifications:
http://16-bits.org/xm/