Template-Based Estimation of Time-Varying Tempo. (7th December 2006)