Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
M:3/8
K:D
['dAf d2 f gec', 'e2 c dBA', 'z d3 f3 a3 f3 g3 e3'  
X:1
L:1/8
M:3/8
K:D
 A | dAf | d2 f | gec | dfa | dAf | d2 f | gec | d2 z :: Aee | e2 c | dBA | ABe | ade | e2 c | 
 dBA | G2 z :: d3 | f3 | a3 | f3 | g3 | e3 | d/c/B/A/B/c/ | d2 z :|  