Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:Amin
['AA a2', 'A (B/d/) e>dBA GABG BGBc d2 Bd'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:Amin
"^Moderate" e | AA a2 (g<e) g2 | e>dBA GABG | AA a2 ge g2 | e>dBc A2 A :: (B/d/) | e>dBA GABG | 
 BGBc d2 Bd | e>dBA GABd | g>edB A2 A :|  