Sonate für Pianoforte Nr. 12 in A-flat major, Op. 26 by Ludwig van Beethoven: Beethoven's Piano Sonata, No. 12 was greatly admired by Chopin, who repeated its basic sequence of scherzo, funeral march with trio, and perpetuum mobile finale in his own Piano Sonata in B♭ minor. His first movement, however, is also animated and in sonata form, unlike Beethoven's Andante con variazioni.