Soon he was studying the piano with István Thoman who had studied with the famous Franz Liszt. He had lessons in composition from János Koessler at the Royal Academy of Music in Budapest. There he met the composer Zoltán Kodály, who was a great influence on him and who became a lifelong friend. 