[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \change staff
From: |
tisimst |
Subject: |
Re: \change staff |
Date: |
Fri, 19 Dec 2014 07:33:36 -0700 (MST) |
Try this. I know there are multiple ways for doing this (like changing beam-knee-length, or whatever), but it's a quick hack that works (sorry it's for 2.18.2, but I think you can convert it back):
%<-------------- SNIP -----------------
\version "2.18.2"
\language "english"
right = {
\time 4/4 \key ef\major
r4 af16 c' ef' af' <bf ef'g>8 ef' <af c' ef' af'> ef' |%m52
<bf ef' f' g'>1 |%m53
s2. \bar"|." %m54
}
left = {
\time 4/4 \key ef\major
af,8 ef ~ ef4 g,4 f |
ef,16 bf, ef f
\once \override Beam.positions = #'(4.25 . 5.75)
\stemUp g bf \change Staff = "right" \stemDown ef' f'
\stemNeutral g' bf' ef'' f'' <g' bf' ef'' f'' g''>4~\arpeggio |
<< {q2.} \new Voice { \change Staff ="left" r2 r4 } >> \bar"|." %m52-54
}
\score {
\new PianoStaff \with {
instrumentName = "Pno."
shortInstrumentName = "Pno."
} <<
\new Staff = "right" \with {
midiInstrument = "acoustic grand"
} \right
\new Staff = "left" \with {
midiInstrument = "acoustic grand"
} { \clef bass \left }
>>
\layout { }
\midi { }
}
%<-------------- SNIP -----------------
HTH,
Abraham
On Fri, Dec 19, 2014 at 7:18 AM, MING TSANG [via Lilypond] <
[hidden email]> wrote:
Dear ponders,
I am having hard time to code lilypond to produce the original score:
1. \change staff did not produce the same as the original
2. how to code the last bar
Thanks in advance.
Immanuel,
Ming.
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
View this message in context: Re: \change staff
Sent from the User mailing list archive at Nabble.com.
- \change staff, MING TSANG, 2014/12/19
- Re: \change staff,
tisimst <=