He became a music lecturer and later professor at the University of Cambridge . In 1947 he was appointed assistant lecturer in music at the University of Cambridge , subsequently lecturer ( 1952 ) , and professor ( 1962 ) .