lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simultaneous accidental breaks cross-staff stem


From: Joel C. Salomon
Subject: Simultaneous accidental breaks cross-staff stem
Date: Tue, 19 Jul 2016 16:39:37 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

>From “Arrival of the Wolves”: an accidental in the upper Staff’s
voiceOne shifts a chord in its voiceTwo so it no longer aligns with the
corresponding note in the lower Staff, yielding the attached result.
Minimized example:

    \version "2.19"
    \language "english"

    global = {
        \key e \minor
        \time 2/4
    }

    upper = \relative c'' {
        \clef treble
        \global

    << { \voiceOne
        b8[     as      b       c]      |
    } \new Voice { \voiceTwo
    \autoBeamOff
    \crossStaff {
        <e, g>  q       q       q       |
    }
    \autoBeamOn
    } >> \oneVoice
    }

    lower = \relative c' {
        \clef bass
        \global

        b8[     b       b       b]      |
    }

    \score {
        \new PianoStaff
        <<
                \new Staff = "upper" \upper
                \new Staff = "lower" \lower
        >>
        \layout {
                \context {
                        \PianoStaff
                        \consists #Span_stem_engraver
                }
        }
    }

—Joel

Attachment: accidental and cross-staff.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]