]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/metronome-text.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / input / regression / metronome-text.ly
1 \version "2.14.0"
2
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.
7 "
8 }
9
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"))))
16   d1
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
23
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
34
35   % Unsetting the tempoText using only note=count:
36   \tempo 8 = 80 c1
37   \tempo "Allegro" 8 = 80 c1
38   \tempo 8 = 80 c1
39   
40   % Unsetting the count using only text
41   \tempo "no note (text-only)" c1
42 }