About this piece

The Sinfonia No. 5 in E-flat major, BWV 791, belongs to the fifteen three-part Sinfonias, BWV 787–801, that Johann Sebastian Bach (1685–1750) wrote for keyboard. They are the counterpart of the fifteen two-part Inventions, BWV 772–786. Both sets come from Bach's years as Kapellmeister at the Köthen court (1717–1723); no document fixes the date of an individual piece. Bach first compiled the material for the instruction of his eldest son, Wilhelm Friedemann Bach (1710–1784), entering pieces into the Clavier-Büchlein begun in 1720, and in 1723 he prepared a fair manuscript copy whose title page, Auffrichtige Anleitung, states that it is meant to show lovers of the keyboard and learners how to play and compose. 'Sinfonia' here denotes a three-part keyboard work, not an orchestral piece. The collection first appeared in print in 1801; the fair copy survives.
Where this comes from: https://www.mutopiaproject.org/cgibin/piece-info.cgi?id=204