Mr. Aldwell taught theory and analysis for more than three decades at the Curtis Institute of Music in Philadelphia and the Mannes College of Music in New York , where he was also on the piano faculty .