]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/altering-the-length-of-beamed-stems.ly
LSR: update.
[lilypond.git] / Documentation / snippets / altering-the-length-of-beamed-stems.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.16"
5
6 \header {
7   lsrtags = "pitches, tweaks-and-overrides"
8
9   texidoc = "
10 Stem lengths on beamed notes can be varied by overriding the
11 @code{beamed-lengths} property of the @code{details} of the
12 @code{Stem}.  If a single value is used as an argument, the length
13 applies to all stems.  When multiple arguments are used, the first
14 applies to eighth notes, the second to sixteenth notes and so on.  The
15 final argument also applies to all notes shorter than the note length
16 of the final argument.  Non-integer arguments may also be used.
17
18 "
19   doctitle = "Altering the length of beamed stems"
20 } % begin verbatim
21
22 \relative c'' {
23   \override Stem #'details #'beamed-lengths = #'(2)
24   a8[ a] a16[ a] a32[ a]
25   \override Stem #'details #'beamed-lengths = #'(8 10 12)
26   a8[ a] a16[ a] a32[ a] r8
27   \override Stem #'details #'beamed-lengths = #'(8)
28   a8[ a]
29   \override Stem #'details #'beamed-lengths = #'(8.5)
30   a8[ a]
31   \revert Stem #'details
32   a8[ a] a16[ a] a32[ a]
33 }
34