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
6 %% This file is in the public domain.
10 lsrtags = "pitches, staff-notation, template, vocal-music"
13 This template demonstrates the use of nested @code{StaffGroup} and
14 @code{GrandStaff} contexts to sub-group instruments of the same type
15 together, and a way to use @code{\\transpose} so that variables hold
16 music for transposing instruments at concert pitch.
19 doctitle = "Orchestra choir and piano template"
22 #(set-global-staff-size 17)
25 indent = 3.0\cm % space for instrumentName
26 short-indent = 1.5\cm % space for shortInstrumentName
29 fluteMusic = \relative c' { \key g \major g'1 b }
30 % Pitches as written on a manuscript for Clarinet in A
31 % are transposed to concert pitch.
32 clarinetMusic = \transpose c' a
33 \relative c'' { \key bes \major bes1 d }
34 trumpetMusic = \relative c { \key g \major g''1 b }
35 % Key signature is often omitted for horns
36 hornMusic = \transpose c' f
37 \relative c { d'1 fis }
38 percussionMusic = \relative c { \key g \major g1 b }
39 sopranoMusic = \relative c'' { \key g \major g'1 b }
40 sopranoLyrics = \lyricmode { Lyr -- ics }
41 altoIMusic = \relative c' { \key g \major g'1 b }
42 altoIIMusic = \relative c' { \key g \major g'1 b }
43 altoILyrics = \sopranoLyrics
44 altoIILyrics = \lyricmode { Ah -- ah }
45 tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
46 tenorLyrics = \sopranoLyrics
47 pianoRHMusic = \relative c { \key g \major g''1 b }
48 pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
49 violinIMusic = \relative c' { \key g \major g'1 b }
50 violinIIMusic = \relative c' { \key g \major g'1 b }
51 violaMusic = \relative c { \clef alto \key g \major g'1 b }
52 celloMusic = \relative c { \clef bass \key g \major g1 b }
53 bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
57 \new StaffGroup = "StaffGroup_woodwinds" <<
58 \new Staff = "Staff_flute" {
59 \set Staff.instrumentName = #"Flute"
60 % shortInstrumentName, midiInstrument, etc.
61 % may be set here as well
64 \new Staff = "Staff_clarinet" {
65 \set Staff.instrumentName =
66 \markup { \concat { "Clarinet in B" \flat } }
67 % Declare that written Middle C in the music
68 % to follow sounds a concert B flat, for
69 % output using sounded pitches such as MIDI.
71 % Print music for a B-flat clarinet
72 \transpose bes c' \clarinetMusic
75 \new StaffGroup = "StaffGroup_brass" <<
76 \new Staff = "Staff_hornI" {
77 \set Staff.instrumentName = #"Horn in F"
79 \transpose f c' \hornMusic
81 \new Staff = "Staff_trumpet" {
82 \set Staff.instrumentName = #"Trumpet in C"
86 \new RhythmicStaff = "RhythmicStaff_percussion" <<
87 \set RhythmicStaff.instrumentName = #"Percussion"
91 \set PianoStaff.instrumentName = #"Piano"
92 \new Staff { \pianoRHMusic }
93 \new Staff { \pianoLHMusic }
95 \new ChoirStaff = "ChoirStaff_choir" <<
96 \new Staff = "Staff_soprano" {
97 \set Staff.instrumentName = #"Soprano"
98 \new Voice = "soprano"
101 \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
102 \new GrandStaff = "GrandStaff_altos"
103 \with { \accepts Lyrics } <<
104 \new Staff = "Staff_altoI" {
105 \set Staff.instrumentName = #"Alto I"
109 \new Lyrics \lyricsto "altoI" { \altoILyrics }
110 \new Staff = "Staff_altoII" {
111 \set Staff.instrumentName = #"Alto II"
112 \new Voice = "altoII"
115 \new Lyrics \lyricsto "altoII" { \altoIILyrics }
117 \new Staff = "Staff_tenor" {
118 \set Staff.instrumentName = #"Tenor"
122 \new Lyrics \lyricsto "tenor" { \tenorLyrics }
124 \new StaffGroup = "StaffGroup_strings" <<
125 \new GrandStaff = "GrandStaff_violins" <<
126 \new Staff = "Staff_violinI" {
127 \set Staff.instrumentName = #"Violin I"
130 \new Staff = "Staff_violinII" {
131 \set Staff.instrumentName = #"Violin II"
135 \new Staff = "Staff_viola" {
136 \set Staff.instrumentName = #"Viola"
139 \new Staff = "Staff_cello" {
140 \set Staff.instrumentName = #"Cello"
143 \new Staff = "Staff_bass" {
144 \set Staff.instrumentName = #"Double Bass"