The .128 file format

OffsetSizeDescription Group
&000032Volume table
Bits0-3 hold the 4bits volume level
If bit7 is set, the value is inactive
Instrument 0
&002032Noise table
Bits0-4 hold the 5bits noise period
If bit7 is set, the value is inactive
Instrument 0
&004064Tone Period table
32 signed 16bits value, range from +4095 to -4096
Instrument 0
&00801Repeat position and flags
bits0-4 hold the repeat position
If bit6 is set, use the
Instrument 0
&00811Repeat lenght
Bits0-4 hold the repeat lenght
Instrument 0
&008232Volume tableInstrument 1
&00A232Noise tableInstrument 1
&00C264Tone Period tableInstrument 1
&01021Repeat position and flagsInstrument 1
&01031Repeat lenghtInstrument 1
&010432Volume tableInstrument 2
&012432Noise tableInstrument 2
&014464Tone Period tableInstrument 2
&01841Repeat position and flagsInstrument 2
&01851Repeat lenghtInstrument 2
&018632Volume tableInstrument 3
&01A632Noise tableInstrument 3
&01C664Tone Period tableInstrument 3
&02061Repeat position and flagsInstrument 3
&02071Repeat lenghtInstrument 3
&020832Volume tableInstrument 4
&022832Noise tableInstrument 4
&024864Tone Period tableInstrument 4
&02881Repeat position and flagsInstrument 4
&02891Repeat lenghtInstrument 4
&028A32Volume tableInstrument 5
&02AA32Noise tableInstrument 5
&02CA64Tone Period tableInstrument 5
&030A1Repeat position and flagsInstrument 5
&030B1Repeat lenghtInstrument 5
&030C32Volume tableInstrument 6
&032C32Noise tableInstrument 6
&034C64Tone Period tableInstrument 6
&038C1Repeat position and flagsInstrument 6
&038D1Repeat lenghtInstrument 6
&038E32Volume tableInstrument 7
&03AE32Noise tableInstrument 7
&03CE64Tone Period tableInstrument 7
&040E1Repeat position and flagsInstrument 7
&040F1Repeat lenghtInstrument 7
&041032Volume tableInstrument 8
&043032Noise tableInstrument 8
&045064Tone Period tableInstrument 8
&04901Repeat position and flagsInstrument 8
&04911Repeat lenghtInstrument 8
&049232Volume tableInstrument 9
&04B232Noise tableInstrument 9
&04D264Tone Period tableInstrument 9
&05121Repeat position and flagsInstrument 9
&05131Repeat lenghtInstrument 9
&051432Volume tableInstrument 10
&053432Noise tableInstrument 10
&055464Tone Period tableInstrument 10
&05941Repeat position and flagsInstrument 10
&05951Repeat lenghtInstrument 10
&059632Volume tableInstrument 11
&05B632Noise tableInstrument 11
&05D664Tone Period tableInstrument 11
&06161Repeat position and flagsInstrument 11
&06171Repeat lenghtInstrument 11
&061832Volume tableInstrument 12
&063832Noise tableInstrument 12
&065864Tone Period tableInstrument 12
&06981Repeat position and flagsInstrument 12
&06991Repeat lenghtInstrument 12
&069A32Volume tableInstrument 13
&06BA32Noise tableInstrument 13
&06DA64Tone Period tableInstrument 13
&071A1Repeat position and flagsInstrument 13
&071B1Repeat lenghtInstrument 13
&071C32Volume tableInstrument 14
&073C32Noise tableInstrument 14
&075C64Tone Period tableInstrument 14
&079C1Repeat position and flagsInstrument 14
&079D1Repeat lenghtInstrument 14
&079E32Volume tableInstrument 15
&07BE32Noise tableInstrument 15
&07DE64Tone Period tableInstrument 15
&081E1Repeat position and flagsInstrument 15
&081F1Repeat lenghtInstrument 15
&082032Arpeggio 0
signed 8bits value.
Range from +48 to -48.
&084032Arpeggio 1
&086032Arpeggio 2
&088032Arpeggio 3
&08A032Arpeggio 4
&08C032Arpeggio 5
&08E032Arpeggio 6
&090032Arpeggio 7
&092032Arpeggio 8
&094032Arpeggio 9
&096032Arpeggio 10
&098032Arpeggio 11
&09A032Arpeggio 12
&09C032Arpeggio 13
&09E032Arpeggio 14
&0A0032Arpeggio 15
Warp zone here - verification required
&0A3096Song list
Table of 8bits value corresponding to a pattern number.
&0A908Song name
&0A988Instrument 0 name
&0AA08Instrument 1 name
&0AA88Instrument 2 name
&0AB08Instrument 3 name
&0AB88Instrument 4 name
&0AC08Instrument 5 name
&0AC88Instrument 6 name
&0AD08Instrument 7 name
&0AD88Instrument 8 name
&0AE08Instrument 9 name
&0AE88Instrument 10 name
&0AF08Instrument 11 name
&0AF88Instrument 12 name
&0B008Instrument 13 name
&0B088Instrument 14 name
&0B108Instrument 15 name
&0B1896Pattern Transpose table
signed 8bits values.
Range from -48 to +48.
&0B80PLPattern Datas

Pattern Data structure

OffsetSizeDescription Group
&0000??Pattern 0 Datas
&0000??Pattern 1 Datas

Each line of pattern is stored as follow:

OffsetSizeDescription Group
&00001Note
Bits7-4 hold the note number.
Bits3-0 hold the octave value.
Channel A
&00011Instrument & Effect command
Bits7-4 hold the instrument number.
Bits3-0 hold the effect command.
Channel A
&00021Effect parameter
8bits parameter for an effect command
Channel A
&00031Note
Bits7-4 hold the note number.
Bits3-0 hold the octave value.
Channel B
&00041Instrument & Effect command
Bits7-4 hold the instrument number.
Bits3-0 hold the effect command.
Channel B
&00051Effect parameter
8bits parameter for an effect command
Channel B
&00061Note
Bits7-4 hold the note number.
Bits3-0 hold the octave value.
Channel C
&00071Instrument & Effect command
Bits7-4 hold the instrument number.
Bits3-0 hold the effect command.
Channel C
&00081Effect parameter
8bits parameter for an effect command
Channel C

0B78 00 00 00 Delay LoopTo PatternLenght 00 SongLenght

0B7B Delay 0B7C LoopTo 0B7D PatternLenght 0B7F SongLenght

0B80 Pattern 0

  pos0  track1[note.b Ins/Fx.b FxCom.b] track2[...] track3[...]
  ...

note.b=XY : X=numero note

           Y=Octave
    si XY=#D0 -> RAZ Track

Ins/Fx.b=XY : X=No Instrument

            Y=No d'effet

FxCom.b=XX : Valeur d'effet special

documentations/software/soundtrakker/dev.fileformat.128.txt · Last modified: 2009/07/15 17:28 by grim