Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
['BAB c2 A', 'G F2 A AFA BGB AFA BdB', 'g fdd edd'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
|: B | BAB c2 A | BAB c2 A | BdB AFD | EFE E2 c | BAB c2 A | BAB c2 A | BdB AFA | DED D2 :: G | 
 F2 A AFA | BGB AFA | BdB AFD | EFE E2 G | F2 A AFA | BGB AFA | BdB AFA | DED D2 :: g | fdd edd | 
 fdd d2 A | BdB AFD | EDE E2 g | fdd edd | fdB AFA | DFA deg | fdd d2 :|  