Hello.
I'm typesetting a guitar piece for which I'm using the black harmonic
noteheads for harmonics. Also, I'm merging differentlyDotted and
differentlyHeaded notes across the bass and treble voices. The problem
is, after I use harmonic notes, my differentlyHeaded and
differentlyDotted noteheads are no longer merged. Does anyone have a
guess as to why?
Two truncated versions of the input file are attached.
Thanks,
David
\version "2.11.62"
\include "english.ly"
harmOn = { \override Voice.NoteHead #'style = #'harmonic-black }
harmOff = {\override Voice.NoteHead #'style = #'default }
fingers = {
\voiceOne
\relative c' {
%34
<cs a'>16 \prall <e g!>8 <ds fs>16 <f a> <d af'> <e g>8 |
%35
a,,16 <e'' g> \prall <ds fs> <e g> <g bf>8. <f a>16 |
%36
<e g>16 \prall <d f>8 <cs e>16 <e g> <ef gf> <d f>8 |
%37
d,16 <a' d f> g' <e a> bf' a bf,, <d' gs> |
%38
a,16 <e' a cs g'> fs' f e8. d16 |
}
}
thumb = {
\voiceTwo
\relative c {
%34
a4.. cs16 |
%35
a4~ a16 \override TextSpanner #'bound-details #'left #'text = "arm. VII"
\textSpannerDown \harmOn e'\startTextSpan a8\stopTextSpan \harmOff |
%36
d,8. a16~ a4 |
%37
d8. c16~ c8 bf8 |
%38
a4~ a16 ds e8~ |
}
}
\score {
\new Staff = "Guitar" {
\set Staff.instrumentName = "Guitar"
\mergeDifferentlyHeadedOn
\mergeDifferentlyDottedOn
\clef "treble_8"
\key d \minor
\time 2/4
<< \new Voice = "fingers" {
\fingers
}
\new Voice = "thumb" {
\thumb
}
>>
}
}
\version "2.11.62"
\include "english.ly"
harmOn = { \override Voice.NoteHead #'style = #'harmonic-black }
harmOff = {\override Voice.NoteHead #'style = #'default }
fingers = {
\voiceOne
\relative c' {
%34
<cs a'>16 \prall <e g!>8 <ds fs>16 <f a> <d af'> <e g>8 |
%35
a,,16 <e'' g> \prall <ds fs> <e g> <g bf>8. <f a>16 |
%36
<e g>16 \prall <d f>8 <cs e>16 <e g> <ef gf> <d f>8 |
%37
d,16 <a' d f> g' <e a> bf' a bf,, <d' gs> |
%38
a,16 <e' a cs g'> fs' f e8. d16 |
}
}
thumb = {
\voiceTwo
\relative c {
%34
a4.. cs16 |
%35
a4~ a16 \override TextSpanner #'bound-details #'left #'text = "arm. VII"
\textSpannerDown e'\startTextSpan a8\stopTextSpan |
%36
d,8. a16~ a4 |
%37
d8. c16~ c8 bf8 |
%38
a4~ a16 ds e8~ |
}
}
\score {
\new Staff = "Guitar" {
\set Staff.instrumentName = "Guitar"
\mergeDifferentlyHeadedOn
\mergeDifferentlyDottedOn
\clef "treble_8"
\key d \minor
\time 2/4
<< \new Voice = "fingers" {
\fingers
}
\new Voice = "thumb" {
\thumb
}
>>
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user