<P> Musical elements that would later be used in the Roman Rite began to appear in the 3rd century . The Apostolic Tradition, attributed to the theologian Hippolytus, attests the singing of Hallel psalms with Alleluia as the refrain in early Christian agape feasts . Chants of the Office, sung during the canonical hours, have their roots in the early 4th century, when desert monks following St. Anthony introduced the practice of continuous psalmody, singing the complete cycle of 150 psalms each week . Around 375, antiphonal psalmody became popular in the Christian East; in 386, St. Ambrose introduced this practice to the West . In the fifth century, a singing school, the Schola Cantorum, was founded at Rome to provide training in church musicianship . </P> <P> Scholars are still debating how plainchant developed during the 5th through the 9th centuries, as information from this period is scarce . Around 410, St. Augustine described the responsorial singing of a Gradual psalm at Mass . At c. 520, Benedict of Nursia established what is called the rule of St. Benedict, in which the protocol of the Divine Office for monastic use was laid down . Around 678, Roman chant was taught at York . Distinctive regional traditions of Western plainchant arose during this period, notably in the British Isles (Celtic chant), Spain (Mozarabic), Gaul (Gallican), and Italy (Old Roman, Ambrosian and Beneventan). These traditions may have evolved from a hypothetical year - round repertory of 5th - century plainchant after the western Roman Empire collapsed . </P> <P> John the Deacon, biographer (c. 872) of Pope Gregory I, modestly claimed that the saint "compiled a patchwork antiphonary", unsurprisingly, given his considerable work with liturgical development . He reorganized the Schola Cantorum and established a more uniform standard in church services, gathering chants from among the regional traditions as widely as he could manage . Of those, he retained what he could, revised where necessary, and assigned particular chants to the various services . According to Donald Jay Grout, his goal was to organize the bodies of chants from diverse traditions into a uniform and orderly whole for use by the entire western region of the Church . His renowned love for music was recorded only 34 years after his death; the epitaph of Honorius testified that comparison to Gregory was already considered the highest praise for a music - loving pope . While later legends magnified his real achievements, these significant steps may account for why his name came to be attached to Gregorian chant . </P> <P> The Gregorian repertory was further systematized for use in the Roman Rite, and scholars weigh the relative influences of Roman and Carolingian practices upon the development of plainchant . The late 8th century saw a steadily increasing influence of the Carolingian monarchs over the popes . During a visit to Gaul in 752--753, Pope Stephen II celebrated Mass using Roman chant . According to Charlemagne, his father Pepin abolished the local Gallican Rites in favor of the Roman use, in order to strengthen ties with Rome . Thirty years later (785--786), at Charlemagne's request, Pope Adrian I sent a papal sacramentary with Roman chants to the Carolingian court . According to James McKinnon, over a brief period in the 8th century, a project overseen by Chrodegang of Metz in the favorable atmosphere of the Carolingian monarchs, also compiled the core liturgy of the Roman Mass and promoted its use in Francia and throughout Gaul . </P>

Who is credited with collecting and codifying the chants of the medieval church