lilypond-user
[Top][All Lists]
Advanced

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

Re: strange detached beam issue


From: William Rehwinkel
Subject: Re: strange detached beam issue
Date: Tue, 15 Aug 2023 21:37:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

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   |
|        william@williamrehwinkel.net         |
| PGP key:                                    |
| https://ftp.williamrehwinkel.net/pubkey.txt |
+ ------------------------------------------- +

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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