]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-simple.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / string-quartet-template-simple.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 = "really-simple, unfretted-strings, template"
11
12   texidoc = "
13 This template demonstrates a simple string quartet. It also uses a
14 @code{\\global} section for time and key signatures
15
16 "
17   doctitle = "String quartet template (simple)"
18 } % begin verbatim
19
20
21 global= {
22   \time 4/4
23   \key c \major
24 }
25
26 violinOne = \new Voice \relative c'' {
27   \set Staff.instrumentName = #"Violin 1 "
28
29   c2 d
30   e1
31
32   \bar "|."
33 }
34
35 violinTwo = \new Voice \relative c'' {
36   \set Staff.instrumentName = #"Violin 2 "
37
38   g2 f
39   e1
40
41   \bar "|."
42 }
43
44 viola = \new Voice \relative c' {
45   \set Staff.instrumentName = #"Viola "
46   \clef alto
47
48   e2 d
49   c1
50
51   \bar "|."
52 }
53
54 cello = \new Voice \relative c' {
55   \set Staff.instrumentName = #"Cello "
56   \clef bass
57
58   c2 b
59   a1
60
61   \bar "|."
62 }
63
64 \score {
65   \new StaffGroup <<
66     \new Staff << \global \violinOne >>
67     \new Staff << \global \violinTwo >>
68     \new Staff << \global \viola >>
69     \new Staff << \global \cello >>
70   >>
71   \layout { }
72   \midi { }
73 }