bug-lilypond
[Top][All Lists]
Advanced

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

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


From: Werner LEMBERG
Subject: Re: musicxml2ly: direction element (words+dashes) wrongly converted to markup with trillspan
Date: Thu, 12 Sep 2024 05:05:29 +0000 (UTC)

> 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: [...]

Please try the current development version of LilyPond instead; it
renders your example just fine (rendering with `lilypond` will show
warnings, but these warnings are LilyPond bugs and can be ignored for
your test file).


    Werner

\version "2.25.20"
% automatically converted by musicxml2ly from xml-test.xml
\pointAndClickOff

\header {
}

\layout {
  \context {
    \Staff
    printKeyCancellation = ##f
  }
  \context {
    \Score
    autoBeaming = ##f
  }
}

PartPOneVoiceOne = \relative f'' {
  \clef "treble" \time 4/4 \key c \major \once \set crescendoText = \markup
  \normal-text \fontsize #-0.793 \italic "cresc." \once \set crescendoSpanner =
  #'text <>^\< f4 f4 f4 f4 <>\! }

PartPOneVoiceFive = \relative f'' {
  \clef "treble" \time 4/4 \key c \major f1 }


% The score definition
\score {
  <<
    \new PianoStaff <<
      \set PianoStaff.instrumentName = "Klavier"
      \context Staff = "1" <<
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \PartPOneVoiceOne
        }
      >>
      \context Staff = "2" <<
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceFive" {
          \PartPOneVoiceFive
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}

PNG image


reply via email to

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