fix position of imported tempo markers from SMF files
This commit is contained in:
parent
bf0a525647
commit
577c21776a
@ -318,7 +318,7 @@ Editor::import_smf_tempo_map (Evoral::SMF const & smf, timepos_t const & pos)
|
||||
|
||||
if (have_initial_meter) {
|
||||
|
||||
bbt = new_map->bbt_at (timepos_t (Temporal::Beats (int_div_round (t->time_pulses * 4, (size_t) smf.ppqn()), 0)));
|
||||
bbt = new_map->bbt_at (timepos_t (Temporal::Beats (int_div_round (t->time_pulses, (size_t) smf.ppqn()), 0)));
|
||||
new_map->set_tempo (tempo, bbt);
|
||||
|
||||
if (!(meter == last_meter)) {
|
||||
|
Loading…
Reference in New Issue
Block a user