I think this is a bug, but I wanted to run it past the users' group first.

The heart of the problem is that the function articulate is not producing
the correct MIDI output with grace notes in certain situations.  The
symptom is that a bar check fails.

Below is a MWE.  I know it doesn't look very minimal, but it's about as
small as I could get and still produce the problem.

%%%Start
%{
  Problems with the articulate function with grace notes, barchecks and
  explicit contexts.  On line 19, the barcheck will fail.

  Comment out any one of the lines with "this line" at the end and the
  problem disappears.
%}

\version "2.19.82"
\language "english"
\include "articulate.ly" % this line

rightHand = \relative {
  <<
    \context Voice = "1" { \voiceOne s4 ds''2.( }
    \context Voice = "2" { \voiceTwo s4 e,2. } % this line
  >> |
  \context Voice = "1" { \voiceOne \grace { ds'8) } } % this line
    \oneVoice ds4 e8. ds16 cs4 ds4 | % <-- fails here
}

% this is just for diagnostics
\score {
  \new Staff \rightHand
}

\score {
  \articulate { % this line and its closing brace
    \new Staff \rightHand
  }
  \midi {
  }
}
%%%End

Here is more context if it helps:

http://lilybin.com/7j12pv/1

---
Knute Snortum
(via Gmail)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to