Fix ignored note_type in TempoMap::frames_per_beat_at().
This commit is contained in:
parent
e627a9681a
commit
b4a020cdf5
@ -3032,7 +3032,7 @@ TempoMap::frames_per_beat_at (const framepos_t& frame, const framecnt_t& sr) con
|
||||
}
|
||||
|
||||
if (ts_after) {
|
||||
return (60.0 * _frame_rate) / (ts_at->tempo_at_frame (frame, _frame_rate));
|
||||
return (60.0 * _frame_rate) / (ts_at->tempo_at_frame (frame, _frame_rate) * ts_at->note_type());
|
||||
}
|
||||
/* must be treated as constant tempo */
|
||||
return ts_at->frames_per_beat (_frame_rate);
|
||||
|
Loading…
Reference in New Issue
Block a user