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