----------------
DSS version 3.0a
----------------
SongFormat:
offset Content size Description
------ ------- ------ ----------
0 'MMU2' 4 Header
4 Size 4 Header size + SongData - 8
8 Speed 1 Song speed (28 to 255)
9 Tempo 1 Song tempo (1 to 31)
10 Instr 46 Instrument1
56 Instr 46 Instrument2
102 Instr 46 Instrument3
148 Instr 46 Instrument4
194 Instr 46 Instrument5
240 Instr 46 Instrument6
286 Instr 46 Instrument7
332 Instr 46 Instrument8
378 Instr 46 Instrument9
424 Instr 46 Instrument10
470 Instr 46 Instrument11
516 Instr 46 Instrument12
562 Instr 46 Instrument13
608 Instr 46 Instrument14
654 Instr 46 Instrument15
700 Instr 46 Instrument16
746 Instr 46 Instrument17
792 Instr 46 Instrument18
838 Instr 46 Instrument19
884 Instr 46 Instrument20
930 Instr 46 Instrument21
976 Instr 46 Instrument22
1022 Instr 46 Instrument23
1068 Instr 46 Instrument24
1114 Instr 46 Instrument25
1160 Instr 46 Instrument26
1206 Instr 46 Instrument27
1252 Instr 46 Instrument28
1298 Instr 46 Instrument29
1344 Instr 46 Instrument30
1390 Instr 46 Instrument31
1436 Len 2 Number of position
1438 Pos 128 Positions
1566 Block 1024 Block1
etc...
Instrument:
-----------
0 Name 30 (29 characters + '/0') or ('/0')
30 Start 4 offset sample start or 0
34 Len 2 one shot length in words or 0
36 RStart 4 offset repeat start or 0
40 RLen 2 repeat length in words or 1
42 Tune 1 fine tune (0 to 15)
43 Vol 1 volume (0 to 64)
44 Freq 2 frequency of sample
Block:
------
0 Sample+Periode 2 Sample Periode
|_____._________|
5 bits 11 bits
2 Info 2 Info = effect + value
|____| |____|
8 bits 8 bits
0-0xF 0-0xFF
Effects:
--------
0 normal/arpeggio value = 0 / value = 1 to 0xFF
1 pitch slide up value = 1 to 0xFF
2 pitch slide down value = 1 to 0xFF
3 volume value = 0 to 0x40
4 master volume value = 0 to 0x4