lilypond-user
[Top][All Lists]
Advanced

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

Re: Refer to a staff relatively, not by name


From: Eluze
Subject: Re: Refer to a staff relatively, not by name
Date: Mon, 1 Apr 2013 10:00:18 -0700 (PDT)

Urs Liska-4 wrote
> Of course I'm also talking about PianoStaves with more than two staves in
> it.
> BTW does \change Staff work only in the context of a PianoStaff (can't
> check that ATM)?

it should work with any staff-grouper

here is an example where the "melody" jumps from one staff to the other -
and it does not need to be the nearest (up or down)!

\new ChoirStaff <<
  \new Staff = "1" { \clef "treble_8" s1 * 6 }
  \new Staff = "2" { \clef treble s1 * 6 }
  \new Staff = "3" { \clef alto s1 * 6 }
  \new Staff = "4" \relative f {
    \clef bass c4 d e f
    \change Staff = "3" g' a h c
    \change Staff = "2" g a h c
    \change Staff = "1" g, a h c
    \change Staff = "3" g a h c
    \change Staff = "4" g a h c
  }
>>

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Refer-to-a-staff-relatively-not-by-name-tp143705p143746.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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