4 texidoc="The MIDI sequence generated from a score should get its name
5 from the title defined in the score's @code{\header} block (if any).
6 The title used for layout can be overridden for MIDI output by
7 specifying a separate @code{midititle} in the @code{\header} block.
8 If the score does not define a title of its own, and has no enclosing
9 @code{\bookpart}, @code{\book}, or top-level scope with a @code{\header}
10 block that defines a title, either, the MIDI sequence should get the
14 music = \new Staff { c1 }
16 % Book without a \header block
19 % score with a \header block including a title -- the MIDI sequence
20 % should get its name from this \header block
23 \header { title = "Title shared between layout and MIDI" }
28 % score with no title, but a midititle defined in a \header block --
29 % the MIDI sequence should be named using the midititle in this \header
33 \header { midititle = "No title for layout, but a title for MIDI" }
38 % score with a title and a midititle defined in a \header block -- the
39 % MIDI sequence should get the midititle in this \header block as its
44 title = "Title for layout"
45 midititle = "Title for MIDI"
51 % Book part with no \header block
54 % score without a \header -- the MIDI sequence should get the default