lilypond-user
[Top][All Lists]
Advanced

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

Re: Piano staff notes across both staffs


From: N. Andrew Walsh
Subject: Re: Piano staff notes across both staffs
Date: Sat, 3 Feb 2018 20:16:35 +0100

Hi Vivyan,

your example does not compile, failing with an error. You appear to be using \crossStaff incorrectly; see NR 2.2.1: http://lilypond.org/doc/v2.19/Documentation/notation/common-notation-for-keyboards for the correct usage.

Cheers,

A

On Sat, Feb 3, 2018 at 8:10 PM, Vivyan <address@hidden> wrote:
I have been taught to set up piano staffs like so. But I can't work out why
these two notes aren't crossing both staffs?

[code]
\version "2.19.80"

\header {
  title = "Composition Study I: Techniques"
  composer = "Joel Ramsbottom"
  tagline = ""  % removed
}

upper = \relative c'' {
  \clef treble
  \time 5/4
  \tempo "Andante" 4 = 76
   r4
  <e'>8

  }

 lower =  \relative c {
  \clef bass
  \time 5/4
   r4

  \autoBeamOff
  \crossStaff {*}

}

\score {
  \new PianoStaff <<

    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout {
    \context {
    \PianoStaff
    \consists #Span_stem_engraver
  }
  }
  \midi { }
}

[\code]





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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