Tempo scaling, fixes #10