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)
24 indent = 3.0\cm % space for instrumentName
25 short-indent = 1.5\cm % space for shortInstrumentName
28 fluteMusic = \relative c' { \key g \major g'1 b }
29 % Pitches as written on a manuscript for Clarinet in A
30 % are transposed to concert pitch.
31 clarinetMusic = \transpose c' a
32 \relative c'' { \key bes \major bes1 d }
33 trumpetMusic = \relative c { \key g \major g''1 b }
34 % Key signature is often omitted for horns
35 hornMusic = \transpose c' f
36 \relative c { d'1 fis }
37 percussionMusic = \relative c { \key g \major g1 b }
38 sopranoMusic = \relative c'' { \key g \major g'1 b }
39 sopranoLyrics = \lyricmode { Lyr -- ics }
40 altoIMusic = \relative c' { \key g \major g'1 b }
41 altoIIMusic = \relative c' { \key g \major g'1 b }
42 altoILyrics = \sopranoLyrics
43 altoIILyrics = \lyricmode { Ah -- ah }
44 tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
45 tenorLyrics = \sopranoLyrics
46 pianoRHMusic = \relative c { \key g \major g''1 b }
47 pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
48 violinIMusic = \relative c' { \key g \major g'1 b }
49 violinIIMusic = \relative c' { \key g \major g'1 b }
50 violaMusic = \relative c { \clef alto \key g \major g'1 b }
51 celloMusic = \relative c { \clef bass \key g \major g1 b }
52 bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
56 \new StaffGroup = "StaffGroup_woodwinds" <<
57 \new Staff = "Staff_flute" {
58 \set Staff.instrumentName = #"Flute"
59 % shortInstrumentName, midiInstrument, etc.
60 % may be set here as well
63 \new Staff = "Staff_clarinet" {
64 \set Staff.instrumentName =
65 \markup { \concat { "Clarinet in B" \flat } }
66 % Declare that written Middle C in the music
67 % to follow sounds a concert B flat, for
68 % output using sounded pitches such as MIDI.
70 % Print music for a B-flat clarinet
71 \transpose bes c' \clarinetMusic
74 \new StaffGroup = "StaffGroup_brass" <<
75 \new Staff = "Staff_hornI" {
76 \set Staff.instrumentName = #"Horn in F"
78 \transpose f c' \hornMusic
80 \new Staff = "Staff_trumpet" {
81 \set Staff.instrumentName = #"Trumpet in C"
85 \new RhythmicStaff = "RhythmicStaff_percussion" <<
86 \set RhythmicStaff.instrumentName = #"Percussion"
90 \set PianoStaff.instrumentName = #"Piano"
91 \new Staff { \pianoRHMusic }
92 \new Staff { \pianoLHMusic }
94 \new ChoirStaff = "ChoirStaff_choir" <<
95 \new Staff = "Staff_soprano" {
96 \set Staff.instrumentName = #"Soprano"
97 \new Voice = "soprano"
100 \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
101 \new GrandStaff = "GrandStaff_altos"
102 \with { \accepts Lyrics } <<
103 \new Staff = "Staff_altoI" {
104 \set Staff.instrumentName = #"Alto I"
108 \new Lyrics \lyricsto "altoI" { \altoILyrics }
109 \new Staff = "Staff_altoII" {
110 \set Staff.instrumentName = #"Alto II"
111 \new Voice = "altoII"
114 \new Lyrics \lyricsto "altoII" { \altoIILyrics }
116 \new Staff = "Staff_tenor" {
117 \set Staff.instrumentName = #"Tenor"
121 \new Lyrics \lyricsto "tenor" { \tenorLyrics }
123 \new StaffGroup = "StaffGroup_strings" <<
124 \new GrandStaff = "GrandStaff_violins" <<
125 \new Staff = "Staff_violinI" {
126 \set Staff.instrumentName = #"Violin I"
129 \new Staff = "Staff_violinII" {
130 \set Staff.instrumentName = #"Violin II"
134 \new Staff = "Staff_viola" {
135 \set Staff.instrumentName = #"Viola"
138 \new Staff = "Staff_cello" {
139 \set Staff.instrumentName = #"Cello"
142 \new Staff = "Staff_bass" {
143 \set Staff.instrumentName = #"Double Bass"