Hello,
  I'm trying to do some cross-staff beams in the middle of a piano staff. 
They seem to work pretty well, but I think the beaming is wrong.

In beat 2, the 6-tuplet starts in the right-hand.  I don't have the 
Kurt Stone book on modern notation in front of me, but if I remember 
correctly, the staff of the first note sets the reference for the beams. 
That would mean the a-sharp 32nd-note should connect at the bottom beam, 
not the top one.  Same for the subdivided beam in beat 3.

Is this right?  If so, is there a way to correct this?  Or is there a better 
way to create cross-staff beams?

Thanks,
Jonathan


      
\version "2.12.2"

rhStaff = { \change Staff = "RH" }
lhStaff =  { \change Staff = "LH" }

sb = { 
	\once \set subdivideBeams = ##t
	\once \set beatLength = #(ly:make-moment 1 8)
}


staffPiano = \new PianoStaff {
	\set PianoStaff.midiInstrument = #"acoustic grand"
	\set PianoStaff.instrumentName = #"Piano  "
				<<
		\context Staff = "RH" {  % Right hand
			\time 3/4
			\clef treble
			\key c \major
			\relative c'' {
				s8.
				\times 2/3 { \lhStaff f,,,32 g \rhStaff \clef bass \stemDown fis }
				\sb
				\stemNeutral \override TupletBracket #'bracket-visibility = ##f
				\times 4/6 { \stemDown gis[ dis' gis, fis \lhStaff \stemUp f! g! }
				\rhStaff \stemDown ais
				fis'16.]~
				\stemUp fis4~ \stemNeutral |
			}
		}
		\context Staff = "LH" {  % Left hand
			\time 3/4
			\clef bass
			\key c \major
			\relative c {
				<<
				{
					\override TupletBracket #'bracket-visibility =  ##f
					r8. s16 s4
					\rhStaff \stemNeutral \sb \times 2/3 { c32-> \lhStaff c, d }
					\rhStaff cis'16
					\times 2/3 { dis32 \lhStaff e, f }
					\rhStaff e'16 \lhStaff |
				}
				\\
				{
					r32 e,,8..~-- e4 s4 |
				}
				>>
			}
		}
	>>
}

\score {
	\staffPiano	
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to