Craft a musical piece that integrates the provided melodic theme and the corresponding alphabetical pattern.
X:1
L:1/8
M:4/4
K:D
['a2 fd Adfd a^gab aaga g2 ec', 'A2 f2 fAdf dGBd g3 g A2', 'afde fdfd']  
X:1
L:1/8
M:4/4
K:D
 a2 fd Adfd | a^gab aaga | g2 ec Acef | gfga ggfg | a2 fd Adfd | a^gab aaga | g2 ec Acef | 
 gfef d4 :: A2 f2 fAdf | dGBd g3 g | A2 e2 eAce | defg a3 a | A2 f2 fAdf | dGBd g3 g | A2 e2 eece | 
 dfec d3 d :: gab afde | fdfd addf | efga bagf | gege ggga | fgab afde | fdfd addc | BBBc Acef | 
 gfef d4 :|  