; SONG_TOWN - "Midgaard Streets": walking the city.  A cheerful jig in 6/8, G major,
; 86 dotted-quarter beats a minute: a flute tune over a plucked lute (8th-note broken chords),
; a bouncing root-fifth-octave bass and a light frame drum.
; A (8 bars) A' (8: the tune again, ending up on D) B (8: a higher answer, ending on D to lead
; home).  Loop 24 bars = 34 s.
;   A:  G | G | C | D | G | Em | Am D | G
;   A': G | G | C | D | G | Em | Am D | G D
;   B:  C | G | Am | D | C | G | Em | D
speed 7
loop
bar 12

def t1 = b8 a8 g8 d4 g8 | b8 a8 g8 b4 > d8 < | > e4 d8 c4 e8 < | > d4. < a4. |
def t2 = b8 a8 g8 d4 g8 | b8 a8 g8 e4 g8 | a4 > c8 < f+4 a8 |
def lM = c8 e8 g8 > c8 < g8 e8          ; lute: a bar of a major chord (K = the root)
def lm = c8 e-8 g8 > c8 < g8 e-8        ; ... minor
def hm = c8 e-8 g8                      ; ... half a bar
def hM = c8 e8 g8
def jb = c8 r8 g8 > c8 < r8 g8          ; bass: dum - da DUM - da (K = the root)
def jh = c8 r8 g8                       ; bass: half a bar
def fd = k8 t8 t8 s8 t8 t8              ; drums: frame drum
def fl = k4. s4.                        ; drums: lighter

; ---- lead: the flute
p1: L @flute o4
p1: $t1 $t2 g4. r4. |
p1: $t1 $t2 g4. > d4. < |
p1: > e4. c4 e8 | d4. < b4 > d8 | c4 < b8 a4 > c8 < | a4. f+4. |
p1: > e4. g4 e8 | d4. < b4 g8 | b4 a8 g4 e8 | f+8 g8 a8 > d4. < |

; ---- pulse 2: the lute
p2: L @lute o3
p2: [ K7 $lM | $lM | K0 $lM | K2 $lM | K7 $lM | K4 $lm | K9 $hm K2 $hM | K7 $lM | ]2
p2: K0 $lM | K7 $lM | K9 $lm | K2 $lM | K0 $lM | K7 $lM | K4 $lm | K2 $lM | K0

; ---- bass
tri: L @bass8 o2
tri: K7 $jb | $jb | K0 $jb | K2 $jb | K7 $jb | K4 $jb | K9 $jh K2 $jh | K7 $jb |
tri: K7 $jb | $jb | K0 $jb | K2 $jb | K7 $jb | K4 $jb | K9 $jh K2 $jh | K7 $jh K2 $jh |
tri: K0 $jb | K7 $jb | K9 $jb | K2 $jb | K0 $jb | K7 $jb | K4 $jb | K2 $jb | K0

; ---- drums
noise: L $fd | $fd | $fd | $fd | $fd | $fd | $fd | k8 t8 t8 s8 s8 s8 |
noise: $fd | $fd | $fd | $fd | $fd | $fd | $fd | k8 t8 t8 s8 s8 s8 |
noise: $fl | $fl | $fl | $fl | $fl | $fl | $fl | k8 t8 s8 s8 s8 s8 |
