; SONG_TITLE - "Midgaard": the title screen.  Heroic and a little melancholy: D minor with the
; Dorian B natural (the G major chord) and the Aeolian Bb-C-Dm cadence, 112 BPM.
; Intro (2 bars: a brass call over D, then Bb C), then the loop: A (8 bars: the theme over a
; marching 8th-note bass) B (8: the lyrical answer, higher, over half-note chords and a legato
; bass, ending on A to lead home).  Loop 16 bars = 34 s.
;   intro: Dm | Bb C
;   A: Dm | C | Bb | A | Dm | G | Bb C | Dm
;   B: Bb | C | Am | Dm | Bb | C | Gm | A
speed 8
loop

def q  = c4 c4 c4 c4                    ; chords: a bar of quarters (K = the root)
def hq = c4 c4                          ; chords: half a bar
def w  = c2 c2                          ; chords: a bar of halves
def hb = c8 c8 g8 > c8 <                ; bass: half a bar of root, root, fifth, octave (K = root)
def lb = c2 g4 > c4 <                   ; bass: a legato bar of root, fifth, octave
def mb = k8 h8 s8 h8 k8 h8 s8 h8        ; drums: march
def hf = k4 h4 s4 h4                    ; drums: half time

; ---- lead
p1: @brass o4 a4. a8 > d2 | d4. d8 e2 |
p1: L @lead o5
p1: d4 a4 g8 f8 d4 | g4. e8 c4 e4 | f4 d4 < b-8 > c8 d4 | e4. d8 c+2 |
p1: d4 a4 g8 f8 d4 | g4. a8 b4 g4 | f4 d4 e4 g4 | d2 r8 c8 d8 e8 |
p1: f2 d4 f4 | g2 e4 g4 | a4. g8 e4 c4 | d4 f8 e8 d2 |
p1: d4 f4 b-4. a8 | g4. f8 e4 c4 | d4. c8 < b-4 g4 | a2 > c+4 e4 |

; ---- pulse 2: brass thirds under the call, then chord arpeggios
p2: @brass o4 f4. f8 a2 | b-4. b-8 > c2 < |
p2: L o4
p2: @arpm K2 $q | @arpM K0 $q | K-2 $q | K-3 $q |
p2: @arpm K2 $q | @arpM K-5 $q | K-2 $hq K0 $hq | @arpm K2 $q |
p2: @arpM K-2 $w | K0 $w | @arpm K-3 $w | K2 $w |
p2: @arpM K-2 $w | K0 $w | @arpm K-5 $w | @arpM K-3 $w | K0

; ---- bass
tri: @bass o2 d1 | < b-2 > c2 |
tri: L @bass8 o2
tri: K2 $hb $hb | K0 $hb $hb | K-2 $hb $hb | K-3 $hb $hb |
tri: K2 $hb $hb | K-5 $hb $hb | K-2 $hb K0 $hb | K2 $hb $hb |
tri: @bass K-2 $lb | K0 $lb | K-3 $lb | K2 $lb |
tri: K-2 $lb | K0 $lb | K-5 $lb | K-3 $lb | K0

; ---- drums
noise: c4 r4 k8 k8 k4 | k4 s8 s8 s16 s16 s16 s16 s8 s8 |
noise: L c8 h8 s8 h8 k8 h8 s8 h8 | $mb | $mb | $mb | $mb | $mb | $mb | k8 h8 s8 h8 s8 s16 s16 s8 s8 |
noise: c4 h4 s4 h4 | $hf | $hf | $hf | $hf | $hf | $hf | k4 s8 s8 s16 s16 s16 s16 s8 s8 |
