Hi Jacques,
you need to have notes both before and after such a switch in your
voice. But in your example you change the staff twice but you have no
notes before the first staff change and no notes after the second.
This example works for me (the second switch is visible):
PianoRHVoiceTwo =
<<
{
cis4 b8 [ ais ] b4
}
\new Voice {
\voiceOne
\showStaffSwitch
\change Staff = down
fis2 fis4
\change Staff = up
fis4
}
>>
\new PianoStaff <<
\context Staff = "up" <<
\context Voice = "PianoRHVoiceOne" { \time 3/4 \voiceOne a'2. }
\context Voice = "PianoRHVoiceTwo" { \voiceTwo \PianoRHVoiceTwo }
>>
\context Staff = "down" <<
{ \clef "bass" }
\context Voice = "BassVoice" { \voiceThree fis,2. }
>>
>>
Please post working minimal examples in future, because it makes it a
lot easier to help.
Joram
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user