Flute Sonata in E major, BWV 1035

It was written as the result of a visit in 1741 to the court of Frederick the Great in Potsdam, where Bach's son Carl Philipp Emanuel had been appointed principal harpsichordist to the king the previous year.

He acted as an intermediary with the Dresden flautist-composer Joachim Quantz, who not only composed for Frederick but also gave him lessons and supplied him with instruments.

One and a half year's later in December 1741, Quantz also joined the court where he served as composer and flute teacher until the end of his career.

Before that, in the summer of 1741 Bach made his first visit to Berlin, staying near the royal palace on Unter den Linden with his friend Georg Ernst Stahl, a court doctor.

[3][4][5] The opening movement, Adagio ma non tanto, contains many expressive and elaborate baroque ornaments including the king's favourite "tierces ornées"—intermediate notes added to a falling third, creating a sighing Affekt.

Bach in 1746; 1748 portrait by Elias Gottlob Haussmann