lilypond-user
[Top][All Lists]
Advanced

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

Re: overrideBeamSettings not working in 2.13.30


From: Carl Sorensen
Subject: Re: overrideBeamSettings not working in 2.13.30
Date: Thu, 19 Aug 2010 07:38:08 -0600

On 8/19/10 3:12 AM, "Hans Aberg" <address@hidden> wrote:

> 
> It appears when I do this (MIDI part not necessary - just shows
> motivation for code setup):
> 
> \version "2.13.30"
> 
> music = \new Staff <<
>   \time 9/16
>   \set beatStructure = #'(4 2 3)
> % \set beatStructure = #'(4 3 2)
>   \repeat unfold 9 {c''16}
>>> 
> 
> \score {
>    \music
>    \layout {}
> }
> 
> \score {
>    \unfoldRepeats \music
>    \midi {}
> }
> 


beatStructure is set *per voice*, and since you have parallel music in the
staff, you are creating 3 different voices in the staff, one of which has
#'(4 2 3) beaming but no notes.  By using braces to combine things
sequentially instead of in parallel, it works properly.

music = \new Staff <<
  {
  \time 9/16
  \set beatStructure = #'(4 2 3)
% \set beatStructure = #'(4 3 2)
  \repeat unfold 9 {c''16}
  }
 >>

\score {
   \music
   \layout {}
}

\score {
   \unfoldRepeats \music
   \midi {}
}

HTH,

Carl







reply via email to

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