[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-staff stems and ottava for one voice only
From: |
Shane Brandes |
Subject: |
Re: Cross-staff stems and ottava for one voice only |
Date: |
Fri, 20 Feb 2015 16:57:23 -0500 |
I ran into this problem way back with version 2.12. It is always
annoying. Try replacing your lower staff with the following. You can I
am sure clean up the funny rest position.
regards,
Shane
lowerStaffTop = \relative c {
\hideTimeSignature \time 5/4
e2. ~ e2
\hideTimeSignature \time 3/4
\stemDown
\acciaccatura { <fs b>8 } <<{s8 \change Staff = "upper" \stemDown
\crossStaff <cs' e>8^. ) ~\crossStaff <cs e>2 }\\{ <e, a>8 <e a
>8\laissezVibrer \ottava #-1 a,,,4 r4 }>> |
}
lowerStaffBottom = \relative c {
\hideTimeSignature \time 5/4
a2. ~ a2
\hideTimeSignature \time 3/4
s4 ~ <e a>2
}
On Fri, Feb 20, 2015 at 12:59 PM, Knute Snortum <address@hidden> wrote:
> I am four measures away from finishing this Debussy Prelude and measure 50
> is kicking my butt.
>
> I can't get the cross-staff stems to work and I need to have ottavation in
> just one voice in the lower staff. Here is how it should look. Here is my
> best try:
>
> \version "2.19.15"
> \language "english"
>
> hideTimeSignature = \once \override Staff.TimeSignature.stencil = ##f
>
> global = {
> \key a \major
> \accidentalStyle piano
> }
>
> % --- Four Voices
>
> upperStaffTop = \relative c'' {
> \hideTimeSignature \time 5/4
> a2. ~ a2 |
> \hideTimeSignature \time 3/4
> \voiceOne r8 <cs a' cs> ~ q4 r
> }
>
> upperStaffBottom = \relative c' {
> \hideTimeSignature \time 5/4
> cs2. ~ cs2 |
> \hideTimeSignature \time 3/4
> \acciaccatura { <ds fs>8 } <cs e>8^. ^( q8^. ) ~ q2 |
> }
>
> lowerStaffTop = \relative c {
> \hideTimeSignature \time 5/4
> e2. ~ e2
> \hideTimeSignature \time 3/4
> \stemDown
> \acciaccatura { <fs b>8 } <e a>8 \crossStaff { q8 ~ q2 } |
> }
>
> lowerStaffBottom = \relative c {
> \hideTimeSignature \time 5/4
> a2. ~ a2
> \hideTimeSignature \time 3/4
> \voiceFour r4 \ottava #-1 a,, \ottava #0 r
> }
>
> % --- Biolerplate
>
> upperStaff = {
> \clef treble
> \global
> <<
> \new Voice { \voiceOne \upperStaffTop }
> \new Voice { \voiceTwo \upperStaffBottom }
> >>
> }
>
> lowerStaff = {
> \clef bass
> \global
> <<
> \new Voice { \voiceThree \lowerStaffTop }
> \new Voice { \voiceFour \lowerStaffBottom }
> >>
> }
>
> \score {
> \new PianoStaff <<
> \new Staff = "upper" { \upperStaff }
> \new Staff = "lower" { \lowerStaff }
> >>
> \layout {
> \context {
> \PianoStaff
> \consists #Span_stem_engraver
> }
> }
> }
>
> Knute Snortum
> (via Gmail)
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>