Develop a melody that embodies the characteristics of Bach's pieces.  
X:1
T:Music21 Fragment
T:Music21 Fragment
T:Music21
C:Music21
%%score 1 2 3 4
L:1/4
M:4/4
K:C
V:1 treble 
%%MIDI program 0
%%MIDI control 7 100
%%MIDI control 10 64
V:2 treble 
%%MIDI program 0
%%MIDI control 7 100
%%MIDI control 10 64
V:3 treble 
%%MIDI program 0
%%MIDI control 7 100
%%MIDI control 10 64
V:4 bass 
%%MIDI program 0
%%MIDI control 7 100
%%MIDI control 10 64
V:1
 z3 e | f e d a | a/g/ f !fermata!e g | f e d e/f/4g/4 | f e !fermata!d e | f e d a | %6
 a/g/ f !fermata!e g | f e d e/f/4g/4 | f e !fermata!d d | e/d/ c B A/B/ | c d !fermata!e c | %11
 d/e/ f e f/e/ | d ^c !fermata!d d | a f g a | g f !fermata!e z |] %15
V:2
 z3 ^c | d ^c d c/d/ | e A/=B/ !fermata!^c c | d ^c d/=c/ _B | A2 !fermata!A ^c | d ^c d c/d/ | %6
 e A/=B/ !fermata!^c c | d ^c d/=c/ _B | A2 !fermata!A G | G/^G/ A G A/G/ | %10
 A/c/ B/A/ !fermata!^G A/=G/ | F/G/ A A d | A A !fermata!A A | A A _B c | =B/^c/ d !fermata!A z |] %15
V:3
 z3 A | A G A G/F/ | E F/G/ !fermata!A _B | A A/G/ F G | ^C/ D C/ !fermata!F A | A G A G/F/ | %6
 E F/G/ !fermata!A _B | A A/G/ F G | ^C/ D C/ !fermata!F D | C/D/ E E E/D/ | E F !fermata!B, E | %11
 D d ^c A/G/ | F E !fermata!F F | E D D _E | D/A,/ =B, !fermata!^C z |] %15
V:4
 z3"A" A, |"Dm" D"C#dim/E" E"Dm/F" F"A7/E" E/D/ |"A/C#" ^C"Dm" D"A" !fermata!A,"C#dim7/E" E, | %3
"Dm/F" F,/G,/"A" A,"Bb" _B,"Edim/A" A,/G,/ |"F+/A" A,2"Dm" !fermata!D,"A" A, | %5
"Dm" D"C#dim/E" E"Dm/F" F"A7/E" E/D/ |"A/C#" ^C"Dm" D"A" !fermata!A,"C#dim7/E" E, | %7
"Dm/F" F,/G,/"A" A,"Bb" _B,"Edim/A" A,/G,/ |"F+/A" A,2"Dm" !fermata!D,"G/B" B, | %9
"C" C/B,/"Am" A,"E" E/D/"Am/C" C/B,/ |"Am" A,/G,/"Bdim/F" F,"E" !fermata!E,"Am" A, | %11
"Bb" _B,"Dm/F" F,/G,/"A" A,"Dm" D,/E,/ |"Dm/F" F,/G,/"A" A,"Dm" !fermata!D,"Dm" D | %13
"A/C#" ^C"Dm" D/=C/"Gm/Bb" _B,/A,/"Am7b5/G" G,/^F,/ |"G" G,"G#dim7" ^G,"A" !fermata!A, z |] %15  