James Harkins <jamshar...@gmail.com> 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


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to