|
From: | N. Andrew Walsh |
Subject: | Fwd: Ossia Piano Staff |
Date: | Wed, 17 Feb 2016 12:44:27 +0100 |
Hi Andrew,
Can you send something that compiles?
global is missing. Also, I don't kno who wyou compile the version line
- it's a syntax error to have an equals sign.
Better if you can make an MWE - minimal working example, for the list.
Andrew
> _______________________________________________
On 17 February 2016 at 21:30, N. Andrew Walsh <address@hidden> wrote:
> Hi List,
>
> also, in the same ensemble piece I mentioned in the last message, I'd like
> to have a passage in the piano part that also includes such "empty" staves
> for graphics, but only within one section. I'm trying to apply the NR
> instructions for ossia staves, and it's apparently not working. Here's what
> I have:
>
> \version = "2.19.36"
>
> KlavierMusicUpper = \new Voice \relative c'' {
> \clef treble
> R1*5/8 |
> \time 3/8
> R1*3/8 |
> \time 4/8
> s2*127 | %% all the music omitted for brevity
> }
>
> KlavierMusicLower = \new Voice \relative c'' {
> \clef treble
> R1*5/8 |
> \time 3/8
> R1*3/8 |
> \time 4/8
> s2*127 | %% here too. Just imagine it's full of passage-work or something
> }
>
> KlavierOssiaUpper = \new Voice \relative c'' {
> \clef treble
> \time 5/8
> s4 s s8 |
> \time 3/8
> s4. |
> \time 4/8
> s2*82 | \hideNotes es2 | \omit Staff.BarLine \repeat unfold 14 { es2 }
> \unHideNotes \undo \omit Staff.BarLine |
> s2*30 | %% End of piece, Bar 129
>
> }
>
> KlavierOssiaLower = \new Voice \relative c {
> \clef bass
> \time 5/8
> s4 s s8 |
> \time 3/8
> s4. |
> \time 4/8
> s2*82 | \hideNotes es2 | \omit Staff.BarLine \repeat unfold 14 { es2 }
> \unHideNotes \undo \omit Staff.BarLine |
> s2*30 | %% End of piece, Bar 129
>
> }
>
> \score {
>
> \new Staff = "Staff_violoncello" <<
> \override Staff.InstrumentName.self-alignment-X = #LEFT
> \set Staff.instrumentName = \markup \left-column \abs-fontsize #10
> { Violoncello }
> \set Staff.midiInstrument = #"cello"
> \global \VioloncelloMusic
> >>
> \new PianoStaff = "Staff_klavier" <<
> \override PianoStaff.InstrumentName.self-alignment-X = #LEFT
> \set PianoStaff.instrumentName = \markup \left-column {
> \abs-fontsize #10 \line { Piano } }
> \new Staff = "pianoupper" <<
> \global \KlavierMusicUpper \systembreaks
> >>
> \new Staff = "pianolower" {
> \global \KlavierMusicLower
> }
>
> >>
> \new PianoStaff = "ossia" <<
> \new Staff = "ossiaupper" \with {
> \remove "Time_signature_engraver"
> \hide Clef
> \magnifyStaff #2/3
> \RemoveAllEmptyStaves
> } {
> \global \KlavierOssiaUpper
> }
> \new Staff = "ossialower" \with {
> \remove "Time_signature_engraver"
> \hide Clef
> \magnifyStaff #2/3
> \RemoveAllEmptyStaves
> } {
> \global \KlavierOssiaUpper
> }
> >>
>>>
> \layout {
> \context {
> \Staff \RemoveEmptyStaves
> }
> }
> \midi {}
> \header {
> opus = ##f
> }
>
> }
> --------------
> NB: "\global" is a variable that just sets stuff like time signature format,
> initial key/time signature, etc.)
>
> When I try to compile, Lily throws an error that \RemoveAllEmptyStaves is an
> "unrecognized escaped string" and pukes.
>
> What am I formatting wrong here?
>
> Cheers,
>
> A
>
>
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
[Prev in Thread] | Current Thread | [Next in Thread] |