About this piece

Fantasia in F minor, K. 594, was composed by Wolfgang Amadeus Mozart (1756–1791) in 1790. It was written for a mechanical organ — a Flötenuhr, an automatic organ mounted inside a clock. The commission came from Count Joseph Deym von Stritetz, who ran the Kunstkabinett, a wax-figure museum in Vienna. Mozart entered the work in his own catalogue of his compositions, and it is grouped with K. 608 and K. 616, the pieces he wrote later for the same kind of mechanical clock organ. The music stands in F minor and is built of three sections, Adagio, Allegro, Adagio. Mozart died the following year, 1791, so the piece belongs to the last years of his output.
Where this comes from: https://www.mutopiaproject.org/cgibin/piece-info.cgi?id=570