About this piece

The Prelude and Fugue in A-flat major, BWV 862, is the seventeenth of the twenty-four prelude-and-fugue pairs in Book I of Johann Sebastian Bach's The Well-Tempered Clavier. Bach (1685–1750), a German composer of the Baroque era, compiled Book I while serving as Kapellmeister at the court of Köthen; his fair autograph copy is dated 1722. The pairs run through the keys in ascending chromatic order, each major key followed by its tonic minor, so the A-flat major pair precedes the one in G-sharp minor. The individual preludes and fugues were written over a number of years during Bach's Weimar and Köthen appointments, and the date of this particular prelude is not documented. The collection was not printed during Bach's lifetime; Book I first appeared in print in 1801, issued in Leipzig by Hoffmeister & Kühnel. Its title page states that the book was made for the use of studious music students, and its compilation is connected with the keyboard teaching Bach gave his sons; the Clavierbüchlein he assembled in 1720 for his eldest son, Wilhelm Friedemann, belongs to the same body of teaching material.
Where this comes from: https://www.mutopiaproject.org/cgibin/piece-info.cgi?id=1045