lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument switching with a new staff - possible?


From: Eluze
Subject: Re: Instrument switching with a new staff - possible?
Date: Wed, 27 Feb 2013 14:34:18 -0800 (PST)

SoundsFromSound wrote
> Good afternoon everyone,
> 
> I was attempting to engrave this piece today and I've hit a bit of a
> roadblock.  
> 
> Essentially what I'm supposed to do is have the piano break away from it's
> "normal" grand staff for many measures (15+).  
> 
> Then change to a percussion 1-line staff to notate the various percussion
> instruments the performer must play as well.  Then return to standard
> piano notation.
> 
> Is instrument switching possible in Lilypond, with a complete staff-type
> change? I know you can add labels and change instruments, but I was unsure
> it a total staff change was possible, temporarily, in a score.
> http://kainhofer.com/~lilypond/Documentation/notation/writing-parts.html

just a basic start:

right = \relative c'' {
  \global
  c4 d e f |
  \stopStaff
  \override Staff.StaffSymbol.line-positions = #'(-8)
  \override NoteHead.style = #'cross
  \startStaff
  \repeat unfold 3 \relative {a4 a a a } | %% you can probably also change
to drummode here
  \stopStaff
  \revert Staff.StaffSymbol.line-count
  \revert Staff.StaffSymbol.line-positions
  \revert NoteHead.style
  \startStaff
  \notemode {
    c4 f g f
  }
}

left = \relative c' {
  \global
  \clef bass
  c,4 d e f |
  \stopStaff
  s1 | s1 | s1 |
  \startStaff
  c4 f g f
}
\new PianoStaff <<
  \right
  \left
>>

does this help?
if you figure out a a good way to accomplish what you describe above could
you publish the final solution!?

thanks
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Instrument-switching-with-a-new-staff-possible-tp141635p141639.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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