13
0

Tempo ramps - check the curve not the integral.

This commit is contained in:
nick_m 2016-05-27 00:46:46 +10:00
parent 2d31fa7bb1
commit 250c88c038

View File

@ -1829,8 +1829,8 @@ TempoMap::check_solved (const Metrics& metrics) const
return false; return false;
} }
/* precision check ensures pulses and frames align.*/ /* precision check ensures tempo and frames align.*/
if (t->frame() != prev_t->frame_at_pulse (t->pulse(), _frame_rate)) { if (t->frame() != prev_t->frame_at_tempo (t->pulses_per_minute(), t->pulse(), _frame_rate)) {
if (!t->locked_to_meter()) { if (!t->locked_to_meter()) {
return false; return false;
} }