Redefining grace note global defaults: Difference between revisions
Appearance
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 |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The global defaults for grace notes are stored in the following identifiers. | The global defaults for grace notes are stored in the following identifiers. | ||
startGraceMusic | |||
stopGraceMusic | stopGraceMusic | ||
startAcciaccaturaMusic | startAcciaccaturaMusic | ||
stopAcciaccaturaMusic | stopAcciaccaturaMusic | ||
startAppoggiaturaMusic | startAppoggiaturaMusic | ||
stopAppoggiaturaMusic | stopAppoggiaturaMusic | ||
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. | ||
| Line 29: | Line 30: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 09:14, 8 December 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
}