Creating a delayed turn: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The <code>outside-staff-priority</code> property must be set to <code>#f</code>, as otherwise this would take precedence over the <code>avoid-slur</code> property. Changing the | Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The <code>outside-staff-priority</code> property must be set to <code>#f</code>, as otherwise this would take precedence over the <code>avoid-slur</code> property. Changing the first argument of <code>\after</code> (which is a duration) adjusts the horizontal position. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 19: | Line 19: | ||
</lilypond> | </lilypond> | ||
[[Category:Editorial annotations]] | |||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 19:42, 11 December 2025
Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The outside-staff-priority property must be set to #f, as otherwise this would take precedence over the avoid-slur property. Changing the first argument of \after (which is a duration) adjusts the horizontal position.
\version "2.24"
\relative c'' {
\after 2*2/3 \turn c2( d4) r |
\after 4 \turn c4.( d8)
\after 4
{
\once \set suggestAccidentals = ##t
\once \override AccidentalSuggestion.outside-staff-priority = ##f
\once \override AccidentalSuggestion.avoid-slur = #'inside
\once \override AccidentalSuggestion.font-size = -3
\once \override AccidentalSuggestion.script-priority = -1
\once \hideNotes
cis8\turn \noBeam
}
d4.( e8)
}