The Well-Tempered Clavier
J.S. Bach's "The Well-Tempered Clavier", an earlier set of 48 preludes and fugues, are widely held to be the direct inspiration for Shostakovich's cycle, largely based on the work's composition history.