Craft a musical piece that integrates the provided melodic theme and the corresponding alphabetical pattern.
X:1
L:1/4
M:4/4
K:D
['B A', 'e d']  
X:1
L:1/4
M:4/4
K:D
 A | d d B A | F F2 A | d d B A | E3 A | c c B A | c c2 B | A3/2 A/ B A | F3 A | d d B A | F F2 E | 
 D D E F | G3 d | e3/2 f/ g e | c c2 B | A A B c | d2 e2 || f a/f/ e d | f f2 f | f a/f/ e d | 
 c3 e | a a2 a | g g2 e | c3/2 d/ c B | A3 e | f a/f/ e d | f f2 e | d d c =c | B3 d | 
 e3/2 f/ g e | ^c c2 B | A A B c | d3 ||  