lilypond-user
[Top][All Lists]
Advanced

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

Re: Avoiding the message about too many colliding rests


From: Thomas Morley
Subject: Re: Avoiding the message about too many colliding rests
Date: Sun, 11 Nov 2018 11:00:00 +0100

Am So., 11. Nov. 2018 um 01:39 Uhr schrieb Joseph Srednicki
<address@hidden>:
>
> Hello:
>
> The following measure causes Lilypond to issue a warning about too many 
> colliding rests.
>
> Is there a way that I can code this measure to avoid the warning?
>
> I checked the online mail archive. I found a message stating that if one lets 
> Lilypond place the rests, the warning can be avoided. I tried that approach 
> as shown in the example below. I also tried explicitly placing the 
> eighth-note rests. I get the waning in both situations.
>
> The example below is bar 13 of the fugue from Bach's Prelude and Fugue in E 
> minor, BWV 533 ("The Cathedral").
>
> If there is a message about this issue in the mail archive that I overlooked, 
> please feel free to point it out.
>
> Thanks for your help.
>
> Joe Srednicki
>
> ============================================================
>
> \version "2.19.82"
> \language "english"
>
> global = {
>   \key e \minor
>   \time 4/4
> }
>
> rightOne = \relative c'' {
>   \global
>   d8 fs16 cs d8 as b4 r8 e |
> }
>
> rightTwo = \relative c'' {
>   \global
>   s1 |
> }
>
> leftOne = \relative c' {
>   \global

Use \voiceTwo instead of \stemDown, then LilyPond will place the rest
correctly and the warning disappears.

>   d8 as b \change Staff = "right" \stemDown fs'16 cs d4 r8 as |
> }
>
> leftTwo = \relative c' {
>   \global
>   R1 |
> }
>
> pedal = \relative c {
>   \global
>   R1 |
> }
>
> \score {
>   <<
>     \new PianoStaff <<
>       \new Staff = "right" << \rightOne \\ \rightTwo >>
>       \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
>     >>
>     \new Staff = "pedal" { \clef bass \pedal }
>   >>
>
> }

Cheers,
  Harm



reply via email to

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