In a piano score, is it possible to have grace notes not being 'synchronized' to the other staff?
I know there is \override Score.SpacingSpanner.strict-grace-spacing = ##t
, but this applies to the whole score. I need it only for some parts. (Note: \override Score.SpacingSpanner.strict-grace-spacing = ##f
seems to be ignored, once = ##t
has been seen.)
\version "2.19.84"
\score {
\new PianoStaff <<
\new Staff \relative c'{
\key e \major \time 4/4
#(define afterGraceFraction (cons 8 9))
\override Score.SpacingSpanner.strict-grace-spacing = ##t
gis''2-2 \afterGrace ais\startTrillSpan {gis16( \stopTrillSpan ais)} |
\afterGrace <bis,, bis'>4\startTrillSpan {ais'16(\stopTrillSpan bis)} <cis, cis'>2.\sf |
\override Score.SpacingSpanner.strict-grace-spacing = ##f % = ##f ignored?
\grace{b16 gis'} dis'2 \grace{cis,16 fisis} dis'2 |
}
\new Staff \relative c{
\key e \major \time 4/4 \clef bass
\repeat unfold 2 {dis16 b' gis b} \repeat unfold 2 {dis, cis' fisis, cis'} |
fis,16 dis' gis, dis' \repeat unfold 3 {e, cis' gis cis} |
\repeat unfold 2 {gis, gis' dis gis} \repeat unfold 2 {gis, ais' dis, ais'} |
}
>>
}
With strict-grace-spacing = ##t
:
With strict-grace-spacing = ##f
(or without strict-grace-spacing
):
\once
before your override?