Skip to content

Commit

Permalink
Fix timestamps of tremolos during and after repeats
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup committed Dec 18, 2023
1 parent c799ac7 commit 9d4eb42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engraving/playback/renderers/tremolorenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ void TremoloRenderer::buildAndAppendEvents(const Chord* chord, const Articulatio
continue;
}

auto noteTnD = timestampAndDurationFromStartAndDurationTicks(chord->score(), startTick, stepDurationTicks);
auto noteTnD = timestampAndDurationFromStartAndDurationTicks(
chord->score(), startTick + context.positionTickOffset, stepDurationTicks);

NominalNoteCtx noteCtx(note, context);
noteCtx.duration = noteTnD.duration;
Expand Down

0 comments on commit 9d4eb42

Please sign in to comment.