MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / flags-straight.ly
blob171902ba6af62cff64f266b0d6606505e3a85cf4
1 \version "2.12.0"
3 \header {
4 texidoc = "Straight flag styles."
8 % test notes, which will be shown in different styles:
9 testnotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64
10 c''8 d''16 c''32 d''64 \acciaccatura {\stemDown c''8 \stemNeutral} d''64 }
13 \override Score.RehearsalMark #'self-alignment-X = #LEFT
14 \time 2/4
15 \mark "modern straight"
16 \override Stem #'flag = #modern-straight-flag
17 \testnotes
19 \mark "old straight (large angles)"
20 \override Stem #'flag = #old-straight-flag
21 \testnotes
23 % \mark "custom slant"
24 % % Custom straight flag. The parameters are:
25 % % flag thickness and spacing
26 % % up-flag angle and length
27 % % down-flag angle and length
28 % \override Stem #'flag = #(straight-flag 0.35 0.8 -5 0.5 60 2.0)
29 % \testnotes