stylistic:style_transfer
Early musical career (1899–1908)

From 1899 to 1903, Bartók studied piano under István Thomán, a former student of Franz Liszt, and composition under János Koessler at the Royal Academy of Music in Budapest. There he met Zoltán Kodály, who made a strong impression on him and became a lifelong friend and colleague. In 1903, Bartók wrote his first major orchestral work, Kossuth, a symphonic poem which honored Lajos Kossuth, hero of the Hungarian Revolution of 1848.

The music of Richard Strauss, whom he met in 1902 at the Budapest premiere of Also sprach Zarathustra, strongly influenced his early work. When visiting a holiday resort in the summer of 1904, Bartók overheard a young nanny, Lidi Dósa from Kibéd in Transylvania, sing folk songs to the children in her care. This sparked his lifelong dedication to folk music.

Beginning in 1907, he came under the influence of French composer Claude Debussy, whose compositions Kodály had brought back from Paris. Bartók's large-scale orchestral works were still in the style of Johannes Brahms and Richard Strauss, but he wrote a number of small piano pieces which showed his growing interest in folk music. The first piece to show clear signs of this new interest is the String Quartet No. 1 in A minor (1908), which contains folk-like elements. He began teaching as a piano professor at the Liszt Academy of Music in Budapest. This position freed him from touring Europe as a pianist. Among his notable students were Fritz Reiner, Sir Georg Solti, György Sándor, Ernő Balogh, Gisela Selden-Goth, and Lili Kraus. After Bartók moved to the United States, he taught Jack Beeson and Violet Archer.

In 1908, Bartok and Kodály traveled into the countryside to collect and research old Magyar folk melodies. Their growing interest in folk music coincided with a contemporary social interest in traditional national culture. Magyar folk music had previously been categorised as Gypsy music. The classic example is Franz Liszt's Hungarian Rhapsodies for piano, which he based on popular art songs performed by Romani bands of the time. In contrast, Bartók and Kodály discovered that the old Magyar folk melodies were based on pentatonic scales, similar to those in Asian folk traditions, such as those of Central Asia, Anatolia and Siberia.

Bartók and Kodály set about incorporating elements of such Magyar peasant music into their compositions. They both frequently quoted folk song melodies verbatim and wrote pieces derived entirely from authentic songs. An example is Bartok's two volumes entitled For Children for solo piano, containing 80 folk tunes to which he wrote accompaniment. Bartók's style in his art music compositions was a synthesis of folk music, classicism, and modernism. His melodic and harmonic sense was influenced by the folk music of Hungary, Romania, and other nations. He was especially fond of the asymmetrical dance rhythms and pungent harmonies found in Bulgarian music. Most of his early compositions offer a blend of nationalist and late Romanticism elements.