lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat question


From: David Wright
Subject: Re: Repeat question
Date: Thu, 28 Jun 2018 14:45:52 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu 28 Jun 2018 at 14:10:10 (+0200), Jacques Menu Muzhic wrote:
> Just found an excellent example of the ‘look at what the compiler does’ 
> principle.
> 
> Demo file 04b-Glissando.xml contains:
> 
>     <measure number="2">
>       <note>
>         <pitch>
>           <step>G</step>
>           <octave>4</octave>
>         </pitch>
>         <duration>1</duration>
>         <voice>1</voice>
>         <type>quarter</type>
>         <stem>down</stem>
>         <notations>
>           <glissando line-type="dashed" number="1" type="start"/>
>         </notations>
>         <lyric number="1"><text>dashed</text></lyric>
>       </note>
>       <note>
>         <pitch>
>           <step>F</step>
>           <octave>5</octave>
>         </pitch>
>         <duration>1</duration>
>         <voice>1</voice>
>         <type>quarter</type>
>         <stem>down</stem>
>         <notations>
>           <glissando line-type="dashed" number="1" type="stop"/>
>         </notations>
>       </note>
> 
> There’s no lyrics attached to the F, but all of MuseScore, Finale and 
> musicxml2ly interpret the glissando stop in that case as a skip in the lyrics:

I don't understand. Where a lyric is given, a lyric is printed.
Where it isn't, there's a note without a lyric. In LP, that
necessitates a skip because the lyrics in LP are sequential,
so there has to be a cipher/null/zero/placeholder.

The first glissando has a lyric for both notes, "normal" on the
starting note and "glissando" on the note that stops it.

      <note>
        <pitch>
          <step>G</step>
          <octave>4</octave>
        </pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>quarter</type>
        <notations>
          <glissando number="1" type="start"/>
        </notations>
        <lyric number="1"><text>normal</text></lyric>
      </note>
      <note>
        <pitch>
          <step>F</step>
          <octave>5</octave>
        </pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>quarter</type>
        <notations>
          <glissando number="1" type="stop"/>
        </notations>
        <lyric number="1"><text>glissando</text></lyric>
      </note>

Cheers,
David.



reply via email to

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