2012/10/30 Reinhold Kainhofer <reinh...@fam.tuwien.ac.at>:
> On 2012-10-30 02:12, Vaughan McAlley wrote:
>>
>> This code compiles without complaint, but the beams are still in
>> groups of four. What am I doing wrong?
>
>
> Nothing. The \time 4/4 command implicitly sets all the timing properties, so
> your global values are overwritten and don't have any effect.
>
> Cheers,
> Reinhold

Are you sure?

The following examples seem to work:

%%%%%%%%%%%%% example 1:

\version "2.17.4"

upper = \relative c'' {
        \time 4/4
        c8 c c c c c c c
}

lower = \relative c' {
        \time 4/4
        c8 c c c c c c c
}

\score {
        \new Staff {
                <<
                \new Voice { \voiceOne \upper }
                \new Voice { \voiceTwo \lower }
                >>
        }
        \layout {
                \context {
                        \Voice
                        beamExceptions =
                        #'((end . (((1 . 8) . (2 2 2 2)))))
                }       
        }
}

%%%%%%%%%%%%% example 2:

\version "2.17.4"

myNotes = \relative c' {
  \time 4/4
  d8 d d d d d d d
}

\score {
  \new Staff = "RH" <<
    \context Staff <<
      \new Voice { \myNotes }
    >>
  >>
  \layout {
    \context {
      \Staff
      \RemoveEmptyStaves
    }
    \context {
      \Voice
      baseMoment = #(ly:make-moment 1 8)
      beatStructure = #'(2 2 2 2)
      beamExceptions = #'()
    }
  }
}

%%%%%%%%%%%%%


Regards,
  Harm

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

Reply via email to