MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / ottava.ly
blob1c133a195a0ca699ed753e2775ec47b7f2a6a52b
2 \header
4 texidoc = "Ottava brackets are supported, through the
5 use of the music function @code{\\ottava}.
7 The spanner should go below a staff for 8va bassa, and the ottavation
8 markup can be tuned with @code{Staff.ottavation}.
14 \version "2.12.0"
16 %% . There must be a minimum distance between the octavation line and the
17 %% topmost staff line, taking into account the height of the closing
18 %% vertical dashed line.
20 %% . Octavation lines broken across staves must always start with `8va'
21 %% (or something similar).
23 %% . The `8va' should be slightly offset to the left.
25 %% . The final vertical dashed line of the octavation line should be offset
26 %% to the right.
28 %% . Octavation lines for `8va bassa' must be below the staff, not above.
30 %% . The `8va bassa' string is far too long for short octavation lines.
31 %% LilyPond should select between `8va bassa', `8ba', and `8', depending
32 %% on the available horizontal space (and the octavation style selected
33 %% by the user). The same holds for `8va' and `15ma'.
36 \layout { ragged-right = ##t}
38 \relative c''' {
39 a b c a
40 \ottava #1
41 a b c a
42 \ottava #0
43 \ottava #2
44 a b c a
45 \ottava #0
46 \ottava #-1
47 a b c a
48 \ottava #0
49 \break
50 a,
51 \ottava #1
52 \set Staff.ottavation = #"8"
54 \ottava #0
55 c a
56 \ottava #-1
57 \set Staff.ottavation = \markup { \concat { 8 \tiny \raise #0.8 vb }}
58 b a g
59 \ottava #0
61 \ottava #-1
62 \set Staff.ottavation = #"8"
63 c,,16
64 \ottava #0
65 c'16
66 \ottava #-1
67 \set Staff.ottavation = #"8"
68 g,,16