lilypond-user
[Top][All Lists]
Advanced

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

Re: grace notes spacing


From: Martín Rincón Botero
Subject: Re: grace notes spacing
Date: Mon, 12 Oct 2020 15:59:54 +0200

I guess a MWE doesn't always point you in the right direction. The MWE works great. This is how Harm's solution looks in its real context:

image.png
Adding or deleting \temporary and playing with different values for Score.SpacingSpanner.common-shortest-duration and Score.GraceSpacing.common-shortest-duration didn't solve the problem.

Am Mo., 12. Okt. 2020 um 15:53 Uhr schrieb Kieren MacMillan <kieren_macmillan@sympatico.ca>:
Hi all,

Here’s what looks best to me:

%%%
\version "2.21.2"

foo = {
 \newSpacingSection
 \temporary \override Score.SpacingSpanner.strict-note-spacing = ##t
 \temporary \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/20)
 \temporary \override Score.GraceSpacing.common-shortest-duration = #(ly:make-moment 1/64)
}

unfoo = {
 \revert Score.SpacingSpanner.strict-note-spacing
 \revert Score.SpacingSpanner.common-shortest-duration
 \revert Score.GraceSpacing.common-shortest-duration
 \newSpacingSection
}

<<
 {
   \relative c''' { \foo r4 \appoggiatura { cis32 b ais } b4 gis' e \unfoo  }
   \relative c''' { r4 \appoggiatura { cis32 b ais } b4 gis' e }
 }
 \repeat unfold 2 { \relative c'' \repeat unfold 2 { gis8 b gis b } }
>>
%%%

[Again: Well done, Harm!]

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: kieren@kierenmacmillan.info



--
www.martinrinconbotero.com

reply via email to

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