fix position of imported tempo markers from SMF files

This commit is contained in:
Paul Davis 2022-09-27 09:32:15 -06:00
parent bf0a525647
commit 577c21776a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {