Compose a piece of music following the provided chord pattern.
'D', 'A7', 'D', 'Em', 'A7', 'D', 'A7', 'D', 'A7', 'D', 'D', 'G', 'A', 'D', 'Bm', 'Em', 'E7', 'A7', 'D', 'A7', 'D', 'A7', 'D'  
X:1
L:1/8
M:4/4
K:D
"^A" (3ABc |"D" dcde defd |"A7" edef efge |"D" dcde defd |"Em" edcB"A7" ABcA |"D" dcde defd | 
"A7" edef efge |"D" fadf"A7" egce |"D" d2 f2 d2 ::"^B" ag |"D" fgaf"G" gabg |"A" efge"D" fgaf | 
"Bm" defd"Em" efgf |"E7" edcB"A7" ABcA |"D" dcde defd |"A7" edef efge |"D" fadf"A7" egce | 
"D" d2 f2 d2 :|  