probable fix for importing tempo maps that use non-quarter note pulse.

- actually i'm not certain that this is correct,
	  but it works ok Beethoven's fifth.
This commit is contained in:
nick_m 2017-02-28 03:11:22 +11:00
parent 5a8dece2c9
commit 5fc202b237
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ Editor::import_smf_tempo_map (Evoral::SMF const & smf, framepos_t pos)
Evoral::SMF::Tempo* t = smf.nth_tempo (n);
assert (t);
Tempo tempo (t->tempo(), 4.0);
Tempo tempo (t->tempo(), 32.0 / (double) t->notes_per_note);
Meter meter (t->numerator, t->denominator);
Timecode::BBT_Time bbt; /* 1|1|0 which is correct for the no-meter case */