Hi,

Mats Bengtsson wrote:
> See
>http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Common-notation-for-keyboards#Staff_002dchange-lines

It seems that staff-change lines do not work whenever they have to operate in a voice context (version 2.10.33)?

I am attaching a minimal example, which does not succeed unless the line \new Voice "myvoice {
and the according closing bracket are commented out.

Is there a workaround for this situation?

best,
flo.H


--- BEGIN MINIMAL EXAMPLE ---


\version "2.10.33"

\header {               % Header needs to go _after_ musical expressions!
  title = "Staff Change with Voices"
}

\score {

  \new PianoStaff <<
    \new Staff = "one" \relative c' {
      \showStaffSwitch
      \new Voice = "myvoice" {                % TRY ALSO WITH THIS LINE...
        c2 r2                           % ...
        \change Staff = "two"         % ...
        b2 a                            % ...
      }                                 % ... AND THIS LINE COMMENTED!
    }
    \new Staff = "two" {
      \clef bass
      s1*2
    }
  >>

  \layout { }

}


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

Reply via email to