On 8/19/10 3:12 AM, "Hans Aberg" <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user