Gregorio Allegri ( born 1582 ; died February 17 , 1652 ) was an Italian composer and priest . Gregorio Allegri ( 1582 -- 17 February 1652 ) was an Italian composer of the Roman School and brother of Domenico Allegri ; he was also a priest and a singer .