lilypond-user
[Top][All Lists]
Advanced

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

Re: Note spacing changes that don't register


From: Jan-Peter Voigt
Subject: Re: Note spacing changes that don't register
Date: Mon, 07 Mar 2011 14:56:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

Hello Felix,

try the \newSpacingSection command:

--snip--
\relative c'
{
\newSpacingSection
  \override Score.SpacingSpanner #'spacing-increment = #'1.2
  \override Score.SpacingSpanner #'common-shortest-duration =
  #(ly:make-moment 1 2)
  \clef bass
  \repeat unfold 16 { c2 c4 c8 c16 c } \break

\newSpacingSection
  \override  Score.SpacingSpanner #'spacing-increment = #'1.1
  \override  Score.SpacingSpanner #'common-shortest-duration =
  #(ly:make-moment 1 8)
  \repeat unfold 16 { c2 c4 c8 c16 c } \break

\newSpacingSection
  \override  Score.SpacingSpanner #'spacing-increment = #'1
  \override  Score.SpacingSpanner #'common-shortest-duration =
  #(ly:make-moment 1 32)
  \repeat unfold 16 { c2 c4 c8 c16 c } \break
}
--snip--

now lily spaces each section seperatly.

Cheers,
Jan-Peter

On 07.03.2011 13:22, Mus Felix wrote:
I have a long passage of music made from many different sections, some with
very short notes and others with long notes.  To overcome the spacing
oddities that naturally result I have tried manually setting the spacing for each section. However it seems that this setting gets applied only once for
the whole score and all other calls are void.
See the following example (there is a different spacing setting every 16
bars, but it all comes out the same):





reply via email to

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