MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / metronome-text.ly
blob471b757e81c5b72a5ce5293ff5b3d4ae014e7413
1 \version "2.13.50"
3 \header{
4 texidoc="
5 The tempo command supports text markup and/or duration=count. Using
6 @code{Score.tempoHideNote}, one can hide the duration=count in the tempo mark.
10 \relative c'' {
11 \tempo "Allegro" c1
12 \tempo "Allegro" c1
13 #(ly:export
14 (make-event-chord (list (make-music 'TempoChangeEvent
15 'text "blah"))))
17 \tempo \markup { \italic \medium "Allegro" } c1 \break
18 \tempo 4 = 120 c1
19 \tempo "Allegro" 4 = 120 c1
20 \tempo "Allegro" 4 = 120 c1
21 \tempo "Allegro" 4 = 110 c1
22 \tempo "Allegretto" 4 = 110 c1 \break
24 \set Score.tempoHideNote = ##f
25 \tempo "Allegro" 4 = 120 c1
26 \set Score.tempoHideNote = ##t
27 \tempo "No note" 8 = 160 c1
28 \tempo "Still not" c1
29 % No text and also no note => \null markup
30 \tempo 4 = 100 c1
31 \tempo "Allegro" 4 = 120 c1
32 \set Score.tempoHideNote = ##f
33 \tempo "With note" 8 = 80 c1 \break
35 % Unsetting the tempoText using only note=count:
36 \tempo 8 = 80 c1
37 \tempo "Allegro" 8 = 80 c1
38 \tempo 8 = 80 c1
40 % Unsetting the count using only text
41 \tempo "no note (text-only)" c1