lilypond-user
[Top][All Lists]
Advanced

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

Re: Use proportional spacing for a section in a score


From: David Kastrup
Subject: Re: Use proportional spacing for a section in a score
Date: Thu, 28 Mar 2013 13:09:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

James Harkins <address@hidden> writes:

> What is the magical incantation to turn on proportional spacing in the
> middle of a score, and then turn it off again?
>
> The following is not successful in lp 2.16. Two measures are produced,
> and they both use classical spacing. I would have expected the spacing
> to be visibly different after setting the proportional spacing
> properties.
>
> \version "2.16.1"
> music = \relative c'' { \repeat unfold 2 { c4 c16 c c c } }
>
> \score {
>   \new Staff {
>     \music
>     \newSpacingSection
>     \set proportionalNotationDuration = #(ly:make-moment 1 16)
>     \override Score.SpacingSpanner #'uniform-stretching = ##t
>     \override Score.SpacingSpanner #'strict-note-spacing = ##t
>     \music
>   }
> }

Try \set Score.proportionalNotationDuration instead.

It is conceivable that the "proper" incantation would use Timing instead
of Score everywhere, but for normal scores, both should be equivalent.

-- 
David Kastrup




reply via email to

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