Craft a melody that captures the spirit of Bach's compositions.  
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 | e e/f/ g/f/ e | d e/d/ !fermata!c e | e e/f/ g/f/ e | d e !fermata!c e | f e d c/d/ | %6
 e B !fermata!A e | f e d c/d/ | e B !fermata!A e | e d c/B/ A/B/ | c c d d | !fermata!e3 z |] %12
V:2
 z3 c | B c d3/2 c/ | c/B/4A/4 B !fermata!G c | d c B c | c B !fermata!A c | c/ d c B/ A | %6
 A/^G/4^F/4 G !fermata!A ^c | d G/A/ B A | A ^G !fermata!A c | B/A/ B/^G/ E2 | A A A/c/ B/A/ | %11
 !fermata!B3 z |] %12
V:3
 z3 A | E A =G G | A G/F/ !fermata!E G/A/ | B A =G A | A E !fermata!E A | A/G/ G A/E/ E | %6
 E3/2 D/ !fermata!C G | A/B/ c G/F/ E | E3/2 D/ !fermata!C A | E B, A,/B,/ C/D/ | E E F/A/ ^G/A/ | %11
 !fermata!^G3 z |] %12
V:4
 z3"Am" A, |"E/G#" ^G,"Am" A,"G/B" B,"C" C |"Dm7/F" F,"Em/G" G,"C" !fermata!C,"C" C | %3
"E7/G#" ^G,"Am" A,"Em" E,"Am" A,/=G,/ |"D7/F#" ^F,"E/G#" ^G,"Am" !fermata!A,"Am" A, | %5
"F/A" A,/B,/"C" C"D7/F#" ^F,/^G,/"Am" A,/B,/ |"Am/C" C/D/"E" E/E,/"F" !fermata!F,"C#dim/E" E, | %7
"Dm" D,"C/E" E,/F,/"G" G,"Am" A, |"Am/C" C,/D,/"E" E,"Am" !fermata!A,,"Am" A, | %9
"E/G#" ^G,/^F,/"G#dim" G,/E,/"Am" A,2 |"Am" A,/B,/"Am/C" C/A,/"Dm/F" F,/E,/"G#dim7/F" F, | %11
"E" !fermata!E,3 z |] %12  