-
Notifications
You must be signed in to change notification settings - Fork 11
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
Adjust pedalmarkins end #209
Conversation
Whatever the last note specified in the bracket should be included but it's hard to see how this interacts with the pedal up mark when both are used together. |
Do you mean in the images above or in the code? |
@rvilarl, in the example in 0xfe/vexflow#1611, there are two voices. Would you make sure it works when there's another voice that causes additional area behind the last note the pedal is attached to? |
@jaredjj3 tests with two voices added :) |
Wow, that looks so good! LGTM and I agree that would close my issue. |
@mscuthbert what is the meaning of your statement? Should I comment the code? |
When there is a pedal release sign (looks like *) the pedal symbols should end before the note marked with *. Otherwise the symbol should go to the end of the note's "area" but in any case it is better to have the pedal mark extend to the end of some note rather than end with the notehead. I don't know if Vexflow should be automatically eliding the common case of pedal up and immediately back down. See Gould for examples |
@mscuthbert I have refactored the class to follow fix the alingment. Is that as expected? |
Yes, looks very good -- good enough to merge. The two-voice(?) on one staff measures are currently non-sensical because of the incorrect stem-directions; I can't really judge how well the pedal marks are being rendered because my eyes can't figure out why 8 quarter notes are in one 4/4 measure. |
@mscuthbert stems adjusted to avoid shift of notes |
@mscuthbert is this now fine? look images above |
These look fantastic. I'd suggest clicking the Merge Button! |
fixes #204
Changes the pedal markins brackets ends to include the area behind the note. Either to the next note in its voice or the end of the stave.
@mscuthbert is this a right approach?
@jaredjj3 does this fix the vexml issue?
Differences
current
reference
current
reference
current
reference
current
reference
current
reference