Generate melodic masterpieces that abide by the suggested chord alterations.
'G', 'C', 'A7', 'D7', 'G', 'C', 'G', 'D7', 'G', 'G', 'C', 'A7', 'D', 'G', 'C', 'G', 'D7', 'G'  
X:1
L:1/8
M:4/4
K:G
 D>G |"G" B4 d>BA>B |"C" G>AG>F E2 G>F |"A7" E>CE>F G>AB>d |"D7" A4- A2 D>G |"G" B4 d>BA>B | 
"C" G>AG>F E2 c2 |"G" B<dB>G"D7" D>FA>F |"G" G2 .G2 .G2 || B>c |"G" d>DD>D B>DD>D | 
"C" G>AG>F E2 G>F |"A7" E>CE>F G>AB>d |"D" A4- A2 B>c |"G" d>DD>D B>DD>D |"C" G>AG>F E2 c2 | 
"G" B<dB>G"D7" D>FA>F |"G" G2 .G2 .G2 |]  