Skip to content

xml2ly: trill span problems #4

@lemzwerg

Description

@lemzwerg

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions