The Piano Sonata in A, K. 331 (1783) ends with the famous rondo marked "Alla Turca", "in the Turkish style". Repeated notes, repeated ornaments, and loud/soft passages are characteristic of the Alla turca style. The imitation probably came closer with the piano of Mozart's day, whose bass strings made something of a rattle when played loudly, than is possible on modern pianos.
Performed by SHIRIN