On 2024-09-16 14:27, Knute Snortum wrote:

On Mon, Sep 16, 2024 at 2:14 PM Knute Snortum <ksnor...@gmail.com> wrote:


    On Mon, Sep 16, 2024 at 12:15 PM David Kastrup <d...@gnu.org> wrote:


        In my book, an appoggiatura is executed at least with the written
        duration, and here you take 3/16 of time from 1/8. How is that
        supposed
        to work?  You probably want \acciaccatura or \grace instead.


    I think you're right that I need an acciaccatura.  Thank you for
    looking into it.


Hmm...  the code still issues a bar check warning with an acciaccatura or grace.  It also doesn't help if I tinker with the durations:

%%%
\oneVoice \grace { c'16*1/8 d e } d8 c |
%%%

I think I understand what's happening.
I tried it with 2.24.0.

Your example has only 2 eighth notes, because the \grace and \acciaccatura don't use up any time.
So, there are still 3 beats to use up in the bar.

This works for 3/4 time except for the last bar using 2.24.0:

\score {
\relative {
\time 3/4

% 16*1/8 results in 1 sixteenth
\oneVoice \grace { c'16*1/8 d e } d2 c4 |

% The same bar using c'16 (changed to c16)
\oneVoice \grace { c16 d e } d2 c4 |

% \acciaccatura doesn't use up any time, but the 2 following notes do.
\acciaccatura { c16 d e } d2 c4 |

% Your original bar in 3/4 time (bar check with 2.24.0 as well!)
% \grace doesn't use up any time before the 2 eighth notes, so if the time is 3/4, you have only 1 beat in the bar (2 eighth notes).
\oneVoice \grace { c'16*1/8 d e } d8 c |

}
}

HTH

Reply via email to