2 \include "orchestrallily.ly"
4 \header { title
= "OrchestralLily Structure test case" }
6 % TestPieceName = "Test piece"
9 TestIiMusic
= \relative c' {\voiceOne c4 g' c, b' }
10 TestIiiMusic
= \relative c'' {\voiceTwo c2 c,8 e g c}
11 TestIiiLyrics
= \lyricmode { D
a, da -- da -- da -- da
! }
12 TestIiiiMusic
= \relative c { c1 }
13 TestIivMusic
= \relative c' { c2 c2 }
14 TestIvMusic
= \relative c' { d1 }
15 TestIviMusic
= \relative c' { d2 d2 }
16 TestIviiMusic
= \relative c' { e1 }
17 TestIviiiMusic
= \relative c' { e2 e2 }
18 TestIixMusic
= \figuremode { <6>2 <6 _!>2 }
19 TestIxMusic
= \drummode { crashcymbal
4 hihat
8 halfopenhihat hh hh hh openhihat
}
22 \orchestralScoreStructure #'(
23 ("SG" "StaffGroup" ("Ii" "Iii" "Iiii"))
24 ("CS" "ChoirStaff" ("Ii" "Iii" "Iiii"))
25 ("GS" "GrandStaff" ("Ii" "Iii" "Iiii"))
26 ("Parallel" "ParallelMusic" ("Ii" "Iii" "Iiii"))
27 ("Simultaneous" "SimultaneousMusic" ("Ii" "Iii" "Iiii"))
29 ("NG1" "GrandStaff" ("Ii" "Iii"))
30 ("NG2" "ChoirStaff" ("Iiii" "NG1"))
31 ("NG3" "GrandStaff" ("Iiv" "Iv"))
32 ("NG4" "ParallelMusic" ("Ivi" "Ivii"))
33 ("NestedGroups" "StaffGroup" ("NG1" "NG2" "NG3" "NG4"))
35 ("Staff" "Staff" ("Ii"))
37 ("ParallelStaff" "ParallelVoicesStaff" ("Ii" "Iii"))
39 ("Combined2" "PartCombinedStaff" ("Ivi" "Iiv"))
40 ("Combined1" "PartCombinedStaff" ("Iiv"))
41 ("Combined1x" "PartCombinedStaff" ("Iiv" "something"))
42 ("Combinedx" "PartCombinedStaff" ("something"))
44 ("FigBStaff" "ParallelVoicesStaff" ("Ii" "Iix"))
46 \orchestralVoiceTypes #'(
52 \markup{"Single Instrument"}
53 \createScore #"Test" #'("Ii")
55 \markup{"Multiple toplevel Instruments"}
56 \createScore #"Test" #'("Ii" "Iiv" "Iv")
60 \markup{"Lyrics to voice"}
61 \createScore #"Test" #'("Iii")
63 \markup{"Instrument & short instrument name"}
64 IiInstrumentName
= "Instrument 1"
65 IiShortInstrumentName
= "I.1"
66 TestIiMusic
= \relative c' { c4 g' c, b' \break c1 }
67 \createScore #"Test" #'("Ii")
70 IiShortInstrumentName
= ""
71 TestIiMusic
= \relative c' { c4 g' c, b' }
73 \markup {"Clef for instrument"}
74 IiiiClef
= \clef "bass"
75 \createScore #"Test" #'("Iiii")
78 TestSettings
= {\mark\markup{\italic "Slow."}}
79 \createScore #"Test" #'("Ii")
86 \createScore #"Test" #'("SG")
88 \createScore #"Test" #'("CS")
90 \createScore #"Test" #'("GS")
91 \markup{"ParallelMusic"}
92 \createScore #"Test" #'("Parallel")
93 \markup{"SimultaneousMusic"}
94 \createScore #"Test" #'("Simultaneous")
96 \markup{"Nested Groups"}
97 \createScore #"Test" #'("NestedGroups")
101 \createScore #"Test" #'("Staff")
103 \markup{"Drum staff"}
104 \createScore #"Test" #'("Ix")
106 \markup{"Part-combination"}
107 \createScore #"Test" #'("Combined2")
108 \markup{"Part-combination, only one voice given"}
109 \createScore #"Test" #'("Combined1")
110 \markup{"Part-combination, only one existing voice"}
111 \createScore #"Test" #'("Combined1x")
112 \markup{"Part-combination, no existing voice given"}
113 \createScore #"Test" #'("Combinedx")
115 \markup{"Staff with parallel voices"}
116 \createScore #"Test" #'("ParallelStaff")
119 \markup{"Staff with figured bass"}
120 \createScore #"Test" #'("FigBStaff")