convert MuseScore to lilypond file format
I have had no success in converting MuseScore files into Lilypond format.
I have tried loading the resulting .ly file into Frescobaldi and get the following error log;
LilyPond [hornpipe.ly] starting (preview mode)...
Processing `hornpipe.ly'
Parsing...
hornpipe.ly:57:0: error: syntax error, unexpected \score
\score {
hornpipe.ly:60:38: error: unknown escaped string: `\AvoiceAA'
\context Voice = OApartAG
\AvoiceAA
hornpipe.ly:60:38: error: syntax error, unexpected STRING
\context Voice = OApartAG
\AvoiceAA
/usr/share/lilypond/2.12.2/ly/init.ly:63:66: error: syntax error, unexpected $end
(ly:parser-error parser (_ "expected error, but none found"))))
error: failed files: "hornpipe.ly"
LilyPond [hornpipe.ly] exited with return code 1.
I have also tried to process the resulting .ly file in a command terminal and get basically the same error report;
GNU LilyPond 2.12.2
Processing `hornpipe.ly'
Parsing...
hornpipe.ly:57:0: error: syntax error, unexpected \score
\score {
hornpipe.ly:60:38: error: unknown escaped string: `\AvoiceAA'
\context Voice = OApartAG
\AvoiceAA
hornpipe.ly:60:38: error: syntax error, unexpected STRING
\context Voice = OApartAG
\AvoiceAA
/usr/share/lilypond/2.12.2/ly/init.ly:63:66: error: syntax error, unexpected $end
(ly:parser-error parser (_ "expected error, but none found"))))
error: failed files: "hornpipe.ly"
I do not fully understand much of the Lilypond script so am dependent on programs such as Frescobaldi to help me edit Lilypond files, but somehow it seems MuseScore is not converting its files into a form that Lilypond will accept. I have however saved MuseScore files to xml format and successfully converted them to .ly files with the command musicxml2ly.
Comments
Can you tell which version of MuseScore you are using ? and maybe attach the score you are working on ?
In reply to Can you tell which version of by [DELETED] 5
MuseScore 0.9.5 on Mandriva Spring2010
attached are the score as saved in .mszc format and as MuseScore saved it to .ly
thanks for prompt reply
In reply to MuseScore 0.9.5 on Mandriva by banjoman
I opened your mscz file with the current trunk for the upcoming 0.9.6, and I got a working lilypond file (attached). So apparently the bug is fixed for next version.
In reply to I opened your mscz file with by [DELETED] 5
that's good news, hope I can get the new version fairly soon after release, the Mandriva repository seems to lag behind sometimes! MuseScore is a really good program and seems to be developing at a very good pace too...