bug-lilypond
[Top][All Lists]
Advanced

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

Re: Timing.baseMoment behaviour


From: Phil Holmes
Subject: Re: Timing.baseMoment behaviour
Date: Sat, 26 Feb 2011 21:23:40 -0000

"Jean-Charles Malahieude" <address@hidden> wrote in message news:address@hidden
Hi,

While translating the commit "Doc -- Clarify instructions on autobeam
settings" I wanted to understand what was illustrated, but


================
texidoc = { Timing.baseMoment does not always work }

\score {
  \new Staff {
    \time 2/4
    \set Timing.baseMoment = #(ly:make-moment 1 16)
    \set Timing.beatStructure = #'(3 3 2)
    a'16^"works" \repeat unfold 7 { a'16 }
  }
}
\score {
  \new Staff {
    \time 6/8
    \set Timing.baseMoment = #(ly:make-moment 1 16)
    \set Timing.beatStructure = #'(3 3 2 3 1)
    a'16^"works" \repeat unfold 11 { a'16 }
  }
}
\score {
  \new Staff {
    \time 3/4
    \set Timing.baseMoment = #(ly:make-moment 1 16)
    \set Timing.beatStructure = #'(3 3 2 3 1)
    a'16^"does not work" \repeat unfold 11 { a'16 }
  }
}
===============

Cheers,
Jean-Charles

You also need to clear beamExceptions:

\score {
  \new Staff {
    \time 3/4
    \set Timing.baseMoment = #(ly:make-moment 1 16)
    \set Timing.beatStructure = #'(3 3 2 3 1)
    \set Timing.beamExceptions = #'()
    a'16^"works" \repeat unfold 11 { a'16 }
  }
}



--
Phil Holmes
Bug Squad






reply via email to

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