On 12. Oct 2020, 15:43 +0200, Thomas Morley <thomasmorley65@gmail.com>, wrote:
Am Mo., 12. Okt. 2020 um 15:40 Uhr schrieb Martín Rincón Botero
<martinrinconbotero@gmail.com>:
Oh, because uniform-stretching can be only can only be changed for the whole score, I believed it’s the same for strict-note-spacing. I’ll try that.
www.martinrinconbotero.com
On 12. Oct 2020, 15:37 +0200, Kieren MacMillan <kieren_macmillan@sympatico.ca>, wrote:
Hi Martín,
Thanks for the idea, but strict-note-spacing causes all types of collisions in my score (although it works perfectly for my MWE).
So why not just override it for that measure? ;)
Cheers,
Kieren.
________________________________
Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: kieren@kierenmacmillan.info
foo = {
\newSpacingSection
\override Score.SpacingSpanner.strict-note-spacing = ##t
\override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1/20)
\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 \unfoo gis' e }
\relative c'' \repeat unfold 2 { gis8 b gis b }
Works here.
Cheers,
Harm