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:

menu@macbookprojm > SubstractNFromLPEndOfLineBarNumbers -4
    d2  d8 [  d8  e8
    fis8 ] | % 2
    g4.  fis8  g4.  a8 | % 3
    bes1 | % 4
    d,4.  c8  d4.  e8 | % 5
    f2. r16  f16 [  es16  d16 ]
    \myBreak | % 6
    c4.  bes8  c4.  d8 | % 7
    es1 | % 8
    g,4.  fis8  g4.  a8 | % 9
    bes4.  a8  bes4.  c8 |
    \barNumberCheck #10



    d2  d8 [  d8  e8
    fis8 ] | % 6
    g4.  fis8  g4.  a8 | % 7
    bes1 | % 8
    d,4.  c8  d4.  e8 | % 9
    f2. r16  f16 [  es16  d16 ]
    \myBreak | % 10
    c4.  bes8  c4.  d8 | % 11
    es1 | % 12
    g,4.  fis8  g4.  a8 | % 13
    bes4.  a8  bes4.  c8 |
    \barNumberCheck # 14



menu@macbookprojm > 

Copy/paste the LP snippet, type some carriage returns followed by Ctrl-d, and 
copy the result back into your LP code.
I guess Frescobaldi could provide such a tool to act upon the current text 
selection.
> - 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?
> - 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. 
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.

JM


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

Reply via email to