]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/engraving-tremolos-with-floating-beams.ly
0e38a7ef92b407ed01bb675c7001e3780f5137c2
[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.14.2"
8
9 \header {
10   lsrtags = "rhythms, repeats"
11
12 %% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c
13   texidocfr = "
14 Lorsque la durée totale d'un trémolo est inférieur à la noire, égale une
15 blanche, ou bien entre une blanche et une ronde, il est d'usage que
16 toutes les ligatures soient en contact avec les hampes.  Certains styles
17 de gravure font cependant apparaître des ligatures détachées, centrées
18 entre les hampes.  Pour ce type de trémolo, le nombre de hampes
19 flottantes se gère au travers de la propriété @code{'gap-count} de
20 l'objet @code{Beam}, et l'écart entre ligature et hampe se définit par
21 la propriété @code{'gap}.
22
23 "
24   doctitlefr = "Impression de trémolo avec ligature flottante"
25
26   texidoc = "
27 If a tremolo's total duration is less than a quarter-note, or exactly a
28 half-note, or between a half-note and a whole-note, it is normally
29 typeset with all beams touching the stems.  Certain engraving styles
30 typeset some of these beams as centered floating beams that do not
31 touch the stems.  The number of floating beams in this type of tremolo
32 is controlled with the @code{'gap-count } property of the @code{Beam}
33 object, and the size of the gaps between beams and stems is set with
34 the @code{'gap} property.
35
36
37
38 "
39   doctitle = "Engraving tremolos with floating beams"
40 } % begin verbatim
41
42
43 \relative c'' {
44   \repeat tremolo 8 { a32 f }
45   \override Beam #'gap-count = #1
46   \repeat tremolo 8 { a32 f }
47   \override Beam #'gap-count = #2
48   \repeat tremolo 8 { a32 f }
49   \override Beam #'gap-count = #3
50   \repeat tremolo 8 { a32 f }
51
52   \override Beam #'gap-count = #3
53   \override Beam #'gap = #1.33
54   \repeat tremolo 8 { a32 f }
55   \override Beam #'gap = #1
56   \repeat tremolo 8 { a32 f }
57   \override Beam #'gap = #0.67
58   \repeat tremolo 8 { a32 f }
59   \override Beam #'gap = #0.33
60   \repeat tremolo 8 { a32 f }
61 }
62
63
64
65