I've got a score where the heads of half and dotted half notes that are
merged with eighth notes are being incorrectly filled in. I've minimised it
to the attached example. I've found that the problem is due to having three
voices. If I remove the treble voice from my example, then the merged note
in the middle and bass voices outputs correctly with an unfilled notehead.

Nick Payne

<<attachment: test.png>>

\version "2.12.2"

qBeam = {
	#(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
	#(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
}

rBeam = {
	#(revert-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
	#(revert-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
}

treble = \relative c {
	b''2 a4
}

middle = \relative c {
	\qBeam 
	\once \override Stem #'direction = #UP a8 g' e' c ~ c e
}

bass = \relative c {
	a2.
}

\score {
	\context Staff = guitar {
		\clef "treble_8"
		\key e \minor
		\time 3/4
		\mergeDifferentlyHeadedOn
		\mergeDifferentlyDottedOn
		<<
			\context Voice = "1" { \voiceOne \treble }
			\context Voice = "2" { \voiceTwo \middle }
			\context Voice = "4" { \voiceFour \bass }
		>>
	}
	\layout { }
}

\score {
	\context Staff = guitar {
		\clef "treble_8"
		\key e \minor
		\time 3/4
		\mergeDifferentlyHeadedOn
		\mergeDifferentlyDottedOn
		<<
%			\context Voice = "1" { \voiceOne \treble }
			\context Voice = "2" { \voiceTwo \middle }
			\context Voice = "4" { \voiceFour \bass }
		>>
	}
	\layout { }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to