[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange automatic line breaking after full measure rests andbefore s
From: |
Trevor Daniels |
Subject: |
Re: strange automatic line breaking after full measure rests andbefore small durations |
Date: |
Fri, 11 Oct 2013 17:10:59 +0100 |
"pls" wrote Friday, October 11, 2013 4:26 PM
Hm, but why are there line breaks after every R1? e.g.:
R1*12
r2 r4 r8 r16 r32 r64 r128 r128
It's due to the artificial nature of this example. LP tries to estimate a
suitable spacing for the section of music presented, based on the shortest
duration found. The 128th notes lead her to believe long measures will be
needed to accommodate all these short notes. Try removing the shortest notes
progrssively and you'll see the changes. Maybe a better algorithm would
actually count how many short notes are present, but that would need to be
implemented as an enhancement, and it is rare that difficulties arise for
'real' music, even with this simple estimation.
As Eluze said:
> you can correct it with a more appropriate value, eg.
>
> \set Score.proportionalNotationDuration = #(ly:make-moment 1 12)
This can be used to override Lily's estimation by setting a more suitable value
if only a small number of short notes are present.
Trevor