lilypond-user
[Top][All Lists]
Advanced

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

Re: uniform-stretching


From: Trevor Bača
Subject: Re: uniform-stretching
Date: Fri, 15 Dec 2006 08:14:33 -0600

On 12/5/06, Han-Wen Nienhuys <address@hidden> wrote:
Trevor Bača escreveu:
>      \relative c' {
>          \override Score.SpacingSpanner #'uniform-stretching = ##t
>          \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
>           \override Score.PaperColumn #'used = ##t
>          \time 4/4 r1 % BUG? Measure is way too short, apparently
> because of following music
>           \time 3/8 r4.
>          \time 5/4 r1 r4
>          \time 5/16 r4 r16
>          \time 5/8 s2 s8
>          \time 5/8 r2 r8
>      }
>  }
> }

>
> So what's going on here? Why does more music on the line in example 1
> score 1 cause Lily to scrunch up the very first measure??

The measure length bounds the spacing (think of what would happen for a R1*33 
without this).
However, the length used was the 3/8 rather than 4/4.  Fixed in GIT.

This now works correctly in 2.11.2.

As an example, the measures in the first score in the example below
render with exactly the same lengths as the measures in the second
score. Prior to 2.11.2, the first measure in the first score rendered
too short.

%%% BEGIN EXAMPLE 1 %%%

\version "2.11.1"

\layout {
 ragged-right = ##t
}

\score {
\new Staff \with {
   \remove Separating_line_group_engraver
} {
    \relative c' {
        \override Score.SpacingSpanner #'uniform-stretching = ##t
        \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
         \override Score.PaperColumn #'used = ##t
        \time 4/4 r1 % bug now fixed; measure length is correct
         \time 3/8 r4.
        \time 5/4 r1 r4
        \time 5/16 r4 r16
        \time 5/8 s2 s8
        \time 5/8 r2 r8
    }
}
}

\score {
\new Staff \with {
   \remove Separating_line_group_engraver
} {
    \relative c' {
        \override Score.SpacingSpanner #'uniform-stretching = ##t
        \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
         \override Score.PaperColumn #'used = ##t
        \time 4/4 r4 r4 r4 r4
         \time 3/8 r4.
        \time 5/4 r1 r4
        \time 5/16 r4 r16
        \time 5/8 s2 s8
        \time 5/8 r2 r8
    }
}
}

%%% END EXAMPLE 1 %%%

Orm, are you now able to get the look and behavior you want from the
proportional notation parameters, under 2.11.2?


--
Trevor Bača
address@hidden

Attachment: measure-initial-fix.png
Description: PNG image


reply via email to

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