From 250c88c038e8c7bf6449657463acc0403e01bcad Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 27 May 2016 00:46:46 +1000 Subject: [PATCH] Tempo ramps - check the curve not the integral. --- libs/ardour/tempo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c7bc0938be..ca21d32e48 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1829,8 +1829,8 @@ TempoMap::check_solved (const Metrics& metrics) const return false; } - /* precision check ensures pulses and frames align.*/ - if (t->frame() != prev_t->frame_at_pulse (t->pulse(), _frame_rate)) { + /* precision check ensures tempo and frames align.*/ + if (t->frame() != prev_t->frame_at_tempo (t->pulses_per_minute(), t->pulse(), _frame_rate)) { if (!t->locked_to_meter()) { return false; }