Generate melodic masterpieces that abide by the suggested chord alterations.
'Am', 'G', 'A', 'G', 'Am', 'Am', 'G', 'Am', 'G', 'D', 'Am', 'G', 'Am', 'G'  
X:1
L:1/8
M:6/8
K:D
"Am" eAA B2 A | eAA ABd | eAA B2 A |"G" dBG GBd |"A" eAA B2 A | eAA AGE |"G" GAB dge | 
 dBA"Am" ABd ::"Am" eaa egg |"G" dBA ABd |"Am" eaa egg |"G" dBG GBd |"D" daf"Am" g2 e | 
"G" dBA"Am" AGE |"G" GAB dge | dBA ABd :|  