The origins of Liszt 's improvisation in an earlier tradition of playing variations on a theme were mastered and epitomized by Johann Sebastian Bach , Wolfgang Amadeus Mozart , and Ludwig van Beethoven .
Many great composers such as Johann Sebastian Bach , Wolfgang Amadeus Mozart , Ludwig van Beethoven and Franz Liszt were famous for their keyboard improvisations .