[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about cross-staff stems
From: |
foxfanfare |
Subject: |
Re: question about cross-staff stems |
Date: |
Thu, 5 Jul 2018 01:43:37 -0700 (MST) |
James Bailey-5 wrote
> What I'm looking for is something like this:
> \include "deutsch.ly"
> \version "2.19.65"
>
> \score {
> \new PianoStaff <<
> \new Staff = "RH" \relative c'' { \voiceOne
> <c c'>
> 4~ q8 q~ q4~ q8 q }
> \new Staff = "LH" \relative c' {
> \clef bass
> <<
> \new Voice = "crossing" { \autoBeamOff
> \crossStaff \repeat unfold 2 {
> \change Staff = "RH" \voiceTwo s8
> <c e>
> 8
> <c f>
>
> <c a'>
> } }
> \new Voice = "notCrossing" { \autoBeamOff
> \change Staff = "LH"
> \voiceTwo \repeat unfold 2 { c,8[ g'] g[ g] } }
> \new Voice = "ties" { \voiceFour \repeat unfold
> 2 { \stemUp c,4~ \once
> \override NoteColumn.force-hshift = #-2.0 c8 r } }
> >> \oneVoice
> }
> >>
> \layout { \context { \PianoStaff \consists #Span_stem_engraver } }
> }
>
> But that's a lot of manual adjustment and essentially the entire piece has
> this contour.
>
> Thanks,
>
> James
Interesting. However I wonder why you'd need the c,4~ c8 at the LH since it
cannot be held? Don't you think a pedal mark could be used instead and give
your writting more legibility?
Also, I don't understand why you have used NoteColumn.force-hshift because
it makes very unclear where the beat is. If it is really the way you want to
engrave it, I found the default result better.
Anyway, if you really want to write those adjustments through all the piece,
maybe the use of variables would be necessary.
Several alternative ideas:
\include "deutsch.ly"
\version "2.19.65"
\score {
\new PianoStaff <<
\new Staff = "RH" \relative c'' { \voiceOne <c c'>4~ q8 q~
q4~ q8 q }
\new Staff = "LH" \relative c' {
\clef bass
<<
\new Voice = "crossing" { \autoBeamOff
\crossStaff \repeat unfold 2 { \change Staff = "RH" \voiceTwo s8 <c e>8 <c
f> <c a'> } }
\new Voice = "notCrossing" { \autoBeamOff
\change Staff = "LH" \voiceTwo \repeat unfold 2 { c,8[\sustainOn g'] g[
g]\sustainOff } }
>> \oneVoice
}
>>
\layout { \context { \PianoStaff \consists #Span_stem_engraver } }
}
\score {
\new PianoStaff <<
\new Staff = "RH" \relative c'' { \voiceOne <c c'>4~ q8 q~
q4~ q8 q }
\new Staff = "LH" \relative c' {
\clef bass
<<
\new Voice = "crossing" { \autoBeamOff
\crossStaff \repeat unfold 2 { \change Staff = "RH" \voiceTwo s8 <c e>8 <c
f> <c a'> } }
\new Voice = "notCrossing" { \autoBeamOff
\change Staff = "LH" \voiceTwo \repeat unfold 2 { c,8[ g'] g[ g] } }
\new Voice = "ties" { \voiceFour \repeat
unfold 2 { \stemUp c,4~ c8 r } }
>> \oneVoice
}
>>
\layout { \context { \PianoStaff \consists #Span_stem_engraver } }
}
\score {
\new PianoStaff <<
\new Staff = "RH" \relative c'' { \voiceOne <c c'>4~ q8 q~
q4~ q8 q }
\new Staff = "LH" \relative c' {
\clef bass
<<
\new Voice = "crossing" { \autoBeamOff
\crossStaff \repeat unfold 2 { \change Staff = "RH" \voiceTwo s8 <c e>8 <c
f> <c a'> } }
\new Voice = "notCrossing" { \autoBeamOff
\change Staff = "LH" \voiceTwo \repeat unfold 2 { c,8[ g'] g[ g] } }
\new Voice = "ties" { \voiceFour \repeat
unfold 2 { \stemUp c,4. r8 } }
>> \oneVoice
}
>>
\layout { \context { \PianoStaff \consists #Span_stem_engraver } }
}
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html