The starting point was the modal/contrapuntal system of the medieval/renaissance period, exemplified in the music of Palestrina, and the end result was the tonal system used today in pop, rock, jazz, rap, country, and any other style save modern and contemporary avant garde music, perfected by J.S. Bach in the early 18th century.