Redefining grace note global defaults: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 9: | Line 9: | ||
They are defined in file <code>ly/grace-init.ly</code>. By redefining them other effects may be obtained. | They are defined in file <code>ly/grace-init.ly</code>. By redefining them other effects may be obtained. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
startAcciaccaturaMusic = { | startAcciaccaturaMusic = { | ||
<>( | <>( | ||
Revision as of 18:50, 16 November 2025
The global defaults for grace notes are stored in the following identifiers.
startGraceMusic stopGraceMusic startAcciaccaturaMusic stopAcciaccaturaMusic startAppoggiaturaMusic stopAppoggiaturaMusic
They are defined in file ly/grace-init.ly. By redefining them other effects may be obtained.
\version "2.24"
startAcciaccaturaMusic = {
<>(
\override Flag.stroke-style = "grace"
\slurDashed
}
stopAcciaccaturaMusic = {
\revert Flag.stroke-style
\slurSolid
<>)
}
\relative c'' {
\acciaccatura d8 c1
}