mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix arithmetic error in Meter::to_quarters
This commit is contained in:
parent
2d1b7f6de4
commit
0e42868d35
1 changed files with 2 additions and 2 deletions
|
|
@ -403,8 +403,8 @@ Meter::to_quarters (Temporal::BBT_Offset const & offset) const
|
|||
{
|
||||
int64_t ticks = 0;
|
||||
|
||||
ticks += (Beats::PPQN * offset.bars * _divisions_per_bar * 4) / _note_value;
|
||||
ticks += (Beats::PPQN * offset.beats * 4) / _note_value;
|
||||
ticks += (Beats::PPQN * offset.bars * _divisions_per_bar * _note_value) / 4;
|
||||
ticks += (Beats::PPQN * offset.beats * _note_value) / 4;
|
||||
|
||||
/* "parts per bar division" */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue