lilypond-user
[Top][All Lists]
Advanced

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

Re: Failure to properly display appoggiatura inside a repeat volta


From: Kenneth Wolcott
Subject: Re: Failure to properly display appoggiatura inside a repeat volta
Date: Wed, 16 Feb 2022 15:01:09 -0800

Thank you, David! So obvious, right in front of my nose.

On Wed, Feb 16, 2022 at 2:37 PM David Kastrup <dak@gnu.org> wrote:
>
> Kenneth Wolcott <kennethwolcott@gmail.com> writes:
>
> > Hi;;
> >
> >   I'm trying to engrave the 8notes.com's Voice+Piano arrangement of
> > "Take Me Out to the Ball Game".  I decided to skip the lyrics for now
> > and replace the corresponding notes with a trumpet.
> >
> >   I'm having a problem correctly displaying appoggiatura that exists
> > inside a repeat volta.
> >
> >   The problem: The appoggiatura appears in a previous bar (all by itself).
> >
> >   I have attached screenshots of the bars in question (8-10) from the
> > original and my attempt at engraving it.
> >
> >   I've also attached the output of Lilypond 2.22.1 (no errors and no 
> > warnings).
> >
> >   I've attached the bars of Lilypond source (bars 8-10).
> >
> >   I've also attached the whole original pdf, my pdf and the entire
> > Lilypond source.
> >
> >   I've tried to reproduce this problem in an (almost) MWE, but it
> > worked just fine.
> >
> >   I must be doing something obviously stupid here, but I can't seen to find 
> > it.
>
> Issue 34.
>
> All \repeat volta statements have to start at the same time, namely
> 8. before the beat.  You do that by adding grace space.
>
> Here is the diff:
>
> --- Take_Me_Out_to_the_Ball_Game.ly.bak 2022-02-16 23:25:10.244468097 +0100
> +++ Take_Me_Out_to_the_Ball_Game.ly     2022-02-16 23:34:47.314658111 +0100
> @@ -30,7 +30,7 @@
>  %\break
>    R1*3/4        | % m8
>    \repeat volta 2 {
> -    << { R1*3/4 } \\ { \appoggiatura { s8. } s2. } >>  % m9
> +    \grace s8. R1*3/4 |  % m9
>      R1*3/4      | % m10
>    }
>    \repeat volta 2 {
> @@ -234,7 +234,7 @@
>  %\break
>    <fs' a'>4 r r                | % m8
>    \repeat volta 2 {
> -    \appoggiatura { s8. } s2.  | % m9
> +    \grace s8. s2.             | % m9
>      s2.                        | % m10
>    }
>    \repeat volta 2 {
> @@ -336,6 +336,7 @@
>  %\break
>    d4 s2                  | % m8
>    \repeat volta 2 {
> +    \grace s8.
>      <d, d>4 r r          | % m9
>      <a,, a,>4 r r        | % m10
>    }
> @@ -438,6 +439,7 @@
>  %\break
>    d,4 r r  | % m8
>    \repeat volta 2 {
> +    \grace s8.
>      s2.    | % m9
>      s2.    | % m10
>    }
>
> Note that you don't use \appoggiatura but rather \grace when you don't
> want the associated slur to be typeset as well.
>
> Here is the completed variant:
>
>
>
> --
> David Kastrup



reply via email to

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