lilypond-user
[Top][All Lists]
Advanced

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

Re: cross-staff voice indication


From: Florian Hollerweger
Subject: Re: cross-staff voice indication
Date: Wed, 18 Mar 2009 23:05:50 +0000
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

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 { }

}




reply via email to

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