JamCracker module structure --------------------------- By Laurent Clévy (lclevy@club-internet.fr) offset type size content ------------------------------------------------- 0000 B 4 "BeEp" 0004 W 1 samples number 0006 B 40*num sample info 0000 B 31 name 0031 B 1 flags (0=sample/3=synth?) 0032 L 1 size 0036 L 1 adress (init sub calculated) 0000 W 1 patterns number 0002 B 6*num pattern info 0000 W 1 size 0002 L 1 adress (init sub calculated) 0000 W 1 song len 0002 W 1*len songtable = pattern used 0000 B 8*4*len 1st pattern 1 pattern = 4 channels 1 channel = 0 B 1 period (note) 1 B 1 intruments 2 B 1 play speed (bit7=1:vol=S, bit6=1:porta=S) 3 B 1 arpegiato info 4 B 1 vibrato info 5 B 1 phase shift speed (bits 3-0) 6 B 1 volume info (bit7=1:D, bit7=0:U) 7 B 1 portamento info (bit7=1:D, =0:U) 0000 B 1 1st instruments Example ------- 0000 BeEp 0004 0005 0006 "" 03 00000180 00043c50 "" 03 00000180 00043dd0 "Mc-base" 00 000010b8 00043f50 "Mc-tom" 00 00001122 00045008 "Mc-snare" 00 0000112e 0004612a 00ce 000d 00d0 0020 00040a50, 0020 00040e50, 0020 00041250, ... 011e 001f 0120 0000, 0000, 0001, 0001, ... 015e 1st pattern 335e 1st instr