Construct melodious patterns according to the given chord templates.
'Dm', 'Gm', 'Dm', 'Gm', 'Dm', 'E7', 'A', 'Dm', 'Gm', 'Dm', 'Gm', 'Dm', 'A', 'Dm', 'A', 'Dm', 'Gm', 'Dm', 'A', 'Dm', 'Gm', 'Dm', 'A', 'Dm', 'Dm'  
X:1
L:1/8
M:4/4
K:Dmin
"^A""Dm" D>E F>G A>d ^c>d |"Gm" B>d ^c>d"Dm" (A3 A/)A/ |"Gm" B>A G>F"Dm" E>D E>F | 
"E7" G>A G>F"A" E>D F>E |"Dm" D>E F>G A>d ^c>d |"Gm" B>d ^c>d"Dm" (A3 A/)A/ | 
"Gm" B>A G>F"Dm" E>D E>F |1"A" G>A F>E"Dm" D4 :|2"A" G>A F>E"Dm" D2 A2 |:"^B""Gm" B2 B>A B>d e>f | 
 g>f e>f"Dm" d2 (3ddd |"A" ^c>A c>e a>g f>e | f>g e>f"Dm" d>f e>d |"Gm" B2 B>A B>d e>f | 
 g>f e>f"Dm" d2 (3ddd |"A" ^c>A c>e a>g f>e |1"Dm" d2 f2 d2 A2 :|2"Dm" d2 f2 d4 ||  