Tempo ramps - fix erroneous paste.
This commit is contained in:
parent
de5f8dd3d3
commit
48fa2e7582
@ -1704,7 +1704,7 @@ TempoMap::pulse_at_bbt_locked (const Metrics& metrics, const Timecode::BBT_Time&
|
|||||||
|
|
||||||
const double remaining_bars = bbt.bars - prev_m->bbt().bars;
|
const double remaining_bars = bbt.bars - prev_m->bbt().bars;
|
||||||
const double remaining_pulses = remaining_bars * prev_m->divisions_per_bar() / prev_m->note_divisor();
|
const double remaining_pulses = remaining_bars * prev_m->divisions_per_bar() / prev_m->note_divisor();
|
||||||
const double ret = remaining_pulses + prev_m->pulse();
|
const double ret = remaining_pulses + prev_m->pulse() + (((bbt.beats - 1) + (bbt.ticks / BBT_Time::ticks_per_beat)) / prev_m->note_divisor());
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user