lilypond-user
[Top][All Lists]
Advanced

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

Re: Is it possible to change beaming from the \layout block?


From: Nick Payne
Subject: Re: Is it possible to change beaming from the \layout block?
Date: Tue, 30 Oct 2012 13:09:32 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1

On 30/10/12 12:12, Vaughan McAlley wrote:
> \version "2.16.0"
>
> 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 {
>       \RemoveEmptyStaffContext % in case this is relevant
>     }
>     \context {
>       \Voice
>       \override Timing #'baseMoment = #(ly:make-moment 1 8)
>       \override Timing #'beatStructure = #'(2 2 2 2)
>       \override Timing #'beamExceptions = #'()
>     }
>   }
> }

This works:

\version "2.16.0"

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

\score {
  \new Staff = "RH" <<
    \context Staff <<
     
      \new Voice {
        \set beamExceptions = #'((end . (((1 . 8) . (2 2 2 2)))))
        \myNotes
      }
    >>
  >>
  \layout { }
}



reply via email to

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