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

\bar isn't handled properly #124

Open
uliska opened this issue May 7, 2018 · 0 comments
Open

\bar isn't handled properly #124

uliska opened this issue May 7, 2018 · 0 comments

Comments

@uliska
Copy link
Collaborator

uliska commented May 7, 2018

If \bar is used within a bar no in-measure barline is created but the barline style of the right barline of the current bar is changed.

If \bar is used to modify a current barline then an additional empty bar is introduced, with its right barline matching the requested style.

In the latter case we should update the previous bar (if it's not the very first bar, in which case it should probably be skipped), in the former we should probably insert the barline at the current point in time, with location="middle". At least that's what the documentation says: https://usermanuals.musicxml.com/MusicXML/Content/CT-MusicXML-barline.htm, but when adjusting a document manually to that, MuseScore 2.1 won't display the additional barline.

uliska added a commit that referenced this issue May 7, 2018
With this commit \bar is inserted properly.
Previously any mid-measure bar would end up to the right,
any at-measure bar would create a new measure.

Now mid-measure bars are inserted in place (with location="middle")
while at-measure barlines will be moved to the end of the *previous*
measure.
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

No branches or pull requests

1 participant