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 08:25:51 -0600



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

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

Yes, that's true.  One must be careful about how LilyPond creates voices or
not.  Explicit Voice creation is, IMO, always a good thing to do when one
wants to have different behavior in the different voices.

Thanks,

Carl

>>> 
> 




reply via email to

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