Orchestra, choir and piano template: Difference between revisions
Formatting |
m Use `\book` for the sake of `lilypond-book`, otherwise staves get too much squeezed vertically. |
||
| Line 47: | Line 47: | ||
bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b } | bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b } | ||
\score { | \book { | ||
\score { | |||
<< | |||
\new StaffGroup = "StaffGroup_woodwinds" << | |||
\new Staff = "Staff_flute" \with { instrumentName = "Flute" } | |||
\fluteMusic | |||
\new Staff = "Staff_clarinet" \with { | |||
instrumentName = \markup { \concat { "Clarinet in B" \flat } } | |||
} | |||
% Declare that written Middle C in the music | |||
% to follow sounds a concert B flat, for | |||
% output using sounded pitches such as MIDI. | |||
%\transposition | %\transposition bes | ||
% Print music for a B-flat clarinet | |||
\transpose bes c' \clarinetMusic | |||
>> | |||
\new StaffGroup = "StaffGroup_brass" << | |||
\new Staff = "Staff_hornI" \with { | |||
instrumentName = "Horn in F" | |||
} | |||
% \transposition f | |||
\transpose f c' \hornMusic | |||
\new Staff = "Staff_trumpet" \with { | |||
\ | instrumentName = "Trumpet in C" | ||
} | |||
\trumpetMusic | |||
>> | |||
\new RhythmicStaff = "RhythmicStaff_percussion" \with { | |||
\new | instrumentName = "Percussion" | ||
instrumentName = " | |||
} | } | ||
\percussionMusic | |||
\new | \new PianoStaff \with { | ||
instrumentName = " | instrumentName = "Piano" | ||
} | } << | ||
\ | \new Staff { \pianoRHMusic } | ||
\new Staff { \pianoLHMusic } | |||
>> | |||
\new ChoirStaff = "ChoirStaff_choir" << | |||
\new Staff = "Staff_soprano" \with { | |||
instrumentName = "Soprano" | |||
} | |||
\new Voice = "soprano" \sopranoMusic | |||
\new Lyrics \lyricsto "soprano" { \sopranoLyrics } | |||
\new GrandStaff = "GrandStaff_altos" \with { | |||
\accepts Lyrics | |||
} << | |||
\new Staff = "Staff_altoI" \with { | |||
instrumentName = "Alto I" | |||
} | |||
\new Voice = "altoI" | |||
\altoIMusic | |||
\new Lyrics \lyricsto "altoI" { \altoILyrics } | |||
\new Staff = "Staff_altoII" \with { | |||
instrumentName = "Alto II" | |||
} | |||
\new Voice = "altoII" | |||
\altoIIMusic | |||
\new Lyrics \lyricsto "altoII" { \altoIILyrics } | |||
>> | |||
\new Staff = "Staff_tenor" \with { | |||
instrumentName = "Tenor" | |||
\new Staff = " | |||
instrumentName = " | |||
} | } | ||
\new Voice = " | \new Voice = "tenor" \tenorMusic | ||
\new Lyrics \lyricsto "tenor" { \tenorLyrics } | |||
\new Lyrics \lyricsto " | |||
>> | >> | ||
\new Staff = " | \new StaffGroup = "StaffGroup_strings" << | ||
\new GrandStaff = "GrandStaff_violins" << | |||
\new Staff = "Staff_violinI" \with { | |||
instrumentName = "Violin I" | |||
\new | } | ||
\violinIMusic | |||
\new Staff = "Staff_violinII" \with { | |||
instrumentName = "Violin II" | |||
} | |||
\violinIIMusic | |||
>> | |||
\new Staff = "Staff_viola" \with { | |||
instrumentName = "Viola" | |||
} | |||
\violaMusic | |||
\new Staff = "Staff_cello" \with { | |||
instrumentName = "Cello" | |||
\new Staff = " | |||
instrumentName = " | |||
} | } | ||
\ | \celloMusic | ||
\new Staff = " | |||
instrumentName = " | \new Staff = "Staff_bass" \with { | ||
instrumentName = "Double Bass" | |||
} | } | ||
\ | \bassMusic | ||
>> | >> | ||
>> | >> | ||
} | |||
} | } | ||
</lilypond> | </lilypond> | ||