It should be noted that on 2.25.7 this doesn't happen on my machine, and the beam renders correctly (after running convert-ly on your snippet, it didn't change anything).

-William

On 8/15/23 18:11, Jin Choi wrote:
I have a section of piano music where two voices start in the treble clef and 
subsequently move down into the bass clef. When the right hand moves down, the 
beam stays in the treble clef unattached to anything:



When I try to isolate this section, the problem does not occur. I am mystified 
as to what is going on. What might be some things I could try?

\version "2.24.1"

top = { \change Staff = "upper" \voiceTwo }
bottom = { \change Staff = "lower" \voiceOne }

upper = \relative c'' {
   \time 2/2
   \key c \major
   \voiceOne
   r8 bes'\mf( a gis a ees d cis |
   d bes a gis a ees d cis |
   d) bes'\dim( a\! gis a ees d cis |
   d[ \bottom bes a gis] a[ ees d)] r8 |
   \top
   \oneVoice
   r8\p
}

lower = \relative c' {
   \clef bass
   a4 r8 \top bes'( a gis a ees |
   d cis d \bottom \voiceTwo bes a gis a ees |
   d cis d bes' a gis a ees |
   d cis d bes a gis a cis |
   \oneVoice
   fis,4)
}

\score {
   \layout {
     \context {
       \Staff
       \consists Merge_rests_engraver
     }
     \context {
       \PianoStaff
       \override StaffGrouper.staff-staff-spacing.basic-distance = #11
       \override TextScript.avoid-slur = #'outside
       \override TupletBracket.bracket-visibility = ##f
     }
   }
   \new PianoStaff {
     <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
     >>
   }
}


--
+ ------------------------------------------- +
|   William Rehwinkel - Oberlin College and   |
|                          Conservatory '24   |
|will...@williamrehwinkel.net          |
| PGP key:                                    |
|https://ftp.williamrehwinkel.net/pubkey.txt  |
+ ------------------------------------------- +

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to