Generate melodies that harmonize with the provided chord sequence.
'D', 'D', 'D', 'D', 'D', 'Em', 'G', 'D', 'A', 'D', 'G', 'D', 'G', 'D', 'A', 'D', 'D', 'G'  
X:1
L:1/8
M:6/8
K:D
 A |"D" d2 F"^(A)" FEF |"D" DFA AFD |"D" d2 F"^(Bm)" FEF |"^(Em)" D2 f"^(A7)" fef | 
"D" d2 F"^(A)" FEF |"D" DFA AFD |"Em" E3 EFA |"G" B3"^(A)" B2 :: c |"D" dfa afd |"A" cea ecA | 
"D" dfa afd |"G" g3"D" fga |"G" bag"D" agf |"A" ede"D" fdB |"D" ABA"^(Bm)" AFA |"G" B3 B2 :|  