Dear Stu,

I don't think that is the problem here, because in original OP snippet, if you comment out the line `\new Voice { \voiceFour e,2 }`, there is no barcheck fail, and if you try the following example you can hear how the upper notes become out of sync with the lower notes in the midi.

Thanks,
-William

% ---------
\version "2.25.19"

rightHand = \relative {
  \time 3/4
  <<
    { \voiceOne e'4. d'8 }
    \new Voice { \voiceFour e,2 }
  >>
  \oneVoice \appoggiatura { c'16 d e } d8 c | c8
}

\include "articulate.ly"

\score {
  \articulate <<
    \new Staff \rightHand
    \new Staff { c8 e c e c e | c' }
  >>
  \midi {}
}
% ---------

On 9/16/24 19:46, Stu McKenzie via LilyPond User List wrote:


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



--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
will...@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to