Compose a harmonious melody following the provided chord sequence.
'D', 'G', 'A', 'D', 'G', 'A', 'D', 'D', 'D', 'G', 'D', 'A', 'D', 'G', 'G', 'A', 'D', 'D'  
X:1
L:1/8
Q:1/4=60
M:2/4
K:D
"D" f/g/f/e/ d/e/d/B/ | AD FA |"G" GE e>d |"A" cB BA |"D" f/g/f/e/ d/e/d/B/ | AD FA | 
"G" GE"A" e>f |1"D" ed d2 :|2"D" ed d c/B/ |:"D" Af f/e/f |"G" Ag g/f/g |"D" Af f/e/f | 
"A" e/f/e/d/ BA |"D" Af f/e/f |"G" Ag g/f/g/a/ |"G" ba"A" g/e/c/d/ |1"D" ed d c/B/ :|2"D" ed d2 |]  