]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / lsr / grid-lines--emphasizing-rhythms-and-notes-synchronization.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.12.0"
4
5 \header {
6   lsrtags = "editorial-annotations"
7
8   texidoces = "
9 Se pueden trazar líneas verticales normales entre pentagramas para
10 mostrar la relación entre notas; sin embargo, en caso de música
11 monofónica, podemos hacer invisible el segundo pentagrama, y que
12 las líneas sean más cortas, como en este fragmento de código.
13
14 "
15   doctitlees = "Líneas de rejilla: destacar ritmos y la relación temporal entre notas"
16
17   texidoc = "
18 Regular vertical lines can be drawn between staves to show note
19 synchronization; however, in case of monophonic music, you may want to
20 make the second stave invisible, and make the lines shorter like in
21 this snippet.
22
23 "
24   doctitle = "Grid lines: emphasizing rhythms and notes synchronization"
25 } % begin verbatim
26
27 \score {
28   \new ChoirStaff {
29     \relative c'' <<
30       \new Staff {
31         \time 12/8
32         \stemUp
33         c4. d8 e8 f g4 f8 e8. d16 c8
34       }
35       \new Staff {
36         % hides staff and notes so that only the grid lines are visible
37         \hideNotes
38         \override Staff.BarLine #'transparent = ##t
39         \override Staff.StaffSymbol #'line-count = #0
40         \override Staff.TimeSignature #'transparent = ##t
41         \override Staff.Clef #'transparent = ##t
42         
43         % dummy notes to force regular note spacing
44         \once  \override Score.GridLine #'thickness = #4.0
45         c8 c c
46         \once  \override Score.GridLine #'thickness = #3.0
47         c8 c c
48         \once  \override Score.GridLine #'thickness = #4.0
49         c8 c c
50         \once  \override Score.GridLine #'thickness = #3.0
51         c8 c c
52       }
53     >>
54   }
55   \layout {
56     \context {
57       \Score
58       \consists "Grid_line_span_engraver"
59       % center grid lines horizontally below note heads
60       \override NoteColumn #'X-offset = #-0.5
61     }
62     \context {
63       \Staff
64       \consists "Grid_point_engraver"
65       gridInterval = #(ly:make-moment 1 8)
66       % set line length and positioning:
67       % two staff spaces above center line on hidden staff
68       % to four spaces below center line on visible staff
69       \override GridPoint #'Y-extent = #'(2 . -4)
70     }
71     ragged-right = ##t
72   }
73 }