bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

musicxml2ly: direction element (words+dashes) wrongly converted to marku


From: Gmx
Subject: musicxml2ly: direction element (words+dashes) wrongly converted to markup with trillspan
Date: Thu, 12 Sep 2024 06:49:10 +0200

Hi team, 

I would like to report a bug:

I have a musicxml export from Musescore where I have added a crescendo line  
“cresc. _ _ _ _ _ _ “ spanning several notes. 

When converting that musicxml to ly (musicxml2ly 2.24.3)  it will be rendered 
as a trill with span:

PartPOneVoiceOne =  \relative f'' {
    \clef "treble" \time 4/4 \key c \major | % 1
    f4 -\markup{ \small\italic {cresc.} } \startTrillSpan f4 f4 f4
    \stopTrillSpan }

The same error happens with diminuendo line as well (probably with any musicxml 
direction which has words+dashes).

Here is the musicxml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 4.0 Partwise//EN" 
"http://www.musicxml.org/dtds/partwise.dtd";>
<score-partwise version="4.0">
    <part-list>
        <score-part id="P1">
            <part-name>Klavier</part-name>
        </score-part>
    </part-list>
    <part id="P1">
        <measure number="1">
            <attributes>
                <divisions>4</divisions>
                <key><fifths>0</fifths></key>
                <time 
symbol="common"><beats>4</beats><beat-type>4</beat-type></time>
                <staves>2</staves>
                <clef number="1"><sign>G</sign><line>2</line></clef>
                <clef number="2"><sign>G</sign><line>2</line></clef>
            </attributes>
            <direction placement="above">
                <direction-type>
                    <words font-family="Edwin" font-size="10" 
font-style="italic">cresc.</words>
                </direction-type>
                <staff>1</staff>
                <direction-type>
                    <dashes type="start" number="1"/>
                </direction-type>
                <staff>1</staff>
            </direction>
            <note>
                <pitch><step>F</step><octave>5</octave></pitch>
                <duration>4</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <pitch><step>F</step><octave>5</octave></pitch>
                <duration>4</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <pitch><step>F</step><octave>5</octave></pitch>
                <duration>4</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <note>
                <pitch><step>F</step><octave>5</octave></pitch>
                <duration>4</duration>
                <voice>1</voice>
                <type>quarter</type>
                <staff>1</staff>
            </note>
            <direction placement="below">
                <direction-type><dashes type="stop" 
number="1"/></direction-type>
                <staff>1</staff>
            </direction>
            <backup>
                <duration>16</duration>
            </backup>
            <note>
                <pitch><step>F</step><octave>5</octave></pitch>
                <duration>16</duration>
                <voice>5</voice>
                <type>whole</type>
                <staff>2</staff>
            </note>
        </measure>
    </part>
</score-partwise>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]