lilypond-user
[Top][All Lists]
Advanced

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

musicxml2ly fails on <extend/> start and stop


From: Menu Jacques
Subject: musicxml2ly fails on <extend/> start and stop
Date: Mon, 7 May 2018 23:34:57 +0200

Hello folks,

The MusicXML example below causes musicxml2ly 2.19.80 to create the following code, which is not acceptable to LilyPond:


Starting lilypond 2.19.80 [ExtendStartAndStop.ly]...
Processing `/Users/menu/Documents/LaTeX/PartitionsLilypond/lyrics/ExtendStartAndStop.ly'
Parsing...
"テ " __\skip1
__ " " "ニ " ____

<<
fatal error: failed files: "/Users/menu/Documents/LaTeX/PartitionsLilypond/lyrics/ExtendStartAndStop.ly"
Exited with return code 1.



%%%%%%%%%%%%%%%%%%%%%


\version "2.19.80"
% automatically converted by musicxml2ly from ExtendStartAndStop.xml
\pointAndClickOff

\header {
    subtitle =  "Echigo-Jishi"
    copyright = 
    "Transcription donated to the public domain, 2005 by Tom Potter"
    encodingdate =  "2007-06-19"
    title =  "越後獅子"
    poet =  \markup \column {
        \line { "Source: \Japanese Popular Music: a collection of the popular music of Japan rendered in to the "}
        \line { "staff notation\, by Y. Nagai and K. Kobatake, 2nd ed., Osaka, S. Miki & Co., 1892, pp. 96-97."}
        \line { ""}
        \line { "Transcribed into Finale music notation by Tom Potter, 2005.  See http://www.daisyfield.com/music/"}
        \line { "Lyrics added by Karen Tanaka and Michael Good, 2006. See http://www.recordare.com/"}
        }
    
    arranger =  "Y. Nagai"
    composer =  "Arr. Y. Nagai , K. Kobatake"
    encodingsoftware =  "Finale 2005 for Windows"
    }

#(set-global-staff-size 20.6625714286)
\paper {
    
    paper-width = 21.59\cm
    paper-height = 27.93\cm
    top-margin = 0.18\cm
    bottom-margin = 1.27\cm
    left-margin = 1.9\cm
    right-margin = 1.27\cm
    between-system-space = 1.68\cm
    page-top-space = 1.68\cm
    }
\layout {
    \context { \Score
        autoBeaming = ##f
        }
    }
PartPOneVoiceOne =  \relative b' {
    \clef "treble" \key c \major \time 2/4 | % 1
    \stemDown b4 ^\markup{ \bold {Allegro} } \stemDown c8 [ \stemDown e8
    ] | % 2
    \stemDown fis8 \stemDown fis4 \stemDown e8 }

PartPOneVoiceOneLyricsOne =  \lyricmode {\set ignoreMelismata = ##t
    "テ " __\skip1 __ " " "ニ " ____
    }


% The score definition
\score {
    <<
        
        \new Staff
        <<
            
            \context Staff << 
                \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
                \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
                \new Lyrics \lyricsto "PartPOneVoiceOne" { \set stanza = "1." \PartPOneVoiceOneLyricsOne }
                >>
            >>
        
        >>
    \layout {}
    % To create MIDI output, uncomment the following line:
    %  \midi {\tempo 4 = 92 }
    }


%%%%%%%%%%%%%%%%%%%%%


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN"
                                "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="2.0">
  <movement-title>越後獅子</movement-title>
  <defaults>
    <scaling>
      <millimeters>7.2319</millimeters>
      <tenths>40</tenths>
    </scaling>
    <lyric-font font-family="MS ゴシック" font-size="10.25" name="verse"/>
    <lyric-language name="verse" xml:lang="ja"/>  
  </defaults>
  <part-list>
    <score-part id="P1">
      <part-name print-object="no">MusicXML Part</part-name>
      <score-instrument id="P1-I2">
        <instrument-name>Koto</instrument-name>
      </score-instrument>
      <midi-instrument id="P1-I2">
        <midi-channel>1</midi-channel>
        <midi-program>108</midi-program>
      </midi-instrument>
    </score-part>
  </part-list>
  <!--=========================================================-->
  <part id="P1">
    <measure number="1" width="224">
      <attributes>
        <divisions>8</divisions>
        <key>
          <fifths>0</fifths>
          <mode>major</mode>
        </key>
        <time>
          <beats>2</beats>
          <beat-type>4</beat-type>
        </time>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
      </attributes>
      <direction placement="above" directive="yes">
        <direction-type>
          <words default-y="23" font-size="12" font-weight="bold">Allegro</words>
        </direction-type>
        <sound tempo="92"/>
      </direction>
      <sound dynamics="98"/>
      <note default-x="11">
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <duration>8</duration>
        <voice>1</voice>
        <type>quarter</type>
        <stem default-y="-55">down</stem>
        <lyric default-y="-80" number="1">
          <syllabic>single</syllabic>
          <text>テ</text>
          <extend type="start"/>
        </lyric>
      </note>
      <note default-x="58">
        <pitch>
          <step>C</step>
          <octave>5</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="-45">down</stem>
        <beam number="1">begin</beam>
      </note>
      <note default-x="87">
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="-40">down</stem>
        <beam number="1">end</beam>
        <lyric number="1">
          <extend type="stop"/>
        </lyric>
      </note>
    </measure>
    <!--=======================================================-->
  </part>
  <!--=========================================================-->
</score-partwise>




reply via email to

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