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