Hi all,

I wrote a piece for piano that I'm now typesetting in Lilypond. However,
there's a construction in which I run into problems.
I've attached an snippet that shows a bit what I need (it's the same bar
twice); the triplets in the left hand are connected to a chord, but the
highest notes are played by the right hand.
Adding a staff change in the triplets is no problem (see the second
bar), but that won't work in a chord: I tried:
 \times 2/3 { cis,8~ d~ \change Staff=up a~ } \change Staff=down <cis, d
\change Staff=up a \change Staff=down>4
but that gives me an "unexpected \change".

Is there any way to achieve this?
Below is the code for the attached snippet.

Thanks in advance,
Oscar

\new PianoStaff <<
 \new Staff = "up" {
  \clef treble
    s4 fis'8 e'16 d' s4 a'8 g'16 fis'
    s4 fis'8 e'16 d' s4 a'8 g'16 fis'
   \bar "||"
  }
 \new Staff = "down" {
   \clef bass
   \set tieWaitForNote = ##t
   \times 2/3 { cis,8~ d~ a~ } <cis, d a>4
   \times 2/3 { d,8~ fis~ d'~ } <d, fis d'>4

   \times 2/3 { cis,8~ d~ \change Staff=up a~ } \change Staff=down <cis,
d a>4
   \times 2/3 { d,8~ fis~ \change Staff=up d'~ } \change Staff=down <d,
fis d'>4

   \bar "||"
}
>>

Attachment: snippet.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to