Hi all,

taking the risk of all of you laughing since i might overlook something crucial everybody (apart from me) already knows to be insufficient to tackle the famous #34 ... or at least to propose something which was already tried...:


My attempt which you can find in branch grace under https://gitlab.com/arnowaschk/lilypond/-/branches at least for me seems to solve the below mentioned example, and a few similar cases.

I am not claiming this to be a perfect or beautiful solution, and certainly not complete for all oddities around grace notes, but alas, i would like to propose this as a start to work on.

Basically it is the well known workaround in an automated fashion.

Attached you find my test results comparing to current git master baseline.

I would love to further refine as time permits. Suggestions and critics are always welcome.

Arno Waschk
Gubener Str. 44
10243 Berlin
+49 172 3149605
arnowaschk.de <https://arnowaschk.de>
*[email protected]*

current and upcoming projects:

*Lesungen Klaus Maria Brandauer im Burgtheater, Prinzregententheater, Metropol-Theater Bremen, Neuhardenberg, etc.*2025
*Die Dreigroschenoper: Berliner Ensemble, Berlin Schauspiel Dresden u. a. *
*Beethoven, die drei letzten Klaviersonaten* wieder ab 2026
*Buch der hängenden Gärten George/Schönberg*
*Verklärte Nacht und Forellenquintett* ab Frühjahr 2026 *Jede Menge Unsterblichkeit* Musiktheater im Revier Gelsenkirchen *Die weisse Rose von Udo Zimmermann Kammerfassung der zweiten Version* Theater Erfurt 2025 *Die weisse Rose von Udo Zimmermann Kammerfassung der Version 1968-72* Theater Hof Regie: Lothar Krause ab Februar 2023
*Zukunftsmusik* von Jelena Schulte Regie: Antje Thoms
*Der Idiot* Deutsches Theater Berlin Regie: Sebastian Hartmann
*Beichte* mit Markus Öhrn Schweden, on tour seit Dezember 2020
*Häusliche Gewalt* Wiener Festwochen, Biennale Wiesbaden, u. v. a. mit Markus Öhrn
on tour
*Schlingensief und die Avantgarde* Publikation ZiF Bielefeld
*Fräulein Else* Hörbuch mit Elisabeth Trissenaar
*u. v. a.*
Am 25.05.26 um 16:43 schrieb Werner LEMBERG:
% acciaccatura bug
% if used in at the beginning
% moves timeSignature and more...

\new PianoStaff {
   <<
     \new Staff \relative c'' {
       \acciaccatura b16
       c4
}

     \new Staff \relative c {
       \clef "bass"
       g4
}
   >>
}
This is the infamous LilyPond issue #34.  This is documented in

   
https://lilypond.org/doc/v2.26/Documentation/notation/special-rhythmic-concerns#grace-notes

for example.


    Werner

Attachment: LilyPond regression test results_grace_260527.pdf
Description: Adobe PDF document

Reply via email to