Discussion:
Enconding problems with musicxml2ly
Lukas-Fabian Moser
2018-11-16 07:29:49 UTC
Permalink
Dear List,

I try to transfer music written in MuseScore 2.3.2 (Linux) to Lilypond
using MuseScore's musicxml export and musicxml2ly from 2.19.80.

In the ly file created by musicxml2ly, any quoted string contains
strange characters which prevent Lilypond from compiling the file. On my
system, they are displayed thus (I include Kate's warning):

This also happens with literal strings (pizz, arco etc.), which are
perfectly straightforward ASCII in the .musicxml file generated by
MuseScore.

Can anybody give me a hint what makes musicxml2ly produce such
characters? (If I remove them by hand, the produced .ly file works just
fine, but of course that's not the way to go in a score that contains
plenty of text markings.)

Best
Lukas
Urs Liska
2018-11-16 07:42:09 UTC
Permalink
Post by Lukas-Fabian Moser
Dear List,
I try to transfer music written in MuseScore 2.3.2 (Linux) to Lilypond
using MuseScore's musicxml export and musicxml2ly from 2.19.80.
In the ly file created by musicxml2ly, any quoted string contains
strange characters which prevent Lilypond from compiling the file. On
This also happens with literal strings (pizz, arco etc.), which are
perfectly straightforward ASCII in the .musicxml file generated by
MuseScore.
Can anybody give me a hint what makes musicxml2ly produce such
characters? (If I remove them by hand, the produced .ly file works
just fine, but of course that's not the way to go in a score that
contains plenty of text markings.)
This was discussed recently. I don't recall exactly what it was about
but you might search the archives (both lilypond-user and bug-lilypond).
I would think it has to do with the pretty old Python version shipped
with LilyPond. As a workaround (you're right that's definitely not the
way it *should* be) you should be able to remove these "characters"
automatically.

HTH
Urs
Post by Lukas-Fabian Moser
Best
Lukas
_______________________________________________
lilypond-user mailing list
https://lists.gnu.org/mailman/listinfo/lilypond-user
Lukas-Fabian Moser
2018-11-16 11:29:29 UTC
Permalink
Hi Urs,
Post by Urs Liska
Post by Lukas-Fabian Moser
In the ly file created by musicxml2ly, any quoted string contains
strange characters which prevent Lilypond from compiling the file. On
This was discussed recently. I don't recall exactly what it was about
but you might search the archives (both lilypond-user and
bug-lilypond). I would think it has to do with the pretty old Python
version shipped with LilyPond. As a workaround (you're right that's
definitely not the way it *should* be) you should be able to remove
these "characters" automatically.
Thanks for the pointer - I don't usually follow the goings on in
bug-lilypond, which is where that recent discussion took place. I'm sorry!

For future reference: The problem is discussed in

https://lists.gnu.org/archive/html/bug-lilypond/2018-08/msg00038.html
and
http://lists.gnu.org/archive/html/lilypond-user/2017-05/msg00230.html

It's not so bad since it turns out that (as Urs suggested) killing the
spurious "Delta" signs by search&replace (e.g. in Frescobaldi) solves
the problem. So it's just a slight inconvenience.

Best
Lukas

Loading...