]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/engraving-tremolos-with-floating-beams.ly
f001a70aff8992e06311266309087ca5b74b511f
[lilypond.git] / input / lsr / engraving-tremolos-with-floating-beams.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "rhythms, repeats"
7
8   texidoc = "
9 If a tremolo's total duration is less than a quarter-note, or exactly a
10 half-note, or between a half-note and a whole-note, it is normally
11 typeset with all beams touching the stems.  Certain engraving styles
12 typeset some of these beams as centered floating beams that do not
13 touch the stems.  The number of floating beams in this type of tremolo
14 is controlled with the @code{'gap-count } property of the @code{Beam}
15 object, and the size of the gaps between beams and stems is set with
16 the @code{'gap} property.
17
18
19
20 "
21   doctitle = "Engraving tremolos with floating beams"
22 } % begin verbatim
23
24 \relative c'' {
25   \repeat tremolo 8 { a32 f }
26   \override Beam #'gap-count = #1
27   \repeat tremolo 8 { a32 f }
28   \override Beam #'gap-count = #2
29   \repeat tremolo 8 { a32 f }
30   \override Beam #'gap-count = #3
31   \repeat tremolo 8 { a32 f }
32
33   \override Beam #'gap-count = #3
34   \override Beam #'gap = #1.33
35   \repeat tremolo 8 { a32 f }
36   \override Beam #'gap = #1
37   \repeat tremolo 8 { a32 f }
38   \override Beam #'gap = #0.67
39   \repeat tremolo 8 { a32 f }
40   \override Beam #'gap = #0.33
41   \repeat tremolo 8 { a32 f }
42 }
43
44
45
46