Drum Macro layout

From TriloTracker
Jump to: navigation, search
[HEADER]
  00 - Length                          ; length of the drum marco (0..15)
  01 - Percussion type                 ; Type of dums (Base,Snare+HiHat or Cymbal+TomTom)
[/HEADER]
[ROW] 0..<Length-1>                    ; each row is 4 bytes.
 +00- [ .. | .. | .. | Bd | Sn | TT | Cy | HH ] 
 +01- [ .. |  N |  N |  N |  N |  N |  N |  N ] 
 +02- [ Dt |  V |  V |  V |  V |  V |  V |  V ] 
 +03- [ V2 | V2 | V2 | V2 | V1 | V1 | V1 | V1 ]
[/ROW]
Bd = Base drum (1=enabled).
Sn = Snare drum (1=enabled).
TT = Tom Tom (1=enabled).
Cy = Cymbal (1=enabled).
HH = Hi Hat (1=enabled).
N = Note.
Dt = deviation type (0=+, 1=-).
V = 7bit deviation value (0x000-0x8f).
V1 = Volume 1 (Base Drum, Snare, Cymbal)(0x0-0xf).
V2 = Volume 2 (Hi Hat, Tom Tom)(0x0-0xf).