lilypond-user
[Top][All Lists]
Advanced

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

Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)


From: Francisco Vila
Subject: Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond)
Date: Tue, 15 Aug 2017 20:55:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 15/08/17 20:25, Jacques Menu Muzhic wrote:
Hello Francisco,

- The converted code has \stemUp and \stemDown in every single note, which had to be searched and replaced. Also all articulations are forced up or down. 

Don’t know why musicxml2ly recently enforced such behavior, without any option to prevent it.
The same holds for \pointAndClickOff.

- Bar number checks have to be searched as well to delete them. What if you want to insert a measure? it's a nightmare. Even worse, bar number checks are not fixed strings, so you have to compose regular expressions to match them.

I’ve written a bash/awk script to offset measures numbers, leading to:

That is interesting.

- Dynamics are not attached to the note it is meant to, if the author moved them with the mouse.

Do you mean they’re attached to a rest? I get that frequently after scanning with PhotoScore Ultimate and exporting to MusicXML. Or have you experienced a thoroughly different phenomenon?

Usually a rest, if rests precede the dynamics, but also any note preceding the dynamics, if this is in the middle of a measure full of noteheads. It looks as if Finale users first put the dynamic anywhere in the measure (thus being hardwired to the beginning), then reposition it to the corresponding note. It is visually correct (for them), but internally it loses the meaning.

- Just look at this converted block:

#(set-global-staff-size 20.6625714286)

\paper {
    paper-width = 21.59\cm
    paper-height = 27.93\cm
    top-margin = 1.27\cm
    bottom-margin = 1.27\cm
    left-margin = 2.53\cm
    right-margin = 1.27\cm
    between-system-space = 2.19\cm
    page-top-space = 1.27\cm
    indent = 1.66076923077\cm
    short-indent = 1.10717948718\cm
  }

No comments. Except that you have to pay attention to it even if you want to discard it completely, because it's between all else, otherwise useful, code. The work of picking and editing the useful parts is time-consuming.

The numerous decimal digits could easily be limited to 2 without a great loss IMHO.
Yes, eleven decimals look like a bit too many for me.

The various settings in \paper seem to come from the MusicXML data itself, and having them there makes it easy for the user to adapt them to what he needs.
All in all, one of the most usefulness of LilyPond is completely lost, which is to make beautifully typeset music automatically from a terse, meaningful symbolic language.

-- 
Francisco Vila. Badajoz (Spain)
paconet.org , csmbadajoz.com

reply via email to

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