lilypond-devel
[Top][All Lists]
Advanced

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

Re: auto beam issue


From: Aaron Hill
Subject: Re: auto beam issue
Date: Wed, 02 Nov 2022 07:30:55 -0700

On 2022-11-02 4:42 am, Werner LEMBERG wrote:
While working on the LM I see the following example in section 4.1.3:

```
\new Staff {
  \relative {
    r4 g'8 g c4 c8 d |
    e4 r8
    <<
      { f8 c c }
      \new Staff { f8 f c }
    >>
    r4 |
  }
}
```

I now wonder why the last two notes of the temporary (lower) staff
don't have a beam, similar to the upper staff.  Is this a bug?

This appears to be due to the default beamExceptions for 4/4 time. Consider:

%%%%
\new Staff {
  \relative {
    r4 g'8 g c4 c8 d |
    e4 r8
    <<
      { f8 c c }
      \new Staff { \set Timing.beamExceptions = #'() f8 f c }
    >>
    r4 |
  }
}
%%%%

Note that if you allow both staves to include the rest explicitly, the beam appears:

%%%%
\new Staff {
  \relative {
    r4 g'8 g c4 c8 d |
    e4 r8
    <<
      { f8 c c r4 }
      \new Staff { f8 f c r4 }
    >>
  }
}
%%%%


-- Aaron Hill



reply via email to

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