Although he had only meager academic schooling, he studied piano, violin, and French horn, and before he was 12 years old he became a court organist. His first important teacher of composition was Christian Gottlob Neefe. In 1787 he went to Vienna, Austria, intending to study with Wolfgang Amadeus Mozart.