Hello Patrick,

I did as you said with LP 2.19.44 and got in the end what follows.

JM

--

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

\header {
    encodingsoftware =  "MuseScore 2.0.3.1"
    encodingdate =  "2016-12-15"
    }

#(set-global-staff-size 20.1587428571)
\paper {
    
    paper-width = 21.0\cm
    paper-height = 29.7\cm
    top-margin = 1.0\cm
    bottom-margin = 2.0\cm
    left-margin = 1.0\cm
    right-margin = 1.0\cm
    indent = 1.61538461538\cm
    short-indent = 1.29230769231\cm
    }
\layout {
    \context { \Score
        autoBeaming = ##f
        }
    }
PartPOneVoiceOne =  \relative c'' {
    \clef "treble" \key c \major \numericTimeSignature\time 4/4 | % 1
    \tempo 4=60 | % 1
    \stemDown c4 r4 r2 }

PartPOneVoiceOneLyricsOne =  \lyricmode {\set ignoreMelismata = ##t
    "creator: "
    }


% The score definition
\score {
    <<
        
        \new Staff
        <<
            \set Staff.instrumentName = "Piano"
            \set Staff.shortInstrumentName = "Pia."
            
            \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 = 60 }
    }





> Le 14 déc. 2016 à 18:27, Patrick Karl <[email protected]> a écrit :
> 
> So, I have the following lilypond file, named test.ly:
> 
> 
> 
> 
>> \version "2.19.46"
>> music = { c'' }
>> \score {
>>   \new Staff \music
>>   \layout { }
>>   \midi { }
>> }
> 
> I compile it so:  lilypond test.ly
> 
> which generates a pdf file and a midi file.
> 
> I open the midi file in Musescore 2.0.3.1 and export an xml file, named 
> test_midi_Musescore.xml
> 
> 
> 
> I run musicxml2ly test_midi_Musescore.xml, which generates a lilypond file 
> named test_midi_Musescore.ly.
> 
> 
> 
> There seem to be two problems with the output of musicxml2ly:
> 
>   *  file test_midi_Musescore.ly produces: test_midi_Musescore.ly: data
> 
>       It should probably produce:  test_midi_Musescore.ly:  ASCII text.  
> Another indication that something is aglee with test_midi_Musescore.ly is the 
> output of "more test_midi_Musescore.ly", namely:  "test_midi_Musescore.ly" 
> may be a binary file.  See it anyway? 
> 
> 
> 
>   *  lilypond is unable to compile test_midi_Musescore.ly.  It fails with
> 
> 
> 
> pat$ lilypond test_midi_Musescore.ly
> GNU LilyPond 2.19.46
> Processing `test_midi_Musescore.ly'
> Parsing...
> test_midi_Musescore.ly:6:25: error: EOF found inside string
>     encodingsoftware =  
>                         "
> test_midi_Musescore.ly:6:25: error: syntax error, unexpected end of input, 
> expecting \header
>     encodingsoftware =  
>                         "
> fatal error: failed files: "test_midi_Musescore.ly"
> 
> I am attaching test.midi, test_midi_Musescore.ly and test_midi_Musescore.xml.
> 
> 
> 
> Is there a workaround?  Is this a bug?
> 
> 
> 
> 
> 
> 
> <test.midi><test_midi_Musescore.ly><test_midi_Musescore.xml>_______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to