
			   MOD file format (table)
			   

  Technical
  ---------

  The format of a module is relativly simple:

  Amiga sound-noise-pro tracker modulfile structure.

ͻ
offset(dec) lenght  contents                                              
͹
0          20       name of module                                        
͹
20         22       name of sample                                       
42         2        sample lenght in words (xchg lo,hi)                  
44         2        default volume of sample (xchg lo,hi)                
46         2        loop start (xchg lo,hi)               repeated 15(sou
48         2        loop lenght in words (xchg lo,hi)     tracker) or 31 
                    if 1 -> there's no loop!              (noise tracker)
                    /in the soundtracker format this word times.         
                    means the loop end from the begin of                 
                    the sample/                                          
͹
soutrnoitr                                                               
͹                                                               
470 or 950 1        number of orders in module                            
471 or 951 1        identify byte (78h=st)                                
472 or 952 128      orders (pattern orders)                               
                    the highest value in the orders the                   
                    number of pattern saved in the mod.                   
͹
---    10804        Text 'M.K.' or 'FLT4'  M.K.=saved with the protracker 
                    or Noisetracker.  Scream Tracker accept mods          
                    with 'M.K.' only!  FLT4= 4 channel fairlight          
                    startrekker module. FLT8 = same, but 8 channel!       
600 or 10841024*patspatterns (each pattern is 64 row, each                
                              row is 4 channel, each channel              
                              is 4 byte)                                  
                    One channel is defined by the following four bytes:   
                    1-2.byte:note Ŀ       
                                HI0123456701234567LO     
                                  Ĵ       
                                               
                                          LO 12bit=note(see periodtable) 
                    Ŀ                           
                    HI 1 bit of instrument if                           
                    noisetracker                                        
                                               
                    3. byte: LO 4bit = command                            
                             HI 4bit = LO 4bit of instrument              
                    4. byte: command info                                 
͹
end of     sum of   Samples stored here, ordered by the sample-table      
patterns   sample                                                         
           lenghts                                                        
ͼ

You can identify a note with it's period:
ͻ
                Periodtable                    
Ķ
C-1 C#1 D-1 D#1 E-1 F-1 F#1 G-1 G#1 A-1 A#1 B-1
856 808 762 720 678 640 604 570 538 508 480 453
Ķ
C-2 C#2 D-2 D#2 E-2 F-2 F#2 G-2 G#2 A-2 A#2 B-2
428 404 381 360 339 320 302 285 269 254 240 226
Ķ
C-3 C#3 D-3 D#3 E-3 F-3 F#3 G-3 G#3 A-3 A#3 B-3
214 202 190 180 170 160 151 143 135 127 120 113
ͼ
