Skip to content

Fix xmlForward offset calculation#318

Open
jacobtylerwalls wants to merge 2 commits into
cuthbertLab:masterfrom
jacobtylerwalls:jtw/fix-xml-forward
Open

Fix xmlForward offset calculation#318
jacobtylerwalls wants to merge 2 commits into
cuthbertLab:masterfrom
jacobtylerwalls:jtw/fix-xml-forward

Conversation

@jacobtylerwalls

@jacobtylerwalls jacobtylerwalls commented Jul 3, 2026

Copy link
Copy Markdown
Member

Finally debugged why I had funny ties in piano parts: I had incorrect offsets after a <forward>.

Looking again, I don't think these two .max() calls are even needed: I don't think we have to protect against negative values here. I can remove if you prefer. EDIT: I checked m21p and updated to match its behavior here (from cuthbertLab/music21#972)

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.

1 participant