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

Find mid-measure and end of measure hidden rests from <forward> elements #553

Merged
merged 4 commits into from Jun 16, 2020

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Jun 1, 2020

Resolves #444

Summary: leading hidden rests were being found because makeRests() creates them in all cases, but mid-measure and end of measure hidden rests from <forward> elements were not created.

fillGaps handles the midmeasure case, and using refStreamOrTimeRange to compare with the entire measure stream handles the end case.

@coveralls
Copy link

coveralls commented Jun 1, 2020

Coverage Status

Coverage increased (+0.004%) to 90.712% when pulling 681fe27 on jacobtylerwalls:hiddenRests into a525178 on cuthbertLab:master.

@mscuthbert
Copy link
Member

gad -- i should've merged this first. My apologies. I think I get this fully now what it does, how it fixes something ,etc. so if you could fixx the new conflicts, will happily merge.

@jacobtylerwalls
Copy link
Member Author

should be good now! (and there would have been merge conflicts either way, so no worries!)

@mscuthbert
Copy link
Member

Wonderful . Thanks for the amazing work!

@mscuthbert mscuthbert merged commit ed66817 into cuthbertLab:master Jun 16, 2020
@jacobtylerwalls jacobtylerwalls deleted the hiddenRests branch June 16, 2020 20:39
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.

Hidden rests from <forward> tags not filled with rests by xmlToM21
3 participants