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

xml2ly: trill span problems #4

Open
lemzwerg opened this issue Mar 27, 2024 · 0 comments
Open

xml2ly: trill span problems #4

lemzwerg opened this issue Mar 27, 2024 · 0 comments

Comments

@lemzwerg
Copy link

[ef5018a]

Consider the MusicXML file in the attached archive and process it with

xml2ly trill-span.xml > trill-span.ly

Processing the .ly file with lilypond gives both a warning and bad output:

trill-span.ly:46:1: warning: Unattached TrillSpanEvent

The cause is an incorrectly inserted \barNumberCheck command right before \stopTrillSpan:

b'4 \startTrillSpan b' b'  | % 3
\barNumberCheck #3
\stopTrillSpan

It should be exactly the opposite, i.e., \stopTrillSpan should come before \barNumberCheck:

b'4 \startTrillSpan b' b' \stopTrillSpan | % 3
\barNumberCheck #3

trill-span.zip

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