Accordion-discant symbols: 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 |
Remove snippet from official documentation |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This snippet has been obsoleted by predefined markup commands, see | This snippet has been obsoleted by predefined markup commands, see [https://lilypond.org/doc/v2.24/Documentation/notation/accordion#discant-symbols ‘Discant symbols’ in the Notation Reference]. It is still useful as a simple demonstration of how to combine symbols: the placement of the symbols added with <code>\markup</code> can be tweaked by changing the <code>\translate-scaled</code> arguments. <code>\translate-scaled</code> is used here rather than <code>\translate</code> in order to let the positioning of the symbol parts adapt to changes of <code>font-size</code>. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 163: | Line 163: | ||
</lilypond> | </lilypond> | ||
[[Category:Keyboards]] | |||
[[Category:Specific notation]] | |||
[[Category:Symbols and glyphs]] | [[Category:Symbols and glyphs]] | ||
[[Category: | [[Category:Snippet]] | ||
Latest revision as of 13:18, 13 December 2025
This snippet has been obsoleted by predefined markup commands, see ‘Discant symbols’ in the Notation Reference. It is still useful as a simple demonstration of how to combine symbols: the placement of the symbols added with \markup can be tweaked by changing the \translate-scaled arguments. \translate-scaled is used here rather than \translate in order to let the positioning of the symbol parts adapt to changes of font-size.
\version "2.24"
discant = \markup {
\musicglyph "accordion.discant"
}
dot = \markup {
\musicglyph "accordion.dot"
}
\layout { ragged-right = ##t }
% 16 voets register
accBasson = ^\markup {
\combine
\discant
\translate-scaled #'(0 . 0.5) \dot
}
% een korig 8 en 16 voets register
accBandon = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\translate-scaled #'(0 . 1.5) \dot
}
accVCello = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\combine
\translate-scaled #'(0 . 1.5) \dot
\translate-scaled #'(1 . 1.5) \dot
}
% 4-8-16 voets register
accHarmon = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\combine
\translate-scaled #'(0 . 1.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
accTrombon = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\combine
\translate-scaled #'(0 . 1.5) \dot
\combine
\translate-scaled #'(1 . 1.5) \dot
\translate-scaled #'(-1 . 1.5) \dot
}
% eenkorig 4 en 16 voets register
accOrgan = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
accMaster = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 0.5) \dot
\combine
\translate-scaled #'(0 . 1.5) \dot
\combine
\translate-scaled #'(1 . 1.5) \dot
\combine
\translate-scaled #'(-1 . 1.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
accAccord = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 1.5) \dot
\combine
\translate-scaled #'(1 . 1.5) \dot
\combine
\translate-scaled #'(-1 . 1.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
accMusette = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 1.5) \dot
\combine
\translate-scaled #'(1 . 1.5) \dot
\translate-scaled #'(-1 . 1.5) \dot
}
accCeleste = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 1.5) \dot
\translate-scaled #'(-1 . 1.5) \dot
}
accOboe = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 1.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
accClarin = ^\markup {
\combine
\discant
\translate-scaled #'(0 . 1.5) \dot
}
accPiccolo = ^\markup {
\combine
\discant
\translate-scaled #'(0 . 2.5) \dot
}
accViolin = ^\markup {
\combine
\discant
\combine
\translate-scaled #'(0 . 1.5) \dot
\combine
\translate-scaled #'(1 . 1.5) \dot
\translate-scaled #'(0 . 2.5) \dot
}
\relative c'' {
c4 d\accBasson e f
c4 d\accBandon e f
c4 d\accVCello e f
c4 d\accHarmon e f
c4 d\accTrombon e f
\break
c4 d\accOrgan e f
c4 d\accMaster e f
c4 d\accAccord e f
c4 d\accMusette e f
c4 d\accCeleste e f
\break
c4 d\accOboe e f
c4 d\accClarin e f
c4 d\accPiccolo e f
c4 d\accViolin e f
}