Typo
[orchestrallily.git] / test_cases.ly
blobd92c07b76a14d271b75c76387a8186a5804fbe4a
1 \version "2.11.40"
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 { Da, 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 { crashcymbal4 hihat8 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"))
36 ("Ix" "DrumStaff" ())
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 #'(
47 ("Ix" "DrumVoice")
48 ("Iix" "FiguredBass")
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")
68 % reset the values!
69 IiInstrumentName = ""
70 IiShortInstrumentName = ""
71 TestIiMusic = \relative c' { c4 g' c, b' }
73 \markup {"Clef for instrument"}
74 IiiiClef = \clef "bass"
75 \createScore #"Test" #'("Iiii")
77 \markup {"Settings"}
78 TestSettings = {\mark\markup{\italic "Slow."}}
79 \createScore #"Test" #'("Ii")
80 TestSettings = {}
84 % Staff groups:
85 \markup{"StaffGroup"}
86 \createScore #"Test" #'("SG")
87 \markup{"ChoirStaff"}
88 \createScore #"Test" #'("CS")
89 \markup{"GrandStaff"}
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")
99 % Staves
100 \markup{"Staff"}
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")