In the middle ages, the catholic church predominated in almost every aspect of life, and the catholic mass was an integral part of church activities. did the catholic church, particularly the mass, have any impact on music? how?