Craft a melodic piece that captures the spirit of Bach's music.  
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 | c d e/f/ g | f2 !fermata!e e/f/ | g g d f/=e/ | c2 !fermata!B G | c d e/f/4g/4 f/e/ | %6
 !fermata!d3 e | c d e/f/ g | f2 !fermata!e e/f/ | g g d e | c2 !fermata!B G | c d e/f/ g/f/ | %12
 e d !fermata!c z |] %13
V:2
 z3 c | A B c/d/ e | e d/c/ !fermata!B c | c c B d/c/ | A2 !fermata!G D | G A/B/ c/d/4e/4 d/c/ | %6
 !fermata!B3 B | A G G A | A ^G !fermata!A A | G c/B/ A G/F/4E/4 | A2 !fermata!G G | G F E/G/ c | %12
 c B !fermata!G z |] %13
V:3
 z3 G | F F G C | C D !fermata!E A | G G G G | G ^F !fermata!B, B, | C =F G/C/ B,/C/ | %6
 !fermata!G3 E | E D C/D/ E | D B, !fermata!^C =C | C C C B, | E D !fermata!D E | E D G3/2 A/ | %12
 G F !fermata!E z |] %13
V:4
 z3"C" C |"F" F"Bdim/E" E/D/"C" C3/2 _B,/ |"Fmaj7/A" A,2"E/G#" !fermata!^G,"Am" A, | %3
"C/E" E,/D,/"C/E" E,/F,/"G" G,"Cm" C, |"Dm" D,"D#dim7" ^D,"Em" !fermata!E,"G7/F" =F, | %5
"C/E" E,"Dm" =D,"C" C,"Bdim/F" F, |"G" !fermata!G,3"E/G#" ^G, |"Am" A,"G/B" B,"C" C"A7/C#" ^C | %8
"Dm" D2"A" !fermata!A,"Am" A, |"C/E" E,/D,/"C/E" E,"D7/F#" ^F,"Em/G" G, | %10
"Am7/G" G,"D7/F#" ^F,"G" !fermata!G,"Em" E, |"Am7" A,/G,/"Dm/A" A,/B,/"C" C"C/E" E,/F,/ | %12
"C/G" G,"G7" G,"C" !fermata!C, z |] %13  