Grace notes cause wrong Hairpin.to-barline behaviour

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Grace notes cause wrong Hairpin.to-barline behaviour

Rutger Hofman
Good morning bug list,

if a grace note occurs in another Staff or another Voice, a hairpin that
should end before the barline (to-barline = ##t) behaves as if
to-barline = ##f. I have no doubt that this is a bug.

It occurs in all lilypond versions I have on my system: 2.18.2, 2.19.83,
2.21.0 (self-compiled on Ubuntu).

Attached .ly and .pdf files. It contains two cases: (1) grace note in
another Staff and (2) grace note in another Voice in the same Staff. The
third & fourth bar in the examples show the correct (to-barline = ##t)
behaviour.

Rutger Hofman
Amsterdam

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

hairpin-grace.ly (593 bytes) Download Attachment
hairpin-grace-2.18.pdf (42K) Download Attachment
hairpin-grace-2.21.pdf (52K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Grace notes cause wrong Hairpin.to-barline behaviour

Thomas Morley-2
Am Di., 12. Nov. 2019 um 09:13 Uhr schrieb Rutger Hofman <[hidden email]>:

>
> Good morning bug list,
>
> if a grace note occurs in another Staff or another Voice, a hairpin that
> should end before the barline (to-barline = ##t) behaves as if
> to-barline = ##f. I have no doubt that this is a bug.
>
> It occurs in all lilypond versions I have on my system: 2.18.2, 2.19.83,
> 2.21.0 (self-compiled on Ubuntu).
>
> Attached .ly and .pdf files. It contains two cases: (1) grace note in
> another Staff and (2) grace note in another Voice in the same Staff. The
> third & fourth bar in the examples show the correct (to-barline = ##t)
> behaviour.
>
> Rutger Hofman
> Amsterdam

The problem is "Grace note synchronization", see NR.
Issue 34 is involved ...

Try:

\score {
    <<
        \new Staff {
            \relative c'' {
                c1 | \grace b8 c1 | c1 |  c1 |
            }
        }
        \new Staff {
            \relative c'' {
                c1\< | \grace s8\! c1 | c1\< | c1\! |
            }
        }
    >>
}

\score {
    \new Staff <<
        \relative c'' {
            c1 | \grace b8 c1 |
            c1 | c1 |
        }
        \new Voice \relative c' {
            c1\< | \grace s8\! c1 | c1\< | c1\! |
        }
    >>
}

HTH,
  Harm

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond