Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #4867: Filling measure with rests be affected by time signature #6123

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

mattmcclinch
Copy link
Contributor

Resolves: https://musescore.org/en/node/4867.

This makes use of the toRhythmicDurationList() function in Score::setRest() and Score::makeGap(). Since the resulting duration list is constructed based on the relative tick within the measure, the rests will never have to be added in the reverse order, which was something that had to be done when using toDurationList().

@ecstrema
Copy link
Contributor

How can this not change any vtest?

@MarcSabatella
Copy link
Contributor

vtests don't test the result of running a command, just what a score looks like immediately on loading.

@mattmcclinch
Copy link
Contributor Author

Exactly. This does not try to “correct” rest durations already present in a score. Nor should it.

@anatoly-os anatoly-os merged commit 1134156 into musescore:3.x Jun 22, 2020
anatoly-os added a commit that referenced this pull request Aug 11, 2020
mattmcclinch added a commit to mattmcclinch/MuseScore that referenced this pull request Sep 4, 2020
…er Note in triplet to Eight causes corruption

A change was made in PR musescore#6123 to use toRhythmicDurationList() rather than toDurationList() in Score::setRest(), so that compound beats are split correctly in the case of a compound meter. But this splitting of compound beats should not happen when setting rests withing a tuplet.
mattmcclinch added a commit to mattmcclinch/MuseScore that referenced this pull request Sep 10, 2020
…er Note in triplet to Eight causes corruption

A change was made in PR musescore#6123 to use toRhythmicDurationList() rather than toDurationList() in Score::setRest() and Score::makeGap(), so that compound beats are split correctly in the case of a compound meter. But this splitting of compound beats should not happen when setting rests withing a tuplet.
vpereverzev pushed a commit that referenced this pull request Oct 5, 2020
…er Note in triplet to Eight causes corruption

A change was made in PR #6123 to use toRhythmicDurationList() rather than toDurationList() in Score::setRest() and Score::makeGap(), so that compound beats are split correctly in the case of a compound meter. But this splitting of compound beats should not happen when setting rests withing a tuplet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants