Thomas,

> Main thing here is
>  \stopStaff

Ok, so \noStaff seems to fix my problem without the need for anything
else. I'll need to test it a lot more but perhaps that will get me
through until/unless this problem gets solved within Lilypond. Thanks
for that! I search and search the documentation and the mail list but
sometimes that one command I really need escapes me.

> Could you please provide a minimal where it does not?

I don't know how to make a truly minimal example but I have stripped
out all the unnecessary bits and attached it and the pdf it produces.
Sorry it's not as minimal as it should be -- I often don't understand
what's going on in my own Lilypond files.

\noBeam fixes the problem with notes that would be beamed unless that
note is tied to a previous one. You can see this in Piano 1 and 6.

Dave

On Tue, May 21, 2019 at 12:12 PM Thomas Morley <[email protected]> wrote:
>
> Am Di., 21. Mai 2019 um 18:03 Uhr schrieb David Bellows 
> <[email protected]>:
> >
> > Hi Thomas,
> >
> > Thanks for jumping in!
>
> Well, without Urs' minimal I wouldn't have. Thanks Urs!
>
> > > At least in the minimal one can workaround with inserting \noBeam:
> >
> > It works in some cases but not when that last pitch it tied to
> > previous notes (see attached pdf).
>
> Here it works with \noBeam:
>   <<
>     \new Staff { c'1 c'1 }
>     \new Staff { c'1 c'4~ c'16 \noBeam }
>   >>
>
> Could you please provide a minimal where it does not?
>
> > Karim provided a workaround:
> >
> > \once \set Staff.whichBar = "|." \override Staff.Clef.stencil=##f \set
> > PianoStaff.shortInstrumentName = #"" \stopStaff
>
> Main thing here is
>   \stopStaff
>
> The other settings may have more to do with a personal workflow, I suppose.
>
> Cheers,
>   Harm

Attachment: test.pdf
Description: Adobe PDF document

\version "2.19.83" 

\language "english"

scoreinfo = {\time 4/4 \tempo "andante" 4 = 90}

voice_one_one = {\key c \major r64 r128 r4 r4 \noBeam \bar "|."  }

voice_two_one = {\key c \major e,,64\mp cs128\ppp g4 gs4\fff \noBeam \bar "|."  }

voice_one_two = {\key c \major r1 fs'''4\ppp fs''4\ppppp r64 \noBeam  \bar "|."  }

voice_two_two = {\key c \major d,1\ppp r4 r4 g64\pp \noBeam \bar "|."  }

voice_one_three = {\key c \major r4. r1 g'1.\pp ds'8\ppp \noBeam \bar "|."  }

voice_two_three = {\key c \major e4.\mp r1 r1. r8 \noBeam \bar "|."  }

voice_one_four = {\key c \major cs''2\mf e'''2.\ppppp as''2\pppp f''64\mp \noBeam \bar "|."  }

voice_two_four = {\key c \major r2 r2. r2 r64 \noBeam \bar "|."  }

voice_one_five = {\key c \major cs''''128\mf r32 r2 gs''''4\mp \noBeam \bar "|."  }

voice_two_five = {\key c \major r128 r32 as2\ffff r4 \noBeam \bar "|."  }

voice_one_six = {\key c \major r1 a'''64\f r32 r2.. \noBeam \bar "|."  }

voice_two_six = {\key c \major a1\mp r64 f,,32\pppp c,2..\fff \noBeam \bar "|."  }

\paper {#(set-paper-size "letter") short-indent = 5\mm}

\score { << 
  \new PianoStaff \with { instrumentName = #"Piano 1" shortInstrumentName = #"Pn 1" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_one >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_one >> 
 >>

  \new PianoStaff \with { instrumentName = #"Piano 2" shortInstrumentName = #"Pn 2" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_two >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_two >> 
 >>

  \new PianoStaff \with { instrumentName = #"Piano 3" shortInstrumentName = #"Pn 3" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_three >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_three >> 
 >>

  \new PianoStaff \with { instrumentName = #"Piano 4" shortInstrumentName = #"Pn 4" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_four >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_four >> 
 >>

  \new PianoStaff \with { instrumentName = #"Piano 5" shortInstrumentName = #"Pn 5" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_five >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_five >> 
 >>

  \new PianoStaff \with { instrumentName = #"Piano 6" shortInstrumentName = #"Pn 6" } << 
    \new Staff = "upper" << 
      \scoreinfo \clef "treble" \voice_one_six >> 
    \new Staff = "lower" << 
      \scoreinfo \clef bass \voice_two_six >> 
 >>

>> 
  \layout{ragged-bottom = ##t  
    \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver"}
    \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" }
    \context { \Voice \remove "Note_heads_engraver" \consists "Completion_heads_engraver" \remove "Rest_engraver" \consists "Completion_rest_engraver" completionUnit = #(ly:make-moment 2/4)}} 
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to