]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly
03ffbe9067850265595ad0ed7bd69b311401f9fe
[lilypond.git] / Documentation / snippets / grid-lines--emphasizing-rhythms-and-notes-synchronization.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 = "editorial-annotations"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Se pueden trazar líneas verticales normales entre pentagramas para
15 mostrar la relación entre notas; sin embargo, en caso de música
16 monofónica, podemos hacer invisible el segundo pentagrama, y que
17 las líneas sean más cortas, como en este fragmento de código.
18
19 "
20   doctitlees = "Líneas de rejilla: destacar ritmos y la relación temporal entre notas"
21
22 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
23   texidocfr = "
24 Des lignes verticales entre les portées peuvent s'ajouter dans le but
25 d'indiquer la synchronisation entre des notes.  Dans le cas de musique
26 monophonique, on peut toutefois créer une deuxième portée, invisible, et
27 raccourcir les lignes comme ici.
28
29 "
30   doctitlefr = "Quadrillage temporel : mise en évidence du rythme et synchronisation des notes"
31
32   texidoc = "
33 Regular vertical lines can be drawn between staves to show note
34 synchronization; however, in case of monophonic music, you may want to
35 make the second stave invisible, and make the lines shorter like in
36 this snippet.
37
38 "
39   doctitle = "Grid lines: emphasizing rhythms and notes synchronization"
40 } % begin verbatim
41
42
43 \score {
44   \new ChoirStaff {
45     \relative c'' <<
46       \new Staff {
47         \time 12/8
48         \stemUp
49         c4. d8 e8 f g4 f8 e8. d16 c8
50       }
51       \new Staff {
52         % hides staff and notes so that only the grid lines are visible
53         \hideNotes
54         \override Staff.BarLine #'transparent = ##t
55         \override Staff.StaffSymbol #'line-count = #0
56         \override Staff.TimeSignature #'transparent = ##t
57         \override Staff.Clef #'transparent = ##t
58
59         % dummy notes to force regular note spacing
60         \once  \override Score.GridLine #'thickness = #4.0
61         c8 c c
62         \once  \override Score.GridLine #'thickness = #3.0
63         c8 c c
64         \once  \override Score.GridLine #'thickness = #4.0
65         c8 c c
66         \once  \override Score.GridLine #'thickness = #3.0
67         c8 c c
68       }
69     >>
70   }
71   \layout {
72     \context {
73       \Score
74       \consists "Grid_line_span_engraver"
75       % center grid lines horizontally below note heads
76       \override NoteColumn #'X-offset = #-0.5
77     }
78     \context {
79       \Staff
80       \consists "Grid_point_engraver"
81       gridInterval = #(ly:make-moment 1 8)
82       % set line length and positioning:
83       % two staff spaces above center line on hidden staff
84       % to four spaces below center line on visible staff
85       \override GridPoint #'Y-extent = #'(2 . -4)
86     }
87     ragged-right = ##t
88   }
89 }
90