On 19 Aug 2010, at 15:38, Carl Sorensen wrote:

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

Thank you. But then this does not work:
music = \new Staff <<
{
 \time 9/16
 \set beatStructure = #'(4 3 2)
 \repeat unfold 9 {a'16}
}
{
 \time 9/16
 \set beatStructure = #'(4 2 3)
 \repeat unfold 9 {c''16}
}
>>

Though this does:

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


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

Reply via email to