]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-simple.ly
e435da48779125f8785f9fdcb2bb4cdfd6b76035
[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.di.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.18.0"
8
9 \header {
10   lsrtags = "really-simple, template, unfretted-strings"
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 global= {
21   \time 4/4
22   \key c \major
23 }
24
25 violinOne = \new Voice \relative c'' {
26   \set Staff.instrumentName = #"Violin 1 "
27
28   c2 d
29   e1
30
31   \bar "|."
32 }
33
34 violinTwo = \new Voice \relative c'' {
35   \set Staff.instrumentName = #"Violin 2 "
36
37   g2 f
38   e1
39
40   \bar "|."
41 }
42
43 viola = \new Voice \relative c' {
44   \set Staff.instrumentName = #"Viola "
45   \clef alto
46
47   e2 d
48   c1
49
50   \bar "|."
51 }
52
53 cello = \new Voice \relative c' {
54   \set Staff.instrumentName = #"Cello "
55   \clef bass
56
57   c2 b
58   a1
59
60   \bar "|."
61 }
62
63 \score {
64   \new StaffGroup <<
65     \new Staff << \global \violinOne >>
66     \new Staff << \global \violinTwo >>
67     \new Staff << \global \viola >>
68     \new Staff << \global \cello >>
69   >>
70   \layout { }
71   \midi { }
72 }