bug-lilypond
[Top][All Lists]
Advanced

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

Re: Timing.baseMoment behaviour


From: Jean-Charles Malahieude
Subject: Re: Timing.baseMoment behaviour
Date: Sun, 27 Feb 2011 20:20:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7

Le 27/02/2011 19:23, Phil Holmes disait :
"Jean-Charles Malahieude" wrote:

    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 }
  }
}



I find it strange that this clearing is mandatory only with 3/4, and had preferred the snippet to contain it, since whatever you try to understand and explain this "known issue" it wont work. Nevertheless, I'll add it to the French version.

Cheers,
Jean-Charles



reply via email to

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