I would go further than
Heraclitus above.
The origins of, so-called, generic 'classical' music--as a catch-all term for all music that isn't popular, or folk--is in the courts of western Europe and their kept composers.
Though this music may have had its beginnings in popular music, the courante, gigue, minuet, aria, and other dance and song forms of the common folk, they were transformed to meet the taste and needs of the nobility who supported the composers.
"Art" Music and popular or Folk Music have existed side by side in Europe throughout the Common Practice Period.
In the twentieth century, music of the folks has erupted into 'art' music in the work of Bela Bartok, and others.